[PATCH V3 8/8] sched: mips: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/mips/include/asm/processor.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH V3 7/8] sched: arm64: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/arm64/include/asm/processor.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH V3 6/8] sched: parisc: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/parisc/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[PATCH V3 5/8] sched: s390: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/s390/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH V3 4/8] sched: powerpc: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/powerpc/include/asm/task_size_64.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)

[PATCH V3 3/8] sched: sparc: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/sparc/include/asm/processor_64.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH V3 2/8] sched: x86: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/x86/include/asm/page_64_types.h | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH V3 1/8] sched: Remove unused TASK_SIZE_OF

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. This would confuse people who are implementing the COMPAT feature for architecture. Here is the comment by Arnd: Looking through the git history, I see commit a06db751c321 ("pagemap: check

[PATCH V3 0/8] sched: Remove unused TASK_SIZE_OF for all archs

2021-12-27 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. This would confuse people who are implementing the COMPAT feature for architecture. Changes in v3: - Fixup Documentation/process/submitting-patches.rst, add sender Signed-off-by.

[powerpc:next-test 127/179] include/linux/compiler_types.h:335:45: error: call to '__compiletime_assert_34' declared with attribute error: BUILD_BUG failed

2021-12-27 Thread kernel test robot
-randconfig-r021-20211227 (https://download.01.org/0day-ci/archive/20211228/202112281204.rr4j6o5h-...@intel.com/config) compiler: powerpc-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

[powerpc:next] BUILD SUCCESS beeac538c366cd2828092adecd1edab28326c55b

2021-12-27 Thread kernel test robot
imx_v4_v5_defconfig microblaze mmu_defconfig mipsbcm63xx_defconfig xtensa cadence_csp_defconfig arm randconfig-c002-20211225 arm randconfig-c002-20211227 ia64

Re: (No subject)

2021-12-27 Thread William Kucharski
You should also fix the existing typo in the documentation (inline): > On Dec 27, 2021, at 07:49, Kefeng Wang wrote: > > This patch select HAVE_ARCH_HUGE_VMALLOC to let arm64 support huge > vmalloc mappings. > > Cc: Catalin Marinas > Cc: Will Deacon > Signed-off-by: Kefeng Wang > --- >

Re: [PATCH 2/3] KVM: PPC: Fix vmx/vsx mixup in mmio emulation

2021-12-27 Thread Fabiano Rosas
Nicholas Piggin writes: > Excerpts from Fabiano Rosas's message of December 24, 2021 7:15 am: >> The MMIO emulation code for vector instructions is duplicated between >> VSX and VMX. When emulating VMX we should check the VMX copy size >> instead of the VSX one. >> >> Fixes: acc9eb9305fe ("KVM:

[RFC 02/32] Kconfig: introduce HAS_IOPORT option and select it as necessary

2021-12-27 Thread Niklas Schnelle
We introduce a new HAS_IOPORT Kconfig option to gate support for I/O port access. In a future patch HAS_IOPORT=n will disable compilation of the I/O accessor functions inb()/outb() and friends on architectures which can not meaningfully support legacy I/O spaces. On these platforms inb()/outb()

Re: [PATCH v2 3/3] x86: Support huge vmalloc mappings

2021-12-27 Thread Dave Hansen
On 12/27/21 6:59 AM, Kefeng Wang wrote: > This patch select HAVE_ARCH_HUGE_VMALLOC to let X86_64 and X86_PAE > support huge vmalloc mappings. In general, this seems interesting and the diff is simple. But, I don't see _any_ x86-specific data. I think the bare minimum here would be a few kernel

[RFC PATCH 3/3] powerpc/pseries/vas: Use migration_in_progress to disable DLPAR

2021-12-27 Thread Haren Myneni
Before migration starts, all secondary CPUs will be offline which can invoke VAS DLPAR event. So disable VAS DLPAR event with migration_in_progress flag during suspend and enable after resume operations. The current partition migration implementation does not freeze the user space and the user

[RFC PATCH 2/3] powerpc/pseries/vas: Add VAS suspend/resume notifier

2021-12-27 Thread Haren Myneni
Since VAS windows belong to the VAS hardware resource, the hypervisor expects the partition to close them on source partition and reopen them after the partition migrated on the destination machine. This suspend/resume notifier invokes suspend operation before and resume operation after

[RFC PATCH 1/3] powerpc/pseries/vas: Modify reconfig open/close functions for migration

2021-12-27 Thread Haren Myneni
VAS is a hardware engine stays on the chip. So when the partition migrates, all VAS windows on the source system have to be closed and reopen them on the destination after migration. This patch make changes to the current reconfig_open/close_windows functions to support migration: - Sets the

[RFC PATCH 0/3] powerpc/pseries/vas: VAS/NXGZIP support with LPM

2021-12-27 Thread Haren Myneni
Virtual Accelerator Switchboard (VAS) is an engine stays on the chip. So all windows opened on a specific engine belongs to VAS the chip. The hypervisor expects the partition to close all active windows on the sources system and reopen them after migration on the destination machine. This patch