Re: [PATCH 27/36] dt-bindings: arm: Convert Realtek board/soc bindings to json-schema

2018-10-06 Thread Andreas Färber
Am 05.10.18 um 18:58 schrieb Rob Herring: > Convert Realtek SoC bindings to DT schema format using json-schema. YAML (2x) > > Cc: "Andreas Färber" > Cc: Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org > Cc: devicet...@vger.kernel.org > Signed-off-by: Rob Herring > --- >

Re: powerpc: Don't print kernel instructions in show_user_instructions()

2018-10-06 Thread Michael Ellerman
On Fri, 2018-10-05 at 13:21:23 UTC, Michael Ellerman wrote: > Recently we implemented show_user_instructions() which dumps the code > around the NIP when a user space process dies with an unhandled > signal. This was modelled on the x86 code, and we even went so far as > to implement the exact

[GIT PULL] Please pull powerpc/linux.git powerpc-4.19-4 tag

2018-10-06 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi Greg, Please pull some more powerpc fixes for 4.19: The following changes since commit 7e0cf1c983b5b24426d130fd949a055d520acc9a: selftests/powerpc: Fix Makefiles for headers_install change (2018-09-28 15:07:45 +1000) are available in the

Re: [PATCH v5 3/9] powerpc: Prepare for moving thread_info into task_struct

2018-10-06 Thread Michael Ellerman
Christophe Leroy writes: > diff --git a/arch/powerpc/include/asm/livepatch.h > b/arch/powerpc/include/asm/livepatch.h > index 47a03b9b528b..818451bf629c 100644 > --- a/arch/powerpc/include/asm/livepatch.h > +++ b/arch/powerpc/include/asm/livepatch.h > @@ -49,7 +49,7 @@ static inline void

Re: powerpc/numa: Skip onlining a offline node in kdump path

2018-10-06 Thread Michael Ellerman
On Fri, 2018-09-28 at 03:47:32 UTC, Srikar Dronamraju wrote: > With Commit 2ea626306810 ("powerpc/topology: Get topology for shared > processors at boot"), kdump kernel on shared lpar may crash. > > The necessary conditions are > - Shared Lpar with atleast 2 nodes having memory and CPUs. > -

Re: [PATCH v4 0/9] powerpc: Switch to CONFIG_THREAD_INFO_IN_TASK

2018-10-06 Thread Michael Ellerman
Christophe Leroy writes: > The purpose of this serie is to activate CONFIG_THREAD_INFO_IN_TASK which > moves the thread_info into task_struct. > > Moving thread_info into task_struct has the following advantages: > - It protects thread_info from corruption in the case of stack > overflows. > -

Re: linux-next: build failure after merge of the akpm tree

2018-10-06 Thread Michael Ellerman
Stephen Rothwell writes: > Hi Michael, > > On Fri, 05 Oct 2018 22:02:45 +1000 Michael Ellerman > wrote: >> >> Ah fudge, what are the chances we add a new include of bootmem.h just as >> Mike's removing bootmem. > > In my experience, it was almost certain ... almost every API removal > conflicts

Re: Looking for architecture papers

2018-10-06 Thread Raz
Hey How does HVSC works ? I looked in the code and LoPAR documentation. It looks like there is vector called system_call_pSeries ( at 0xc00 ) that is supposed to be called when we invoke HVSC from kernel mode. Now, I wrote a NULL call HSVC and patched the exceptions-64s.S to return RFID

Re: [PATCH 15/36] dt-bindings: arm: Convert Actions Semi bindings to jsonschema

2018-10-06 Thread Andreas Färber
Hi Rob, Am 05.10.18 um 18:58 schrieb Rob Herring: > Convert Actions Semi SoC bindings to DT schema format using json-schema. This sounds like the next Yanny vs. Laurel... I fail to see any json. ;) Also, it may help my understanding to be CC'ed on the cover letter, too? > > Cc: "Andreas

Re: Looking for architecture papers

2018-10-06 Thread Segher Boessenkool
On Sat, Oct 06, 2018 at 12:19:45PM +0300, Raz wrote: > Hey > How does HVSC works ? > I looked in the code and LoPAR documentation. It looks like there is > vector called > system_call_pSeries ( at 0xc00 ) that is supposed to be called when we > invoke HVSC from kernel > mode. > Now, I wrote a NULL

Re: [PATCH v5 1/9] book3s/64: avoid circular header inclusion in mmu-hash.h

2018-10-06 Thread Michael Ellerman
Christophe LEROY writes: > The serie has been successfully compiled tested at > http://kisskb.ellerman.id.au/kisskb/head/358723b36b126a381d827c82d04ee226321416b2/ I guess we need to turn on BPF_JIT in some configs :) This works (builds), but not runtime tested: diff --git

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-10-06 Thread Bjorn Andersson
On Wed 12 Sep 08:08 PDT 2018, Arnd Bergmann wrote: [..] > diff --git a/drivers/rpmsg/rpmsg_char.c b/drivers/rpmsg/rpmsg_char.c > index a76b963a7e50..02aefb2b2d47 100644 > --- a/drivers/rpmsg/rpmsg_char.c > +++ b/drivers/rpmsg/rpmsg_char.c > @@ -285,7 +285,7 @@ static const struct file_operations

[PATCH v4 2/3] powerpc/process: fix interleaved output in show_user_instructions()

2018-10-06 Thread Christophe Leroy
When two processes crash at the same time, we sometimes encounter interleaving in the middle of a line: [4.365317] init[1]: segfault (11) at 0 nip 0 lr 0 code 1 [4.370452] init[1]: code: [4.372042] init[74]: segfault (11) at 10a74 nip 1000c198 lr

[PATCH v4 1/3] powerpc/process: fix casting and missing header

2018-10-06 Thread Christophe Leroy
This patch fixes the following warnings. The first ones are leftovers from when __get_user() was replaced by probe_kernel_address(). The last one is from when show_user_instructions() was added. arch/powerpc/kernel/process.c:1287:22: warning: incorrect type in argument 2 (different address

[PATCH v4 3/3] powerpc/process: Constify the number of insns printed by show instructions functions.

2018-10-06 Thread Christophe Leroy
instructions_to_print var is assigned value 16 and there is no way to change it. This patch replaces it by a constant. Reviewed-by: Murilo Opsfelder Araujo Signed-off-by: Christophe Leroy --- v4: rebased v3: no change v2: no change arch/powerpc/kernel/process.c | 13 ++--- 1 file

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.19-4 tag

2018-10-06 Thread Greg KH
On Sat, Oct 06, 2018 at 10:24:28PM +1000, Michael Ellerman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi Greg, > > Please pull some more powerpc fixes for 4.19: > > The following changes since commit 7e0cf1c983b5b24426d130fd949a055d520acc9a: > > selftests/powerpc: Fix