Re: [PATCH 10/10] powerpc/xive: fix the size of the cpumask used in xive_find_target_in_mask()

2017-08-23 Thread Michael Ellerman
Michael Ellerman writes: > Cédric Le Goater writes: >> When called from xive_irq_startup(), the size of the cpumask can be >> larger than nr_cpu_ids. Most of time, its value is NR_CPUS (2048). ... > > I guess this patch is a good fix, I'll expand the change

[PATCH] powerpc/xive: Fix the size of the cpumask used in xive_find_target_in_mask()

2017-08-23 Thread Michael Ellerman
From: Cédric Le Goater When called from xive_irq_startup(), the size of the cpumask can be larger than nr_cpu_ids. This can result in a WARN_ON such as: WARNING: CPU: 10 PID: 1 at ../arch/powerpc/sysdev/xive/common.c:476 xive_find_target_in_mask+0x110/0x2f0 ... NIP

Re: [PATCH kernel 0/5] powerpc/eeh: Some cleanups

2017-08-23 Thread Andrew Donnellan
On 24/08/17 12:19, Alexey Kardashevskiy wrote: On 24/08/17 11:13, Russell Currey wrote: On Wed, 2017-08-23 at 20:18 +1000, Alexey Kardashevskiy wrote: Here are few patches to get rid of some cached pointers across EEH and powernv code as I was struggling to figure out about lifetime of

Re: [PATCH] cxl: Add support for POWER9 DD2

2017-08-23 Thread Andrew Donnellan
On 24/08/17 00:58, Christophe Lombard wrote: The PSL initialization sequence has been updated to DD2. This patch adapts to the changes, retaining compatibility with DD1. Tests performed on some of the new hardware. If we're retaining compatibility with DD1 I assume it's been tested on some

Re: [PATCH kernel 5/5] powerpc/eeh: Remove unnecessary node from pci_dn

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:19, Alexey Kardashevskiy wrote: The pci_dn struct caches a OF device node pointer in order to access the "ibm,loc-code" property when EEH is recovering. However, when this happens in eeh_dev_check_failure(), we also have a pci_dev pointer which should have a valid pointer to the

Re: [PATCH kernel 4/5] powerpc/eeh: Remove unnecessary config_addr from eeh_dev

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:19, Alexey Kardashevskiy wrote: The eeh_dev struct hold a config space address of an associated node and the very same address is also stored in the pci_dn struct which is always present during the eeh_dev lifetime. This uses bus:devfn directly from pci_dn instead of cached and

Re: [PATCH kernel 3/5] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:18, Alexey Kardashevskiy wrote: The eeh_dev struct already holds a pointer to pci_dn which it does not exist without and pci_dn itself holds the very same pointer so just use it. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andrew Donnellan

Re: [PATCH] powerpc/powernv/idle: Round up latency and residency values

2017-08-23 Thread Gautham R Shenoy
Hi Vaidy, On Thu, Aug 24, 2017 at 12:28:41AM +0530, Vaidyanathan Srinivasan wrote: Cc'ing Rafael and linux-pm list. > On PowerNV platforms, firmware provides exit latency and > target residency for each of the idle states in nano > seconds. Cpuidle framework expects the values in micro >

Re: [PATCH kernel 2/5] powerpc/eeh: Reduce to one the number of places where edev is allocated

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:18, Alexey Kardashevskiy wrote: arch/powerpc/kernel/eeh_dev.c:57 is the only legit place where edev is allocated; other 2 places allocate it on stack and in the heap for a very short period of time to use eeh_pe_get() as takes edev. This changes eeh_pe_get() to receive required

Re: [PATCH kernel 1/5] powerpc/pci: Remove unused parameter from add_one_dev_pci_data()

2017-08-23 Thread Andrew Donnellan
On 23/08/17 20:18, Alexey Kardashevskiy wrote: pdev is always NULL, remove it. To make checkpatch.pl happy, this also removes the "out of memory" message. Signed-off-by: Alexey Kardashevskiy Reviewed-by: Andrew Donnellan ---

Re: [PATCH] KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()

2017-08-23 Thread David Gibson
On Thu, Aug 24, 2017 at 01:40:08PM +1000, Paul Mackerras wrote: > Nixiaoming pointed out that there is a memory leak in > kvm_vm_ioctl_create_spapr_tce() if the call to anon_inode_getfd() > fails; the memory allocated for the kvmppc_spapr_tce_table struct > is not freed, and nor are the pages

[PATCH] KVM: PPC: Book3S: Fix race and leak in kvm_vm_ioctl_create_spapr_tce()

2017-08-23 Thread Paul Mackerras
Nixiaoming pointed out that there is a memory leak in kvm_vm_ioctl_create_spapr_tce() if the call to anon_inode_getfd() fails; the memory allocated for the kvmppc_spapr_tce_table struct is not freed, and nor are the pages allocated for the iommu tables. In addition, we have already incremented

Re: [PATCH kernel 0/5] powerpc/eeh: Some cleanups

2017-08-23 Thread Alexey Kardashevskiy
On 24/08/17 11:13, Russell Currey wrote: > On Wed, 2017-08-23 at 20:18 +1000, Alexey Kardashevskiy wrote: >> Here are few patches to get rid of some cached pointers across EEH and >> powernv code as I was struggling to figure out about lifetime of >> structures and so on. > > Thanks for the

Re: [PATCH kernel 0/5] powerpc/eeh: Some cleanups

2017-08-23 Thread Russell Currey
On Wed, 2017-08-23 at 20:18 +1000, Alexey Kardashevskiy wrote: > Here are few patches to get rid of some cached pointers across EEH and > powernv code as I was struggling to figure out about lifetime of > structures and so on. Thanks for the patches. For the whole series: Acked-by: Russell

Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread Nixiaoming
>On 23.08.2017 08:06, Paul Mackerras wrote: >> On Wed, Aug 23, 2017 at 01:43:08AM +, Nixiaoming wrote: On 22.08.2017 17:15, David Hildenbrand wrote: > On 22.08.2017 16:28, nixiaoming wrote: >> miss kfree(stt) when anon_inode_getfd return fail so add check >> anon_inode_getfd

Re: [PATCH v2 1/1] Split VGA default device handler out of VGA arbiter

2017-08-23 Thread Dave Airlie
> Yeah, maybe it's time to disconnect the "default display device" idea > from the VGA arbiter. I have no idea what (if any) dependencies X has > on the legacy VGA resources. I assume X works fine on power, where it > sounds like those resources are rarely or never available. The question on

Re: [PATCH 06/11] ASoC: pxa: make snd_soc_platform_driver const

2017-08-23 Thread Robert Jarzmik
Bhumika Goyal writes: > Make these const as they are only passed as the 2nd argument to the > function devm_snd_soc_register_platform, which is of type const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal > --- > sound/soc/pxa/mmp-pcm.c|

[PATCH] powerpc/powernv/idle: Round up latency and residency values

2017-08-23 Thread Vaidyanathan Srinivasan
On PowerNV platforms, firmware provides exit latency and target residency for each of the idle states in nano seconds. Cpuidle framework expects the values in micro seconds. Round up to nearest micro seconds to avoid errors in cases where the values are defined as fractional micro seconds.

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-23 Thread Nathan Fontenot
On 08/23/2017 12:18 PM, John Allen wrote: > Check if an LMB is assigned before attempting to call dlpar_acquire_drc in > order to avoid any unnecessary rtas calls. This substantially reduces the > running time of memory hot add on lpars with large amounts of memory. > > Signed-off-by: John Allen

[PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-23 Thread John Allen
Check if an LMB is assigned before attempting to call dlpar_acquire_drc in order to avoid any unnecessary rtas calls. This substantially reduces the running time of memory hot add on lpars with large amounts of memory. Signed-off-by: John Allen --- diff --git

Re: [PATCH V9 2/2] powerpc/nodes: Ensure enough nodes avail for operations

2017-08-23 Thread kbuild test robot
Hi Michael, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.13-rc6 next-20170823] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-Bringmann/powerpc-numa-Update-CPU

Re: [RFC Part1 PATCH v3 14/17] x86/boot: Add early boot support when running with SEV active

2017-08-23 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 02:07:54PM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Early in the boot process, add checks to determine if the kernel is > running with Secure Encrypted Virtualization (SEV) active. > > Checking for SEV requires checking that the

[PATCH] cxl: Add support for POWER9 DD2

2017-08-23 Thread Christophe Lombard
The PSL initialization sequence has been updated to DD2. This patch adapts to the changes, retaining compatibility with DD1. Tests performed on some of the new hardware. Signed-off-by: Christophe Lombard --- drivers/misc/cxl/cxl.h | 2 ++ drivers/misc/cxl/pci.c |

[PATCH 4/4] powerpc/32: remove a NOP from memset()

2017-08-23 Thread Christophe Leroy
memset() is patched after initialisation to activate the optimised part which uses cache instructions. Today we have a 'b 2f' to skip the optimised patch, which then gets replaced by a NOP, implying a useless cycle consumption. As we have a 'bne 2f' just before, we could use that instruction for

[PATCH 3/4] powerpc/32: optimise memset()

2017-08-23 Thread Christophe Leroy
There is no need to extend the set value to an int when the length is lower than 4 as in that case we only do byte stores. We can therefore immediately branch to the part handling it. By separating it from the normal case, we are able to eliminate a few actions on the destination pointer.

[PATCH 2/4] powerpc: fix location of two EXPORT_SYMBOL

2017-08-23 Thread Christophe Leroy
Commit 9445aa1a3062a ("ppc: move exports to definitions") added EXPORT_SYMBOL() for memset() and flush_hash_pages() in the middle of the functions. This patch moves them at the end of the two functions. Signed-off-by: Christophe Leroy --- arch/powerpc/lib/copy_32.S

[PATCH 1/4] powerpc/32: add memset16()

2017-08-23 Thread Christophe Leroy
Commit 694fc88ce271f ("powerpc/string: Implement optimized memset variants") added memset16(), memset32() and memset64() for the 64 bits PPC. On 32 bits, memset64() is not relevant, and as shown below, the generic version of memset32() gives a good code, so only memset16() is candidate for an

[PATCH 0/4] powerpc/32: memset() optimisations

2017-08-23 Thread Christophe Leroy
This serie provide small optimisation of memset() for PPC32. Christophe Leroy (4): powerpc/32: add memset16() powerpc: fix location of two EXPORT_SYMBOL powerpc/32: optimise memset() powerpc/32: remove a NOP from memset() arch/powerpc/include/asm/string.h | 4 +++-

Re: [PATCH V9 2/2] powerpc/nodes: Ensure enough nodes avail for operations

2017-08-23 Thread Nathan Fontenot
On 08/21/2017 04:44 PM, Michael Bringmann wrote: > To: linuxppc-dev@lists.ozlabs.org > > From: Michael Bringmann > > To: linux-ker...@vger.kernel.org > Cc: Michael Ellerman > Cc: Michael Bringmann > Cc: John Allen

Re: [PATCH V9 1/2] powerpc/numa: Update CPU topology when VPHN enabled

2017-08-23 Thread Nathan Fontenot
On 08/23/2017 06:41 AM, Michael Ellerman wrote: > Michael Bringmann writes: > >> powerpc/numa: Correct the currently broken capability to set the >> topology for shared CPUs in LPARs. At boot time for shared CPU >> lpars, the topology for each shared CPU is set to node

Re: [PATCH] tpm: vtpm: constify vio_device_id

2017-08-23 Thread Michael Ellerman
Jarkko Sakkinen writes: > On Fri, Aug 18, 2017 at 02:31:56PM -0600, Jason Gunthorpe wrote: >> On Fri, Aug 18, 2017 at 09:32:46PM +1000, Michael Ellerman wrote: >> >> > >> drivers/char/tpm/tpm_ibmvtpm.c | 2 +- >> > >> > Who merges changes for this driver? I

Re: [PATCH v2 1/1] Split VGA default device handler out of VGA arbiter

2017-08-23 Thread Bjorn Helgaas
On Wed, Aug 23, 2017 at 02:48:42PM +0100, Ard Biesheuvel wrote: > On 22 August 2017 at 23:19, Bjorn Helgaas wrote: > > On Mon, Aug 21, 2017 at 11:53:01AM +0100, Lorenzo Pieralisi wrote: > >> On Thu, Aug 17, 2017 at 09:30:28PM +1000, Daniel Axtens wrote: > >> > A system without

[PATCH 4/5] powerpc/oops: Print CR/XER on same line as MSR

2017-08-23 Thread Michael Ellerman
Somehow we missed this when the pr_cont() changes went in. Fix CR/XER to go on the same line as MSR, as they have historically, eg: MSR: 80009032 CR: 4804408a XER: 2000 Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/process.c |

[PATCH 5/5] powerpc/oops: Line up NIP & MSR with other rows

2017-08-23 Thread Michael Ellerman
This is purely cosmetic, but does look nicer IMHO: Before: task: c1453400 task.stack: c1c6c000 NIP: c0a0fbfc LR: c0a0fbf4 CTR: c0ba6220 REGS: c001fffef820 TRAP: 0300 Not tainted (4.13.0-rc6-gcc-6.3.1-00234-g423af27f7d81) MSR:

[PATCH 3/5] powerpc/oops: Use IS_ENABLED() for oops markers

2017-08-23 Thread Michael Ellerman
Just because it looks less gross. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/traps.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c index

[PATCH 2/5] powerpc/oops: Print the kernel's endian in the oops

2017-08-23 Thread Michael Ellerman
Although the MSR tells you what endian you're in it's possible that isn't the same endian the kernel was built for, and if that happens you're usually having a very bad day. So print a marker to make it 100% clear which endian the kernel was built for. Signed-off-by: Michael Ellerman

[PATCH 1/5] powerpc/oops: Fix the oops markers to use pr_cont()

2017-08-23 Thread Michael Ellerman
When we oops we print a few markers for significant config options such as PREEMPT, SMP etc. Currently these appear on separate lines because we're not using pr_cont() properly. Fix it. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/traps.c | 10 +- 1 file

Re: [PATCH v2 1/1] Split VGA default device handler out of VGA arbiter

2017-08-23 Thread Ard Biesheuvel
On 22 August 2017 at 23:19, Bjorn Helgaas wrote: > On Mon, Aug 21, 2017 at 11:53:01AM +0100, Lorenzo Pieralisi wrote: >> On Thu, Aug 17, 2017 at 09:30:28PM +1000, Daniel Axtens wrote: >> > A system without PCI legacy resources (e.g. ARM64) may find that no >> > default/boot

Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs

2017-08-23 Thread Tejun Heo
Hello, Michael. On Wed, Aug 23, 2017 at 09:00:39PM +1000, Michael Ellerman wrote: > > I don't think that's true. The CPU id used in kernel doesn't have to > > match the physical one and arch code should be able to pre-map CPU IDs > > to nodes and use the matching one when hotplugging CPUs. I'm

Re: [3/6] powerpc/mm: Ensure cpumask update is ordered

2017-08-23 Thread Michael Ellerman
On Mon, 2017-07-24 at 04:28:00 UTC, Benjamin Herrenschmidt wrote: > There is no guarantee that the various isync's involved with > the context switch will order the update of the CPU mask with > the first TLB entry for the new context being loaded by the HW. > > Be safe here and add a memory

Re: [PATCH RFC 0/7] powerpc: Beef up single-stepping/instruction emulation infrastructure

2017-08-23 Thread Michael Ellerman
Michael Neuling writes: > Paulus, > >> This patch series extends the code in arch/powerpc/lib/sstep.c so that >> it handles almost all load and store instructions -- all except the >> atomic memory operations (lwat, stwat, etc.).  It also makes sure that >> we use the largest

Re: [PATCH V9 1/2] powerpc/numa: Update CPU topology when VPHN enabled

2017-08-23 Thread Michael Ellerman
Michael Bringmann writes: > powerpc/numa: Correct the currently broken capability to set the > topology for shared CPUs in LPARs. At boot time for shared CPU > lpars, the topology for each shared CPU is set to node zero, however, > this is now updated correctly using

Re: [PATCH V9 2/2] powerpc/nodes: Ensure enough nodes avail for operations

2017-08-23 Thread Michael Ellerman
Michael Bringmann writes: > To: linuxppc-dev@lists.ozlabs.org > > From: Michael Bringmann > > To: linux-ker...@vger.kernel.org > Cc: Michael Ellerman > Cc: Michael Bringmann > Cc: John Allen

Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs

2017-08-23 Thread Laurent Vivier
On 23/08/2017 13:00, Michael Ellerman wrote: > Hi Tejun, > > Tejun Heo writes: >> Hello, Michael. >> >> On Tue, Aug 22, 2017 at 11:41:41AM +1000, Michael Ellerman wrote: This is something powerpc needs to fix. >>> >>> There is no way for us to fix it. >> >> I don't think

Re: [PATCH 1/2] powerpc/workqueue: update list of possible CPUs

2017-08-23 Thread Michael Ellerman
Hi Tejun, Tejun Heo writes: > Hello, Michael. > > On Tue, Aug 22, 2017 at 11:41:41AM +1000, Michael Ellerman wrote: >> > This is something powerpc needs to fix. >> >> There is no way for us to fix it. > > I don't think that's true. The CPU id used in kernel doesn't have to >

[PATCH kernel 1/5] powerpc/pci: Remove unused parameter from add_one_dev_pci_data()

2017-08-23 Thread Alexey Kardashevskiy
pdev is always NULL, remove it. To make checkpatch.pl happy, this also removes the "out of memory" message. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/kernel/pci_dn.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git

[PATCH kernel 5/5] powerpc/eeh: Remove unnecessary node from pci_dn

2017-08-23 Thread Alexey Kardashevskiy
The pci_dn struct caches a OF device node pointer in order to access the "ibm,loc-code" property when EEH is recovering. However, when this happens in eeh_dev_check_failure(), we also have a pci_dev pointer which should have a valid pointer to the device node when pci_dn has one (both pointers

[PATCH kernel 4/5] powerpc/eeh: Remove unnecessary config_addr from eeh_dev

2017-08-23 Thread Alexey Kardashevskiy
The eeh_dev struct hold a config space address of an associated node and the very same address is also stored in the pci_dn struct which is always present during the eeh_dev lifetime. This uses bus:devfn directly from pci_dn instead of cached and packed config_addr. Since config_addr is made

[PATCH kernel 3/5] powerpc/eeh: Remove unnecessary pointer to phb from eeh_dev

2017-08-23 Thread Alexey Kardashevskiy
The eeh_dev struct already holds a pointer to pci_dn which it does not exist without and pci_dn itself holds the very same pointer so just use it. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/include/asm/eeh.h | 1 - arch/powerpc/kernel/eeh.c

[PATCH kernel 2/5] powerpc/eeh: Reduce to one the number of places where edev is allocated

2017-08-23 Thread Alexey Kardashevskiy
arch/powerpc/kernel/eeh_dev.c:57 is the only legit place where edev is allocated; other 2 places allocate it on stack and in the heap for a very short period of time to use eeh_pe_get() as takes edev. This changes eeh_pe_get() to receive required parameters explicitly. This removes unnecessary

[PATCH kernel 0/5] powerpc/eeh: Some cleanups

2017-08-23 Thread Alexey Kardashevskiy
Here are few patches to get rid of some cached pointers across EEH and powernv code as I was struggling to figure out about lifetime of structures and so on. This is based on sha1 98b9f8a45499 Linus Torvalds Merge tag 'ext4_for_linus_stable' of

答复: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread Nixiaoming
>On 23.08.2017 08:06, Paul Mackerras wrote: >> On Wed, Aug 23, 2017 at 01:43:08AM +, Nixiaoming wrote: On 22.08.2017 17:15, David Hildenbrand wrote: > On 22.08.2017 16:28, nixiaoming wrote: >> miss kfree(stt) when anon_inode_getfd return fail so add check >> anon_inode_getfd

Re: [PATCH RFC 0/7] powerpc: Beef up single-stepping/instruction emulation infrastructure

2017-08-23 Thread Michael Neuling
Paulus, > This patch series extends the code in arch/powerpc/lib/sstep.c so that > it handles almost all load and store instructions -- all except the > atomic memory operations (lwat, stwat, etc.).  It also makes sure that > we use the largest possible aligned accesses to access memory and that

Re: [PATCH RFC 2/7] powerpc: Change analyse_instr so it doesn't modify *regs

2017-08-23 Thread Michael Neuling
On Wed, 2017-08-23 at 09:47 +1000, Paul Mackerras wrote: > The analyse_instr function currently doesn't just work out what an > instruction does, it also executes those instructions whose effect > is only to update CPU registers that are stored in struct pt_regs. > This is undesirable because

Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread David Hildenbrand
>>> + mutex_unlock(>lock); >>> + kvm_put_kvm(kvm); >>> + goto fail; >>> + } >>> + return ret; > > of simply > > if (!ret) if (ret >= 0) return ret; is of course what I meant :) > return 0; > > mutex_lock(>lock); >

Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread David Hildenbrand
On 23.08.2017 08:06, Paul Mackerras wrote: > On Wed, Aug 23, 2017 at 01:43:08AM +, Nixiaoming wrote: >>> On 22.08.2017 17:15, David Hildenbrand wrote: On 22.08.2017 16:28, nixiaoming wrote: > miss kfree(stt) when anon_inode_getfd return fail so add check > anon_inode_getfd return

Re: Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread Paul Mackerras
On Wed, Aug 23, 2017 at 01:43:08AM +, Nixiaoming wrote: > >On 22.08.2017 17:15, David Hildenbrand wrote: > >> On 22.08.2017 16:28, nixiaoming wrote: > >>> miss kfree(stt) when anon_inode_getfd return fail so add check > >>> anon_inode_getfd return val, and kfree stt > >>> > >>> Signed-off-by:

[PATCH] powerpc/vio: Use device_type to detect family

2017-08-23 Thread Michael Ellerman
Currently in the vio.c code we use a comparision against the parent device node's full path to decide if the device is a PFO or VIO family device. Both the ibm,platform-facilities and vdevice nodes are defined by PAPR, and must have a matching device_type. So instead of using the path we can

[PATCH 46/46] powerpc/configs/6xx: Drop removed CONFIG_USB_LED

2017-08-23 Thread Michael Ellerman
In commit a335aaf3125c ("usb: misc: remove outdated USB LED driver") CONFIG_USB_LED was removed, so drop it from our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 45/46] powerpc/configs/6xx: Drop no longer selectable CONFIG_BT_HCIUART_LL

2017-08-23 Thread Michael Ellerman
Since commit 76c4969fecb1 ("Bluetooth: hci_uart: fix kconfig dependency") we can no longer select CONFIG_BT_HCIUART_LL. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 44/46] powerpc/configs/c2k: Switch CONFIG_GEN_RTC from =m to =y

2017-08-23 Thread Michael Ellerman
In commit 835ea93e9d26 ("char/genrtc: remove powerpc support"), CONFIG_GEN_RTC switch from tristate to bool, update the defconfig to match. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/c2k_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 43/46] powerpc/configs/6xx: Switch CONFIG_USB_EHCI_FSL to =m

2017-08-23 Thread Michael Ellerman
In commit ca07e1c1e4a6 ("drivers:usb:fsl:Make fsl ehci drv an independent driver module"), CONFIG_USB_EHCI_FSL was switched from built-in to modular. Update the defconfig. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 2 +- 1 file changed, 1

[PATCH 42/46] powerpc/configs/6xx: Drop no longer needed CONFIG_BT_HCIUART_H4

2017-08-23 Thread Michael Ellerman
Since commit 943cc592195e ("Bluetooth: bpa10x: Use h4_recv_buf helper for frame reassembly") we no longer need to set CONFIG_BT_HCIUART_H4 in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 41/46] powerpc/configs/6xx: Drop no longer needed CONFIG_NETFILTER_XT_MATCH_SOCKET

2017-08-23 Thread Michael Ellerman
Since commit 8db4c5be88f6 ("netfilter: move socket lookup infrastructure to nf_socket_ipv{4,6}.c") we no longer need to set CONFIG_NETFILTER_XT_MATCH_SOCKET in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1

[PATCH 40/46] powerpc/configs/6xx: Reinstate CONFIG_CPU_FREQ_STAT

2017-08-23 Thread Michael Ellerman
In commit 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular"), the CPU_FREQ_STAT code was made non-modular. Our defconfig still said =m though, which meant we no longer got the code at all. Switch the defconfig to =y. Signed-off-by: Michael Ellerman ---

[PATCH 39/46] powerpc/configs/6xx: Drop no longer needed CONFIG_NF_CONNTRACK_PROC_COMPAT

2017-08-23 Thread Michael Ellerman
Since commit adf0516845bc ("netfilter: remove ip_conntrack* sysctl compat code") we no longer need to set CONFIG_NF_CONNTRACK_PROC_COMPAT in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff

[PATCH 38/46] powerpc/configs/6xx: Drop removed CONFIG_BLK_DEV_HD

2017-08-23 Thread Michael Ellerman
In commit 8e14be53f470 ("remove the obsolete hd driver") the CONFIG_BLK_DEV_HD symbol was removed, so drop it from the defconfig. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 37/46] powerpc/configs/6xx: Clean up duplicate CONFIG_EXT4 values

2017-08-23 Thread Michael Ellerman
We had two values for CONFIG_EXT4, =m and =y, just use =y. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/configs/ppc6xx_defconfig

[PATCH 36/46] powerpc/configs/6xx: Drop no longer needed CONFIG_TIMER_STATS

2017-08-23 Thread Michael Ellerman
Since commit dfb4357da6dd ("time: Remove CONFIG_TIMER_STATS") we no longer need to set CONFIG_TIMER_STATS in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 35/46] powerpc/configs/6xx: Turn CONFIG_DRM_RADEON back on

2017-08-23 Thread Michael Ellerman
In commit d92d9c3a1448 ("drm: hide legacy drivers with CONFIG_DRM_LEGACY") CONFIG_DRM_RADEON was moved behind CONFIG_DRM_LEGACY meaning it stopped being enabled by ppc6xx_defconfig. Although no one has noticed, given this is basically a legacy platform, it seems anyone who is using it probably

[PATCH 34/46] powerpc/configs/mpc5200: Drop no longer needed CONFIG_FB

2017-08-23 Thread Michael Ellerman
Since commit a03fdcb18632 ("drm: Add top level Kconfig option for DRM fbdev emulation") we no longer need to set CONFIG_FB in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/mpc5200_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 33/46] powerpc/configs: Update for CONFIG_SND changes

2017-08-23 Thread Michael Ellerman
Commit eb3b705aaed9 ("ALSA: Make CONFIG_SND_OSSEMUL user-selectable") means we need to set CONFIG_SND_OSSEMUL in our configs, otherwise we lose some of the SND symbols. And commit 0181307abc1d ("ALSA: seq: Reorganize kconfig and build") reorganised things, which causes the churn. Signed-off-by:

[PATCH 32/46] powerpc/configs: Update for CONFIG_INPUT_MOUSEDEV=n

2017-08-23 Thread Michael Ellerman
In commit 73d8ef76006b ("Input: mousedev - stop offering PS/2 to userspace by default") the symbol INPUT_MOUSEDEV went from being 'default y' to 'default n' (implied). That means we no longer need to explicitly disable it in our defconfigs. Signed-off-by: Michael Ellerman

[PATCH 31/46] powerpc/configs: Drop removed CONFIG_LOGFS

2017-08-23 Thread Michael Ellerman
In commit 1d0fd57a50aa ("logfs: remove from tree"), logfs was removed from the tree, so we can drop it from our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc44x_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 30/46] powerpc/configs: Turn CONFIG_R128 back in pmac32_defconfig

2017-08-23 Thread Michael Ellerman
In commit d92d9c3a1448 ("drm: hide legacy drivers with CONFIG_DRM_LEGACY") CONFIG_R128 was moved behind CONFIG_DRM_LEGACY meaning it stopped being enabled by pmac32_defconfig. Although no one has noticed, given this is basically a legacy platform, it seems anyone who is using it probably still

[PATCH 29/46] powerpc/configs: Drop no longer needed CONFIG_LIBCRC32C

2017-08-23 Thread Michael Ellerman
Since commit 300ae149468f ("netfilter: select LIBCRC32C together with SCTP conntrack") we no longer need to set CONFIG_LIBCRC32C in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/pmac32_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 28/46] powerpc/configs: Drop unnecessary CONFIG_EDAC from ppc64e

2017-08-23 Thread Michael Ellerman
There are no EDAC drivers for ppc64e. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc64e_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/powerpc/configs/ppc64e_defconfig b/arch/powerpc/configs/ppc64e_defconfig index 1f5e0b107083..d0fe0f8f77c2

[PATCH 27/46] powerpc/configs: Drop no longer needed CONFIG_SCSI

2017-08-23 Thread Michael Ellerman
Since commit 67f6d6655993 ("powerpc: convert amigaone_defconfig to use libata PATA drivers") we no longer need to set CONFIG_SCSI in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/amigaone_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 26/46] powerpc/configs: Drop no longer needed CONFIG_IPV6

2017-08-23 Thread Michael Ellerman
Since commit de551f2eb22a ("net: Build IPv6 into kernel by default") we no longer need to set CONFIG_IPV6 in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/85xx/xes_mpc85xx_defconfig | 1 - arch/powerpc/configs/cell_defconfig | 1 - 2

[PATCH 25/46] powerpc/configs: Add CONFIG_RAS now required for CONFIG_EDAC

2017-08-23 Thread Michael Ellerman
In commit e3c4ff6d8c94 ("EDAC: Remove EDAC_MM_EDAC") CONFIG_EDAC grew a dependency on CONFIG_RAS. Some of our defconfigs don't have the latter, which means we lose CONFIG_EDAC, so add CONFIG_RAS to fix that. Signed-off-by: Michael Ellerman ---

[PATCH 24/46] powerpc/configs: Drop no longer needed CONFIG_AUDITSYSCALL

2017-08-23 Thread Michael Ellerman
Since commit cb74ed278f80 ("audit: always enable syscall auditing when supported and audit is enabled") we no longer need to set CONFIG_AUDITSYSCALL in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/pseries_defconfig | 1 - 1 file changed, 1

[PATCH 23/46] powerpc/configs: Drop CONFIG_SERIAL_TXX9_* from cell/ppc64

2017-08-23 Thread Michael Ellerman
In commit bf4981a00636 ("powerpc: Remove the celleb support") we dropped the celleb support, which made these symbols unselectable because we no longer select HAS_TX99_SERIAL. So drop them from the defconfigs. Signed-off-by: Michael Ellerman ---

[PATCH 22/46] powerpc/configs: Drop MEMORY_HOTREMOVE from ppc64/cell

2017-08-23 Thread Michael Ellerman
In commit 577ec789a79e ("powerpc/cell: Drop select of MEMORY_HOTPLUG") we removed the last traces of any dependency between --- arch/powerpc/configs/cell_defconfig | 1 - arch/powerpc/configs/ppc64_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git

[PATCH 20/46] powerpc/configs: Drop no longer needed PCI_MSI on powernv

2017-08-23 Thread Michael Ellerman
In commit a311e738b6d8 ("powerpc/powernv: Make PCI non-optional") we made PCI (and therefore PCI_MSI) non-optional on powernv, so it doesn't need to be in the defconfig anymore. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/powernv_defconfig | 1 - 1 file

[PATCH 21/46] powerpc/configs: Drop unnecessary CONFIG_POWERNV_OP_PANEL

2017-08-23 Thread Michael Ellerman
In commit 43a1dd9b5fc6 ("powerpc/powernv: Add driver for operator panel on FSP machines") we added CONFIG_POWERNV_OP_PANEL=m to the powernv defconfig, but it's default m so that's no necessary. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/powernv_defconfig | 1 -

[PATCH 19/46] powerpc/configs: Drop no longer needed CONFIG_SMP for pseries/ppc64/powernv

2017-08-23 Thread Michael Ellerman
In commit 40e275653e2c ("powerpc/powernv: Always enable SMP when building powernv") and 270e2dc9b803 ("powerpc/pseries: Always enable SMP when building pseries") we forced CONFIG_SMP on for some configs. Therefore we don't need to set it in those configs anymore. Signed-off-by: Michael Ellerman

[PATCH 18/46] powerpc/configs: Drop unnecessary CONFIG_UPROBE_EVENT

2017-08-23 Thread Michael Ellerman
In commit 6b0b7551428e ("perf/core: Rename CONFIG_[UK]PROBE_EVENT to CONFIG_[UK]PROBE_EVENTS") it was renamed to CONFIG_UPROBE_EVENTS. Additionally it's default y, and we have the prerequisites enabled, so we don't need it in our defconfigs. Signed-off-by: Michael Ellerman

[PATCH 16/46] powerpc/configs: Drop no longer needed CONFIG_DEVPTS_MULTIPLE_INSTANCES

2017-08-23 Thread Michael Ellerman
Since commit eedf265aa003 ("devpts: Make each mount of devpts an independent filesystem.") we no longer need to set CONFIG_DEVPTS_MULTIPLE_INSTANCES in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/powernv_defconfig | 1 -

[PATCH 17/46] powerpc/configs: Drop unnecessary CONFIG_NUMA_BALANCING_DEFAULT_ENABLED

2017-08-23 Thread Michael Ellerman
In commit 9654f95a081a ("powerpc: Enable NUMA balancing in pseries[_le]_defconfig") we added CONFIG_NUMA_BALANCING_DEFAULT_ENABLED to our defconfigs. But it's already enabled by default, so drop it. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/pseries_defconfig

[PATCH 15/46] powerpc/configs: Drop no longer needed CONFIG_CRYPTO_GCM

2017-08-23 Thread Michael Ellerman
Since commit 00b9cfa3ff38 ("mac80111: Add GCMP and GCMP-256 ciphers") we no longer need to set CONFIG_CRYPTO_GCM in our defconfigs. Signed-off-by: Michael Ellerman --- arch/powerpc/configs/ppc6xx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git