[v2,RFC] pasemi: Fix boot failure on 4.7-rc1

2016-07-03 Thread Christian Zigotzky
Many thanks! - Christian On 04 July 2016 at 07:51 AM, Michael Ellerman wrote: On Wed, 2016-29-06 at 20:06:28 UTC, Darren Stevens wrote: Commit:d6a9996e84ac4beb7713e9485f4563e100a9b03e (powerpc/mm: vmalloc abstraction in preparation for radix) turned kernel memory and IO addresses fro

Re: [RFC] arm64: kexec_file_load support

2016-07-03 Thread AKASHI Takahiro
Hi, On Fri, Jul 01, 2016 at 12:46:31PM -0300, Thiago Jung Bauermann wrote: > Am Freitag, 01 Juli 2016, 14:11:12 schrieb AKASHI Takahiro: > > I'm not sure whether there is any demand for kexec_file_load > > support on arm64, but anyhow I'm working on this and now > > my early prototype code does wo

Re: powerpc/opal: Wake up kopald polling thread before waiting for events

2016-07-03 Thread Michael Ellerman
On Mon, 2016-04-07 at 04:51:44 UTC, Benjamin Herrenschmidt wrote: > On some environments (prototype machines, some simulators, etc...) > there is no functional interrupt source to signal completion, so > we rely on the fairly slow OPAL heartbeat. > > In a number of cases, the calls complete very q

Re: [PATCH v5] cpuidle: Fix last_residency division

2016-07-03 Thread Balbir Singh
On 02/07/16 00:24, Shreyas B. Prabhu wrote: > Snooze is a poll idle state in powernv and pseries platforms. Snooze > has a timeout so that if a cpu stays in snooze for more than target > residency of the next available idle state, then it would exit thereby > giving chance to the cpuidle governor

Re: powerpc/mm: Add a parameter to disable 1TB segs

2016-07-03 Thread Michael Ellerman
On Mon, 2016-04-07 at 00:44:04 UTC, Oliver O'Halloran wrote: > This patch adds the kernel command line parameter "no_tb_segs" which > forces the kernel to use 256MB rather than 1TB segments. Forcing the use > of 256MB segments makes it considerably easier to test code that depends > on an SLB miss

Re: [PATCH 2/2] crypto: powerpc: Add POWER8 optimised crc32c

2016-07-03 Thread Segher Boessenkool
Hi Anton, On Fri, Jul 01, 2016 at 08:19:45AM +1000, Anton Blanchard wrote: > +#ifdef BYTESWAP_DATA > + addis r3,r2,.byteswap_constant@toc@ha > + addir3,r3,.byteswap_constant@toc@l > + > + lvx byteswap,0,r3 > + addir3,r3,16 > +#endif You already have r0=0, so you can

Re: [v2,RFC] pasemi: Fix boot failure on 4.7-rc1

2016-07-03 Thread Michael Ellerman
On Wed, 2016-29-06 at 20:06:28 UTC, Darren Stevens wrote: > Commit:d6a9996e84ac4beb7713e9485f4563e100a9b03e (powerpc/mm: > vmalloc abstraction in preparation for radix) turned kernel memory > and IO addresses from #defined constants to variables initialised > at runtime. > > On

Re: [PATCH] powerpc/mm: Add a parameter to disable 1TB segs

2016-07-03 Thread Balbir Singh
On 04/07/16 10:44, Oliver O'Halloran wrote: > This patch adds the kernel command line parameter "no_tb_segs" which > forces the kernel to use 256MB rather than 1TB segments. Forcing the use > of 256MB segments makes it considerably easier to test code that depends > on an SLB miss occurring. > >

[PATCH] powerpc/opal: Wake up kopald polling thread before waiting for events

2016-07-03 Thread Benjamin Herrenschmidt
On some environments (prototype machines, some simulators, etc...) there is no functional interrupt source to signal completion, so we rely on the fairly slow OPAL heartbeat. In a number of cases, the calls complete very quickly or even immediately. We've observed that it helps a lot to wakeup the

Re: device tree passing feature

2016-07-03 Thread Samuel Mendoza-Jonas
On Fri, 2016-07-01 at 13:15 -0300, Thiago Jung Bauermann wrote: > Hi Samuel, > > Thanks for your response. > > Am Freitag, 01 Juli 2016, 11:46:21 schrieb Samuel Mendoza-Jonas: > > On Thu, 2016-06-30 at 11:27 -0300, Thiago Jung Bauermann wrote: > > > I have a question about the petitboot feature w

Re: [PATCH v2] cxl: Ignore CAPI adapters misplaced in switched slots

2016-07-03 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] cxl: make base more explicitly non-modular

2016-07-03 Thread Ian Munsie
Acked-by: Ian Munsie ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

[PATCH] powerpc/mm: Add a parameter to disable 1TB segs

2016-07-03 Thread Oliver O'Halloran
This patch adds the kernel command line parameter "no_tb_segs" which forces the kernel to use 256MB rather than 1TB segments. Forcing the use of 256MB segments makes it considerably easier to test code that depends on an SLB miss occurring. Suggested-by: Michael Neuling Suggested-by: Michael Elle

[PATCH] cxl: make base more explicitly non-modular

2016-07-03 Thread Paul Gortmaker
The Kconfig/Makefile currently controlling compilation of this code is: drivers/misc/cxl/Kconfig:config CXL_BASE drivers/misc/cxl/Kconfig: bool drivers/misc/cxl/Makefile:obj-$(CONFIG_CXL_BASE) += base.o ...meaning that it currently is not being built as a module by anyone. Lets c

Linux 4.7: Reported regressions as of Saturday, 2016-07-02

2016-07-03 Thread Thorsten Leemhuis
Hi! Here is my fourth regression report for Linux 4.7; a day earlier then usual. It has 14 entries; * 2 of them are new * 9 regressions (not included here) were fixed since the last report(ยน) * 1 made it to the list after last Sunday (thx for telling me about it Kalle!), but was fixed before

[PATCH] perf/core: Fix the mask in perf_output_sample_regs

2016-07-03 Thread Madhavan Srinivasan
When decoding the perf_regs mask in perf_output_sample_regs(), we loop through the mask using find_first_bit and find_next_bit functions. While the exisitng code works fine in most of the case, the logic is broken for 32bit kernel (Big Endian). When reading u64 mask using (u32 *)(&val)[0], find_*_b