<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arc/Kconfig, branch linux-4.14.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.14.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-03-23T13:35:16Z</updated>
<entry>
<title>ARCv2: support manual regfile save on interrupts</title>
<updated>2019-03-23T13:35:16Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2018-06-06T17:20:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=760884bcd3427a17a4b464c02a3d90f0043a9f9c'/>
<id>urn:sha1:760884bcd3427a17a4b464c02a3d90f0043a9f9c</id>
<content type='text'>
[ Upstream commit e494239a007e601448110ac304fe055951f9de3b ]

There's a hardware bug which affects the HSDK platform, triggered by
micro-ops for auto-saving regfile on taken interrupt. The workaround is
to inhibit autosave.

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>ARC: change defconfig defaults to ARCv2</title>
<updated>2018-12-08T12:03:39Z</updated>
<author>
<name>Kevin Hilman</name>
</author>
<published>2018-11-30T12:51:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4069a6cf6faf910a90f469b72e27bc29e4beccd'/>
<id>urn:sha1:f4069a6cf6faf910a90f469b72e27bc29e4beccd</id>
<content type='text'>
commit b7cc40c32a8bfa6f2581a71747f6a7d491fe43ba upstream.

Change the default defconfig (used with 'make defconfig') to the ARCv2
nsim_hs_defconfig, and also switch the default Kconfig ISA selection to
ARCv2.

This allows several default defconfigs (e.g. make defconfig, make
allnoconfig, make tinyconfig) to all work with ARCv2 by default.

Note since we change default architecture from ARCompact to ARCv2
it's required to explicitly mention architecture type in ARCompact
defconfigs otherwise ARCv2 will be implied and binaries will be
generated for ARCv2.

Cc: &lt;stable@vger.kernel.org&gt; # 4.4.x
Signed-off-by: Kevin Hilman &lt;khilman@baylibre.com&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARC: dma [non-IOC] setup SMP_CACHE_BYTES and cache_line_size</title>
<updated>2018-09-05T07:26:30Z</updated>
<author>
<name>Eugeniy Paltsev</name>
</author>
<published>2018-07-26T13:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=331c36cd01d8c11dbde3abc8e31b7ec8c67d1c02'/>
<id>urn:sha1:331c36cd01d8c11dbde3abc8e31b7ec8c67d1c02</id>
<content type='text'>
[ Upstream commit eb2777397fd83a4a7eaa26984d09d3babb845d2a ]

As for today we don't setup SMP_CACHE_BYTES and cache_line_size for
ARC, so they are set to L1_CACHE_BYTES by default. L1 line length
(L1_CACHE_BYTES) might be easily smaller than L2 line (which is
usually the case BTW). This breaks code.

For example this breaks ethernet infrastructure on HSDK/AXS103 boards
with IOC disabled, involving manual cache flushes
Functions which alloc and manage sk_buff packet data area rely on
SMP_CACHE_BYTES define. In the result we can share last L2 cache
line in sk_buff linear packet data area between DMA buffer and
some useful data in other structure. So we can lose this data when
we invalidate DMA buffer.

   sk_buff linear packet data area
                |
                |
                |         skb-&gt;end        skb-&gt;tail
                V            |                |
                             V                V
----------------------------------------------.
      packet data            | &lt;tail padding&gt; |  &lt;useful data in other struct&gt;
----------------------------------------------.

---------------------.--------------------------------------------------.
     SLC line        |             SLC (L2 cache) line (128B)           |
---------------------.--------------------------------------------------.
        ^                                     ^
        |                                     |
     These cache lines will be invalidated when we invalidate skb
     linear packet data area before DMA transaction starting.

This leads to issues painful to debug as it reproduces only if
(sk_buff-&gt;end - sk_buff-&gt;tail) &lt; SLC_LINE_SIZE and
if we have some useful data right after sk_buff-&gt;end.

Fix that by hardcode SMP_CACHE_BYTES to max line length we may have.

Signed-off-by: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;

Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ARCv2: [plat-hsdk]: Save accl reg pair by default</title>
<updated>2018-07-25T09:25:07Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2018-07-17T22:21:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=edb5e3eeb14a5260e19010d0e3bb4cd0ebb3ca82'/>
<id>urn:sha1:edb5e3eeb14a5260e19010d0e3bb4cd0ebb3ca82</id>
<content type='text'>
commit af1fc5baa724c63ce1733dfcf855bad5ef6078e3 upstream.

This manifsted as strace segfaulting on HSDK because gcc was targetting
the accumulator registers as GPRs, which kernek was not saving/restoring
by default.

Cc: stable@vger.kernel.org   #4.14+
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARC: Fix malformed ARC_EMUL_UNALIGNED default</title>
<updated>2018-05-30T05:51:54Z</updated>
<author>
<name>Ulf Magnusson</name>
</author>
<published>2018-02-05T01:21:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=052eb2d6dc619700281b1f70bb0eb9304ec04b07'/>
<id>urn:sha1:052eb2d6dc619700281b1f70bb0eb9304ec04b07</id>
<content type='text'>
[ Upstream commit 827cc2fa024dd6517d62de7a44c7b42f32af371b ]

'default N' should be 'default n', though they happen to have the same
effect here, due to undefined symbols (N in this case) evaluating to n
in a tristate sense.

Remove the default from ARC_EMUL_UNALIGNED instead of changing it. bool
and tristate symbols implicitly default to n.

Discovered with the
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ulfalizer_Kconfiglib_blob_master_examples_list-5Fundefined.py&amp;d=DwIBAg&amp;c=DPL6_X_6JkXFx7AXWqB0tg&amp;r=c14YS-cH-kdhTOW89KozFhBtBJgs1zXscZojEZQ0THs&amp;m=WxxD8ozR7QQUVzNCBksiznaisBGO_crN7PBOvAoju8s&amp;s=1LmxsNqxwT-7wcInVpZ6Z1J27duZKSoyKxHIJclXU_M&amp;e=
script.

Signed-off-by: Ulf Magnusson &lt;ulfalizer@gmail.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
Signed-off-by: Sasha Levin &lt;alexander.levin@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ARC: fix allnoconfig build warning</title>
<updated>2017-10-04T03:36:49Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2017-09-29T21:46:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5464d03d92601ac2977ef605b0cbb33276567daf'/>
<id>urn:sha1:5464d03d92601ac2977ef605b0cbb33276567daf</id>
<content type='text'>
Reported-by: Dmitrii Kolesnichenko &lt;dmitrii@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: [plat-hsdk] initial port for HSDK board</title>
<updated>2017-09-01T18:26:28Z</updated>
<author>
<name>Alexey Brodkin</name>
</author>
<published>2017-08-15T18:13:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a518d63777a4e94e4b2dd86501604ec49ffe86b2'/>
<id>urn:sha1:a518d63777a4e94e4b2dd86501604ec49ffe86b2</id>
<content type='text'>
This initial port adds support of ARC HS Development Kit board with some
basic features such serial port, USB, SD/MMC and Ethernet.

Essentially we run Linux kernel on all 4 cores (i.e. utilize SMP) and
heavily use IO Coherency for speeding-up DMA-aware peripherals.

Note as opposed to other ARC boards we link Linux kernel to
0x9000_0000 intentionally because cores 1 and 3 configured with DCCM
situated at our more usual link base 0x8000_0000. We still can use
memory region starting at 0x8000_0000 as we reallocate DCCM in our
platform code.

Note that PAE remapping for DMA clients does not work due to an RTL bug,
so CREG_PAE register must be programmed to all zeroes, otherwise it will
cause problems with DMA to/from peripherals even if PAE40 is not used.

Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Signed-off-by: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>ARC: mm: Decouple RAM base address from kernel link address</title>
<updated>2017-09-01T18:26:27Z</updated>
<author>
<name>Eugeniy Paltsev</name>
</author>
<published>2017-08-15T18:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ed68785f7f2b001a6911d64fbd10cfc6fa49b27'/>
<id>urn:sha1:9ed68785f7f2b001a6911d64fbd10cfc6fa49b27</id>
<content type='text'>
	[Needed for HSDK]

Currently the first page of system (hence RAM base) is assumed to be
@ CONFIG_LINUX_LINK_BASE, where kernel itself is linked.

However is case of HSDK platform, for reasons explained in that patch,
this is not true. kernel needs to be linked @ 0x9000_0000 while DDR
is still wired at 0x8000_0000. To properly account for this 256M of RAM,
we need to introduce a new option and base page frame accountiing off of
it.

Signed-off-by: Eugeniy Paltsev &lt;Eugeniy.Paltsev@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
[vgupta: renamed  CONFIG_KERNEL_RAM_BASE_ADDRESS =&gt; CONFIG_LINUX_RAM_BASE
       : simplified changelog]
</content>
</entry>
<entry>
<title>ARC: [plat-sim] Include this platform unconditionally</title>
<updated>2017-08-04T08:19:47Z</updated>
<author>
<name>Vineet Gupta</name>
</author>
<published>2017-07-28T11:23:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=33460f86ad2c982f3172a10b17948ccaf923f07f'/>
<id>urn:sha1:33460f86ad2c982f3172a10b17948ccaf923f07f</id>
<content type='text'>
Essentially remove CONFIG_ARC_PLAT_SIM

There is no need for any platform specific code, just the board DTS
match strings which we can include unconditionally

Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
<entry>
<title>Revert "ARCv2: Allow enabling PAE40 w/o HIGHMEM"</title>
<updated>2017-05-05T20:49:41Z</updated>
<author>
<name>Alexey Brodkin</name>
</author>
<published>2017-05-05T20:20:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf4100d1cddcd243f80ac2af2e4c4273919ff225'/>
<id>urn:sha1:cf4100d1cddcd243f80ac2af2e4c4273919ff225</id>
<content type='text'>
This reverts commit 7cab91b87dd8eeee5911ec34be8bb0288ebba18b.

Now when we have a real hardware platform with PAE40 enabled
(here I mean axs103 with firmware v1.2) and 1 Gb of DDR mapped to
0x1_a000_0000-0x1_ffff_ffff we're really targeting memory above 4Gb
when PAE40 is enabled. This in its turn requires HIGHMEM to be enabled
otherwise user won't see any difference with enabling PAE in
kernel configuration as only lowmem will be used anyways.

Signed-off-by: Alexey Brodkin &lt;abrodkin@synopsys.com&gt;
Signed-off-by: Vineet Gupta &lt;vgupta@synopsys.com&gt;
</content>
</entry>
</feed>
