[PATCH] powerpc/pseries: export timebase register sample in lparcfg

2018-12-08 Thread Tyrel Datwyler
The Processor Utilzation of Resource Registers (PURR) provide an estimate of resources used by a cpu thread. Section 7.6 in Book III of the ISA outlines how to calculate the percentage of shared resources for threads using the ratio of the PURR delta and Timebase Register delta for a sampled

Re: [PATCH 1/2] um: remove -fno-unit-at-a-time workaround for pre-4.0 GCC

2018-12-08 Thread Masahiro Yamada
Hi Richard, On Sat, Dec 8, 2018 at 5:55 PM Richard Weinberger wrote: > > Am Samstag, 8. Dezember 2018, 07:35:47 CET schrieb Masahiro Yamada: > > x86 maintainers, > > > > > > Ping. > > I thought you carry this via your kbuild tree. > That said, I can merge it also via the um tree. > x86 is of

Re: [PATCH 2/2] x86, powerpc: remove -funit-at-a-time compiler option entirely

2018-12-08 Thread Masahiro Yamada
Hi Borislav, On Sat, Dec 8, 2018 at 8:34 PM Borislav Petkov wrote: > > On Sat, Dec 08, 2018 at 03:36:52PM +0900, Masahiro Yamada wrote: > > x86 maintainers, > > > > Ping. > > You got the required ACKs. If you want me to carry this one and the > UML one through the tip tree, lemme know. Or you

Re: use generic DMA mapping code in powerpc V4

2018-12-08 Thread Christoph Hellwig
On Sun, Dec 02, 2018 at 05:11:02PM +1100, Benjamin Herrenschmidt wrote: > Talking of which ... Christoph, not sure if we can do something about > this at the DMA API level or keep hacks but some adapters such as the > nVidia GPUs have a HW hack we can use to work around their limitations > in that

Re: [PATCH V4 0/3] * mm/kvm/vfio/ppc64: Migrate compound pages out of CMA region

2018-12-08 Thread Aneesh Kumar K.V
On 12/8/18 4:42 AM, Andrew Morton wrote: On Wed, 21 Nov 2018 14:52:56 +0530 "Aneesh Kumar K.V" wrote: Subject: [PATCH V4 0/3] * mm/kvm/vfio/ppc64: Migrate compound pages out of CMA region Asterisk in title is strange? My mistake while editing git-format-patch cover-letter. ppc64 use

Re: use generic DMA mapping code in powerpc V4

2018-12-08 Thread Christoph Hellwig
Just as a warning: this series now has some conflicts with the dma mapping tree due to the ->mapping_error removal, and there might be some bigger ones if the direct calls for the direct mapping code series goes ahead. None of them affect the early part of the series that do not touch the actual

[PATCH] powerpc/ptrace: Add prototype for function pt_regs_check

2018-12-08 Thread Mathieu Malaterre
`pt_regs_check` is a dummy function, its purpose is to break the build if struct pt_regs and struct user_pt_regs don't match. This function has no functionnal purpose, and will get eliminated at link time or after init depending on CONFIG_LD_DEAD_CODE_DATA_ELIMINATION This commit adds a

Re: [PATCH V3 1/5] mm: Update ptep_modify_prot_start/commit to take vm_area_struct as arg

2018-12-08 Thread Aneesh Kumar K.V
kbuild test robot writes: > Hi Aneesh, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.20-rc5 next-20181206] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > >

Re: use generic DMA mapping code in powerpc V4

2018-12-08 Thread Christian Zigotzky
Next step: e15cd8173ef85e9cc3e2a9c7cc2982f5c1355615 (powerpc/dma: fix an off-by-one in dma_capable) git checkout e15cd8173ef85e9cc3e2a9c7cc2982f5c1355615 The PASEMI onboard ethernet also works with this commit and the X5000 boots without any problems. -- Christian On 08 December 2018 at

Re: [PATCH 2/2] x86, powerpc: remove -funit-at-a-time compiler option entirely

2018-12-08 Thread Borislav Petkov
On Sat, Dec 08, 2018 at 03:36:52PM +0900, Masahiro Yamada wrote: > x86 maintainers, > > Ping. You got the required ACKs. If you want me to carry this one and the UML one through the tip tree, lemme know. Or you can do what Richard suggested. Your call. Thx. -- Regards/Gruss, Boris. Good

Re: use generic DMA mapping code in powerpc V4

2018-12-08 Thread Christian Zigotzky
Next step: 7ebc44c535f6bd726d553756d38b137acc718443 (powerpc/dma: remove max_direct_dma_addr) git checkout 7ebc44c535f6bd726d553756d38b137acc718443 OK, the PASEMI onboard ethernet works and the P5020 board boots. -- Christian On 07 December 2018 at 7:33PM, Christian Zigotzky wrote: Next

Re: use generic DMA mapping code in powerpc V4

2018-12-08 Thread Benjamin Herrenschmidt
On Tue, 2018-11-27 at 08:42 +0100, Christoph Hellwig wrote: > Any comments? I'd like to at least get the ball moving on the easy > bits. I completely missed your posting of V4 ! I was wondering what was taking you so long :) I'll give it a spin & send acks over the next 2 or 3 days. Cheers,

Re: error: no previous prototype for ‘pt_regs_check’

2018-12-08 Thread Christophe LEROY
Mathieu, Le 07/12/2018 à 21:07, Mathieu Malaterre a écrit : Michael, I have been wondering for a while now, but I failed to make sense of this function: pt_regs_check (commit 002af9391bfbe). What is this function meant for ? AFAICS this is a dummy function, its purpose is to break the build

Re: [PATCH 1/2] um: remove -fno-unit-at-a-time workaround for pre-4.0 GCC

2018-12-08 Thread Richard Weinberger
Am Samstag, 8. Dezember 2018, 07:35:47 CET schrieb Masahiro Yamada: > x86 maintainers, > > > Ping. I thought you carry this via your kbuild tree. That said, I can merge it also via the um tree. x86 is of course also fine. :-) > > > On Tue, Nov 13, 2018 at 6:48 PM Richard Weinberger wrote: >