Message ID | mhng-e73e59bf-92fc-4122-9f9e-a329d20eba55@palmer-ri-x1c9 (mailing list archive) |
---|---|
State | Accepted |
Commit | 0bfbc914d9433d8ac2763a9ce99ce7721ee5c8e0 |
Headers | show |
Series | [GIT,PULL] RISC-V Patches for the 6.10 Merge Window, Part 1 | expand |
Context | Check | Description |
---|---|---|
conchuod/vmtest-fixes-PR | fail | merge-conflict |
On Wed, May 22, 2024 at 09:13:28AM -0700, Palmer Dabbelt wrote: > This first one isn't showing up in a in-flight merge `git diff`, but it looks > pretty straight-forward > > diff --git a/Documentation/rust/arch-support.rst b/Documentation/rust/arch-support.rst > index c9137710633a..4d1495ded2aa 100644 > --- a/Documentation/rust/arch-support.rst > +++ b/Documentation/rust/arch-support.rst > @@ -16,7 +16,8 @@ support corresponds to ``S`` values in the ``MAINTAINERS`` file. > Architecture Level of support Constraints > ============= ================ ============================================== > ``arm64`` Maintained Little Endian only. > -``loongarch`` Maintained \- > +``loongarch`` Maintained - I think this is actually the wrong resolution, and the \ should be kept as it was added as a fix in commit 01848eee20c6 ("docs: rust: fix improper rendering in Arch Support page"). Cheers, Conor. > +``riscv`` Maintained ``riscv64`` only. > ``um`` Maintained ``x86_64`` only. > ``x86`` Maintained ``x86_64`` only. > ============= ================ ==============================================
The pull request you sent on Wed, 22 May 2024 09:13:28 -0700 (PDT):
> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0bfbc914d9433d8ac2763a9ce99ce7721ee5c8e0
Thank you!
Hello: This pull request was applied to riscv/linux.git (fixes) by Linus Torvalds <torvalds@linux-foundation.org>: On Wed, 22 May 2024 09:13:28 -0700 (PDT) you wrote: > The following changes since commit 4cece764965020c22cff7665b18a012006359095: > > Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1 > > [...] Here is the summary with links: - [GIT,PULL] RISC-V Patches for the 6.10 Merge Window, Part 1 https://git.kernel.org/riscv/c/0bfbc914d943 You are awesome, thank you!
Hello: This pull request was applied to riscv/linux.git (for-next) by Linus Torvalds <torvalds@linux-foundation.org>: On Wed, 22 May 2024 09:13:28 -0700 (PDT) you wrote: > The following changes since commit 4cece764965020c22cff7665b18a012006359095: > > Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1 > > [...] Here is the summary with links: - [GIT,PULL] RISC-V Patches for the 6.10 Merge Window, Part 1 https://git.kernel.org/riscv/c/0bfbc914d943 You are awesome, thank you!
On Thu, May 23, 2024 at 1:13 AM Palmer Dabbelt <palmer@rivosinc.com> wrote: > > The following changes since commit 4cece764965020c22cff7665b18a012006359095: > > Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1 > > for you to fetch changes up to 92cce91949a497a8a4615f9ba5813b03f7a1f1d5: > > riscv: defconfig: Enable CONFIG_CLK_SOPHGO_CV1800 (2024-05-13 14:26:34 -0700) > > ---------------------------------------------------------------- > RISC-V Patches for the 6.10 Merge Window, Part 1 > > * Support for byte/half-word compare-and-exchange, emulated via LR/SC > loops. > * Support for Rust. > * Support for Zihintpause in hwprobe. > * Support for the PR_RISCV_SET_ICACHE_FLUSH_CTX prctl(). > * Support for lockless lockrefs. > > ---------------------------------------------------------------- > This was really meant to be last week's PR, but due to a handful of small > issues. There's a pair of driver build fixes that are already on the lists and > a report of a ftrace failure that might be triggered by the ftrace/AIA fix, but > seems like we're better off with these than without. I've got a few other > smaller things queued up for Friday, but I figured it'd be best to get this > moving because there's a handful of merge conflicts. > > This first one isn't showing up in a in-flight merge `git diff`, but it looks > pretty straight-forward > > diff --git a/Documentation/rust/arch-support.rst b/Documentation/rust/arch-support.rst > index c9137710633a..4d1495ded2aa 100644 > --- a/Documentation/rust/arch-support.rst > +++ b/Documentation/rust/arch-support.rst > @@ -16,7 +16,8 @@ support corresponds to ``S`` values in the ``MAINTAINERS`` file. > Architecture Level of support Constraints > ============= ================ ============================================== > ``arm64`` Maintained Little Endian only. > -``loongarch`` Maintained \- > +``loongarch`` Maintained - > +``riscv`` Maintained ``riscv64`` only. > ``um`` Maintained ``x86_64`` only. > ``x86`` Maintained ``x86_64`` only. > ============= ================ ============================================== > > There's also one in the IMSIC driver where there's really no way for git to > pick up the conflict, as it's a far-away API change. Here's my resolution, > Anup likes it as well > <https://lore.kernel.org/all/CAK9=C2UkTD0hYymjow-yHHfBDh4CtRv-G2BPt=ncstLRmpYgyg@mail.gmail.com/>: > > diff --git a/drivers/irqchip/irq-riscv-imsic-early.c b/drivers/irqchip/irq-riscv-imsic-early.c > index 886418ec06cb..4fbb37074d29 100644 > --- a/drivers/irqchip/irq-riscv-imsic-early.c > +++ b/drivers/irqchip/irq-riscv-imsic-early.c > @@ -49,7 +49,7 @@ static int __init imsic_ipi_domain_init(void) > return virq < 0 ? virq : -ENOMEM; > > /* Set vIRQ range */ > - riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI, true); > + riscv_ipi_set_virq_range(virq, IMSIC_NR_IPI); > > /* Announce that IMSIC is providing IPIs */ > pr_info("%pfwP: providing IPIs using interrupt %d\n", imsic->fwnode, IMSIC_IPI_ID); > > The rest show up pretty normally, so here's the regular merge diff output from > how I've resolved them: > > diff --cc arch/riscv/Makefile > index 1e002d8003c5,321c057e2bdc..000000000000 > --- a/arch/riscv/Makefile > +++ b/arch/riscv/Makefile > @@@ -151,20 -166,9 +166,9 @@@ endi > endif > > vdso-install-y += arch/riscv/kernel/vdso/vdso.so.dbg > -vdso-install-$(CONFIG_COMPAT) += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg:../compat_vdso/compat_vdso.so > +vdso-install-$(CONFIG_COMPAT) += arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg > > - ifneq ($(CONFIG_XIP_KERNEL),y) > - ifeq ($(CONFIG_RISCV_M_MODE)$(CONFIG_SOC_CANAAN_K210),yy) > - KBUILD_IMAGE := $(boot)/loader.bin > - else > - ifeq ($(CONFIG_EFI_ZBOOT),) > - KBUILD_IMAGE := $(boot)/Image.gz > - else > - KBUILD_IMAGE := $(boot)/vmlinuz.efi > - endif > - endif > - endif > - BOOT_TARGETS := Image Image.gz loader loader.bin xipImage vmlinuz.efi > + BOOT_TARGETS := Image Image.gz Image.bz2 Image.lz4 Image.lzma Image.lzo Image.zst loader loader.bin xipImage vmlinuz.efi > > all: $(notdir $(KBUILD_IMAGE)) > > diff --cc include/uapi/linux/prctl.h > index 713d28788df7,524d546d697b..000000000000 > --- a/include/uapi/linux/prctl.h > +++ b/include/uapi/linux/prctl.h > @@@ -306,20 -306,10 +306,26 @@@ struct prctl_mm_map > # define PR_RISCV_V_VSTATE_CTRL_NEXT_MASK 0xc > # define PR_RISCV_V_VSTATE_CTRL_MASK 0x1f > > + #define PR_RISCV_SET_ICACHE_FLUSH_CTX 71 > + # define PR_RISCV_CTX_SW_FENCEI_ON 0 > + # define PR_RISCV_CTX_SW_FENCEI_OFF 1 > + # define PR_RISCV_SCOPE_PER_PROCESS 0 > + # define PR_RISCV_SCOPE_PER_THREAD 1 > + > +/* PowerPC Dynamic Execution Control Register (DEXCR) controls */ > +#define PR_PPC_GET_DEXCR 72 > +#define PR_PPC_SET_DEXCR 73 > +/* DEXCR aspect to act on */ > +# define PR_PPC_DEXCR_SBHE 0 /* Speculative branch hint enable */ > +# define PR_PPC_DEXCR_IBRTPD 1 /* Indirect branch recurrent target prediction disable */ > +# define PR_PPC_DEXCR_SRAPD 2 /* Subroutine return address prediction disable */ > +# define PR_PPC_DEXCR_NPHIE 3 /* Non-privileged hash instruction enable */ > +/* Action to apply / return */ > +# define PR_PPC_DEXCR_CTRL_EDITABLE 0x1 /* Aspect can be modified with PR_PPC_SET_DEXCR */ > +# define PR_PPC_DEXCR_CTRL_SET 0x2 /* Set the aspect for this process */ > +# define PR_PPC_DEXCR_CTRL_CLEAR 0x4 /* Clear the aspect for this process */ > +# define PR_PPC_DEXCR_CTRL_SET_ONEXEC 0x8 /* Set the aspect on exec */ > +# define PR_PPC_DEXCR_CTRL_CLEAR_ONEXEC 0x10 /* Clear the aspect on exec */ > +# define PR_PPC_DEXCR_CTRL_MASK 0x1f > + > #endif /* _LINUX_PRCTL_H */ > diff --cc kernel/sys.c > index f9c95410278c,1b7bda0722ca..000000000000 > --- a/kernel/sys.c > +++ b/kernel/sys.c > @@@ -146,13 -146,10 +146,15 @@@ > #ifndef RISCV_V_GET_CONTROL > # define RISCV_V_GET_CONTROL() (-EINVAL) > #endif > + #ifndef RISCV_SET_ICACHE_FLUSH_CTX > + # define RISCV_SET_ICACHE_FLUSH_CTX(a, b) (-EINVAL) > + #endif > - > +#ifndef PPC_GET_DEXCR_ASPECT > +# define PPC_GET_DEXCR_ASPECT(a, b) (-EINVAL) > +#endif > +#ifndef PPC_SET_DEXCR_ASPECT > +# define PPC_SET_DEXCR_ASPECT(a, b, c) (-EINVAL) > +#endif > - > /* > * this is where the system-wide overflow UID and GID are defined, for > * architectures that now have 32-bit UID/GID but didn't in the past > > > ---------------------------------------------------------------- > Alexandre Ghiti (2): > riscv: Remove superfluous smp_mb() > riscv: Fix text patching when IPI are used > > Charlie Jenkins (4): > riscv: Remove unnecessary irqflags processor.h include > riscv: Include riscv_set_icache_flush_ctx prctl > documentation: Document PR_RISCV_SET_ICACHE_FLUSH_CTX prctl > cpumask: Add assign cpu > > Clément Léger (2): > riscv: misaligned: remove CONFIG_RISCV_M_MODE specific code > riscv: hwprobe: export Zihintpause ISA extension > > Dawei Li (2): > riscv: Remove redundant CONFIG_64BIT from pgtable_l{4,5}_enabled > riscv: Annotate pgtable_l{4,5}_enabled with __ro_after_init > > Inochi Amaoto (1): > riscv: defconfig: Enable CONFIG_CLK_SOPHGO_CV1800 > > Jisheng Zhang (4): > riscv: select ARCH_USE_CMPXCHG_LOCKREF > riscv: cmpxchg: implement arch_cmpxchg64_{relaxed|acquire|release} > riscv: mm: still create swiotlb buffer for kmalloc() bouncing if required > riscv: select ARCH_HAS_FAST_MULTIPLIER > > Leonardo Bras (5): > riscv/cmpxchg: Deduplicate xchg() asm functions > riscv/cmpxchg: Deduplicate cmpxchg() asm and macros > riscv/atomic.h : Deduplicate arch_atomic.* > riscv/cmpxchg: Implement cmpxchg for variables of size 1 and 2 > riscv/cmpxchg: Implement xchg for variables of size 1 and 2 > > Masahiro Yamada (2): > riscv: merge two if-blocks for KBUILD_IMAGE > export.h: remove include/asm-generic/export.h I am confused. This commit was applied two months ago by myself, and it already existed in the mainline. After this pull request, I do not see no such a commit applied by Palmer. Why did this show up in 'git request-pull' ? The following is the commit in question. commit 0316e4b04e0156633df7474bae8e8b0791ce028f Author: Masahiro Yamada <masahiroy@kernel.org> AuthorDate: Sat Mar 23 18:06:15 2024 +0900 Commit: Masahiro Yamada <masahiroy@kernel.org> CommitDate: Thu Mar 28 11:04:20 2024 +0900 export.h: remove include/asm-generic/export.h Commit 3a6dd5f614a1 ("riscv: remove unneeded #include <asm-generic/export.h>") removed the last use of include/asm-generic/export.h. This deprecated header can go away. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Masahiro Yamada <masahiroy@kernel.org> writes: > On Thu, May 23, 2024 at 1:13 AM Palmer Dabbelt <palmer@rivosinc.com> wrote: >> >> The following changes since commit 4cece764965020c22cff7665b18a012006359095: >> >> Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) >> >> are available in the Git repository at: >> >> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1 >> >> for you to fetch changes up to 92cce91949a497a8a4615f9ba5813b03f7a1f1d5: >> >> riscv: defconfig: Enable CONFIG_CLK_SOPHGO_CV1800 (2024-05-13 14:26:34 -0700) ... >> >> Masahiro Yamada (2): >> riscv: merge two if-blocks for KBUILD_IMAGE >> export.h: remove include/asm-generic/export.h > > > I am confused. > > > This commit was applied two months ago by myself, > and it already existed in the mainline. > > > After this pull request, I do not see no such a commit > applied by Palmer. It is in there: $ git log --pretty=fuller -1 36d37f11f555812b0ded5d15aa686a6b9da57f61 commit 36d37f11f555812b0ded5d15aa686a6b9da57f61 Author: Masahiro Yamada <masahiroy@kernel.org> AuthorDate: Sat Mar 23 18:06:15 2024 +0900 Commit: Palmer Dabbelt <palmer@rivosinc.com> CommitDate: Wed Mar 27 07:14:19 2024 -0700 export.h: remove include/asm-generic/export.h Commit 3a6dd5f614a1 ("riscv: remove unneeded #include <asm-generic/export.h>") removed the last use of include/asm-generic/export.h. This deprecated header can go away. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20240323090615.1244904-1-masahiroy@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> Or via: $ git log --oneline -2 92cce91949a497a8a4615f9ba5813b03f7a1f1d5 origin/master -- include/asm-generic/export.h 0316e4b04e01 export.h: remove include/asm-generic/export.h 36d37f11f555 export.h: remove include/asm-generic/export.h cheers
On Thu, May 23, 2024 at 8:59 PM Michael Ellerman <mpe@ellerman.id.au> wrote: > > Masahiro Yamada <masahiroy@kernel.org> writes: > > On Thu, May 23, 2024 at 1:13 AM Palmer Dabbelt <palmer@rivosinc.com> wrote: > >> > >> The following changes since commit 4cece764965020c22cff7665b18a012006359095: > >> > >> Linux 6.9-rc1 (2024-03-24 14:10:05 -0700) > >> > >> are available in the Git repository at: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-6.10-mw1 > >> > >> for you to fetch changes up to 92cce91949a497a8a4615f9ba5813b03f7a1f1d5: > >> > >> riscv: defconfig: Enable CONFIG_CLK_SOPHGO_CV1800 (2024-05-13 14:26:34 -0700) > .. > >> > >> Masahiro Yamada (2): > >> riscv: merge two if-blocks for KBUILD_IMAGE > >> export.h: remove include/asm-generic/export.h > > > > > > I am confused. > > > > > > This commit was applied two months ago by myself, > > and it already existed in the mainline. > > > > > > After this pull request, I do not see no such a commit > > applied by Palmer. > > It is in there: > > $ git log --pretty=fuller -1 36d37f11f555812b0ded5d15aa686a6b9da57f61 > commit 36d37f11f555812b0ded5d15aa686a6b9da57f61 > Author: Masahiro Yamada <masahiroy@kernel.org> > AuthorDate: Sat Mar 23 18:06:15 2024 +0900 > Commit: Palmer Dabbelt <palmer@rivosinc.com> > CommitDate: Wed Mar 27 07:14:19 2024 -0700 > > export.h: remove include/asm-generic/export.h > > Commit 3a6dd5f614a1 ("riscv: remove unneeded #include > <asm-generic/export.h>") removed the last use of > include/asm-generic/export.h. > > This deprecated header can go away. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > Link: https://lore.kernel.org/r/20240323090615.1244904-1-masahiroy@kernel.org > Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com> > > Or via: > > $ git log --oneline -2 92cce91949a497a8a4615f9ba5813b03f7a1f1d5 origin/master -- include/asm-generic/export.h > 0316e4b04e01 export.h: remove include/asm-generic/export.h > 36d37f11f555 export.h: remove include/asm-generic/export.h > > cheers > OK, thanks. I think I was misunderstanding the effect of "git log -- <path>" When "-- include/asm-generic" is passed, 36d37f11f555 is hidden. $ git log --oneline --author=Masahiro | grep include/asm-generic/export.h 0316e4b04e01 export.h: remove include/asm-generic/export.h 36d37f11f555 export.h: remove include/asm-generic/export.h $ git log --oneline --author=Masahiro -- include/asm-generic/ | grep include/asm-generic/export.h 0316e4b04e01 export.h: remove include/asm-generic/export.h "man git-log" explains why: <path>... Show only commits that are enough to explain how the files that match the specified paths came to be. See History Simplification below for details and other simplification modes.