Re: [bug report] powerpc/perf: Add nest IMC PMU support

2018-02-07 Thread Anju T Sudhakar
Hi Dan Carpenter, On Wednesday 31 January 2018 08:55 PM, Dan Carpenter wrote: Hello Anju T Sudhakar, The patch 885dcd709ba9: "powerpc/perf: Add nest IMC PMU support" from Jul 19, 2017, leads to the following static checker warning: arch/powerpc/perf/imc-pmu.c:1393 init_imc_pmu()

[PATCH kernel] powerpc/pci: Fix broken INTx configuration via OF

2018-02-07 Thread Alexey Kardashevskiy
Commit 59f47eff03a0 ("powerpc/pci: Use of_irq_parse_and_map_pci() helper") correctly states that of_irq_parse_and_map_pci() does the same thing as of_irq_parse_pci() does as it simply calls of_irq_parse_pci() and irq_create_of_mapping(). However of_irq_parse_and_map_pci() not only returns 0 for

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-02-07 Thread Christian Zigotzky
Hi Andrew, How can we fix the buffer problem? Thanks, Christian On 7. Feb 2018, at 22:17, Andrew Lunn wrote: On Wed, Feb 07, 2018 at 10:00:45PM +0100, mad skateman wrote: Hi, I just found out that something goes wrong within the ARP table (well thats what i think). I hope

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-02-07 Thread mad skateman
Hi, I just found out that something goes wrong within the ARP table (well thats what i think). I hope someone has a clue.. When i bootup the AmigaOne X5000 with the Ethernet cable connected, it just never senses the presence of the UTP cable. I must run the following command as root: mii-tool -R

[RFC] powerpc/kernel: Add 'ibm,thread-groups' property for CPU allocation

2018-02-07 Thread Michael Bringmann
[Withdraw/replace previous version submission. Awaiting hardware for further migration tests. Request comments about current state.] Add code to parse the new property 'ibm,thread-groups" when it is present. The content of this property explicitly defines the number of threads per core as well

[RFC] powerpc/hotplug/drcinfo: Fix bugs parsing ibm,drc-info structs

2018-02-07 Thread Michael Bringmann
[Replace/withdraw previous patch submission to ensure that testing of related patches on similar hardware progresses together. Request comments about current state.] This patch fixes a memory parsing bug when using of_prop_next_u32 calls at the start of a structure. Depending upon the value of

Re: DPAA Ethernet traffice troubles with Linux kernel

2018-02-07 Thread Andrew Lunn
On Wed, Feb 07, 2018 at 10:00:45PM +0100, mad skateman wrote: > Hi, > > I just found out that something goes wrong within the ARP table (well thats > what i think). I hope someone has a clue.. This looks like 'normal' behaviour. It has been reported that the device runs out of buffers. That

Re: [PATCH v11 00/10] Application Data Integrity feature introduced by SPARC M7

2018-02-07 Thread Eric W. Biederman
Khalid Aziz writes: > On 02/07/2018 12:38 AM, ebied...@xmission.com wrote: >> Khalid Aziz writes: >> >>> On 02/01/2018 07:29 PM, ebied...@xmission.com wrote: Khalid Aziz writes: > V11 changes: > This

Re: [PATCH v11 00/10] Application Data Integrity feature introduced by SPARC M7

2018-02-07 Thread Khalid Aziz
On 02/07/2018 12:38 AM, ebied...@xmission.com wrote: Khalid Aziz writes: On 02/01/2018 07:29 PM, ebied...@xmission.com wrote: Khalid Aziz writes: V11 changes: This series is same as v10 and was simply rebased on 4.15 kernel. Can mm

[PATCH] powerpc/via-pmu: Fix section mismatch warning

2018-02-07 Thread Mathieu Malaterre
Remove the __init annotation from pmu_init() to avoid the following warning. WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the variable via_pmu_driver to the function .init.text:pmu_init() The variable via_pmu_driver references the function __init pmu_init() If the

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 16:47:00 +0100, Alexandre Belloni wrote: > > >> > I really don't think anyone is using that but I don't really know much > > >> > about x86 and the specification this may be part of. > > >> > > > >> > I see the info may be used in drivers/video/fbdev/ and > > >> >

Re: [PATCH kernel v2] powerpc/mm: Flush radix process translations when setting MMU type

2018-02-07 Thread Daniel Henrique Barboza
On 02/07/2018 12:33 PM, Laurent Vivier wrote: On 01/02/2018 06:09, Alexey Kardashevskiy wrote: Radix guests do normally invalidate process-scoped translations when a new pid is allocated but migrated guests do not invalidate these so migrated guests crash sometime, especially easy to

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 15:00:04 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni > wrote: > > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > > >> >> $ cat /proc/driver/nvram >

Re: [PATCH kernel v2] powerpc/mm: Flush radix process translations when setting MMU type

2018-02-07 Thread Laurent Vivier
On 01/02/2018 06:09, Alexey Kardashevskiy wrote: > Radix guests do normally invalidate process-scoped translations when > a new pid is allocated but migrated guests do not invalidate these so > migrated guests crash sometime, especially easy to reproduce with > migration happening within first 10

Re: [PATCH 16/18] crypto: talitos - do hw_context DMA mapping outside the requests

2018-02-07 Thread Horia Geantă
On 10/6/2017 4:06 PM, Christophe Leroy wrote: > At every request, we map and unmap the same hash hw_context. > > This patch moves the dma mapping/unmapping in functions ahash_init() > and ahash_import(). > > Signed-off-by: Christophe Leroy > --- >

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 1:48 PM, Alexandre Belloni wrote: > On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: >> On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni >> >> $ cat /proc/driver/nvram >> >> Checksum status: valid >> >> # floppies : 0 >> >> Floppy 0

Re: [PATCH v2 3/6] gpio: Add GPIO driver for Nintendo Wii

2018-02-07 Thread Jonathan Neuschäfer
On Wed, Feb 07, 2018 at 01:29:45PM +0100, Linus Walleij wrote: > On Mon, Jan 22, 2018 at 6:04 AM, Jonathan Neuschäfer > wrote: > > > The Nintendo Wii's chipset (called "Hollywood") has a GPIO controller > > that supports a configurable number of pins (up to 32),

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Alexandre Belloni
On 07/02/2018 at 11:33:55 +0100, Arnd Bergmann wrote: > On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni > wrote: > > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: > >> * arch/arm/kernel/time.c has this code > >> > >> #if defined(CONFIG_RTC_DRV_CMOS) ||

Re: [PATCH v2 3/6] gpio: Add GPIO driver for Nintendo Wii

2018-02-07 Thread Linus Walleij
On Mon, Jan 22, 2018 at 6:04 AM, Jonathan Neuschäfer wrote: > The Nintendo Wii's chipset (called "Hollywood") has a GPIO controller > that supports a configurable number of pins (up to 32), interrupts, and > some special mechanisms to share the controller between the

Re: [PATCH v2 4/6] dt-bindings: gpio: Add binding for Wii GPIO controller

2018-02-07 Thread Linus Walleij
On Mon, Jan 22, 2018 at 6:04 AM, Jonathan Neuschäfer wrote: > The Nintendo Wii game console has a GPIO controller, which is used for > the optical disk slot LED, buttons, poweroff, etc. This patch adds a > binding for this GPIO controller. > > Signed-off-by: Jonathan

Re: [PATCH] char: nvram: disable on ARM

2018-02-07 Thread Arnd Bergmann
On Wed, Feb 7, 2018 at 2:55 AM, Alexandre Belloni wrote: > On 06/02/2018 at 23:55:02 +0100, Arnd Bergmann wrote: >> * arch/arm/kernel/time.c has this code >> >> #if defined(CONFIG_RTC_DRV_CMOS) || defined(CONFIG_RTC_DRV_CMOS_MODULE) || \ >> defined(CONFIG_NVRAM)

Re: [PATCH v11 00/10] Application Data Integrity feature introduced by SPARC M7

2018-02-07 Thread Eric W. Biederman
Khalid Aziz writes: > On 02/01/2018 07:29 PM, ebied...@xmission.com wrote: >> Khalid Aziz writes: >> >>> V11 changes: >>> This series is same as v10 and was simply rebased on 4.15 kernel. Can >>> mm maintainers please review patches 2, 7, 8 and 9