[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 msal...@redhat.com CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Paul Mackerras pau...@samba.org CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/Kconfig | 1 + 1 file

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

2013-10-07 Thread Mark Salter
of 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 msal...@redhat.com CC: Richard Henderson r...@twiddle.net CC: linux-al...@vger.kernel.org CC

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

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

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

2013-11-12 Thread Mark Salter
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 hexagon

[PATCH 01/11] Add generic fixmap.h

2013-11-12 Thread Mark Salter
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 msal...@redhat.com CC: Arnd Bergmann a...@arndb.de CC: linux-a...@vger.kernel.org CC: Russell King li...@arm.linux.org.uk CC: linux-arm-ker

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 | 32 +-- arch/microblaze

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

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

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

2013-11-25 Thread Mark Salter
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 fixmap.h x86

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

2013-11-25 Thread Mark Salter
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 msal...@redhat.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Ralf Baechle r...@linux-mips.org CC: linux-a...@vger.kernel.org CC: Russell King li

[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 msal...@redhat.com CC: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Paul Mackerras pau...@samba.org CC: linuxppc-dev@lists.ozlabs.org --- arch

[PATCH 10/10] Kconfig: cleanup SERIO_I8042 dependencies

2013-12-14 Thread Mark Salter
of architectures to exclude. Signed-off-by: Mark Salter msal...@redhat.com CC: Dmitry Torokhov dmitry.torok...@gmail.com CC: Richard Henderson r...@twiddle.net CC: linux-al...@vger.kernel.org CC: Russell King li...@arm.linux.org.uk CC: linux-arm-ker...@lists.infradead.org CC: Tony Luck tony.l

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 (ARCH_MIGHT_HAVE_PC_SERIO) and having

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

2013-12-17 Thread Mark Salter
of ARCH_MIGHT_HAVE_PC_SERIO to board-specific Kconfigs for arm and sh. A 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

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

2013-12-17 Thread Mark Salter
of architectures to exclude. Signed-off-by: Mark Salter msal...@redhat.com Acked-by: H. Peter Anvin h...@zytor.com Acked-by: Ralf Baechle r...@linux-mips.org Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Dmitry Torokhov dmitry.torok...@gmail.com CC: Richard Henderson r...@twiddle.net

[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 msal...@redhat.com Acked-by: Benjamin Herrenschmidt b...@kernel.crashing.org CC: Paul Mackerras pau...@samba.org CC: linuxppc-dev@lists.ozlabs.org

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

2012-01-11 Thread Mark Salter
. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Mark Salter msal...@redhat.com 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 dependency system. Thus, for example, make

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

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 grant.lik...@secretlab.ca Cc: Mark Salter msal...@redhat.com Cc: Thomas Gleixner t...@linutronix.de --- arch/arm/common/gic.c|2 +- arch/c6x/kernel/irq.c|2 +- arch/c6x

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 grant.lik...@secretlab.ca Cc: Rob Herring rob.herr...@calxeda.com Cc: Mark Salter msal...@redhat.com Cc: Thomas Gleixner t...@linutronix.de

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 =

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

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 <msal...@redhat.com> wrote: > > On Sun, 2015-11-22 at 00:56 +0800, Ming Lei wrote: > > > On Sat, 21 Nov 2015 12:30:14 +0100 > > > Laurent Dufour &

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

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

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

2017-01-11 Thread Mark Salter
= types.h > -header-y += unistd.h >  generic-y += bitsperlong.h >  generic-y += errno.h >  generic-y += fcntl.h > diff --git a/arch/blackfin/include/uapi/asm/Kbuild > b/arch/blackfin/include/uapi/asm/Kbuild > index 0bd28f77abc3..b15bf6bc0e94 100644 > --- a/arch/blackfin/inclu

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