The following commit has been merged into the objtool/core branch of tip:
Commit-ID: 1d509f2a6ebca1aea3089c769f6375f01a832e9b
Gitweb:
https://git.kernel.org/tip/1d509f2a6ebca1aea3089c769f6375f01a832e9b
Author:Martin Schwidefsky
AuthorDate:Fri, 13 Nov 2020 00:03:23 +01:00
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: a1a664ece586457e9f7652b0bc5b08386259e358
Gitweb:
https://git.kernel.org/tip/a1a664ece586457e9f7652b0bc5b08386259e358
Author:Martin Schwidefsky
AuthorDate:Fri, 13 Nov 2020 00:03:26 +01:00
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: 317664a7fcc99d9bcc0cb33ac05e27764f3024e4
Gitweb:
https://git.kernel.org/tip/317664a7fcc99d9bcc0cb33ac05e27764f3024e4
Author:Martin Schwidefsky
AuthorDate:Sun, 04 Oct 2020 16:30:50 +02:00
The following commit has been merged into the objtool/core branch of tip:
Commit-ID: 2a522b53c47051d3bf98748418f4f8e5f20d2c04
Gitweb:
https://git.kernel.org/tip/2a522b53c47051d3bf98748418f4f8e5f20d2c04
Author:Martin Schwidefsky
AuthorDate:Mon, 05 Oct 2020 17:50:31 +02:00
On Fri, 17 May 2019 15:54:24 +0900
Masahiro Yamada wrote:
> Commit e60fb8bf68d4 ("s390/cpacf: mark scpacf_query() as __always_inline")
> was not enough to make sure to meet the 'i' (immediate) constraint for the
> asm operands.
>
> With CONFIG_OPTIMIZE_INLINING enabled, Laura Abbott reported
On Fri, 17 May 2019 15:49:22 +0900
Masahiro Yamada wrote:
> When CONFIG_OPTIMIZE_INLINING is enabled for s390, I see this warning:
>
> arch/s390/mm/fault.c:127:15: warning: 'asce' may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> switch (asce & _ASCE_TYPE_MASK) {
>
Wiedmann (3):
s390/qdio: allow to scan all Output SBALs in one go
s390/qdio: use get_buf_state() in debug_get_buf_state()
s390/qdio: optimize state inspection of HW-owned SBALs
Martin Schwidefsky (1):
s390/boot: fix compiler error due to missing awk strtonum
Masahiro Yamada (1
On Mon, 13 May 2019 11:11:16 +0900
Masahiro Yamada wrote:
> As of Linux 5.1, alpha and s390 are the last architectures that
> have defconfig in arch/*/ instead of arch/*/configs/.
>
> $ find arch -name defconfig | sort
> arch/alpha/defconfig
> arch/arm64/configs/defconfig
>
On Tue, 7 May 2019 09:16:29 -0700
Kees Cook wrote:
> On Tue, May 7, 2019 at 7:28 AM Vasily Gorbik wrote:
> > Some architectures set up CFLAGS for linux decompressor phase from
> > scratch and do not include GCC_PLUGINS_CFLAGS. Since "latent_entropy"
> > variable declaration is generated by the
/qdio: eliminate queue's last_move cursor
s390/qdio: limit direct access to first_to_check cursor
s390/qdio: consolidate index tracking for queue scan
Martin Schwidefsky (21):
s390/rseq: use trap4 for RSEQ_SIG
s390: fine-tune stack switch helper
s390/mm: make
On Thu, 2 May 2019 16:31:10 +0200
Greg KH wrote:
> On Thu, May 02, 2019 at 04:17:58PM +0200, Martin Schwidefsky wrote:
> > On Thu, 2 May 2019 14:21:28 +0200
> > Greg KH wrote:
> >
> > > On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote:
> >
Perches (1):
s390/mem_detect: Use IS_ENABLED(CONFIG_BLK_DEV_INITRD)
Martin Schwidefsky (1):
s390/3270: fix lockdep false positive on view->lock
Peter Oberparleiter (1):
s390/dasd: Fix capacity calculation for large volumes
Vasily Gorbik (1):
s390: correct some inl
On Thu, 11 Apr 2019 11:08:31 -0700
Nick Desaulniers wrote:
> On Thu, Apr 11, 2019 at 1:52 AM Arnd Bergmann wrote:
> >
> > On Thu, Apr 11, 2019 at 12:14 AM 'Nick Desaulniers' via Clang Built
> > Linux wrote:
> > > On Wed, Apr 10, 2019 at 1:13 PM Arnd Bergmann wrote:
> > > >
> > > > The
On Wed, 10 Apr 2019 20:57:21 +0200
Arnd Bergmann wrote:
> On Wed, Apr 10, 2019 at 5:59 PM Martin Schwidefsky
> wrote:
> > On Tue, 9 Apr 2019 11:54:30 +0200 Harald Freudenberger
> > wrote:
> > > On 08.04.19 23:26, Arnd Bergmann wrote:
> > >
On Wed, 10 Apr 2019 21:07:56 +0200
Arnd Bergmann wrote:
> On Wed, Apr 10, 2019 at 6:14 PM Steven Rostedt wrote:
> > On Wed, 10 Apr 2019 18:03:57 +0200 Martin Schwidefsky
> > wrote:
> >
> > > > --- a/arch/s390/include/asm/ftrace.h
> > > > +++ b/ar
On Wed, 10 Apr 2019 11:57:36 -0400 (EDT)
Mathieu Desnoyers wrote:
> - On Apr 10, 2019, at 11:52 AM, schwidefsky schwidef...@de.ibm.com wrote:
>
> > On Wed, 10 Apr 2019 11:50:39 -0400 (EDT)
> > Mathieu Desnoyers wrote:
> >
> >> ----- On Apr 10, 2019,
On Mon, 8 Apr 2019 23:26:23 +0200
Arnd Bergmann wrote:
> llvm on s390 has problems with __builtin_return_address(n), with n>0,
> this results in a somewhat cryptic error message:
>
> fatal error: error in backend: Unsupported stack frame traversal count
>
> To work around it, use the direct
On Mon, 8 Apr 2019 23:26:24 +0200
Arnd Bergmann wrote:
> llvm skips an empty .bss section entirely, which makes
> the check fail with an unexpected error:
>
> /tmp/binutils-multi-test/bin/s390x-linux-gnu-objdump: section '.bss'
> mentioned in a -j option, but not found in any input file
>
On Mon, 8 Apr 2019 23:26:21 +0200
Arnd Bergmann wrote:
> Building system calls with clang results in a warning
> about an alias from a global function to a static one:
>
> ../fs/namei.c:3847:1: warning: unused function '__se_sys_mkdirat'
> [-Wunused-function]
> SYSCALL_DEFINE3(mkdirat, int,
On Mon, 8 Apr 2019 23:26:22 +0200
Arnd Bergmann wrote:
> clang fails to use the %O and %R inline assembly modifiers
> the same way as gcc, leading to build failures with every use
> of __load_psw_mask():
>
> /tmp/nmi-4a9f80.s: Assembler messages:
> /tmp/nmi-4a9f80.s:571: Error: junk at end of
On Mon, 8 Apr 2019 23:26:19 +0200
Arnd Bergmann wrote:
> clang points out that the return code from this function is
> undefined for one of the error paths:
>
> ../drivers/s390/net/ctcm_main.c:1595:7: warning: variable 'result' is used
> uninitialized whenever 'if' condition is true
>
On Tue, 9 Apr 2019 11:54:30 +0200
Harald Freudenberger wrote:
> On 08.04.19 23:26, Arnd Bergmann wrote:
> > The 'func_code' variable gets printed in debug statements without
> > a prior initialization in multiple functions, as reported when building
> > with clang:
> >
> >
On Mon, 8 Apr 2019 23:26:17 +0200
Arnd Bergmann wrote:
> clang produces a harmless warning for each use for the qeth_adp_supported
> macro:
>
> drivers/s390/net/qeth_l2_main.c:559:31: warning: implicit conversion from
> enumeration type 'enum qeth_ipa_setadp_cmd' to
> different
On Mon, 8 Apr 2019 23:26:15 +0200
Arnd Bergmann wrote:
> clang does not support 31 bit object files on s390, so skip
> the 32-bit vdso here, and only build it when using gcc to compile
> the kernel.
>
> Signed-off-by: Arnd Bergmann
Added to s390/linux:features for the next merge window.
On Mon, 8 Apr 2019 23:26:14 +0200
Arnd Bergmann wrote:
> This was added as a workaround for really old compilers, and it prevents
> building with clang now. I can see no reason for keeping it, as it has
> already been removed for most architectures in the pre-git era, so
> let's remove it
On Wed, 10 Apr 2019 11:50:39 -0400 (EDT)
Mathieu Desnoyers wrote:
> - On Apr 10, 2019, at 6:32 AM, schwidefsky schwidef...@de.ibm.com wrote:
>
> > On Tue, 9 Apr 2019 15:32:22 -0400 (EDT)
> > Mathieu Desnoyers wrote:
> >
> >> Hi,
> >>
>
solution would be to CALL_FMT1 as
#define CALL_FMT1 CALL_FMT_0
It still is not optimal though as for CALL_FMT_0 the "+" (r2) indicates an
input but CALL_ARGS_0 does not initialize r2.
I am thinking about the following patch to cover all cases:
--
>From 91a4abbec91a9f26f84f7386
elftests/rseq/rseq-s390.h file that updates
> the signature value, so I can then pick it up for the glibc
> patchset.
The trap4 instruction is a suitable one. The patch would look like this
--
commit 2ee28f6d1de968a71f074ab150384b90b4121216
Author: Martin Schwidefsky
Date: We
Cornelia Huck (1):
vfio: ccw: only free cp on final interrupt
Harald Freudenberger (1):
s390/zcrypt: revisit ap device remove procedure
Martin Schwidefsky (3):
s390: limit brk randomization to 32MB
s390/vtime: steal time exponential moving average
Merge tag 'vfio-ccw
On Wed, 27 Mar 2019 16:38:32 -0400
"Carlos O'Donell" wrote:
> On 3/27/19 5:16 AM, Martin Schwidefsky wrote:
> > On Mon, 25 Mar 2019 11:54:32 -0400 (EDT)
> > Mathieu Desnoyers wrote:
> >
> >>>> +++ b/sysdeps/unix/sysv/linux/s390/bits/rseq.
On Mon, 25 Mar 2019 11:54:32 -0400 (EDT)
Mathieu Desnoyers wrote:
> >> +++ b/sysdeps/unix/sysv/linux/s390/bits/rseq.h
> [...]
> >> +
> >> +/* Signature required before each abort handler code. */
> >> +#define RSEQ_SIG 0x53053053
> >
> > Why not a s390 specific value here?
>
> s390 also
On Thu, 07 Mar 2019 15:51:45 -0800
Joe Perches wrote:
> IS_ENABLED should generally use CONFIG_ prefaced symbols and
> it doesn't appear as if there is a BLK_DEV_INITRD define.
>
> Signed-off-by: Joe Perches
> ---
> arch/s390/boot/mem_detect.c | 2 +-
> 1 file changed, 1 insertion(+), 1
e
s390/cpum_cf: add ctr_stcctm() function
Ilya Leoshkevich (1):
s390/jump_label: Use "jdd" constraint on gcc9
Ingo Franzki (1):
pkey: Indicate old mkvp only if old and current mkvp are different
Julian Wiedmann (1):
s390/qdio: make SBAL address array typ
ightly off.
> CC: Martin Schwidefsky
> CC: Heiko Carstens
> CC: linux-s...@vger.kernel.org
> Signed-off-by: Steven Price
> ---
> arch/s390/include/asm/pgtable.h | 10 ++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/s390/include/asm/pgtabl
On Mon, 18 Feb 2019 18:01:46 +0100
Martin Schwidefsky wrote:
> On Mon, 18 Feb 2019 07:46:40 -0800
> Guenter Roeck wrote:
>
> > Hi,
> >
> > On Thu, Feb 14, 2019 at 03:40:56PM +0100, Martin Schwidefsky wrote:
> > > The setup_lowcore() function create
On Mon, 18 Feb 2019 07:46:40 -0800
Guenter Roeck wrote:
> Hi,
>
> On Thu, Feb 14, 2019 at 03:40:56PM +0100, Martin Schwidefsky wrote:
> > The setup_lowcore() function creates a new prefix page for the boot CPU.
> > The PSW mask for the system_call, external int
hat turned out to be required after all
Harald Freudenberger (1):
s390/zcrypt: fix specification exception on z196 during ap probe
Martin Schwidefsky (1):
s390/suspend: fix stack setup in swsusp_arch_suspend
Sebast
On Fri, 1 Feb 2019 10:01:59 +0100
Heiko Carstens wrote:
> On Thu, Jan 31, 2019 at 06:28:39PM -0500, Tony Krowiak wrote:
> > On 1/30/19 1:32 PM, Sebastian Ott wrote:
> > >On Wed, 30 Jan 2019, Tony Krowiak wrote:
> > >>+#if IS_ENABLED(CONFIG_ZCRYPT)
> > >>+void ap_bus_cfg_chg(void);
> >
rescan
Martin Schwidefsky (1):
s390/mm: always force a load of the primary ASCE on context switch
Vasily Gorbik (1):
s390/vdso: correct vdso mapping for compat tasks
arch/s390/include/asm/mmu_context.h | 7 +++
arch/s390/kernel/early.c| 4 ++--
arch/s390/kernel/setup.c
On Thu, 17 Jan 2019 21:19:20 +0100
Heiko Carstens wrote:
> On Thu, Jan 17, 2019 at 05:21:50PM +0100, Arnd Bergmann wrote:
> > On Thu, Jan 17, 2019 at 2:36 PM Heiko Carstens
> > wrote:
> > >
> > > On Wed, Jan 16, 2019 at 02:15:18PM +0100, Arnd Bergmann wrote:
> >
> > > > I did not test
On Fri, 11 Jan 2019 15:18:22 +0100
David Hildenbrand wrote:
> When calling smp_call_ipl_cpu() from the IPL CPU, we will try to read
> from pcpu_devices->lowcore. However, due to prefixing, that will result
> in reading from absolute address 0 on that CPU. We have to go via the
> actual lowcore
Partitioning
> @@ -157,7 +158,7 @@ config HOTPLUG_PCI_SGI
> When in doubt, say N.
>
> config HOTPLUG_PCI_S390
> - bool "System z PCI Hotplug Support"
> + bool "IBM System z PCI Hotplug Support"
> depends on S390 && 64BIT
> help
> Say Y here if you want to use the System z PCI Hotplug
>
The rewording of the HOTPLUG_PCI_S390 entry is fine with me.
Acked-by: Martin Schwidefsky
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
handling
s390/zcrypt: make sysfs reset attribute trigger queue reset
s390/zcrypt: rework ap scan bus code
Martin Schwidefsky (1):
Merge tag 'vfio-ccw-20181213' of
git://git.kernel.org/.../kvms390/vfio-ccw into features
Petr Tesarik (1):
s390: vfio-ap: include
On Wed, 5 Dec 2018 15:13:56 -0800
Andy Lutomirski wrote:
> I added some s390 and powerpc people.
>
> On Tue, Dec 4, 2018 at 4:18 AM Igor Stoppa wrote:
> >
> > Implementation of write rare for statically allocated data, located in a
> > specific memory section through the use of the
On Wed, 14 Nov 2018 17:21:07 -0500
Sasha Levin wrote:
> From: Martin Schwidefsky
>
> [ Upstream commit e12e4044aede97974feb7f0ed726a5179a32 ]
>
> In case a fork or a clone system fails in copy_process and the error
> handling does the mmput() at the bad_for
On Wed, 14 Nov 2018 17:21:07 -0500
Sasha Levin wrote:
> From: Martin Schwidefsky
>
> [ Upstream commit e12e4044aede97974feb7f0ed726a5179a32 ]
>
> In case a fork or a clone system fails in copy_process and the error
> handling does the mmput() at the bad_for
Eric Farman (2):
s390/cio: Fix cleanup of pfn_array alloc failure
s390/cio: Fix cleanup when unsupported IDA format is used
Harald Freudenberger (1):
s390/zcrypt: reinit ap queue state machine during device probe
Martin Schwidefsky (2):
Merge tag 'vfio-ccw-20181113
Eric Farman (2):
s390/cio: Fix cleanup of pfn_array alloc failure
s390/cio: Fix cleanup when unsupported IDA format is used
Harald Freudenberger (1):
s390/zcrypt: reinit ap queue state machine during device probe
Martin Schwidefsky (2):
Merge tag 'vfio-ccw-20181113
On Tue, 27 Nov 2018 08:34:12 +0100
Heiko Carstens wrote:
> On Wed, Oct 31, 2018 at 01:36:23PM +0300, Kirill A. Shutemov wrote:
> > On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote:
> > > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote
On Tue, 27 Nov 2018 08:34:12 +0100
Heiko Carstens wrote:
> On Wed, Oct 31, 2018 at 01:36:23PM +0300, Kirill A. Shutemov wrote:
> > On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote:
> > > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote
On Fri, 23 Nov 2018 08:02:12 +0100
Heiko Carstens wrote:
> On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote:
> > On (11/22/18 15:15), Petr Mladek wrote:
> > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept
> > > the s390-specific implementation because of the
On Fri, 23 Nov 2018 08:02:12 +0100
Heiko Carstens wrote:
> On Fri, Nov 23, 2018 at 11:17:48AM +0900, Sergey Senozhatsky wrote:
> > On (11/22/18 15:15), Petr Mladek wrote:
> > > The commit cefc8be82403cf ("Consolidate bust_spinlocks()") kept
> > > the s390-specific implementation because of the
he architecture dependent prepare_ftrace_return().
>
> Have s390 use the new code, and remove the shadow stack management as well as
> having to set up the trace structure.
>
> This is needed to prepare for a fix of a design bug on how the curr_ret_stack
> is used.
>
> Cc: Marti
he architecture dependent prepare_ftrace_return().
>
> Have s390 use the new code, and remove the shadow stack management as well as
> having to set up the trace structure.
>
> This is needed to prepare for a fix of a design bug on how the curr_ret_stack
> is used.
>
> Cc: Marti
On Sun, 11 Nov 2018 08:36:09 -0500
Qian Cai wrote:
> > On Nov 11, 2018, at 6:35 AM, Martin Schwidefsky
> > wrote:
> >
> > On Sat, 10 Nov 2018 23:41:34 -0500
> > Qian Cai wrote:
> >
> >> It was broken somewhere between b00d209241ff and 3
On Sun, 11 Nov 2018 08:36:09 -0500
Qian Cai wrote:
> > On Nov 11, 2018, at 6:35 AM, Martin Schwidefsky
> > wrote:
> >
> > On Sat, 10 Nov 2018 23:41:34 -0500
> > Qian Cai wrote:
> >
> >> It was broken somewhere between b00d209241ff and 3
On Sat, 10 Nov 2018 23:41:34 -0500
Qian Cai wrote:
> It was broken somewhere between b00d209241ff and 3541833fd1f2.
>
> [0.00] cannot allocate crashkernel (size:0x2000)
>
> Where a good one looks like this,
>
> [0.00] crashkernel reserved: 0x0860 -
On Sat, 10 Nov 2018 23:41:34 -0500
Qian Cai wrote:
> It was broken somewhere between b00d209241ff and 3541833fd1f2.
>
> [0.00] cannot allocate crashkernel (size:0x2000)
>
> Where a good one looks like this,
>
> [0.00] crashkernel reserved: 0x0860 -
On Fri, 9 Nov 2018 06:39:07 -0600
Linus Torvalds wrote:
> On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
> wrote:
> >
> > s390 updates for 4.20-rc2
>
> Pulled.
>
> > - A fix for the pgtable_bytes misaccounting on s390. The patch changes
> >c
On Fri, 9 Nov 2018 06:39:07 -0600
Linus Torvalds wrote:
> On Fri, Nov 9, 2018 at 1:14 AM Martin Schwidefsky
> wrote:
> >
> > s390 updates for 4.20-rc2
>
> Pulled.
>
> > - A fix for the pgtable_bytes misaccounting on s390. The patch changes
> >c
Heiko Carstens (1):
s390: update defconfigs
Justin M. Forbes (1):
s390/mm: Fix ERROR: "__node_distance" undefined!
Martin Schwidefsky (4):
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
mm: introdu
Heiko Carstens (1):
s390: update defconfigs
Justin M. Forbes (1):
s390/mm: Fix ERROR: "__node_distance" undefined!
Martin Schwidefsky (4):
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
mm: introdu
On Sun, 4 Nov 2018 13:28:06 -0800
Guenter Roeck wrote:
> __node_distance is used by nvme, resulting in:
>
> ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
>
> when trying to build nvme as module.
>
> Fixes: f333444708f8 ("nvme: take node locality into account when
On Sun, 4 Nov 2018 13:28:06 -0800
Guenter Roeck wrote:
> __node_distance is used by nvme, resulting in:
>
> ERROR: "__node_distance" [drivers/nvme/host/nvme-core.ko] undefined!
>
> when trying to build nvme as module.
>
> Fixes: f333444708f8 ("nvme: take node locality into account when
On Wed, 31 Oct 2018 15:57:54 -0400
Joe Lawrence wrote:
> On Fri, Oct 12, 2018 at 05:08:33PM +0200, Martin Schwidefsky wrote:
> > On Thu, 11 Oct 2018 15:02:11 +0200
> > Martin Schwidefsky wrote:
> >
> > > On Thu, 11 Oct 2018 18:04:12 +0800
> > > Li Wan
On Wed, 31 Oct 2018 15:57:54 -0400
Joe Lawrence wrote:
> On Fri, Oct 12, 2018 at 05:08:33PM +0200, Martin Schwidefsky wrote:
> > On Thu, 11 Oct 2018 15:02:11 +0200
> > Martin Schwidefsky wrote:
> >
> > > On Thu, 11 Oct 2018 18:04:12 +0800
> > > Li Wan
for the true size of the address space.
Reported-by: Li Wang
Tested-by: Li Wang
Signed-off-by: Martin Schwidefsky
---
arch/s390/include/asm/mmu_context.h | 5 -
arch/s390/include/asm/pgalloc.h | 6 +++---
arch/s390/include/asm/pgtable.h | 18 ++
arch/s390/include/asm
for the true size of the address space.
Reported-by: Li Wang
Tested-by: Li Wang
Signed-off-by: Martin Schwidefsky
---
arch/s390/include/asm/mmu_context.h | 5 -
arch/s390/include/asm/pgalloc.h | 6 +++---
arch/s390/include/asm/pgtable.h | 18 ++
arch/s390/include/asm
pgtable_bytes value for platforms that use a dynamic number of
page table levels.
Acked-by: Kirill A. Shutemov
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1e52b8f..844a853 100644
Change the currently empty defines for __PAGETABLE_PMD_FOLDED,
__PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1.
This makes it possible to use __is_defined() to test if the
preprocessor define exists.
Signed-off-by: Martin Schwidefsky
---
arch/arm/include/asm/pgtable-2level.h
pgtable_bytes value for platforms that use a dynamic number of
page table levels.
Acked-by: Kirill A. Shutemov
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1e52b8f..844a853 100644
Change the currently empty defines for __PAGETABLE_PMD_FOLDED,
__PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1.
This makes it possible to use __is_defined() to test if the
preprocessor define exists.
Signed-off-by: Martin Schwidefsky
---
arch/arm/include/asm/pgtable-2level.h
Add three architecture overrideable functions to test if the
p4d, pud, or pmd layer of a page table is folded or not.
Signed-off-by: Martin Schwidefsky
---
include/asm-generic/pgtable.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/asm-generic/pgtable.h b/include
Add three architecture overrideable functions to test if the
p4d, pud, or pmd layer of a page table is folded or not.
Signed-off-by: Martin Schwidefsky
---
include/asm-generic/pgtable.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/asm-generic/pgtable.h b/include
other archs).
Martin Schwidefsky (4):
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
mm: introduce mm_[p4d|pud|pmd]_folded
mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
s390/mm: fix mis-accounting of pgtable_bytes
arch/arm/include/asm/pgtable-2level.h
other archs).
Martin Schwidefsky (4):
mm: make the __PAGETABLE_PxD_FOLDED defines non-empty
mm: introduce mm_[p4d|pud|pmd]_folded
mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
s390/mm: fix mis-accounting of pgtable_bytes
arch/arm/include/asm/pgtable-2level.h
On Wed, 31 Oct 2018 07:46:47 +0100
Martin Schwidefsky wrote:
> On Wed, 31 Oct 2018 14:43:38 +0800
> Li Wang wrote:
>
> > On Wed, Oct 31, 2018 at 2:31 PM, Martin Schwidefsky
> > wrote:
> >
> > > BUG: non-zero pgtables_bytes on freeing mm: -16384
> >
On Wed, 31 Oct 2018 07:46:47 +0100
Martin Schwidefsky wrote:
> On Wed, 31 Oct 2018 14:43:38 +0800
> Li Wang wrote:
>
> > On Wed, Oct 31, 2018 at 2:31 PM, Martin Schwidefsky
> > wrote:
> >
> > > BUG: non-zero pgtables_bytes on freeing mm: -16384
> >
On Wed, 31 Oct 2018 12:02:55 +0300
"Kirill A. Shutemov" wrote:
> On Mon, Oct 15, 2018 at 06:42:37PM +0200, Martin Schwidefsky wrote:
> > Add three architecture overrideable function to test if the
> > p4d, pud, or pmd layer of a page table is folded or not.
>
On Wed, 31 Oct 2018 12:02:55 +0300
"Kirill A. Shutemov" wrote:
> On Mon, Oct 15, 2018 at 06:42:37PM +0200, Martin Schwidefsky wrote:
> > Add three architecture overrideable function to test if the
> > p4d, pud, or pmd layer of a page table is folded or not.
>
On Wed, 31 Oct 2018 14:43:38 +0800
Li Wang wrote:
> On Wed, Oct 31, 2018 at 2:31 PM, Martin Schwidefsky
> wrote:
>
> > On Wed, 31 Oct 2018 14:18:33 +0800
> > Li Wang wrote:
> >
> > > On Tue, Oct 16, 2018 at 12:42 AM, Martin Schwidefsky <
>
On Wed, 31 Oct 2018 14:43:38 +0800
Li Wang wrote:
> On Wed, Oct 31, 2018 at 2:31 PM, Martin Schwidefsky
> wrote:
>
> > On Wed, 31 Oct 2018 14:18:33 +0800
> > Li Wang wrote:
> >
> > > On Tue, Oct 16, 2018 at 12:42 AM, Martin Schwidefsky <
>
On Wed, 31 Oct 2018 14:18:33 +0800
Li Wang wrote:
> On Tue, Oct 16, 2018 at 12:42 AM, Martin Schwidefsky > wrote:
>
> > In case a fork or a clone system fails in copy_process and the error
> > handling does the mmput() at the bad_fork_cleanup_mm label, the
> >
On Wed, 31 Oct 2018 14:18:33 +0800
Li Wang wrote:
> On Tue, Oct 16, 2018 at 12:42 AM, Martin Schwidefsky > wrote:
>
> > In case a fork or a clone system fails in copy_process and the error
> > handling does the mmput() at the bad_fork_cleanup_mm label, the
> >
On Tue, 16 Oct 2018 13:15:28 +0200
Martin Schwidefsky wrote:
> In short, this if-statement in select_collect:
>
> if (dentry->d_flags & DCACHE_SHRINK_LIST) {
> data->found++;
> }
>
> with assumption that "somebody else
On Tue, 16 Oct 2018 13:15:28 +0200
Martin Schwidefsky wrote:
> In short, this if-statement in select_collect:
>
> if (dentry->d_flags & DCACHE_SHRINK_LIST) {
> data->found++;
> }
>
> with assumption that "somebody else
: clean up AOB handling
s390/ccwgroup: add get_ccwgroupdev_by_busid()
Martin Schwidefsky (9):
s390: add initial 64-bit restart PSW
s390/appldata: pass parameter list pointer to appldata_asm
s390/appldata: do not use stack buffers for hardware data
s390/hypfs: do not use sta
: clean up AOB handling
s390/ccwgroup: add get_ccwgroupdev_by_busid()
Martin Schwidefsky (9):
s390: add initial 64-bit restart PSW
s390/appldata: pass parameter list pointer to appldata_asm
s390/appldata: do not use stack buffers for hardware data
s390/hypfs: do not use sta
Hi Al,
I am currently looking into a customer dump and found what looks like
an issue in the dcache code. And I think the following commit of yours
has something to do with it:
commit fe91522a7ba82ca1a51b07e19954b3825e4aaa22
Author: Al Viro
Date: Sat May 3 00:02:25 2014 -0400
don't
Hi Al,
I am currently looking into a customer dump and found what looks like
an issue in the dcache code. And I think the following commit of yours
has something to do with it:
commit fe91522a7ba82ca1a51b07e19954b3825e4aaa22
Author: Al Viro
Date: Sat May 3 00:02:25 2014 -0400
don't
pgtable_bytes value for platforms that use a dynamic number of
page table levels.
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index d1029972541c..67f55c71e59a 100644
--- a/include/linux/mm.h
for the true size of the address space.
Reported-by: Li Wang
Signed-off-by: Martin Schwidefsky
---
arch/s390/include/asm/mmu_context.h | 5 -
arch/s390/include/asm/pgalloc.h | 6 +++---
arch/s390/include/asm/pgtable.h | 18 ++
arch/s390/include/asm/tlb.h | 6
pgtable_bytes value for platforms that use a dynamic number of
page table levels.
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/mm.h b/include/linux/mm.h
index d1029972541c..67f55c71e59a 100644
--- a/include/linux/mm.h
for the true size of the address space.
Reported-by: Li Wang
Signed-off-by: Martin Schwidefsky
---
arch/s390/include/asm/mmu_context.h | 5 -
arch/s390/include/asm/pgalloc.h | 6 +++---
arch/s390/include/asm/pgtable.h | 18 ++
arch/s390/include/asm/tlb.h | 6
Add three architecture overrideable function to test if the
p4d, pud, or pmd layer of a page table is folded or not.
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 40
1 file changed, 40 insertions(+)
diff --git a/include/linux/mm.h b
Add three architecture overrideable function to test if the
p4d, pud, or pmd layer of a page table is folded or not.
Signed-off-by: Martin Schwidefsky
---
include/linux/mm.h | 40
1 file changed, 40 insertions(+)
diff --git a/include/linux/mm.h b
ror on alpha (and potentially on other archs).
Martin Schwidefsky (3):
mm: introduce mm_[p4d|pud|pmd]_folded
mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
s390/mm: fix mis-accounting of pgtable_bytes
arch/s390/include/asm/mmu_context.h | 5
arch/s390/include/
ror on alpha (and potentially on other archs).
Martin Schwidefsky (3):
mm: introduce mm_[p4d|pud|pmd]_folded
mm: add mm_pxd_folded checks to pgtable_bytes accounting functions
s390/mm: fix mis-accounting of pgtable_bytes
arch/s390/include/asm/mmu_context.h | 5
arch/s390/include/
On Thu, 11 Oct 2018 15:02:11 +0200
Martin Schwidefsky wrote:
> On Thu, 11 Oct 2018 18:04:12 +0800
> Li Wang wrote:
>
> > When running s390 system with LTP/cve-2017-17052.c[1], the following BUG is
> > came out repeatedly.
> > I remember this warning start from ker
On Thu, 11 Oct 2018 15:02:11 +0200
Martin Schwidefsky wrote:
> On Thu, 11 Oct 2018 18:04:12 +0800
> Li Wang wrote:
>
> > When running s390 system with LTP/cve-2017-17052.c[1], the following BUG is
> > came out repeatedly.
> > I remember this warning start from ker
1 - 100 of 2608 matches
Mail list logo