Re: [PATCH] powerpc/kvm: Enable support for ISA v3.1 guests

2020-06-01 Thread Jordan Niethe
On Tue, Jun 2, 2020 at 3:55 PM Alistair Popple wrote: > > Adds support for emulating ISAv3.1 guests by adding the appropriate PCR > and FSCR bits. > > Signed-off-by: Alistair Popple > --- > arch/powerpc/include/asm/reg.h | 1 + > arch/powerpc/kvm/book3s_hv.c | 11 --- > 2 files change

[PATCH] powerpc/kvm: Enable support for ISA v3.1 guests

2020-06-01 Thread Alistair Popple
Adds support for emulating ISAv3.1 guests by adding the appropriate PCR and FSCR bits. Signed-off-by: Alistair Popple --- arch/powerpc/include/asm/reg.h | 1 + arch/powerpc/kvm/book3s_hv.c | 11 --- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/include/as

[PATCH 4/4] powerpc: Handle prefixed instructions in show_instructions()

2020-06-01 Thread Jordan Niethe
Currently show_instructions() treats prefixed instructions as two separate word instructions. '<' and '>' are placed around the instruction at the NIP, but as a result they only wrap around the prefix. Make '<' and '>' straddle the whole prefixed instruction. Currently showing a prefixed instructi

[PATCH 3/4] powerpc: Handle prefixed instructions in show_user_instructions()

2020-06-01 Thread Jordan Niethe
Currently prefixed instructions are treated as two word instructions by show_user_instructions(), treat them as a single instruction. '<' and '>' are placed around the instruction at the NIP, and for prefixed instructions this is placed around the prefix only. Make the '<' and '>' wrap the prefix a

[PATCH 2/4] powerpc/xmon: Improve dumping prefixed instructions

2020-06-01 Thread Jordan Niethe
Currently prefixed instructions are dumped as two separate word instructions. Use mread_instr() so that prefixed instructions are read as such and update the incrementor in the loop to take this into account. 'dump_func' is print_insn_powerpc() which comes from ppc-dis.c which is taken from binuti

[PATCH 1/4] powerpc: Add a ppc_inst_as_str() helper

2020-06-01 Thread Jordan Niethe
There are quite a few places where instructions are printed, this is done using a '%x' format specifier. With the introduction of prefixed instructions, this does not work well. Currently in these places, ppc_inst_val() is used for the value for %x so only the first word of prefixed instructions ar

Re: [PATCH] powerpc/64/syscall: Disable sanitisers for C syscall entry/exit code

2020-06-01 Thread Michael Ellerman
On Fri, 2020-05-29 at 06:14:46 UTC, Daniel Axtens wrote: > syzkaller is picking up a bunch of crashes that look like this: > > Unrecoverable exception 380 at c037ed60 (msr=80001031) > Oops: Unrecoverable exception, sig: 6 [#1] > LE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeri

Re: [PATCH] powerpc/64s: Fix restore of NV GPRs after facility unavailable exception

2020-06-01 Thread Michael Ellerman
On Tue, 2020-05-26 at 06:18:08 UTC, Michael Ellerman wrote: > Commit 702f09805222 ("powerpc/64s/exception: Remove lite interrupt > return") changed the interrupt return path to not restore non-volatile > registers by default, and explicitly restore them in paths where it is > required. > > But it

Re: [PATCH v6 0/2] Append new variables to vmcoreinfo (TCR_EL1.T1SZ for arm64 and MAX_PHYSMEM_BITS for all archs)

2020-06-01 Thread Bhupesh Sharma
Hello, On Thu, May 14, 2020 at 12:22 AM Bhupesh Sharma wrote: > > Apologies for the delayed update. Its been quite some time since I > posted the last version (v5), but I have been really caught up in some > other critical issues. > > Changes since v5: > > - v5 can be viewed here

Re: [PATCH] hw_breakpoint: Fix build warnings with clang

2020-06-01 Thread Christophe Leroy
Le 02/06/2020 à 06:12, Ravi Bangoria a écrit : kbuild test robot reported few build warnings with hw_breakpoint code when compiled with clang[1]. Fix those. [1]: https://lore.kernel.org/linuxppc-dev/202005192233.oi9cjrta%25...@intel.com/ Reported-by: kbuild test robot Signed-off-by: Ravi Ba

Re: [PATCH] powerpc/nvram: Replace kmalloc with kzalloc in the error message

2020-06-01 Thread Markus Elfring
>>> Please just remove the message instead, it's a tiny allocation that's >>> unlikely to ever fail, and the caller will print an error anyway. >> >> How do you think about to take another look at a previous update suggestion >> like the following? >> >> powerpc/nvram: Delete three error messages f

[PATCH 0/2] pseries extended cede cpu offline mode removal

2020-06-01 Thread Nathan Lynch
I propose removing the "extended cede" offline mode for CPUs as well as the partition suspend code which accommodates it by temporarily onlining all CPUs prior to suspending the LPAR. Detailed justifications are within the individual commit messages. I'm hoping to move the pseries partition suspe

[PATCH 2/2] powerpc/rtas: don't online CPUs for partition suspend

2020-06-01 Thread Nathan Lynch
Partition suspension, used for hibernation and migration, requires that the OS place all but one of the LPAR's processor threads into one of two states prior to calling the ibm,suspend-me RTAS function: * the architected offline state (via RTAS stop-self); or * the H_JOIN hcall, which does not

[PATCH 1/2] powerpc/pseries: remove cede offline state for CPUs

2020-06-01 Thread Nathan Lynch
This effectively reverts commit 3aa565f53c39 ("powerpc/pseries: Add hooks to put the CPU into an appropriate offline state"), which added an offline mode for CPUs which uses the H_CEDE hcall instead of the architected stop-self RTAS function in order to facilitate "folding" of dedicated mode proces

[PATCH 7/7] powerpc/watchpoint: Remove 512 byte boundary

2020-06-01 Thread Ravi Bangoria
Power10 has removed 512 bytes boundary from match criteria. i.e. The match range can be 512 bytes unaligned as well. Signed-off-by: Ravi Bangoria --- arch/powerpc/kernel/hw_breakpoint.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/hw_breakpoint.c

[PATCH] hw_breakpoint: Fix build warnings with clang

2020-06-01 Thread Ravi Bangoria
kbuild test robot reported few build warnings with hw_breakpoint code when compiled with clang[1]. Fix those. [1]: https://lore.kernel.org/linuxppc-dev/202005192233.oi9cjrta%25...@intel.com/ Reported-by: kbuild test robot Signed-off-by: Ravi Bangoria --- Note: Prepared on top of powerpc/next.

[PATCH] cxl: Remove dead Kconfig options

2020-06-01 Thread Andrew Donnellan
The CXL_AFU_DRIVER_OPS and CXL_LIB Kconfig options were added to coordinate merging of new features. They no longer serve any purpose, so remove them. Signed-off-by: Andrew Donnellan --- drivers/misc/cxl/Kconfig | 8 1 file changed, 8 deletions(-) diff --git a/drivers/misc/cxl/Kconfig

[PATCH 6/7] powerpc/watchpoint: Return available watchpoints dynamically

2020-06-01 Thread Ravi Bangoria
So far Book3S Powerpc supported only one watchpoint. But Power10 is introducing 2nd DAWR. Enable 2nd DAWR support for Power10. Availability of 2nd DAWR will depend on CPU_FTR_DAWR1. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/cputable.h | 4 +++- arch/powerpc/include/asm/hw_br

[PATCH 5/7] powerpc/watchpoint: Guest support for 2nd DAWR hcall

2020-06-01 Thread Ravi Bangoria
2nd DAWR can be set/unset using H_SET_MODE hcall with resource value 5. Enable powervm guest support with that. This has no effect on kvm guest because kvm will return error if guest does hcall with resource value 5. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/hvcall.h | 1

[PATCH 4/7] powerpc/watchpoint: Rename current H_SET_MODE DAWR macro

2020-06-01 Thread Ravi Bangoria
Current H_SET_MODE hcall macro name for setting/resetting DAWR0 is H_SET_MODE_RESOURCE_SET_DAWR. Add suffix 0 to macro name as well. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/hvcall.h | 2 +- arch/powerpc/include/asm/plpar_wrappers.h | 2 +- arch/powerpc/kvm/book3s_hv.c

[PATCH 3/7] powerpc/watchpoint: Set CPU_FTR_DAWR1 based on pa-features bit

2020-06-01 Thread Ravi Bangoria
bit 0 of byte 64 in pa-features property indicates availability of 2nd DAWR registers. i.e. If this bit is set, 2nd DAWR is present, otherwise not. Host generally uses "cpu-features", which masks "pa-features". But "cpu-features" are still not used for guests and thus this change is mostly applicab

[PATCH 1/7] powerpc/watchpoint: Enable watchpoint functionality on power10 guest

2020-06-01 Thread Ravi Bangoria
CPU_FTR_DAWR is by default enabled for host via CPU_FTRS_DT_CPU_BASE (controlled by CONFIG_PPC_DT_CPU_FTRS). But cpu-features device-tree node is not PAPR compatible and thus not yet used by kvm or pHyp guests. Enable watchpoint functionality on power10 guest (both kvm and powervm) by adding CPU_FT

[PATCH 2/7] powerpc/dt_cpu_ftrs: Add feature for 2nd DAWR

2020-06-01 Thread Ravi Bangoria
Add new device-tree feature for 2nd DAWR. If this feature is present, 2nd DAWR is supported, otherwise not. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/cputable.h | 7 +-- arch/powerpc/kernel/dt_cpu_ftrs.c | 7 +++ 2 files changed, 12 insertions(+), 2 deletions(-) diff -

[PATCH 0/7] powerpc/watchpoint: Enable 2nd DAWR on baremetal and powervm

2020-06-01 Thread Ravi Bangoria
Last series[1] was to add basic infrastructure support for more than one watchpoint on Book3S powerpc. This series actually enables the 2nd DAWR for baremetal and powervm. Kvm guest is still not supported. This series depends on Alistair's "Base support for POWER10"[2] series. [1]: https://lore.k

Re: [PATCH] powerpc/nvram: Replace kmalloc with kzalloc in the error message

2020-06-01 Thread Michael Ellerman
Markus Elfring writes: >> Please just remove the message instead, it's a tiny allocation that's >> unlikely to ever fail, and the caller will print an error anyway. > > How do you think about to take another look at a previous update suggestion > like the following? > > powerpc/nvram: Delete three

[PATCH kernel] powerpc/perf: Stop crashing with generic_compat_pmu

2020-06-01 Thread Alexey Kardashevskiy
The bhrb_filter_map ("The Branch History Rolling Buffer") callback is only defined in raw CPUs' power_pmu structs. The "architected" CPUs use generic_compat_pmu which does not have this callback and crashed occur. This add a NULL pointer check for bhrb_filter_map() which behaves as if the call

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 04:36, Segher Boessenkool wrote: > On Tue, Jun 02, 2020 at 04:12:26AM +0200, Daniel Kolesa wrote: > > On Tue, Jun 2, 2020, at 03:58, Segher Boessenkool wrote: > > > I recommend new ports that cannot jump to IEEE QP float directly to use > > > long double == double for the ti

Re: [RFC PATCH 1/4] powerpc/64s: Don't init FSCR_DSCR in __init_FSCR()

2020-06-01 Thread Michael Neuling
On Fri, 2020-05-29 at 11:24 +1000, Alistair Popple wrote: > For what it's worth I tested this series on Mambo PowerNV and it seems to > correctly enable/disable the prefix FSCR bit based on the cpu feature so feel > free to add: > > Tested-by: Alistair Popple > > Mikey is going to test out pse

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Segher Boessenkool
On Tue, Jun 02, 2020 at 04:12:26AM +0200, Daniel Kolesa wrote: > On Tue, Jun 2, 2020, at 03:58, Segher Boessenkool wrote: > > I recommend new ports that cannot jump to IEEE QP float directly to use > > long double == double for the time being, avoiding the extra > > complications that IBM double do

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 04:12, Segher Boessenkool wrote: > On Mon, Jun 01, 2020 at 11:45:51PM +, Joseph Myers wrote: > > On Tue, 2 Jun 2020, Daniel Kolesa wrote: > > > Are you sure this would be a new port? Glibc already works in this > > > combination, as it seems to me it'd be best if it

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Segher Boessenkool
On Mon, Jun 01, 2020 at 11:45:51PM +, Joseph Myers wrote: > On Tue, 2 Jun 2020, Daniel Kolesa wrote: > > Are you sure this would be a new port? Glibc already works in this > > combination, as it seems to me it'd be best if it was just a variant of > > the existing 32-bit PowerPC port, sharing

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 03:58, Segher Boessenkool wrote: > On Tue, Jun 02, 2020 at 01:26:37AM +0200, Daniel Kolesa wrote: > > On Mon, Jun 1, 2020, at 23:28, Joseph Myers wrote: > > Are you sure this would be a new port? Glibc already works in this > > combination, as it seems to me it'd be best if

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Jeffrey Walton
On Mon, Jun 1, 2020 at 9:58 PM Segher Boessenkool wrote: > > On Tue, Jun 02, 2020 at 01:26:37AM +0200, Daniel Kolesa wrote: > > On Mon, Jun 1, 2020, at 23:28, Joseph Myers wrote: > > Are you sure this would be a new port? Glibc already works in this > > combination, as it seems to me it'd be best

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 03:42, Segher Boessenkool wrote: > Hi Joseph, > > On Mon, Jun 01, 2020 at 09:28:25PM +, Joseph Myers wrote: > > On Fri, 29 May 2020, Will Springer via Binutils wrote: > > > > > Hey all, a couple of us over in #talos-workstation on freenode have been > > > working on an

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Segher Boessenkool
On Tue, Jun 02, 2020 at 01:26:37AM +0200, Daniel Kolesa wrote: > On Mon, Jun 1, 2020, at 23:28, Joseph Myers wrote: > Are you sure this would be a new port? Glibc already works in this > combination, as it seems to me it'd be best if it was just a variant of the > existing 32-bit PowerPC port, sh

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Segher Boessenkool
Hi Joseph, On Mon, Jun 01, 2020 at 09:28:25PM +, Joseph Myers wrote: > On Fri, 29 May 2020, Will Springer via Binutils wrote: > > > Hey all, a couple of us over in #talos-workstation on freenode have been > > working on an effort to bring up a Linux PowerPC userland that runs in > > 32-bit >

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Segher Boessenkool
On Mon, Jun 01, 2020 at 12:29:56AM +0200, Daniel Kolesa wrote: > On Sun, May 31, 2020, at 22:42, Segher Boessenkool wrote: > > > There was just an assumption that LE == powerpc64le in libgo, spotted by > > > q66 (daniel@ on the CC). I just pushed the patch to [1]. > > > > Please send GCC patches

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 01:55, Joseph Myers wrote: > On Mon, 1 Jun 2020, Joseph Myers wrote: > > > The minimum supported architecture for powerpc64le (POWER8) has VSX. My > > understanding was that the suggestion was for 32-bit userspace to run > > under powerpc64le kernels running on POWER8 or

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Tue, Jun 2, 2020, at 01:45, Joseph Myers wrote: > On Tue, 2 Jun 2020, Daniel Kolesa wrote: > > > Are you sure this would be a new port? Glibc already works in this > > combination, as it seems to me it'd be best if it was just a variant of > > the existing 32-bit PowerPC port, sharing most co

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Joseph Myers
On Mon, 1 Jun 2020, Joseph Myers wrote: > The minimum supported architecture for powerpc64le (POWER8) has VSX. My > understanding was that the suggestion was for 32-bit userspace to run > under powerpc64le kernels running on POWER8 or later, meaning that such a > 32-bit LE port, and any ABI de

Re: [PATCH 8/8] macintosh/adb-iop: Implement SRQ autopolling

2020-06-01 Thread Finn Thain
On Mon, 1 Jun 2020, Geert Uytterhoeven wrote: > > > > Sure, it could be absorbed by both asm/mac_iop.h and > > drivers/macintosh/adb-iop.c [...] > > asm/mac_iop.h doesn't include asm/adb_iop.h (at least not in my tree, > but perhaps you have plans to change that?), so there's only a single > u

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Joseph Myers
On Tue, 2 Jun 2020, Daniel Kolesa wrote: > Are you sure this would be a new port? Glibc already works in this > combination, as it seems to me it'd be best if it was just a variant of > the existing 32-bit PowerPC port, sharing most conventions besides > endianness with the BE port. The suppor

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Daniel Kolesa
On Mon, Jun 1, 2020, at 23:28, Joseph Myers wrote: > On Fri, 29 May 2020, Will Springer via Binutils wrote: > > > Hey all, a couple of us over in #talos-workstation on freenode have been > > working on an effort to bring up a Linux PowerPC userland that runs in > > 32-bit > > little-endian mode,

Re: [musl] Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Rich Felker
On Mon, Jun 01, 2020 at 09:28:25PM +, Joseph Myers wrote: > On Fri, 29 May 2020, Will Springer via Binutils wrote: > > > Hey all, a couple of us over in #talos-workstation on freenode have been > > working on an effort to bring up a Linux PowerPC userland that runs in > > 32-bit > > little-en

Re: ppc64le and 32-bit LE userland compatibility

2020-06-01 Thread Joseph Myers
On Fri, 29 May 2020, Will Springer via Binutils wrote: > Hey all, a couple of us over in #talos-workstation on freenode have been > working on an effort to bring up a Linux PowerPC userland that runs in 32-bit > little-endian mode, aka ppcle. As far as we can tell, no ABI has ever been > designate

Re: [PATCH v1 3/4] KVM: PPC: Book3S HV: migrate remaining normal-GFNs to secure-GFNs in H_SVM_INIT_DONE

2020-06-01 Thread Ram Pai
On Mon, Jun 01, 2020 at 05:25:18PM +0530, Bharata B Rao wrote: > On Sat, May 30, 2020 at 07:27:50PM -0700, Ram Pai wrote: > > H_SVM_INIT_DONE incorrectly assumes that the Ultravisor has explicitly > > called H_SVM_PAGE_IN for all secure pages. > > I don't think that is quite true. HV doesn't assum

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Jan Kara
On Mon 01-06-20 17:31:50, Aneesh Kumar K.V wrote: > On 6/1/20 3:39 PM, Jan Kara wrote: > > On Fri 29-05-20 16:25:35, Aneesh Kumar K.V wrote: > > > On 5/29/20 3:22 PM, Jan Kara wrote: > > > > On Fri 29-05-20 15:07:31, Aneesh Kumar K.V wrote: > > > > > Thanks Michal. I also missed Jeff in this email

Re: [PATCH v8 2/5] seq_buf: Export seq_buf_printf

2020-06-01 Thread Vaibhav Jain
Steven Rostedt writes: > On Mon, 01 Jun 2020 17:31:31 +0530 > Vaibhav Jain wrote: > >> Hi Christoph and Steven, >> >> Have addressed your review comment to update the patch description and >> title for this patch. Can you please provide your ack to this patch. >> >> > > I thought I already di

Re: [PATCH v8 2/5] seq_buf: Export seq_buf_printf

2020-06-01 Thread Steven Rostedt
On Mon, 01 Jun 2020 17:31:31 +0530 Vaibhav Jain wrote: > Hi Christoph and Steven, > > Have addressed your review comment to update the patch description and > title for this patch. Can you please provide your ack to this patch. > > I thought I already did, but it appears it was a reply to a p

[powerpc:next-test 177/198] arch/powerpc/kernel/rtas.c:519:9: error: 'local_paca' undeclared; did you mean 'local_inc'?

2020-06-01 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test head: e376ca093587eafd840bb0f9df04090e2a54249c commit: a3871a8b701613da2a13d6d1c523d0bb29ba62de [177/198] powerpc/rtas: Implement reentrant rtas call config: powerpc-chrp32_defconfig (attached as .config) compil

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Aneesh Kumar K.V
On 6/1/20 5:37 PM, Michal Suchánek wrote: On Mon, Jun 01, 2020 at 05:31:50PM +0530, Aneesh Kumar K.V wrote: On 6/1/20 3:39 PM, Jan Kara wrote: On Fri 29-05-20 16:25:35, Aneesh Kumar K.V wrote: On 5/29/20 3:22 PM, Jan Kara wrote: On Fri 29-05-20 15:07:31, Aneesh Kumar K.V wrote: Thanks Michal

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Michal Suchánek
On Mon, Jun 01, 2020 at 05:31:50PM +0530, Aneesh Kumar K.V wrote: > On 6/1/20 3:39 PM, Jan Kara wrote: > > On Fri 29-05-20 16:25:35, Aneesh Kumar K.V wrote: > > > On 5/29/20 3:22 PM, Jan Kara wrote: > > > > On Fri 29-05-20 15:07:31, Aneesh Kumar K.V wrote: > > > > > Thanks Michal. I also missed Jef

Re: [PATCH v8 2/5] seq_buf: Export seq_buf_printf

2020-06-01 Thread Vaibhav Jain
Hi Christoph and Steven, Have addressed your review comment to update the patch description and title for this patch. Can you please provide your ack to this patch. Thanks, ~ Vaibhav Vaibhav Jain writes: > 'seq_buf' provides a very useful abstraction for writing to a string > buffer without

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Aneesh Kumar K.V
On 6/1/20 3:39 PM, Jan Kara wrote: On Fri 29-05-20 16:25:35, Aneesh Kumar K.V wrote: On 5/29/20 3:22 PM, Jan Kara wrote: On Fri 29-05-20 15:07:31, Aneesh Kumar K.V wrote: Thanks Michal. I also missed Jeff in this email thread. And I think you'll also need some of the sched maintainers for th

Re: [PATCH v1 3/4] KVM: PPC: Book3S HV: migrate remaining normal-GFNs to secure-GFNs in H_SVM_INIT_DONE

2020-06-01 Thread Bharata B Rao
On Sat, May 30, 2020 at 07:27:50PM -0700, Ram Pai wrote: > H_SVM_INIT_DONE incorrectly assumes that the Ultravisor has explicitly > called H_SVM_PAGE_IN for all secure pages. I don't think that is quite true. HV doesn't assume anything about secure pages by itself. > These GFNs continue to be > n

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Jan Kara
On Fri 29-05-20 16:25:35, Aneesh Kumar K.V wrote: > On 5/29/20 3:22 PM, Jan Kara wrote: > > On Fri 29-05-20 15:07:31, Aneesh Kumar K.V wrote: > > > Thanks Michal. I also missed Jeff in this email thread. > > > > And I think you'll also need some of the sched maintainers for the prctl > > bits... >

Re: [RFC PATCH 1/2] libnvdimm: Add prctl control for disabling synchronous fault support.

2020-06-01 Thread Jan Kara
On Sat 30-05-20 09:35:19, Dan Williams wrote: > On Sat, May 30, 2020 at 12:18 AM Aneesh Kumar K.V > wrote: > > > > On 5/30/20 12:52 AM, Dan Williams wrote: > > > On Fri, May 29, 2020 at 3:55 AM Aneesh Kumar K.V > > > wrote: > > >> > > >> On 5/29/20 3:22 PM, Jan Kara wrote: > > >>> Hi! > > >>> > >

Re: [PATCH 8/8] macintosh/adb-iop: Implement SRQ autopolling

2020-06-01 Thread Geert Uytterhoeven
Hi Finn, On Mon, Jun 1, 2020 at 2:15 AM Finn Thain wrote: > On Sun, 31 May 2020, Geert Uytterhoeven wrote: > > On Sun, May 31, 2020 at 1:20 AM Finn Thain > > wrote: > > > arch/m68k/include/asm/adb_iop.h | 1 + > > > drivers/macintosh/adb-iop.c | 32 ++-- > > > >

Re: [PATCH 8/8] macintosh/adb-iop: Implement SRQ autopolling

2020-06-01 Thread Geert Uytterhoeven
Hi Brad, On Sun, May 31, 2020 at 10:01 PM Brad Boyer wrote: > On Sun, May 31, 2020 at 10:38:04AM +0200, Geert Uytterhoeven wrote: > > > arch/m68k/include/asm/adb_iop.h | 1 + > > As this header file is used by a single source file only, perhaps it should > > just be absorbed by the latter? > > T

Re: [PATCH v5] powerpc/irq: inline call_do_irq() and call_do_softirq() on PPC32

2020-06-01 Thread Christophe Leroy
Hi Michael, Le 07/12/2019 à 18:20, Christophe Leroy a écrit : call_do_irq() and call_do_softirq() are simple enough to be worth inlining. Inlining them avoids an mflr/mtlr pair plus a save/reload on stack. It also allows GCC to keep the saved ksp_limit in an nonvolatile reg. This is inspired f