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

2021-03-30 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:

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

2021-03-30 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-30 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

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

2021-03-30 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

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

2021-03-30 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: [PATCH] implement flush_cache_vmap and flush_cache_vunmap for RISC-V

2021-03-30 Thread Alex Ghiti
Hi Jiuyang, Le 3/28/21 à 9:55 PM, Jiuyang Liu a écrit : This patch implements flush_cache_vmap and flush_cache_vunmap for RISC-V, since these functions might modify PTE. Without this patch, SFENCE.VMA won't be added to related codes, which might introduce a bug in some out-of-order

Re: [PATCH v3 06/11] perf: Add support for SIGTRAP on perf events

2021-03-30 Thread Peter Zijlstra
On Mon, Mar 29, 2021 at 04:32:18PM +0200, Marco Elver wrote: > On Mon, 29 Mar 2021 at 16:27, Oleg Nesterov wrote: > > On 03/29, Peter Zijlstra wrote: > > > > > > On Thu, Mar 25, 2021 at 09:14:39AM +0100, Marco Elver wrote: > > > > @@ -6395,6 +6395,13 @@ static void perf_sigtrap(struct perf_event

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

2021-03-30 Thread Leo Yan
On Tue, Mar 30, 2021 at 02:48:40PM +0800, Hao Fang wrote: > s/Hisilicon/HiSilicon/g. > It should use capital S, according to > https://www.hisilicon.com/en/terms-of-use. > > Signed-off-by: Hao Fang Though the kernel has tons of "Hisilicon", for this patch: Reviewed-by: Leo Yan > --- >

Re: [PATCH] staging: fbtft: change '16 bit' to '16-bit'

2021-03-30 Thread carlis
On Fri, 26 Mar 2021 15:12:07 +0100 Greg KH wrote: > On Fri, Mar 26, 2021 at 10:09:30PM +0800, Carlis wrote: > > From: "carlis.zhang_cp" > > > > Change '16 bit' to '16-bit' for a same style. > > Why? This is up to the author. > > > > > Signed-off-by: carlis.zhang_cp > > Please use a

Re: [PATCH v2] staging: fbtft: fix a typo

2021-03-30 Thread carlis
On Fri, 26 Mar 2021 14:03:34 +0100 Greg KH wrote: > On Fri, Mar 26, 2021 at 08:55:51PM +0800, Carlis wrote: > > From: Xuezhi Zhang > > > > Change 'tft' to 'TFT' > > That says what you did, but not _why_ you did it. > > And this is not a "typo", as it is not misspelled and really is just >

Re: [PATCH v2] livepatch: Replace the fake signal sending with TIF_NOTIFY_SIGNAL infrastructure

2021-03-30 Thread Jiri Kosina
On Mon, 29 Mar 2021, Miroslav Benes wrote: > Livepatch sends a fake signal to all remaining blocking tasks of a > running transition after a set period of time. It uses TIF_SIGPENDING > flag for the purpose. Commit 12db8b690010 ("entry: Add support for > TIF_NOTIFY_SIGNAL") added a generic

[GIT PULL] OP-TEE tracepoints fix for v5.13

2021-03-30 Thread Jens Wiklander
Hello arm-soc maintainers, The previous pull request for OP-TEE tracepoints introduced a build error when building whithout O=..., apparently many regression builds uses that option. Please pull this small fix for the build error. Thanks, Jens The following changes since commit

[RESEND v4 0/2] add one regulator used to power up pcie phy

2021-03-30 Thread Richard Zhu
Changes: Only add "Reviewed-by: Lucas Stach " in the first patch. No other changes. Make it easier to be integrated later. [RESEND v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to [RESEND v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is

Re: [External] Re: [PATCH v2 1/8] mm/cma: change cma mutex to irq safe spinlock

2021-03-30 Thread Muchun Song
On Tue, Mar 30, 2021 at 4:18 PM Michal Hocko wrote: > > On Tue 30-03-21 16:08:36, Muchun Song wrote: > > On Tue, Mar 30, 2021 at 4:01 PM Michal Hocko wrote: > > > > > > On Mon 29-03-21 16:23:55, Mike Kravetz wrote: > > > > Ideally, cma_release could be called from any context. However, that is

[RESEND v4 1/2] dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy

2021-03-30 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0.

[RESEND v4 2/2] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-30 Thread Richard Zhu
Both 1.8v and 3.3v power supplies can be used by i.MX8MQ PCIe PHY. In default, the PCIE_VPH voltage is suggested to be 1.8v refer to data sheet. When PCIE_VPH is supplied by 3.3v in the HW schematic design, the VREG_BYPASS bits of GPR registers should be cleared from default value 1b'1 to 1b'0.

Re: [PATCH v4 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

2021-03-30 Thread Matthias Brugger
On 01/02/2021 04:59, yz...@mediatek.com wrote: > From: Ryan Wu > > This updates dt-binding documentation for MediaTek mt8192 > > Signed-off-by: Ryan Wu Applied to v5.12-next/dts64 Please resend the DTS patch with the comments I made. > --- > This patch is based on v5.10-rc7. > --- >

Re: [PATCH] powerpc/vdso: Separate vvar vma from vdso

2021-03-30 Thread Christophe Leroy
Le 26/03/2021 à 20:17, Dmitry Safonov a écrit : Since commit 511157ab641e ("powerpc/vdso: Move vdso datapage up front") VVAR page is in front of the VDSO area. In result it breaks CRIU (Checkpoint Restore In Userspace) [1], where CRIU expects that "[vdso]" from /proc/../maps points at

Re: [PATCH 06/11] cgroup: fix -Wzero-length-bounds warnings

2021-03-30 Thread Michal Koutný
On Mon, Mar 22, 2021 at 05:02:44PM +0100, Arnd Bergmann wrote: > I'm not sure what is expected to happen for such a configuration, > presumably these functions are never calls in that case. Yes, the functions you patched would only be called from subsystems or there should be no way to obtain a

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

2021-03-30 Thread Thorsten Leemhuis
On 30.03.21 07:59, Greg KH wrote: > 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

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-30 Thread Sandeep Maheswaram
On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: This patch adds a shutdown callback to USB DWC core driver to ensure that it is properly shutdown in reboot/shutdown path. This is required where SMMU address translation is

Re: [PATCH v4 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping

2021-03-30 Thread Vinod Koul
On 15-03-21, 16:56, Srinivas Kandagatla wrote: > WSA881x SoundWire device ports are statically assigned to master ports > at design time. So add bindings required to specify these mappings! Mark, are you okay for 4, 5 to go thru sdw tree with your ack? The patches lgtm -- ~Vinod

[PATCH] dma: Fix a double free in dma_async_device_register

2021-03-30 Thread Lv Yunlong
In the first list_for_each_entry() macro of dma_async_device_register, it gets the chan from list and calls __dma_async_device_channel_register (..,chan). We can see that chan->local is allocated by alloc_percpu() and it is freed chan->local by free_percpu(chan->local) when

Re: [PATCH] soc: mediatek: mmsys: Add mt8183 mmsys routing table

2021-03-30 Thread Matthias Brugger
Hi Hsin-Yi, Patch looks good but please use the new, just merged format, see [1] Please put the defines and the routing table in a new header file mt8183-mmsys.h Thanks Matthias [1] https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/log/?h=v5.12-next/soc On 23/03/2021

[PATCH V2 1/8] dt-bindings: remoteproc: imx_rproc: add fsl,auto-boot property

2021-03-30 Thread peng . fan
From: Peng Fan Add an optional property "fsl,auto-boot" to indicate remote processor auto boot. Signed-off-by: Peng Fan --- .../devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH V2 2/8] dt-bindings: remoteproc: imx_rproc: add i.MX7ULP support

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX7ULP compatible. We use i.MX7ULP dual mode and in which case i.MX7ULP A7 core runs under control of M4 core, M4 core starts by ROM and powers most serivces used by A7 core, so A7 core has no power to start and stop M4 core. So clocks and syscon are not required.

Re: [PATCH 00/10] platform/x86: toshiba_acpi: move acpi add/remove to device-managed routines

2021-03-30 Thread Hans de Goede
Hi, On 3/30/21 11:22 AM, Alexandru Ardelean wrote: > On Tue, Mar 30, 2021 at 11:21 AM Hans de Goede wrote: >> >> Hi Alexadru, Jonathan, >> >> On 3/24/21 1:55 PM, Alexandru Ardelean wrote: >>> This changeset tries to do a conversion of the toshiba_acpi driver to use >>> only device-managed

[PATCH V2 5/8] remoteproc: imx_rproc: parse fsl,auto-boot

2021-03-30 Thread peng . fan
From: Peng Fan Parse fsl,auto-boot to indicate whether need remoteproc framework auto boot or not. When remote processor is booted before Linux Kernel up, do not parse fsl,auto-boot. So add an entry to store the working mode of remote processor. Currently only IMX_RPROC_NORMAL,

[PATCH V2 4/8] remoteproc: imx_rproc: make clk optional

2021-03-30 Thread peng . fan
From: Peng Fan To i.MX7ULP, M4 is the master to control everything, so it not need clk from A7. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/remoteproc/imx_rproc.c

[PATCH V2 3/8] dt-bindings: remoteproc: imx_rproc: support i.MX8MN/P

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX8MN/P remote processor(Cortex-M7) compatible string Signed-off-by: Peng Fan Acked-by: Rob Herring --- Documentation/devicetree/bindings/remoteproc/fsl,imx-rproc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH V2 7/8] remoteproc: imx_rproc: support i.MX7ULP

2021-03-30 Thread peng . fan
From: Peng Fan i.MX7ULP A7 core runs under control of M4 core, M4 core starts by ROM and powers most serivces used by A7 core, so A7 core has no power to start and stop M4 core. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 25 ++--- 1 file changed, 22

[PATCH V2 6/8] remoteproc: imx_rproc: initial support for mutilple start/stop method

2021-03-30 Thread peng . fan
From: Peng Fan Add three methods IMX_RPROC_NONE(no need start/stop), IMX_RPROC_MMIO(start/stop through mmio) and IMX_RPROC_SMC(start/stop through ARM SMCCC). The current SoCs supported are all using IMX_RPROC_MMIO, add a restrict in probe that only SoCs using IMX_RPROC_MMIO needs syscon regmap

Re: [PATCH resend 5/8] sched: cgroup cookie API for core scheduling

2021-03-30 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:40:17PM -0400, Joel Fernandes (Google) wrote: > From: Josh Don > > This adds the API to set/get the cookie for a given cgroup. This > interface lives at cgroup/cpu.core_tag. > > The cgroup interface can be used to toggle a unique cookie value for all > descendent

[PATCH V2 8/8] remoteproc: imx_rproc: support i.MX8MN/P

2021-03-30 Thread peng . fan
From: Peng Fan Add i.MX8MN/P remote processor(Cortex-M7) support, we are using ARM SMCCC to start/stop M core, not using regmap interface. Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 89 +++--- 1 file changed, 82 insertions(+), 7 deletions(-) diff

Re: [PATCH -next] misc/pvpanic: fix return value check in pvpanic_pci_probe()

2021-03-30 Thread Andy Shevchenko
On Tue, Mar 30, 2021 at 09:36:59AM +0800, Qiheng Lin wrote: > In case of error, the function pci_iomap() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. Error path there is broken completely, this is only one place you fix,

Re: [PATCH] mm/ksm: remove unused parameter from remove_trailing_rmap_items()

2021-03-30 Thread David Hildenbrand
On 30.03.21 09:08, Chengyang Fan wrote: Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged, remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter. So remove it, and update caller accordingly. Signed-off-by: Chengyang Fan --- mm/ksm.c | 7 +++ 1 file

[tip:timers/core] BUILD SUCCESS d4c7c28806616809e3baa0b7cd8c665516b2726d

2021-03-30 Thread kernel test robot
randconfig-a005-20210329 i386 randconfig-a001-20210329 i386 randconfig-a004-20210330 i386 randconfig-a006-20210330 i386 randconfig-a003-20210330 i386 randconfig-a002-20210330 i386 randconfig

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

2021-03-30 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

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

2021-03-30 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

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

2021-03-30 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

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

2021-03-30 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

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

2021-03-30 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: -

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

2021-03-30 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

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

2021-03-30 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-30 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

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

2021-03-30 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

Re: [PATCH] mm: gup: remove FOLL_SPLIT

2021-03-30 Thread John Hubbard
On 3/29/21 12:38 PM, Yang Shi wrote: Since commit 5a52c9df62b4 ("uprobe: use FOLL_SPLIT_PMD instead of FOLL_SPLIT") and commit ba925fa35057 ("s390/gmap: improve THP splitting") FOLL_SPLIT has not been used anymore. Remove the dead code. Signed-off-by: Yang Shi --- include/linux/mm.h | 1 -

Re: [PATCH] mm: gup: remove FOLL_SPLIT

2021-03-30 Thread John Hubbard
On 3/29/21 11:24 PM, kernel test robot wrote: 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

[PATCH] mm/ksm: remove unused parameter from remove_trailing_rmap_items()

2021-03-30 Thread Chengyang Fan
Since commit 6514d511dbe5 ("ksm: singly-linked rmap_list") was merged, remove_trailing_rmap_items() doesn't use the 'mm_slot' parameter. So remove it, and update caller accordingly. Signed-off-by: Chengyang Fan --- mm/ksm.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

Re: [PATCH v7 4/6] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-30 Thread Alexandre TORGUE
Hi Dillon On 3/30/21 4:28 AM, dillon.min...@gmail.com wrote: From: dillon min This patchset has following changes: - introduce stm32h750.dtsi to support stm32h750 value line - add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile) - add dts binding usart3 for bt, uart4 for console

Re: [PATCH 1/2] drm/ingenic: Switch IPU plane to type OVERLAY

2021-03-30 Thread Simon Ser
> It should have been an OVERLAY from the beginning. The documentation > stipulates that there should be an unique PRIMARY plane per CRTC. Thanks for the quick patch! One comment below… > Fixes: fc1acf317b01 ("drm/ingenic: Add support for the IPU") > Cc: # 5.8+ > Signed-off-by: Paul Cercueil >

Re: [PATCH v1 4/7] bus: mhi: core: Add support for Flash Programmer execution environment

2021-03-30 Thread Loic Poulain
On Tue, 30 Mar 2021 at 03:28, Bhaumik Bhatt wrote: > > From: Carl Yin > > MHI WWAN modems support downloading firmware to NAND or eMMC > using Firehose protocol with process as follows: > 1. Modem boots up, enters AMSS execution environment and the > device later enters EDL (Emergency Download)

Re: [PATCH v1 5/7] bus: mhi: core: Identify Flash Programmer as a mission mode use case

2021-03-30 Thread Loic Poulain
On Tue, 30 Mar 2021 at 03:28, Bhaumik Bhatt wrote: > > MHI power up can go through an EDL to Flash Programmer path when > the device has a blank NAND. In those cases, mhi_sync_power_up() > can timeout waiting for a mission mode execution environment. > Allow a successful power up instead by

Re: [PATCH v2 04/15] ACPI: table: replace __attribute__((packed)) by __packed

2021-03-30 Thread Zhang Rui
On Tue, 2021-03-30 at 15:31 +0800, Zhang Rui wrote: > On Tue, 2021-03-30 at 10:23 +0800, Xiaofei Tan wrote: > > Hi David, > > > > On 2021/3/29 18:09, David Laight wrote: > > > From: Xiaofei Tan > > > > Sent: 27 March 2021 07:46 > > > > > > > > Replace __attribute__((packed)) by __packed

Re: Is s390's new generic-using syscall code actually correct?

2021-03-30 Thread Sven Schnelle
Hi Andy, Andy Lutomirski writes: > On Wed, Mar 24, 2021 at 10:39 AM Vasily Gorbik wrote: >> >> Hi Andy, >> >> On Sat, Mar 20, 2021 at 08:48:34PM -0700, Andy Lutomirski wrote: >> > Hi all- >> > >> > I'm working on my kentry patchset, and I encountered: >> > >> > commit

[PATCH] riscv/kprobe: fix kernel panic when invoking sys_read traced by kprobe

2021-03-30 Thread Liao Chang
The execution of sys_read end up hitting a BUG_ON() in __find_get_block after installing kprobe at sys_read, the BUG message like the following: [ 65.708663] [ cut here ] [ 65.709987] kernel BUG at fs/buffer.c:1251! [ 65.711283] Kernel BUG [#1] [ 65.712032] Modules

Re: [PATCH v2] thermal: cpufreq_cooling: fix slab OOB issue

2021-03-30 Thread Lukasz Luba
On 3/30/21 3:51 AM, Michael Kao wrote: Dear Daniel, Kindly ping. Can this patch be merged? Or any comment? BR, Michael On Tue, 2020-12-29 at 13:08 +0800, Michael Kao wrote: Please also send it to sta...@vger.kernel.org since it affects stable versions starting from v5.7. Was applied

Re: [PATCH v5 6/9] soundwire: qcom: add support to new interrupts

2021-03-30 Thread Vinod Koul
On 26-03-21, 06:39, Srinivas Kandagatla wrote: > - ctrl->reg_write(ctrl, SWRM_INTERRUPT_CLEAR, sts); > + do { > + for (i = 0; i < SWRM_INTERRUPT_MAX; i++) { > + value = intr_sts_masked & (1 << i); BIT(i) istead of shifiting? > + if

[PATCH v8 4/6] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-30 Thread dillon . minfei
From: dillon min This patchset has following changes: - introduce stm32h750.dtsi to support stm32h750 value line - add stm32h750i-art-pi.dtb (arch/arm/boot/dts/Makefile) - add stm32h750-art-pi.dts to support art-pi board art-pi board component: - 8MiB qspi flash - 16MiB spi flash - 32MiB sdram

[PATCH v8 5/6] ARM: stm32: Add a new SOC - STM32H750

2021-03-30 Thread dillon . minfei
From: dillon min The STM32H750 is a Cortex-M7 MCU running at 480MHz and containing 128KBytes internal flash, 1MiB SRAM. Signed-off-by: dillon min --- v8: no changes arch/arm/mach-stm32/board-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-stm32/board-dt.c

Re: [PATCH v1 0/5] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-30 Thread David Hildenbrand
On 17.03.21 12:06, David Hildenbrand wrote: Excessive details on MADV_POPULATE_(READ|WRITE) can be found in patch #2. Now accompanied by minor adjustments and selftests/vm tests. RFCv2 -> v1 - "mm: fix variable name in declaration of populate_vma_page_range()" -- Added - "mm/madvise: introduce

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

2021-03-30 Thread Haojian Zhuang
On 3/30/21 2:38 PM, Hao Fang wrote: > 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

[PATCH v8 6/6] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

2021-03-30 Thread dillon . minfei
From: dillon min To use additional properties 'bluetooth' on serial, need replace false with 'type: object' for 'additionalProperties' to make it as a node, else will run into dtbs_check warnings. 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth' does not match any of

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

2021-03-30 Thread Haojian Zhuang
On 3/30/21 2:51 PM, Hao Fang wrote: > 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 +- >

[PATCH v8 1/6] Documentation: arm: stm32: Add stm32h750 value line doc

2021-03-30 Thread dillon . minfei
From: dillon min This patchset add support for soc stm32h750, stm32h750 has mirror different from stm32h743 itemstm32h743 stm32h750 flash size: 2MiB 128KiB adc:none 3 crypto-hash:none aes/hamc/des/tdes/md5/sha detail information

[PATCH v8 2/6] dt-bindings: arm: stm32: Add compatible strings for ART-PI board

2021-03-30 Thread dillon . minfei
From: dillon min Art-pi based on stm32h750xbh6, with following resources: -8MiB QSPI flash -16MiB SPI flash -32MiB SDRAM -AP6212 wifi, bt, fm detail information can be found at: https://art-pi.gitee.io/website/ Signed-off-by: dillon min Acked-by: Rob Herring --- v8: no changes

[PATCH v8 3/6] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750

2021-03-30 Thread dillon . minfei
From: dillon min This patch is intend to add support stm32h750 value line, just add stm32h7-pinctrl.dtsi for extending, with following changes: - rename stm32h743-pinctrl.dtsi to stm32h7-pinctrl.dtsi - update stm32h743i-{dico/eval}.dtsi to include stm32h7-pinctrl.dtsi - add dts binding usart3,

[PATCH v26 06/13] mm/damon: Add a tracepoint

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds a tracepoint for DAMON. It traces the monitoring results of each region for each aggregation interval. Using this, DAMON can easily integrated with tracepoints supporting tools such as perf. Signed-off-by: SeongJae Park Reviewed-by: Leonard Foerster

[PATCH v26 07/13] mm/damon: Implement a debugfs-based user space interface

2021-03-30 Thread sj38 . park
From: SeongJae Park DAMON is designed to be used by kernel space code such as the memory management subsystems, and therefore it provides only kernel space API. That said, letting the user space control DAMON could provide some benefits to them. For example, it will allow user space to analyze

[PATCH v26 08/13] mm/damon/dbgfs: Export kdamond pid to the user space

2021-03-30 Thread sj38 . park
From: SeongJae Park For CPU usage accounting, knowing pid of the monitoring thread could be helpful. For example, users could use cpuaccount cgroups with the pid. This commit therefore exports the pid of currently running monitoring thread to the user space via 'kdamond_pid' file in the

[PATCH v26 09/13] mm/damon/dbgfs: Support multiple contexts

2021-03-30 Thread sj38 . park
From: SeongJae Park In some use cases, users would want to run multiple monitoring context. For example, if a user wants a high precision monitoring and dedicating multiple CPUs for the job is ok, because DAMON creates one monitoring thread per one context, the user can split the monitoring

[PATCH v26 10/13] Documentation: Add documents for DAMON

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds documents for DAMON under `Documentation/admin-guide/mm/damon/` and `Documentation/vm/damon/`. Signed-off-by: SeongJae Park --- Documentation/admin-guide/mm/damon/guide.rst | 159 + Documentation/admin-guide/mm/damon/index.rst | 15 ++

Re: [PATCH] soundwire: cadence: only prepare attached devices on clock stop

2021-03-30 Thread Vinod Koul
On 23-03-21, 09:37, Bard Liao wrote: > From: Pierre-Louis Bossart > > We sometimes see COMMAND_IGNORED responses during the clock stop > sequence. It turns out we already have information if devices are > present on a link, so we should only prepare those when they > are attached. > > In

[PATCH v26 13/13] MAINTAINERS: Update for DAMON

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit updates MAINTAINERS file for DAMON related files. Signed-off-by: SeongJae Park --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 59c515f0ab10..978cd8088bdc 100644 --- a/MAINTAINERS +++

[PATCH v26 11/13] mm/damon: Add kunit tests

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds kunit based unit tests for the core and the virtual address spaces monitoring primitives of DAMON. Signed-off-by: SeongJae Park Reviewed-by: Brendan Higgins --- mm/damon/Kconfig | 36 + mm/damon/core-test.h | 253

[PATCH v26 12/13] mm/damon: Add user space selftests

2021-03-30 Thread sj38 . park
From: SeongJae Park This commit adds a simple user space tests for DAMON. The tests are using kselftest framework. Signed-off-by: SeongJae Park --- tools/testing/selftests/damon/Makefile| 7 ++ .../selftests/damon/_chk_dependency.sh| 28 ++

Re: [PATCH bpf-next] bpf: arm64: Redefine MOV consistent with arch insn

2021-03-30 Thread Will Deacon
On Tue, Mar 30, 2021 at 03:42:35PM +0800, Jianlin Lv wrote: > A64_MOV is currently mapped to Add Instruction. Architecturally MOV > (register) is an alias of ORR (shifted register) and MOV (to or from SP) > is an alias of ADD (immediate). > This patch redefines A64_MOV and uses existing

[tip:irq/core] BUILD SUCCESS WITH WARNING e6d46eded43dacf6370a7ae70f927ef4692cfcab

2021-03-30 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core branch HEAD: e6d46eded43dacf6370a7ae70f927ef4692cfcab genirq/irq_sim: Shrink devm_irq_domain_create_sim() possible Warning in current branch: kernel/irq/irq_sim.c:246 devm_irq_domain_create_sim() warn: passing

Re: [PATCH v1 1/7] Add Driver for SUNIX PCI(e) I/O expansion board

2021-03-30 Thread Lee Jones
On Tue, 30 Mar 2021, Moriis Ku wrote: > From: Morris A well worded, forthcoming commit message is required. > Signed-off-by: Morris > --- > spi_pack.c | 1506 > 1 file changed, 1506 insertions(+) > create mode 100644 spi_pack.c Please

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

2021-03-30 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

Re: [PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS

2021-03-30 Thread zhangjianhua (E)
hello Pavel,thanks for your reply. for  the a point, I don't know the led lists and cannot find it. for the b point, I look other configs who select LEDS_CLASS, almost all of them select NEW_LEDS,maybe you are right, CONFIG_ATH9K also need select NEW_LEDS too. Best regards, Zhang Jianhua

Re: [PATCH] perf annotate: add --demangle and --demangle-kernel

2021-03-30 Thread Martin Liška
PING^2 On 3/7/21 8:23 PM, Martin Liška wrote: Hello. May I please remind this patch. Apparently, you applied the perf-config counterpart of the patch as 804fd30c6bd9aec7859a0503581312834fb197f1 (in tmp.perf/core branch), but we miss setting the same via options. Thank you, Martin On 2/26/21

[PATCH v2 0/5] bug fix and clear coding style

2021-03-30 Thread Kai Ye
fixup coding style such as magic number and unneeded variable initialization. Clear data operation in sg buf unmap, and other misc fix. Kai Ye (5): crypto: hisilicon/sgl - fixup coding style crypto: hisilicon/sgl - delete unneeded variable initialization crypto: hisilicon/sgl - add some dfx

[PATCH v2 2/5] crypto: hisilicon/sgl - delete unneeded variable initialization

2021-03-30 Thread Kai Ye
delete unneeded variable initialization Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index bd5ef40..b816e74 100644 --- a/drivers/crypto/hisilicon/sgl.c

[PATCH v2 3/5] crypto: hisilicon/sgl - add some dfx logs

2021-03-30 Thread Kai Ye
Add some dfx logs in some abnormal exit situations. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index b816e74..4bece3d 100644 ---

[PATCH v2 4/5] crypto: hisilicon/sgl - fix the soft sg map to hardware sg

2021-03-30 Thread Kai Ye
The buffer of the hardware sge needs to be initialized by soft sgl. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index 4bece3d..c618aaf 100644 ---

[PATCH v2 1/5] crypto: hisilicon/sgl - fixup coding style

2021-03-30 Thread Kai Ye
use a macro replace of a magic number. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index 3bff639..bd5ef40 100644 ---

[PATCH v2 5/5] crypto: hisilicon/sgl - fix the sg buf unmap

2021-03-30 Thread Kai Ye
Add clear data operation for sge data. Signed-off-by: Kai Ye --- drivers/crypto/hisilicon/sgl.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sgl.c b/drivers/crypto/hisilicon/sgl.c index c618aaf..7a58ab3 100644 ---

RE: [External] Re: [PATCH v2 1/8] mm/cma: change cma mutex to irq safe spinlock

2021-03-30 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Muchun Song [mailto:songmuc...@bytedance.com] > Sent: Tuesday, March 30, 2021 9:09 PM > To: Michal Hocko > Cc: Mike Kravetz ; Linux Memory Management List > ; LKML ; Roman Gushchin > ; Shakeel Butt ; Oscar Salvador > ; David Hildenbrand ; David Rientjes > ;

Re: Is s390's new generic-using syscall code actually correct?

2021-03-30 Thread Sven Schnelle
Sven Schnelle writes: > Hi Andy, > > Andy Lutomirski writes: > >> On Wed, Mar 24, 2021 at 10:39 AM Vasily Gorbik wrote: >>> >>> Hi Andy, >>> >>> On Sat, Mar 20, 2021 at 08:48:34PM -0700, Andy Lutomirski wrote: >>> > Hi all- >>> > >>> > I'm working on my kentry patchset, and I encountered: >>>

Re: [PATCH v1 5/6] dt-bindings: memory: tegra20: emc: Convert to schema

2021-03-30 Thread Krzysztof Kozlowski
On 29/03/2021 21:46, Dmitry Osipenko wrote: > Convert Tegra20 External Memory Controller binding to schema. > > Signed-off-by: Dmitry Osipenko > --- > .../memory-controllers/nvidia,tegra20-emc.txt | 130 > .../nvidia,tegra20-emc.yaml | 294 ++ > 2

Re: [PATCH v2 5/6] usb: Iterator for ports

2021-03-30 Thread Heikki Krogerus
On Mon, Mar 29, 2021 at 02:49:46PM -0400, Alan Stern wrote: > On Mon, Mar 29, 2021 at 11:44:25AM +0300, Heikki Krogerus wrote: > > Introducing usb_for_each_port(). It works the same way as > > usb_for_each_dev(), but instead of going through every USB > > device in the system, it walks through the

Re: [PATCH v1] usb: dwc3: core: Add shutdown callback for dwc3

2021-03-30 Thread Greg Kroah-Hartman
On Tue, Mar 30, 2021 at 02:12:04PM +0530, Sandeep Maheswaram wrote: > > On 3/26/2021 7:07 PM, Greg Kroah-Hartman wrote: > > On Wed, Mar 24, 2021 at 12:57:32AM +0530, Sandeep Maheswaram wrote: > > > This patch adds a shutdown callback to USB DWC core driver to ensure that > > > it is properly

Re: [PATCH 3/3] scsi: storvsc: Validate length of incoming packet in storvsc_on_channel_callback()

2021-03-30 Thread Andrea Parri
Hi Olaf, On Mon, Mar 29, 2021 at 06:37:21PM +0200, Olaf Hering wrote: > On Thu, Dec 17, Andrea Parri (Microsoft) wrote: > > > Check that the packet is of the expected size at least, don't copy data > > past the packet. > > > + if (hv_pkt_datalen(desc) < sizeof(struct vstor_packet) - >

[PATCH v2 0/4] Add peripheral support to imx8mq-nitrogen board

2021-03-30 Thread Adrien Grassein
Hi, this patch set aims is to add support of multiple peripheral of the Boundary8M board: - USB Host; - USB device; - DB_DSIHD sub board for MIPI-DSI to HDMI output (via lt8912b chip). Updates in v2: - Use a GPIO hog to handle the USB HOST reset line; - Remove useless GPIO hog for

[PATCH v2 3/4] arm64: dts: imx8mq-nitrogen: add lt8912 MIPI-DSI to HDMI

2021-03-30 Thread Adrien Grassein
Add support of the lt8912b in the DTB. This adds the support of the DB_DSIHD daugther board from Boundary Devices. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 128 ++ 1 file changed, 128 insertions(+) diff --git

[PATCH v2 2/4] arm64: dts: imx8mq-nitrogen: add USB HOST support

2021-03-30 Thread Adrien Grassein
Add the description for the USB host port. This port is linked to a resettable USB HUB so handle this reset signal with a GPIO hog. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 30 +++ 1 file changed, 30 insertions(+) diff --git

[PATCH v2 1/4] arm64: dts: imx8mq-nitrogen: add USB OTG support

2021-03-30 Thread Adrien Grassein
Add the description for the USB OTG port. The OTG port uses a dedicated regulator for vbus. Signed-off-by: Adrien Grassein --- .../boot/dts/freescale/imx8mq-nitrogen.dts| 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts

[PATCH v2 4/4] arm64: defconfig: Enable LT8912B DRM bridge driver

2021-03-30 Thread Adrien Grassein
This driver is used by the Nitrogen8 SBC. Signed-off-by: Adrien Grassein --- arch/arm64/boot/dts/freescale/imx8mq-nitrogen.dts | 8 arch/arm64/configs/defconfig | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git

Re: [PATCH] riscv: add do_page_fault and do_trap_break into the kprobes blacklist

2021-03-30 Thread Masami Hiramatsu
On Tue, 30 Mar 2021 02:12:26 +0800 Jisheng Zhang wrote: > From: Jisheng Zhang > > These two functions are used to implement the kprobes feature so they > can't be kprobed. > Looks good to me. Reviewed-by: Masami Hiramatsu Thanks, > Fixes: c22b0bcb1dd0 ("riscv: Add kprobes supported") >

  1   2   3   4   5   6   7   8   9   10   >