[PATCH v2 09/14] powerpc: select ARCH_MAY_HAVE_PC_PARPORT

2013-10-07 Thread Mark Salter
Architectures which support CONFIG_PARPORT_PC should select ARCH_MAY_HAVE_PC_PARPORT. Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/Kconfig b

[PATCH v2 14/14] Kconfig cleanup (PARPORT_PC dependencies)

2013-10-07 Thread Mark Salter
architectures to exclude. Those architectures which do select ARCH_MAY_HAVE_PC_PARPORT in this patch are the ones which have an asm/parport.h (or use the generic version). Signed-off-by: Mark Salter CC: Richard Henderson CC: linux-al...@vger.kernel.org CC: Vineet Gupta CC: Russell King CC

[PATCH 08/11] powerpc: use generic fixmap.h

2013-11-12 Thread Mark Salter
Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/fixmap.h | 44 ++- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/include/asm/fixmap.h b

[PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Mark Salter
nsolidates all of the common bits into asm-generic/fixmap.h which is intended to be included from arch/*/include/asm/fixmap.h. This has been compiled on x86, arm, powerpc, and sh, but tested on x86 only. Mark Salter (11): Add generic fixmap.h x86: use generic fixmap.h arm: use generic fixmap.h

[PATCH 01/11] Add generic fixmap.h

2013-11-12 Thread Mark Salter
nsolidates all of the common bits into asm-generic/fixmap.h which is intended to be included from arch/*/include/asm/fixmap.h. Signed-off-by: Mark Salter CC: Arnd Bergmann CC: linux-a...@vger.kernel.org CC: Russell King CC: linux-arm-ker...@lists.infradead.org CC: Richard Kuo CC:

Re: [PATCH 00/11] Consolidate asm/fixmap.h files

2013-11-12 Thread Mark Salter
On Tue, 2013-11-12 at 16:39 +0100, Michal Simek wrote: > On 11/12/2013 02:22 PM, Mark Salter wrote: > > > > arch/arm/include/asm/fixmap.h| 25 ++-- > > arch/hexagon/include/asm/fixmap.h| 40 + > > arch/metag/include/asm/fixmap.h

[PATCH v2 08/11] powerpc: use generic fixmap.h

2013-11-25 Thread Mark Salter
Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/fixmap.h | 44 ++- 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/arch/powerpc/include/asm/fixmap.h b

[PATCH v2 00/11] Consolidate asm/fixmap.h files

2013-11-25 Thread Mark Salter
rsion 1 is here: git://github.com/mosalter/linux.git#fixmap Changes from v1: * Added acks from feedback. * Use BUILD_BUG_ON in fix_to_virt() * Fixed ARM patch to make FIXMAP_TOP inclusive of fixmap range as is the case in the other architectures. Mark Salter (11): Add generic fixm

[PATCH v2 01/11] Add generic fixmap.h

2013-11-25 Thread Mark Salter
nsolidates all of the common bits into asm-generic/fixmap.h which is intended to be included from arch/*/include/asm/fixmap.h. Signed-off-by: Mark Salter Acked-by: Arnd Bergmann Acked-by: Ralf Baechle CC: linux-a...@vger.kernel.org CC: Russell King CC: linux-arm-ker...@lists.infradead.org CC: R

[PATCH 05/10] powerpc: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-14 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 10/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-14 Thread Mark Salter
of architectures to exclude. Signed-off-by: Mark Salter CC: Dmitry Torokhov CC: Richard Henderson CC: linux-al...@vger.kernel.org CC: Russell King CC: linux-arm-ker...@lists.infradead.org CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org CC: Ralf Baechle CC: linux-m...@linux

Re: [PATCH 10/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-15 Thread Mark Salter
On Sun, 2013-12-15 at 02:36 -0800, Dmitry Torokhov wrote: > On Sat, Dec 14, 2013 at 10:32:31AM -0800, H. Peter Anvin wrote: > > On 12/14/2013 08:59 AM, Mark Salter wrote: > > > Remove messy dependencies from SERIO_I8042 by having it depend on one > > > Kconfig symbol (AR

[PATCH v2 00/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-17 Thread Mark Salter
tree with these patches is at: git://github.com/mosalter/linux.git (serio-i8042-v2 branch) Mark Salter (10): alpha: select ARCH_MIGHT_HAVE_PC_SERIO arm: select ARCH_MIGHT_HAVE_PC_SERIO ia64: select ARCH_MIGHT_HAVE_PC_SERIO mips: select ARCH_MIGHT_HAVE_PC_SERIO powerpc: s

[PATCH v2 10/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-17 Thread Mark Salter
of architectures to exclude. Signed-off-by: Mark Salter Acked-by: "H. Peter Anvin" Acked-by: Ralf Baechle Acked-by: Benjamin Herrenschmidt CC: Dmitry Torokhov CC: Richard Henderson CC: linux-al...@vger.kernel.org CC: Russell King CC: linux-arm-ker...@lists.infradead.org CC: Ton

[PATCH v2 05/10] powerpc: select ARCH_MIGHT_HAVE_PC_SERIO

2013-12-17 Thread Mark Salter
Architectures which might use an i8042 for serial IO to keyboard, mouse, etc should select ARCH_MIGHT_HAVE_PC_SERIO. Signed-off-by: Mark Salter Acked-by: Benjamin Herrenschmidt CC: Paul Mackerras CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/Kconfig | 1 + 1 file changed, 1 insertion

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-18 Thread Mark Salter
On Wed, 2015-11-18 at 20:18 +1100, Michael Ellerman wrote: > Hi folks, > > I'm intermittently seeing the following oops on at least one powerpc box. > > The BUG_ON() is from: > > static int scsi_init_sgtable(struct request *req, struct scsi_data_buffer > *sdb) > { > ... > count = bl

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-20 Thread Mark Salter
On Fri, 2015-11-20 at 13:56 +0100, Laurent Dufour wrote: > On 20/11/2015 13:10, Michael Ellerman wrote: > > On Thu, 2015-11-19 at 00:23 -0800, Christoph Hellwig wrote: > > > > > It's pretty much guaranteed a block layer bug, most likely in the > > > merge bios to request infrastucture where we don

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-22 Thread Mark Salter
On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: > On Sat, 21 Nov 2015 12:30:14 +0100 > Laurent Dufour wrote: > > > On 20/11/2015 13:10, Michael Ellerman wrote: > > > On Thu, 2015-11-19 at 00:23 -0800, Christoph Hellwig wrote: > > > > > > > It's pretty much guaranteed a block layer bug, most l

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-22 Thread Mark Salter
On Mon, 2015-11-23 at 08:36 +0800, Ming Lei wrote: > On Mon, Nov 23, 2015 at 7:20 AM, Mark Salter wrote: > > On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: > > > On Sat, 21 Nov 2015 12:30:14 +0100 > > > Laurent Dufour wrote: > > > > > >

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-23 Thread Mark Salter
On Mon, 2015-11-23 at 23:27 +0800, Ming Lei wrote: > On Mon, Nov 23, 2015 at 11:20 PM, Laurent Dufour > wrote: > > > > > > Reverting above commit on top if 4.4-rc1 seems to fix the problem for me. > > > > That's what I mentioned earlier ;) > > > > Now Ming send an additional patch with seems to

Re: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-11 Thread Mark Salter
nto $(targets), but the other archs may > need something added to $(targets) to work. > > Signed-off-by: Stephen Warren > Acked-by: Mark Salter For the arch/c6x bit. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: [PATCH 2/2] Kbuild: Use dtc's -d (dependency) option

2012-01-17 Thread Mark Salter
On Tue, 2012-01-17 at 09:20 -0800, Stephen Warren wrote: > Michal Marek wrote at Saturday, January 14, 2012 3:51 PM: > > On 11.1.2012 20:36, Mark Salter wrote: > > > On Mon, 2012-01-09 at 11:38 -0700, Stephen Warren wrote: > > >> This hooks dtc into Kbuild's de

Re: [RFCv2 00/14]

2012-01-25 Thread Mark Salter
On Mon, 2012-01-23 at 14:07 -0700, Grant Likely wrote: > Hey everyone, > > Here's the second RFC for the irq_domain patches. I could use some > help testing now. I still expect there will be a few bugs. The > series is based on v3.3-rc1, and I've pushed it out to my git server: Hi Grant, I co

Re: [PATCH v5 20/27] irq_domain/c6x: constify irq_domain structures

2012-02-21 Thread Mark Salter
On Thu, 2012-02-16 at 02:09 -0700, Grant Likely wrote: > Signed-off-by: Grant Likely > Cc: Mark Salter > Cc: Thomas Gleixner > --- > arch/arm/common/gic.c|2 +- > arch/c6x/kernel/irq.c|2 +- > arch/c6x/platforms/megamod-pic.c |2 +-

Re: [PATCH v5 21/27] irq_domain/c6x: Use library of xlate functions

2012-02-21 Thread Mark Salter
On Thu, 2012-02-16 at 02:09 -0700, Grant Likely wrote: > The c6x irq controllers don't need to define custom .xlate hooks > > Signed-off-by: Grant Likely > Cc: Rob Herring > Cc: Mark Salter > Cc: Thomas Gleixner > --- > arch/c6x/kernel/irq.c|1 +

Re: [PATCH 10/29] c6x: use asm-generic/cacheflush.h

2020-05-18 Thread Mark Salter
copy_to_user_page(vma, page, vaddr, dst, src, len) \ > do { \ > memcpy(dst, src, len); \ > flush_icache_range((unsigned) (dst), (unsigned) (dst) + (len)); \ > } while (0) > > -#define copy_from_u

Re: [Linux-c6x-dev] [PATCH v2 7/7] uapi: export all headers under uapi directories

2017-01-11 Thread Mark Salter
der-y += shmbuf.h > -header-y += sigcontext.h > -header-y += signal.h > -header-y += socket.h > -header-y += sockios.h > -header-y += stat.h > -header-y += swab.h > -header-y += termbits.h > -header-y += termios.h > -header-y += types.h > -header-y += unistd.h >  g