[PATCH] powerpc: Drop return value of smp_ops->probe()

2015-04-04 Thread Michael Ellerman
smp_ops->probe() is currently supposed to return the number of cpus in the system. The last actual usage of the value was removed in May 2007 in e147ec8f1808 "[POWERPC] Simplify smp_space_timers". We still passed the value around until June 2010 when even that was finally removed in c1aa687d499a "

Re: [PATCH v2 1/4] powerpc/tm: Abort syscalls in active transactions

2015-04-04 Thread Michael Ellerman
On Mon, 2015-03-30 at 14:20 +1100, Sam Bobroff wrote: > @@ -145,6 +146,24 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR) > andi. r11,r10,_TIF_SYSCALL_DOTRACE > bne syscall_dotrace > .Lsyscall_dotrace_cont: > +#ifdef CONFIG_PPC_TRANSACTIONAL_MEM > +BEGIN_FTR_SECTION > + b

Re: [PATCH v8 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock

2015-04-04 Thread Sowmini Varadhan
One last question before I spin out v9.. the dma_mask code is a bit confusing to me, so I want to make sure... the code is > if (limit + tbl->it_offset > mask) { > limit = mask - tbl->it_offset + 1; > /* If we're constrained on address range, first try >

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Bjorn Helgaas
On Fri, Apr 3, 2015 at 10:34 PM, Yinghai Lu wrote: > On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: >> [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, >> linux-mips, Ben, linuxppc-dev, x86] >> >> On Fri, Apr 03, 2015 at 02:32:34PM -0500, Bjorn Helgaas wrote: >>>

Re: [PATCH v8 RFC 1/3] sparc: Break up monolithic iommu table/lock into finer graularity pools and lock

2015-04-04 Thread Benjamin Herrenschmidt
On Sat, 2015-04-04 at 07:27 -0400, Sowmini Varadhan wrote: > One last question before I spin out v9.. the dma_mask code > is a bit confusing to me, so I want to make sure... the code is > > > if (limit + tbl->it_offset > mask) { > > limit = mask - tbl->it_offset + 1; > >

[PATCH] tty: serial: Add const to struct uart_ops declarations

2015-04-04 Thread Joe Perches
These structs can be const, so make them const. Signed-off-by: Joe Perches --- Done with: sed -r -i -e 's/\bstruct\s+uart_ops\s+(\w+)\s*=\s*/const struct uart_ops \1 = /g' drivers/tty/serial/*.c Compiled x86 only, not cross-compiled. Untested. drivers/tty/serial/21285.c | 2

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Rob Herring
On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: > On Fri, Apr 3, 2015 at 10:34 PM, Yinghai Lu wrote: >> On Fri, Apr 3, 2015 at 1:52 PM, Bjorn Helgaas wrote: >>> [+cc Sam (commented on previous versions), Russell, linux-arm-kernel, Ralf, >>> linux-mips, Ben, linuxppc-dev, x86] >>> >>> On Fri

Re: [PATCH 1/3] PCI: Introduce pci_bus_addr_t

2015-04-04 Thread Bjorn Helgaas
On Sat, Apr 4, 2015 at 2:48 PM, Rob Herring wrote: > On Sat, Apr 4, 2015 at 7:46 AM, Bjorn Helgaas wrote: >> I think there's still an unresolved question about the OF parsing code. > > Got a pointer to what that is? I'll take a guess. Generally, we make > the parsing code independent of the kern