Re: ARC stable backport request for 4.4 and 4.2

2016-07-13 Thread Greg KH
On Wed, Jul 13, 2016 at 01:44:31PM -0700, Vineet Gupta wrote: > Hi, > > Could you please backport the following upstream commits for v4.4 and v4.2 > > 4d0cb15fccd1db9 ("ARCv2: Check for LL-SC livelock only if LLSC is enabled") > b31ac42697bef4a ("ARCv2: LLSC: software backoff is NOT needed starti

Re: ARC stable backport request

2016-08-02 Thread Greg KH
On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > Hi, > > Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler mnemonic". > Newer binutils don't like ASL instruction and fail to build kernels prior to > v4.4 > which added this fix. Didn't apply to 3.14-stable :(

Re: ARC stable backport request

2016-08-02 Thread Greg KH
On Tue, Aug 02, 2016 at 09:45:56AM +0200, Jiri Slaby wrote: > On 08/02/2016, 09:00 AM, Greg KH wrote: > > On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > >> Hi, > >> > >> Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler

Re: ARC stable backport request

2016-08-14 Thread Greg KH
On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > Hi, > > Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler mnemonic". > Newer binutils don't like ASL instruction and fail to build kernels prior to > v4.4 > which added this fix. Fails to apply to 3.14-stable :( __

Re: ARC stable backport request

2016-09-05 Thread Greg KH
On Mon, Aug 22, 2016 at 10:36:20AM -0700, Vineet Gupta wrote: > Hi Stable Team, > > Could you please backport upstream 20d780374c81c ("ARC: build: Better way to > detect ISA compatible toolchain") > > This is needed to let kernel building with newer gcc 6.x based tools. Applied to 4.4-stable, th

Re: [PATCH v2 00/11] getting back -Wmaybe-uninitialized

2016-11-13 Thread Greg KH
On Sat, Nov 12, 2016 at 01:27:12PM +, Jonathan Cameron wrote: > On 11/11/16 19:49, Arnd Bergmann wrote: > > On Friday, November 11, 2016 9:13:00 AM CET Linus Torvalds wrote: > >> On Thu, Nov 10, 2016 at 8:44 AM, Arnd Bergmann wrote: > >>> > >>> Please merge these directly if you are happy with

Re: [PATCH v2 00/11] getting back -Wmaybe-uninitialized

2016-11-13 Thread Greg KH
On Sun, Nov 13, 2016 at 09:47:41AM +0100, Greg KH wrote: > On Sat, Nov 12, 2016 at 01:27:12PM +, Jonathan Cameron wrote: > > On 11/11/16 19:49, Arnd Bergmann wrote: > > > On Friday, November 11, 2016 9:13:00 AM CET Linus Torvalds wrote: > > >> On Thu, Nov 10,

Re: 4.2+ stable inclusion request: ARCv2: save r30 on kernel entry as gcc uses it for code-gen

2017-04-30 Thread Greg KH
On Fri, Apr 28, 2017 at 11:57:36AM -0700, Vineet Gupta wrote: > Hi, > > Can we please backport upstream ecd43afdbe72017aefe48080631eb625e177ef4d > ("ARCv2: > save r30 on kernel entry as gcc uses it for code-gen") to 4.2 to 4.9 kernels. > > While the issue cites gcc, it is general deficiency of k

Re: [RFC PATCH 1/5] serial: arc: Remove __init marking from early write

2017-07-17 Thread Greg KH
On Tue, Jul 18, 2017 at 12:29:59PM +0800, Jeffy Chen wrote: > The earlycon would be alive outside the init code in these cases: > 1/ we have keep_bootcon in cmdline. > 2/ we don't have a real console to switch to. > > So remove the __init marking to avoid invalid memory access. > > Signed-off-by:

Re: Add patch "arch: define weak abort()" to 4.14-stable tree

2018-02-05 Thread Greg KH
On Mon, Feb 05, 2018 at 03:25:58PM +, Evgeniy Didin wrote: > Patch subject:"arch: define weak abort()" > Commit ID:7c2c11b208be > Reason:  While building mpi.ko module with lastest stable Linux > v4.14.17 an error occured: > >ERROR: "abort" [lib/mpi

Re: Add patch "kernel/exit.c: export abort() to modules" to 4.14-stable tree

2018-02-05 Thread Greg KH
On Mon, Feb 05, 2018 at 03:30:19PM +, Evgeniy Didin wrote: > Patch subject:"kernel/exit.c: export abort() to modules" > Commit ID:dc8635b78cd8 > Reason:  While building mpi.ko module with lastest stable Linux > v4.14.17 an error occured: > >ERROR: "

Re: Add patch "kernel/exit.c: export abort() to modules" to 4.14-stable tree

2018-02-08 Thread Greg KH
On Mon, Feb 05, 2018 at 03:30:19PM +, Evgeniy Didin wrote: > Patch subject:"kernel/exit.c: export abort() to modules" > Commit ID:dc8635b78cd8 > Reason:  While building mpi.ko module with lastest stable Linux > v4.14.17 an error occured: > >ERROR: "

Re: Add patch "kernel/exit.c: export abort() to modules" to 4.14-stable tree

2018-02-08 Thread Greg KH
On Thu, Feb 08, 2018 at 06:04:12PM +0100, Greg KH wrote: > On Mon, Feb 05, 2018 at 03:30:19PM +, Evgeniy Didin wrote: > > Patch subject: "kernel/exit.c: export abort() to modules" > > Commit ID: dc8635b78cd8 > > Reason: While building mpi.ko m

Re: [PATCH v2] devres: Really align data field to unsigned long long

2018-07-08 Thread Greg KH
On Sun, Jul 08, 2018 at 08:56:21PM +0300, Alexey Brodkin wrote: > Depending on ABI "long long" type of a particular 32-bit CPU > might be aligned by either word (32-bits) or double word (64-bits). > Make sure "data" is really 64-bit aligned for any 32-bit CPU. > > At least for 32-bit ARC cores ABI

Re: [PATCH v2] devres: Really align data field to unsigned long long

2018-07-08 Thread Greg KH
On Sun, Jul 08, 2018 at 09:45:31PM +0300, Алексей Бродкин wrote: > Hi Greg, > > вс, 8 июл. 2018 г. в 21:40, Greg KH : > > > > On Sun, Jul 08, 2018 at 08:56:21PM +0300, Alexey Brodkin wrote: > > > Depending on ABI "long long" type of a particular 32-bit C

Re: [RESEND PATCH v2] devres: Really align data field to unsigned long long

2018-07-08 Thread Greg KH
On Mon, Jul 09, 2018 at 07:44:44AM +0300, Alexey Brodkin wrote: > Depending on ABI "long long" type of a particular 32-bit CPU > might be aligned by either word (32-bits) or double word (64-bits). > Make sure "data" is really 64-bit aligned for any 32-bit CPU. > > At least for 32-bit ARC cores ABI

Re: [PATCH 5/5] Lib: sort.h: replace int size with size_t size in the swap function

2019-03-30 Thread Greg KH
On Sat, Mar 30, 2019 at 08:15:49PM +, George Spelvin wrote: > On Sat, 30 Mar 2019 at 19:38:26 +0100 greh k-h wrote; > > On Sat, Mar 30, 2019 at 07:43:53PM +0300, Andrey Abramov wrote: > >> Replace int type with size_t type of the size argument > >> in the swap function, also affect all its depe

Re: [PATCH] DRM: ARC: PGU: interlaced mode not supported

2020-03-11 Thread Greg KH
On Wed, Mar 11, 2020 at 04:13:10PM +0300, Eugeniy Paltsev wrote: > Filter out interlaced modes as they are not supported by ARC PGU > hardware. > > Signed-off-by: Eugeniy Paltsev > --- > drivers/gpu/drm/arc/arcpgu_crtc.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/gpu/dr

Re: [question] De-registration does not remove port

2021-06-23 Thread Greg KH
On Wed, Jun 23, 2021 at 11:42:36AM +0530, Saubhik Mukherjee wrote: > In drivers/tty/serial/arc_uart.c, arc_serial_remove always returns 0, > instead of calling uart_remove_one_port to remove uart port from serial > core. The comment says "This will be never be called". In my understanding, > a port

Re: [question] De-registration does not remove port

2021-06-24 Thread Greg KH
On Thu, Jun 24, 2021 at 06:33:01PM +0530, Saubhik Mukherjee wrote: > On 6/23/21 12:44 PM, Greg KH wrote: > > On Wed, Jun 23, 2021 at 11:42:36AM +0530, Saubhik Mukherjee wrote: > > > In drivers/tty/serial/arc_uart.c, arc_serial_remove always returns 0, > > > instead of c

Re: [PATCH stable 4.19 1/1] arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed

2021-11-04 Thread Greg KH
On Wed, Nov 03, 2021 at 01:56:56PM -0700, Florian Fainelli wrote: > From: Arnd Bergmann > > [ Upstream commit cef397038167ac15d085914493d6c86385773709 ] > > Stefan Agner reported a bug when using zsram on 32-bit Arm machines > with RAM above the 4GB address boundary: > > Unable to handle kern

Re: [PATCH 03/14] nds32: fix access_ok() checks in get/put_user

2022-02-15 Thread Greg KH
On Tue, Feb 15, 2022 at 10:18:15AM +0100, Arnd Bergmann wrote: > On Mon, Feb 14, 2022 at 6:01 PM Christoph Hellwig wrote: > > > > On Mon, Feb 14, 2022 at 05:34:41PM +0100, Arnd Bergmann wrote: > > > From: Arnd Bergmann > > > > > > The get_user()/put_user() functions are meant to check for > > > a