Re: [PATCH] clk: Mark fwnodes when their clock provider is added

2021-03-29 Thread Geert Uytterhoeven
Hi Stephen, On Tue, Mar 30, 2021 at 3:53 AM Stephen Boyd wrote: > Quoting Saravana Kannan (2021-03-29 16:28:20) > > On Mon, Mar 29, 2021 at 2:25 PM Stephen Boyd wrote: > > > Quoting Geert Uytterhoeven (2021-03-26 11:29:55) > > > > On Fri, Mar 26, 2021 at 7:13 PM Stephen Boyd wrote: > > > > > Qu

[PATCH mm] kfence, x86: fix preemptible warning on KPTI-enabled systems

2021-03-29 Thread Marco Elver
On systems with KPTI enabled, we can currently observe the following warning: BUG: using smp_processor_id() in preemptible caller is invalidate_user_asid+0x13/0x50 CPU: 6 PID: 1075 Comm: dmesg Not tainted 5.12.0-rc4-gda4a2b1a5479-kfence_1+ #1 Hardware name: Hewlett-Packard HP Pro 3500 Seri

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Huang, Ying
Yu Zhao writes: > On Mon, Mar 29, 2021 at 9:44 PM Huang, Ying wrote: >> >> Miaohe Lin writes: >> >> > On 2021/3/30 9:57, Huang, Ying wrote: >> >> Hi, Miaohe, >> >> >> >> Miaohe Lin writes: >> >> >> >>> Hi all, >> >>> I am investigating the swap code, and I found the below possible race >> >>>

RE: v5.12.0-rc5: the kernel panics if FIPS mode is on

2021-03-29 Thread Dexuan Cui
> From: Eric Biggers > Sent: Monday, March 29, 2021 6:26 PM > ... > It looks like your userspace is using tcrypt.ko to request that the kernel > test > "ofb(aes)", but your kernel doesn't have CONFIG_CRYPTO_OFB enabled so the > test fails as expected. Hi Eric, Thanks for the explanation! Yes,

Re: [PATCH] drm: DON'T require each CRTC to have a unique primary plane

2021-03-29 Thread Pekka Paalanen
On Mon, 29 Mar 2021 15:36:27 + Simon Ser wrote: > On Monday, March 29th, 2021 at 5:32 PM, Paul Cercueil > wrote: > > > Making the second plane an overlay would break the ABI, which is never > > something I'm happy to do; but I'd prefer to do it now than later. > > Yeah, I wonder if some

[PATCH] ARM: hisi: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/ It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- arch/arm/mach-hisi/hisilicon.c | 4 ++-- arch/arm/mach-hisi/hotplug.c | 2 +- arch/arm/mach-hisi/platmcpm.c | 2 +- arch/arm/mach-hisi/platsmp.c | 2 +- 4 file

Re: [PATCH] tee: optee: fix build error caused by recent optee tracepoints feature

2021-03-29 Thread Heiko Thiery
> If build kernel without "O=dir", below error will be seen: > > In file included from drivers/tee/optee/optee_trace.h:67, > from drivers/tee/optee/call.c:18: > ./include/trace/define_trace.h:95:42: fatal error: ./optee_trace.h: No such > file or directory >95 | #include TRAC

[PATCH] reset: hi6220: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/reset/hisilicon/hi6220_reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/hisilicon/hi6220_reset.c b/drivers/reset

Re: [PATCH 4.14 00/59] 4.14.228-rc1 review

2021-03-29 Thread Naresh Kamboju
On Mon, 29 Mar 2021 at 13:37, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.228 release. > There are 59 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

[PATCH] media: rc: ir-hix5hd2: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/media/rc/ir-hix5hd2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c in

Re: [PATCH 4.19 00/72] 4.19.184-rc1 review

2021-03-29 Thread Naresh Kamboju
On Mon, 29 Mar 2021 at 13:40, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.184 release. > There are 72 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH] rtc: ds1307: set uie_unsupported if no interrupt is available

2021-03-29 Thread Lukasz Stelmach
It was <2021-03-30 wto 02:02>, when Alexandre Belloni wrote: > On 16/03/2021 19:04:14+0100, Lukasz Stelmach wrote: >> OK, you are right. The problem seems to be elsewhere. >> >> How about this scnario? We call rtc_update_irq_enable(). We read rtc >> with __rtc_read_time() and calculate the alarm t

[PATCH] mailbox: hisilicon: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/mailbox/hi3660-mailbox.c | 4 ++-- drivers/mailbox/hi6220-mailbox.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mailb

[PATCH] phy: hisilicon: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/phy/hisilicon/phy-hi6220-usb.c | 2 +- drivers/phy/hisilicon/phy-hix5hd2-sata.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [PATCH 01/10] platform/x86: toshiba_acpi: bind life-time of toshiba_acpi_dev to parent

2021-03-29 Thread Alexandru Ardelean
On Mon, 29 Mar 2021 at 17:30, Jonathan Cameron wrote: > > On Wed, 24 Mar 2021 14:55:39 +0200 > Alexandru Ardelean wrote: > > > The 'toshiba_acpi_dev' object is allocated first and free'd last. We can > > bind it's life-time to the parent ACPI device object. This is a first step > > in using more

[PATCH] irqchip/hisi: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/ It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/irqchip/irq-hip04.c | 4 ++-- drivers/irqchip/irq-mbigen.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-hip

[PATCH] thermal/drivers/hisi: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/thermal/hisi_thermal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/hisi_thermal.c b/drivers/thermal/hisi_the

[PATCH v3] i2c: designware: Add driver support for AMD NAVI GPU

2021-03-29 Thread Sanket Goswami
The Latest AMD NAVI GPU card has an integrated Type-C controller and Designware I2C with PCI Interface. The Type-C controller can be accessed over I2C. The client driver is part of the USB Type-C UCSI driver. Also, there exists a couple of notable IP limitations that are dealt as workarounds: - I2

[PATCH] dmaengine: k3dma: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/dma/k3dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index d0b2e60..ecdaada9 1006

[PATCH 2/2] ASoC: dt-bindings: ak5558: Add compatible string for ak5552

2021-03-29 Thread Shengjiu Wang
Add compatible string "asahi-kasei,ak5552" for ak5552 Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/ak5558.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/ak5558.txt b/Documentation/devicetree/bindings/so

[PATCH] bus: hisi_lpc: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/bus/hisi_lpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/hisi_lpc.c b/drivers/bus/hisi_lpc.c index 378f5d6..a329c50

[PATCH 1/2] ASoC: ak5558: Add support for ak5552

2021-03-29 Thread Shengjiu Wang
From: Viorel Suman AK5552 is a 32-bit 2ch ADC and has the same register map as AK5558. Signed-off-by: Viorel Suman Signed-off-by: Shengjiu Wang --- sound/soc/codecs/ak5558.c | 93 --- 1 file changed, 88 insertions(+), 5 deletions(-) diff --git a/sound/soc/

[PATCH] drm/hisilicon/kirin: Use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c| 2 +- drivers/gpu/drm/hisilicon/kirin/dw_dsi_reg.h| 2 +- drivers/gpu/drm/hisilicon/kirin/kirin_ade_reg.h |

was Fair Pay-- Gay, Straight, Bi commentary groupings?

2021-03-29 Thread Ywe Cærlyn
Something that also has happened since original Unix and 90s, is also Gay, Straight, Bi groupings. This could suit file commentary, and be part of ones user profile. Serenity, Ywe. https://www.youtube.com/channel/UCBzmdh-pG3_OEqNRz5Owtmw

[PATCH] mmc: dw_mmc-k3: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/mmc/host/dw_mmc-k3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index

[PATCH] Input: misc - use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/input/misc/hisi_powerkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/hisi_powerkey.c b/drivers/input/mis

Re: [PATCH v2 0/6] perf arm64 metricgroup support

2021-03-29 Thread kajoljain
On 3/30/21 2:37 AM, Paul A. Clarke wrote: > On Fri, Mar 26, 2021 at 10:57:40AM +, John Garry wrote: >> On 25/03/2021 20:39, Paul A. Clarke wrote: >>> On Thu, Mar 25, 2021 at 06:33:12PM +0800, John Garry wrote: Metric reuse support is added for pmu-events parse metric testcase. This

[PATCH] power: reset: hisi-reboot: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/power/reset/hisi-reboot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/reset/hisi-reboot.c b/drivers/power/reset

[PATCH] i2c: hix5hd2: use the correct HiSilicon copyright

2021-03-29 Thread Hao Fang
s/Hisilicon/HiSilicon/g. It should use capital S, according to https://www.hisilicon.com/en/terms-of-use. Signed-off-by: Hao Fang --- drivers/i2c/busses/i2c-hix5hd2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-hix5hd2.c b/drivers/i2c/busses/i2c-hix

[PATCH] linux/intel_rapl.h: Modify struct declaration

2021-03-29 Thread Wan Jiabing
struct rapl_package is declared twice. One has been declared at 80th line. By reviewing the code, it should declare struct rapl_domain rather than rapl_package. Modify it. Signed-off-by: Wan Jiabing --- include/linux/intel_rapl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] perf/core: Share an event with multiple cgroups

2021-03-29 Thread Song Liu
> On Mar 29, 2021, at 4:33 AM, Namhyung Kim wrote: > > On Mon, Mar 29, 2021 at 2:17 AM Song Liu wrote: >>> On Mar 23, 2021, at 9:21 AM, Namhyung Kim wrote: >>> >>> As we can run many jobs (in container) on a big machine, we want to >>> measure each job's performance during the run. To do t

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-29 Thread Guo Ren
On Tue, Mar 30, 2021 at 12:54 PM Anup Patel wrote: > > > > > -Original Message- > > From: Guo Ren > > Sent: 30 March 2021 08:44 > > To: Peter Zijlstra > > Cc: linux-riscv ; Linux Kernel Mailing List > > ; linux-c...@vger.kernel.org; linux-arch > > ; Guo Ren ; Will > > Deacon ; Ingo Molna

Re: [PATCH] hwmon: (nzxt-kraken2) mark and order concurrent accesses

2021-03-29 Thread Jonas Malaco
On Mon, Mar 29, 2021 at 10:43:55PM -0700, Guenter Roeck wrote: > On 3/29/21 8:16 PM, Jonas Malaco wrote: > > On Mon, Mar 29, 2021 at 06:01:00PM -0700, Guenter Roeck wrote: > >> On 3/29/21 5:21 PM, Jonas Malaco wrote: > >>> On Mon, Mar 29, 2021 at 02:53:39PM -0700, Guenter Roeck wrote: > On Mon

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-29 Thread Guo Ren
On Tue, Mar 30, 2021 at 1:51 PM Anup Patel wrote: > > On Tue, Mar 30, 2021 at 7:56 AM Guo Ren wrote: > > > > On Mon, Mar 29, 2021 at 9:56 PM Arnd Bergmann wrote: > > > > > > On Mon, Mar 29, 2021 at 2:52 PM Guo Ren wrote: > > > > > > > > On Mon, Mar 29, 2021 at 7:31 PM Peter Zijlstra > > > > w

Re: [PATCH v6] RISC-V: enable XIP

2021-03-29 Thread Vitaly Wool
On Tue, Mar 30, 2021 at 8:23 AM Palmer Dabbelt wrote: > > On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: > > Introduce XIP (eXecute In Place) support for RISC-V platforms. > > It allows code to be executed directly from non-volatile storage > > directly addressable by th

Re: [PATCH] mm: gup: remove FOLL_SPLIT

2021-03-29 Thread kernel test robot
Hi Yang, Thank you for the patch! Yet something to improve: [auto build test ERROR on hnaz-linux-mm/master] url: https://github.com/0day-ci/linux/commits/Yang-Shi/mm-gup-remove-FOLL_SPLIT/20210330-034042 base: https://github.com/hnaz/linux-mm master config: s390-randconfig-r032-20210330 (a

RE: [PATCH v2] Bluetooth: hci_h5: btrtl: Add quirk for keep power in suspend/resume

2021-03-29 Thread Hilda Wu
Hi Maintainers, About this commit, do you have any further comments/suggestions on this? If you have any questions or concerns, please kindly let me know. Thank you. Regards, Hilda -Original Message- From: Hilda Wu Sent: Tuesday, March 16, 2021 6:07 PM To: mar...@holtmann.org Cc: johan

Re: [PATCH v6] RISC-V: enable XIP

2021-03-29 Thread Palmer Dabbelt
On Sun, 21 Mar 2021 17:12:15 PDT (-0700), vitaly.w...@konsulko.com wrote: Introduce XIP (eXecute In Place) support for RISC-V platforms. It allows code to be executed directly from non-volatile storage directly addressable by the CPU, such as QSPI NOR flash which can be found on many RISC-V platf

[PATCH] usb: dwc2: Remove duplicate struct declaration

2021-03-29 Thread Wan Jiabing
struct dwc2_hsotg is declared twice. One has been declared at forward declaration. Remove the duplicate one. Signed-off-by: Wan Jiabing --- drivers/usb/dwc2/core.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 7161344c6522..8407bba523c

Re: [PATCH] riscv: remove unneeded semicolon

2021-03-29 Thread Palmer Dabbelt
On Mon, 22 Mar 2021 01:38:36 PDT (-0700), yang@linux.alibaba.com wrote: Eliminate the following coccicheck warning: ./arch/riscv/mm/kasan_init.c:219:2-3: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- arch/riscv/mm/kasan_init.c | 2 +- 1 file changed, 1 insertion(+

[PATCH] IMA: Fix error in comment

2021-03-29 Thread Ricardo Ribalda
ima_file_mprotect does not return EACCES but EPERM. Signed-off-by: Ricardo Ribalda --- security/integrity/ima/ima_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/ima/ima_main.c b/security/integrity/ima/ima_main.c index 9ef748ea829f..716ea29cf897 100

linux-next: build warning after merge of the pinctrl tree

2021-03-29 Thread Stephen Rothwell
Hi all, After merging the pinctrl tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/pinctrl/bcm/pinctrl-bcm6362.c: In function 'bcm6362_set_gpio': drivers/pinctrl/bcm/pinctrl-bcm6362.c:503:8: warning: cast from pointer to integer of different size [-Wpointer-to-

[PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

2021-03-29 Thread Jisheng Zhang
Some functions are not needed after booting, so mark them as __init to move them to the .init section. Some global variables are never modified after init, so can be __ro_after_init. Signed-off-by: Jisheng Zhang --- drivers/clocksource/arm_arch_timer.c | 23 --- 1 file chang

Re: [1/5] reporting-issues: header and TLDR

2021-03-29 Thread Greg KH
On Mon, Mar 29, 2021 at 04:44:21PM -0600, Jonathan Corbet wrote: > Thorsten Leemhuis writes: > > > FWIW, on another channel someone mentioned the process in the TLDR is > > quite complicated when it comes to regressions in stable and longterm > > kernels. I looked at the text and it seemed like a

[tip:timers/core] BUILD SUCCESS d4c7c28806616809e3baa0b7cd8c665516b2726d

2021-03-29 Thread kernel test robot
allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20210329 x86_64 randconfig-a003-20210329 x86_64 randconfig-a006-20210329 x86_64 randconfig

[PATCH v2] arm64: Add __init section marker to some functions

2021-03-29 Thread Jisheng Zhang
They are not needed after booting, so mark them as __init to move them to the .init section. Signed-off-by: Jisheng Zhang --- Since v1: - add __init section mark to __vdso_init() and __aarch32_alloc_vdso_pages() arch/arm64/include/asm/ptdump.h | 2 +- arch/arm64/kernel/vdso.c| 4 ++--

Re: [PATCH] ftrace: Fix spelling mistake "disabed" -> "disabled"

2021-03-29 Thread Palmer Dabbelt
On Wed, 17 Mar 2021 06:42:23 PDT (-0700), rost...@goodmis.org wrote: On Tue, 16 Mar 2021 21:21:08 -0700 (PDT) Palmer Dabbelt wrote: Thanks, this is on fixes. What does this mean? Is there a tree that spelling fixes go through now? I had already pulled this patch into my queue for the next m

Re: [PATCH] riscv,entry: fix misaligned base for excp_vect_table

2021-03-29 Thread Palmer Dabbelt
On Wed, 17 Mar 2021 01:17:25 PDT (-0700), yuzi...@ict.ac.cn wrote: * In RV64, the size of each entry in excp_vect_table is 8 bytes. If the base of the table is not 8-byte aligned, loading an entry in the table will raise a misaligned exception. Although such exception will be handled by ope

Re: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-29 Thread Anup Patel
On Tue, Mar 30, 2021 at 7:56 AM Guo Ren wrote: > > On Mon, Mar 29, 2021 at 9:56 PM Arnd Bergmann wrote: > > > > On Mon, Mar 29, 2021 at 2:52 PM Guo Ren wrote: > > > > > > On Mon, Mar 29, 2021 at 7:31 PM Peter Zijlstra > > > wrote: > > > > > > > > On Mon, Mar 29, 2021 at 01:16:53PM +0200, Peter

Re: [PATCH 5.4 000/111] 5.4.109-rc1 review

2021-03-29 Thread Naresh Kamboju
On Mon, 29 Mar 2021 at 13:44, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.109 release. > There are 111 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-29 Thread Noah Goldstein
Forgive if this is silly but would it be possible to do something simliar to rseq where the user can register a set of features for a program counter region and then on interrupt check that to determine what needs to be saved? For example if a user doesn't use any AMX but loads a library that does

Re: [PATCH v16 00/17] KVM RISC-V Support

2021-03-29 Thread Anup Patel
On Sat, Jan 23, 2021 at 9:10 AM Palmer Dabbelt wrote: > > On Fri, 15 Jan 2021 04:18:29 PST (-0800), Anup Patel wrote: > > This series adds initial KVM RISC-V support. Currently, we are able to boot > > Linux on RV64/RV32 Guest with multiple VCPUs. > > Thanks. IIUC the spec is still in limbo at th

Re: [PATCH v5 4/4] fs: unicode: Add utf8 module and a unicode layer

2021-03-29 Thread Eric Biggers
On Mon, Mar 29, 2021 at 10:16:57PM -0400, Gabriel Krisman Bertazi wrote: > Eric Biggers writes: > > > On Tue, Mar 30, 2021 at 02:12:40AM +0530, Shreeya Patel wrote: > >> diff --git a/fs/unicode/Kconfig b/fs/unicode/Kconfig > >> index 2c27b9a5cd6c..ad4b837f2eb2 100644 > >> --- a/fs/unicode/Kconfig

Re: [Question] Is there a race window between swapoff vs synchronous swap_readpage

2021-03-29 Thread Yu Zhao
On Mon, Mar 29, 2021 at 9:44 PM Huang, Ying wrote: > > Miaohe Lin writes: > > > On 2021/3/30 9:57, Huang, Ying wrote: > >> Hi, Miaohe, > >> > >> Miaohe Lin writes: > >> > >>> Hi all, > >>> I am investigating the swap code, and I found the below possible race > >>> window: > >>> > >>> CPU 1

[PATCH V2 3/4] remoteproc: imx: move memory parsing to rproc_ops

2021-03-29 Thread peng . fan
From: Peng Fan Use the rproc_ops::prepare() hook for doing memory resources reallocation when reattach an remote procesor. Suggested-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drive

[PATCH V2 4/4] remoteproc: imx_rproc: support remote cores booted before Linux Kernel

2021-03-29 Thread peng . fan
From: Peng Fan - Add rsc_table to hold the resource table published by remote cores. - Add attach hook. - Add imx_rproc_get_loaded_rsc_table to get resource table published by remote processors. - Add imx_rproc_detect_mode to detect remote cores' working mode. Signed-off-by: Peng Fan ---

[PATCH V2 1/4] remoteproc: imx: add missing of_node_put

2021-03-29 Thread peng . fan
From: Peng Fan After of_parse_phandle, we need of_node_put to decrease the refcount of the device_node. Reported-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/remoteproc/imx_rproc.c b/drivers/remote

[PATCH V2 2/4] remoteproc: imx_rproc: enlarge IMX7D_RPROC_MEM_MAX

2021-03-29 Thread peng . fan
From: Peng Fan 8 is not enough when we need more, such as resource table for remote cores that booted before Linux Kernel, so enlarge IMX7D_RPROC_MEM_MAX to 32. And also rename it to IMX_RPROC_MEM_MAX which make more sense. Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remo

[PATCH V2 0/4] remoteproc: imx: support remote cores booted early

2021-03-29 Thread peng . fan
From: Peng Fan V2: Patch [1,3]/4 is new Patch 4/4: Update commit message, drop unneeded code that already implemented by core This patchset is to support booted remote cores could be attached to linux. - Add missing of_node_put to decrease device node refcount - Enlarge IMX7D_RPROC_MEM_MAX be

Re: [PATCH] hwmon: (nzxt-kraken2) mark and order concurrent accesses

2021-03-29 Thread Guenter Roeck
On 3/29/21 8:16 PM, Jonas Malaco wrote: > On Mon, Mar 29, 2021 at 06:01:00PM -0700, Guenter Roeck wrote: >> On 3/29/21 5:21 PM, Jonas Malaco wrote: >>> On Mon, Mar 29, 2021 at 02:53:39PM -0700, Guenter Roeck wrote: On Mon, Mar 29, 2021 at 05:22:01AM -0300, Jonas Malaco wrote: > To avoid a

Re: [PATCH 5.10 000/219] 5.10.27-rc2 review

2021-03-29 Thread Naresh Kamboju
On Mon, 29 Mar 2021 at 15:44, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.27 release. > There are 219 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH] hwmon: Add driver for fsp-3y PSUs and PDUs

2021-03-29 Thread Guenter Roeck
On 3/29/21 8:31 PM, Václav Kubernát wrote: > Hi Guenter, > > Thank you for the review. > > po 29. 3. 2021 v 19:47 odesílatel Guenter Roeck napsal: >> >> On 3/29/21 7:38 AM, Václav Kubernát wrote: >>> After some testing, I have found out there is a timing issue with this >>> device. After setting

Re: [PATCH] ARM: Qualify enabling of swiotlb_init()

2021-03-29 Thread Christoph Hellwig
On Mon, Mar 29, 2021 at 12:30:42PM -0700, Florian Fainelli wrote: > Should I toss this in Russell's patch tracker or do you need me to make > some changes to the patch? Due to all the other changes in this area I don't think anything but the swiotlb tree makes much sense here.

Re: [PATCH v2] Documentation: crypto: add info about "fips=" boot option

2021-03-29 Thread Eric Biggers
skipped". > > Documentation/admin-guide/kernel-parameters.txt | 14 ++ > 1 file changed, 14 insertions(+) > > --- linux-next-20210329.orig/Documentation/admin-guide/kernel-parameters.txt > +++ linux-next-20210329/Documentation/admin-guide/kernel-parameters.txt >

[PATCH] sched/fair: use signed long when compute energy delta in eas

2021-03-29 Thread Xuewen Yan
From: Xuewen Yan now the energy delta compute as follow: base_energy_pd = compute_energy(p, -1, pd); --->Traverse all CPUs in pd --->em_pd_energy() - \ search for the max_sapre_cap_cpu \ ---

[PATCH v1 3/4] arm64: dts: add DRAMC node for MT6779

2021-03-29 Thread Po-Kai Chi
Add the DRAMC node for the DRAMC kernel driver. Properties are divided into three categories: - Platform DTS: MediaTek DRAMC platform common part. - Project DTS: Runtime filled in by bootloader according to the board hardware configuration. - Driver level: Hardware-

[PATCH v1 4/4] arm64: defconfig: Enable MediaTek DRAMC common driver

2021-03-29 Thread Po-Kai Chi
This commit enables MediaTek DRAMC common driver to be built as a module by default for the ARM64 builds. Signed-off-by: Po-Kai Chi --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d612f63..4

[PATCH v1 2/4] memory: mediatek: add DRAM controller driver

2021-03-29 Thread Po-Kai Chi
MediaTek DRAM controller (DRAMC) driver provides cross-platform features as below: - API provided to other kernel modules for querying DRAM type, rank count, rank size, channel count and mode register settings. - Sysfs interface used to pass DRAM mode register settings and current DRAM

[PATCH v1 1/4] dt-bindings: memory: Add binding for MediaTek Common DRAM Controller

2021-03-29 Thread Po-Kai Chi
This patch adds the documentation of the device-tree binding for MediaTek Common DRAM Controller. Signed-off-by: Po-Kai Chi --- .../memory-controllers/mediatek,dramc.yaml | 155 1 file changed, 155 insertions(+) create mode 100644 Documentation/devicetree/bindings

[PATCH v1] memory: mediatek: add DRAM controller driver

2021-03-29 Thread Po-Kai Chi
These patch series introduces the MediaTek DRAM controller driver (DRAMC) on MT6779 SoC, and enables to be built as a module by default for the ARM64 builds. MediaTek DRAMC driver provides cross-platform features as below: - API provided to other kernel modules for querying DRAM type, rank c

Re: [PATCH v3] kernel/resource: Fix locking in request_free_mem_region

2021-03-29 Thread John Hubbard
On 3/29/21 9:59 PM, Alistair Popple wrote: ... res->desc = IORES_DESC_DEVICE_PRIVATE_MEMORY; + if (dev) { + dr->parent = &iomem_resource; + dr->start = addr; + dr->n = size; + dev

Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

2021-03-29 Thread Andy Lutomirski
On Mon, Mar 29, 2021 at 3:38 PM Len Brown wrote: > > On Mon, Mar 29, 2021 at 2:16 PM Andy Lutomirski wrote: > > > Hi Andy, > > Can you provide a concise definition of the exact problemI(s) this thread > is attempting to address? The AVX-512 state, all by itself, is more than 2048 bytes. Quotin

Re: [PATCH] riscv: Bump COMMAND_LINE_SIZE value to 1024

2021-03-29 Thread Palmer Dabbelt
On Tue, 16 Mar 2021 12:34:20 PDT (-0700), a...@ghiti.fr wrote: Increase COMMAND_LINE_SIZE as the current default value is too low for syzbot kernel command line. Reported-by: Dmitry Vyukov Signed-off-by: Alexandre Ghiti --- arch/riscv/include/uapi/asm/setup.h | 8 1 file changed, 8 i

[PATCH v2] Documentation: crypto: add info about "fips=" boot option

2021-03-29 Thread Randy Dunlap
Jonathan Corbet Cc: linux-...@vger.kernel.org --- Updates/corrections welcome. v2: drop comment that "fips_enabled can cause some tests to be skipped". Documentation/admin-guide/kernel-parameters.txt | 14 ++ 1 file changed, 14 insertions(+) --- linux-next-20210329.

Re: [PATCH v3 2/2] riscv: Cleanup KASAN_VMALLOC support

2021-03-29 Thread Palmer Dabbelt
On Sat, 13 Mar 2021 00:45:05 PST (-0800), a...@ghiti.fr wrote: When KASAN vmalloc region is populated, there is no userspace process and the page table in use is swapper_pg_dir, so there is no need to read SATP. Then we can use the same scheme used by kasan_populate_p*d functions to go through th

Re: [PATCH] kbuild: buildtar: add riscv support

2021-03-29 Thread Palmer Dabbelt
On Tue, 16 Mar 2021 09:02:43 PDT (-0700), m...@carlosedp.com wrote: Make 'make tar-pkg' and 'tarbz2-pkg' work on riscv. Signed-off-by: Carlos de Paula --- scripts/package/buildtar | 8 1 file changed, 8 insertions(+) diff --git a/scripts/package/buildtar b/scripts/package/buildtar in

Re: [PATCH] Documentation: crypto: add info about "fips=" boot option

2021-03-29 Thread Herbert Xu
On Mon, Mar 29, 2021 at 10:00:45PM -0700, Randy Dunlap wrote: > On 3/29/21 9:37 PM, Herbert Xu wrote: > > On Mon, Mar 29, 2021 at 09:00:01PM -0700, Randy Dunlap wrote: > >> > >> + If fips_enabled = 1, some crypto tests are skipped. > > > > I don't think any tests are skipped. It

Re: [PATCH] Documentation: crypto: add info about "fips=" boot option

2021-03-29 Thread Randy Dunlap
On 3/29/21 9:37 PM, Herbert Xu wrote: > On Mon, Mar 29, 2021 at 09:00:01PM -0700, Randy Dunlap wrote: >> >> +If fips_enabled = 1, some crypto tests are skipped. > > I don't think any tests are skipped. It does however disable > many algorithms by essentially failing them at th

Re: [PATCH v3] mm: fix race by making init_zero_pfn() early_initcall

2021-03-29 Thread Zhou Yanjie
Hi Ilya, On 2021/3/30 下午12:42, Ilya Lipnitskiy wrote: There are code paths that rely on zero_pfn to be fully initialized before core_initcall. For example, wq_sysfs_init() is a core_initcall function that eventually results in a call to kernel_execve, which causes a page fault with a subsequent

Re: [PATCH v3] kernel/resource: Fix locking in request_free_mem_region

2021-03-29 Thread Alistair Popple
On Tuesday, 30 March 2021 2:42:34 PM AEDT John Hubbard wrote: > On 3/29/21 5:38 PM, Alistair Popple wrote: > > request_free_mem_region() is used to find an empty range of physical > > addresses for hotplugging ZONE_DEVICE memory. It does this by iterating > > over the range of possible addresses us

Re: [PATCH -tip v4 10/12] x86/kprobes: Push a fake return address at kretprobe_trampoline

2021-03-29 Thread Josh Poimboeuf
On Fri, Mar 26, 2021 at 10:20:09AM -0400, Steven Rostedt wrote: > On Fri, 26 Mar 2021 21:03:49 +0900 > Masami Hiramatsu wrote: > > > I confirmed this is not related to this series, but occurs when I build > > kernels with different > > configs without cleanup. > > > > Once I build kernel with C

Re: [PATCH] nvmem: Change to unified property interface

2021-03-29 Thread kernel test robot
Hi Kevin, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.12-rc5 next-20210329] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--bas

Re: [PATCH v1 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

2021-03-29 Thread Xiaoyao Li
On 3/27/2021 8:18 AM, Kuppuswamy Sathyanarayanan wrote: In non-root TDX guest mode, MWAIT, MONITOR and WBINVD instructions are not supported. So handle #VE due to these instructions as no ops. Signed-off-by: Kuppuswamy Sathyanarayanan Reviewed-by: Andi Kleen --- Changes since previous series

Re: exec error: BUG: Bad rss-counter

2021-03-29 Thread Zhou Yanjie
Hi Ilya, On 2021/3/29 上午10:48, Ilya Lipnitskiy wrote: On Sat, Mar 20, 2021 at 8:59 AM Zhou Yanjie wrote: Hi Ilya, On 2021/3/3 下午11:55, Ilya Lipnitskiy wrote: On Wed, Mar 3, 2021 at 7:50 AM Eric W. Biederman wrote: Ilya Lipnitskiy writes: On Tue, Mar 2, 2021 at 11:37 AM Eric W. Biederman

RE: [PATCH v4 3/4] locking/qspinlock: Add ARCH_USE_QUEUED_SPINLOCKS_XCHG32

2021-03-29 Thread Anup Patel
> -Original Message- > From: Guo Ren > Sent: 30 March 2021 08:44 > To: Peter Zijlstra > Cc: linux-riscv ; Linux Kernel Mailing List > ; linux-c...@vger.kernel.org; linux-arch > ; Guo Ren ; Will > Deacon ; Ingo Molnar ; Waiman > Long ; Arnd Bergmann ; Anup > Patel > Subject: Re: [PATCH

Re: [PATCH 2/4] cxl/mem: Fix cdev_device_add() error handling

2021-03-29 Thread Dan Williams
On Mon, Mar 29, 2021 at 3:44 PM Jason Gunthorpe wrote: > > On Mon, Mar 29, 2021 at 02:03:37PM -0700, Dan Williams wrote: > > > Ugh, exactly why I was motivated to attempt to preclude this with new > > core infrastructure that attempted to fix this centrally [1]. Remove > > the possibility of "oth

[PATCH v4 3/3] svm/sev: Register SEV and SEV-ES ASIDs to the misc controller

2021-03-29 Thread Vipin Sharma
Secure Encrypted Virtualization (SEV) and Secure Encrypted Virtualization - Encrypted State (SEV-ES) ASIDs are used to encrypt KVMs on AMD platform. These ASIDs are available in the limited quantities on a host. Register their capacity and usage to the misc controller for tracking via cgroups. Si

[PATCH v4 1/3] cgroup: Add misc cgroup controller

2021-03-29 Thread Vipin Sharma
The Miscellaneous cgroup provides the resource limiting and tracking mechanism for the scalar resources which cannot be abstracted like the other cgroup resources. Controller is enabled by the CONFIG_CGROUP_MISC config option. A resource can be added to the controller via enum misc_res_type{} in t

[PATCH v4 2/3] cgroup: Miscellaneous cgroup documentation.

2021-03-29 Thread Vipin Sharma
Documentation of miscellaneous cgroup controller. This new controller is used to track and limit the usage of scalar resources. Signed-off-by: Vipin Sharma Reviewed-by: David Rientjes --- Documentation/admin-guide/cgroup-v1/index.rst | 1 + Documentation/admin-guide/cgroup-v1/misc.rst | 4 +

[PATCH v3] mm: fix race by making init_zero_pfn() early_initcall

2021-03-29 Thread Ilya Lipnitskiy
There are code paths that rely on zero_pfn to be fully initialized before core_initcall. For example, wq_sysfs_init() is a core_initcall function that eventually results in a call to kernel_execve, which causes a page fault with a subsequent mmput. If zero_pfn is not initialized by then it may not

[PATCH v4 0/3] cgroup: New misc cgroup controller

2021-03-29 Thread Vipin Sharma
Hello, This patch series is creating a new misc cgroup controller for limiting and tracking of resources which are not abstract like other cgroup controllers. This controller was initially proposed as encryption_id but after the feedbacks and use cases for other resources, it is now changed to mi

Re: [PATCH] Documentation: crypto: add info about "fips=" boot option

2021-03-29 Thread Herbert Xu
On Mon, Mar 29, 2021 at 09:00:01PM -0700, Randy Dunlap wrote: > > + If fips_enabled = 1, some crypto tests are skipped. I don't think any tests are skipped. It does however disable many algorithms by essentially failing them at the testing stage. Cheers, -- Email: Herbert Xu

Re: [PATCH V8 2/8] cpufreq: mediatek: Enable clock and regulator

2021-03-29 Thread Viresh Kumar
On 23-03-21, 19:33, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > Need to enable regulator, > so that the max/min requested value will be recorded > even it is not applied right away. > > Intermediate clock is not always enabled by ccf in different projects, > so cpufreq should enable it

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
Change from using device tree (Open Firmware) APIs to the unified 'fwnode' interface. Change of_nvmem_cell_get() to fwnode_nvmem_cell_get(), and add a wrapper for of_nvmem_cell_get(). Change of_nvmem_device_get() to fwnode_nvmem_device_get(). There are no known accessors to the OF interface, so n

Re: [PATCH 2/2] gpiolib: Allow drivers to return EOPNOTSUPP from config

2021-03-29 Thread Matti Vaittinen
Morning Folks, On Mon, 2021-03-29 at 16:30 +0300, Andy Shevchenko wrote: > On Mon, Mar 29, 2021 at 03:20:07PM +0300, Matti Vaittinen wrote: > > On Mon, 2021-03-29 at 14:59 +0300, Andy Shevchenko wrote: > > > On Mon, Mar 29, 2021 at 2:43 PM Matti Vaittinen > > > wrote: > > > > The checkpacth instr

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
The original version of this patch correctly stated that the only wrapper needed was for of_nvmem_cell_get(), but included only a wrapper for of_nvmem_device_get(). Replace with the proper wrapper.

[PATCH v2] nvmem: Change to unified property interface

2021-03-29 Thread Kevin Paul Herbert
THis first version of this patch erroneously had an unnecessary wrapper for of_nvmem_device_get() even though the commentary properly stated that the only wrapper needed was of_nvmem_cell_get(). Fix the code to match the intent.

RE: [PATCH] usb: cdnsp: Fixes issue with Configure Endpoint command

2021-03-29 Thread Pawel Laszczak
Hi Peter, > >On 21-03-22 07:09:02, Pawel Laszczak wrote: >> From: Pawel Laszczak >> >> Patch adds flag EP_UNCONFIGURED to detect whether endpoint was >> unconfigured. This flag is set in cdnsp_reset_device after Reset Device >> command. Among others this command disables all non control endpoints

Re: [PATCH v4 0/5] Add Microchip PolarFire Soc Support

2021-03-29 Thread Palmer Dabbelt
On Wed, 03 Mar 2021 12:02:48 PST (-0800), Atish Patra wrote: This series adds minimal support for Microchip Polar Fire Soc Icicle kit. It is rebased on v5.12-rc1 and depends on clock support. Only MMC and ethernet drivers are enabled via this series. The idea here is to add the foundational patch

RE: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-03-29 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Tuesday, March 30, 2021 10:24 AM > > > From: Jason Gunthorpe > > Sent: Tuesday, March 30, 2021 12:32 AM > > > In terms of usage for guest SVA, an ioasid_set is mostly tied to a host > > > mm, > > > the use case is as the following: > > > > From that doc: > > > > It

  1   2   3   4   5   6   7   8   9   10   >