Re: [RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-03 Thread Michal Hocko
On Wed 04-11-20 15:38:26, Feng Tang wrote: [...] > > Could you be more specific about the usecase here? Why do you need a > > binding to a pure movable node? > > One common configuration for a platform is small size of DRAM plus huge > size of PMEM (which is slower but cheaper), and my guess of

Re: [PATCH v1 1/4] LF-2571-1: dt-bindings: soc: imx8m: add DT Binding doc for soc unique ID

2020-11-03 Thread Krzysztof Kozlowski
On Wed, 4 Nov 2020 at 04:09, Alice Guo wrote: > > Add DT Binding doc for the Unique ID of i.MX 8M series. > > Signed-off-by: Alice Guo > --- > .../bindings/soc/imx/imx8m-unique-id.yaml | 32 +++ > 1 file changed, 32 insertions(+) > create mode 100644 >

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

2020-11-03 Thread Serge Belyshev
Christophe Leroy writes: > To be sure we are not in front of a long lasting bug, could you try > CONFIG_KASAN=y on v5.9 ? Indeed it started to fail somewhere between v5.6 and v5.7. v5.7 fails early with few messages on the console with reboot, v5.8 and later hang right at bootloader. I'm

sound/soc/intel/skylake/skl-topology.c:3642:1: warning: the frame size of 1256 bytes is larger than 1024 bytes

2020-11-03 Thread kernel test robot
Hi Mateusz, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: 2d744ecf2b98405723a2138a547e5c75009bc4e5 ASoC: Intel: Skylake: Automatic DMIC format configuration

Re: [PATCH v1 0/4] change drivers/soc/imx/soc-imx8m.c to use platform driver

2020-11-03 Thread Krzysztof Kozlowski
On Wed, 4 Nov 2020 at 04:09, Alice Guo wrote: > > Directly reading ocotp register relies on bootloader to enable the ocotp > clock, > which is not always true, so we need to use nvmem API. Using nvmem API means > that driver defer probe needs to be supported. > > Alice Guo (4): > LF-2571-1:

Re: [PATCH 4.19 146/191] HID: wacom: Avoid entering wacom_wac_pen_report for pad / battery

2020-11-03 Thread Pavel Machek
Hi! > To correct this, we restore a version of the `WACOM_PAD_FIELD` check > in `wacom_wac_collection()` and return early. This effectively prevents > pad / battery collections from being reported until the very end of the > report as originally intended. Okay... but code is either wrong or very

[PATCH] binfmt_elf: simplify error handling in load_elf_phdrs()

2020-11-03 Thread Rolf Eike Beer
Signed-off-by: Rolf Eike Beer --- fs/binfmt_elf.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index b588d1291b25..74827a7a06d0 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -458,7 +458,7 @@ static struct elf_phdr

fix typos in "compress" variants

2020-11-03 Thread Rolf Eike Beer
Signed-off-by: Rolf Eike Beer --- arch/x86/kernel/head64.c | 2 +- fs/f2fs/data.c | 2 +- scripts/kallsyms.c | 2 +- scripts/spelling.txt | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c index

Re: [PATCH 0/3] Add support to handle prefetchable memory

2020-11-03 Thread Vidya Sagar
Lorenzo / Bjorn, Could you please review patches-1 & 2 in this series? For the third patch, we already went with Rob's patch @ http://patchwork.ozlabs.org/project/linux-pci/patch/20201026154852.221483-1-r...@kernel.org/ Thanks, Vidya Sagar On 10/26/2020 6:02 PM, Thierry Reding wrote: On Sat,

Re: BUG_ON(!newowner) in fixup_pi_state_owner()

2020-11-03 Thread Mike Galbraith
On Wed, 2020-11-04 at 01:56 +0100, Mike Galbraith wrote: > On Tue, 2020-11-03 at 17:31 -0600, Gratian Crisan wrote: > > Hi all, > > > > I apologize for waking up the futex demons (and replying to my own > > email), but ... > > > > Gratian Crisan writes: > > > > > > Brandon and I have been

Re: [PATCH 5.9 000/391] 5.9.4-rc1 review

2020-11-03 Thread Naresh Kamboju
On Wed, 4 Nov 2020 at 12:42, Naresh Kamboju wrote: > > On Wed, 4 Nov 2020 at 02:07, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.9.4 release. > > There are 391 patches in this series, all will be posted as a response > > to this one. If anyone has

Re: [RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-03 Thread Feng Tang
Hi Michal, Thanks for the prompt review! On Wed, Nov 04, 2020 at 08:13:08AM +0100, Michal Hocko wrote: > On Wed 04-11-20 14:10:08, Feng Tang wrote: > > Hi, > > > > This patchset tries to report a problem and get suggestion/review > > for the RFC fix patches. > > > > We recently got a OOM

[git pull] habanalabs fixes for 5.10-rc3

2020-11-03 Thread Oded Gabbay
Hello Greg, This pull request contains three small fixes for 5.10-rc3. Details are in the tag. Thanks, Oded The following changes since commit bcbc0b2e275f0a797de11a10eff495b4571863fc: mei: protect mei_cl_mtu from null dereference (2020-11-03 10:13:48 +0100) are available in the Git

Re: Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-11-03 Thread 赵仪峰
Hi Johan, On 2020/10/31 19:58, Johan Jonker wrote: >Hi Yifeng, ... >> + >> +static int rk_nfc_read_page_hwecc(struct nand_chip *chip, u8 *buf, int >> oob_on, >> +  int page) >> +{ >> +struct mtd_info *mtd = nand_to_mtd(chip); >> +struct rk_nfc *nfc = nand_get_controller_data(chip);

Re: Re: [PATCH v13 2/8] mtd: rawnand: rockchip: NFC drivers for RK3308, RK2928 and others

2020-11-03 Thread 赵仪峰
On 2020/11/3 1:11, Johan Jonker wrote: >On 11/2/20 6:00 PM, Miquel Raynal wrote: >> Hi Johan, >> >> Johan Jonker wrote on Mon, 2 Nov 2020 17:31:18 >> +0100: >> >>> On 11/2/20 2:11 PM, Johan Jonker wrote: Hi, On 11/2/20 2:07 PM, Miquel Raynal wrote: > Hi Johan, Yifeng >

Re: [PATCH v4 3/3,RESEND 2] KEYS: trusted: Reserve TPM for seal and unseal operations

2020-11-03 Thread Sumit Garg
Hi Jarkko, On Wed, 4 Nov 2020 at 06:49, Jarkko Sakkinen wrote: > > When TPM 2.0 trusted keys code was moved to the trusted keys subsystem, > the operations were unwrapped from tpm_try_get_ops() and tpm_put_ops(), > which are used to take temporarily the ownership of the TPM chip. The > ownership

Re: Linux 4.19.153

2020-11-03 Thread Pavel Machek
Hi! > I'll go do a new 4.19 release with the rest of the patches missed here, > thank you for finding this. You are welcome :-). Best regards, Pavel -- http://www.livejournal.com/~pavelmachek signature.asc Description: Digital

Re: [PATCH 4.19 000/191] 4.19.155-rc1 review

2020-11-03 Thread Pavel Machek
Hi! > This is the start of the stable review cycle for the 4.19.155 release. > There are 191 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. > > Responses should be made by Thu, 05 Nov 2020 20:29:58

Re: [RFC PATCH 2/2] mm, page_alloc: loose the node binding check to avoid helpless oom killing

2020-11-03 Thread Michal Hocko
On Wed 04-11-20 14:10:10, Feng Tang wrote: > With the incoming of memory hotplug feature and persitent memory, in > some platform there are memory nodes which only have movable zone. > > Users may bind some of their workload(like docker/container) to > these nodes, and there are many reports of

[PATCH] Input: elan_i2c - Modify the correct input of the iap page type command.

2020-11-03 Thread jingle.wu
The iap page type command of the parameter is page_size. --- drivers/input/mouse/elan_i2c.h | 2 +- drivers/input/mouse/elan_i2c_core.c | 3 ++- drivers/input/mouse/elan_i2c_i2c.c | 10 +- drivers/input/mouse/elan_i2c_smbus.c | 2 +- 4 files changed, 9 insertions(+), 8

Re: [PATCH v3 5/6] MIPS: Loongson64: SMP: Fix up play_dead jump indicator

2020-11-03 Thread Jinyang He
On 11/04/2020 03:04 PM, Jiaxun Yang wrote: 在 2020/11/4 14:31, Jinyang He 写道: Hi, all, On 11/03/2020 03:12 PM, Tiezhu Yang wrote: In play_dead function, the whole 64-bit PC mailbox was used as a indicator to determine if the master core had written boot jump information. However, after we

Re: [RFC PATCH 1/2] mm, oom: dump meminfo for all memory nodes

2020-11-03 Thread Michal Hocko
On Wed 04-11-20 14:10:09, Feng Tang wrote: > In some OOM cases, if there is memory node binding(current->mems_allowed > is not NULL), system may only print the meminfo for these bound nodes, > while other nodes' info could still be important for debugging. > > For example on a platform with one

arch/sh/kernel/cpu/sh2a/clock-sh7264.c:44:33: sparse: sparse: incorrect type in argument 1 (different base types)

2020-11-03 Thread kernel test robot
weeks ago config: sh-randconfig-s032-20201103 (attached as .config) compiler: sh4-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse

[PATCH] clk: ingenic/TCU: Remove NULL pointer check before clk_enable/disable

2020-11-03 Thread Xu Wang
Because clk_enable and clk_disable already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- drivers/clk/ingenic/tcu.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/clk/ingenic/tcu.c

Re: [RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-03 Thread Michal Hocko
On Wed 04-11-20 14:10:08, Feng Tang wrote: > Hi, > > This patchset tries to report a problem and get suggestion/review > for the RFC fix patches. > > We recently got a OOM report, that when user try to bind a docker(container) > instance to a memory node which only has movable zones, and OOM

Re: [PATCH 5.9 000/391] 5.9.4-rc1 review

2020-11-03 Thread Naresh Kamboju
On Wed, 4 Nov 2020 at 02:07, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.9.4 release. > There are 391 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. > >

sound/soc/intel/skylake/skl-topology.c:3642:1: warning: the frame size of 1256 bytes is larger than 1024 bytes

2020-11-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: 2d744ecf2b98405723a2138a547e5c75009bc4e5 ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT date: 6 months ago

[PATCH] hwmon: (pmbus) Add driver for STMicroelectronics PM6764 Voltage Regulator

2020-11-03 Thread Yungteng Hsu
Add the pmbus driver for the STMicroelectronics pm6764 voltage regulator. the output voltage use the MFR_READ_VOUT 0xD4 vout value returned is linear11 Signed-off-by: Charles Hsu --- drivers/hwmon/pmbus/Kconfig| 8 drivers/hwmon/pmbus/Makefile | 1 + drivers/hwmon/pmbus/pm6764tr.c

Re: [PATCH] PCI/ASPM: Save/restore ASPM-L1SS controls for suspend/resume

2020-11-03 Thread Vidya Sagar
Bjorn / Lorenzo, Could you please review this change? Thanks, Vidya Sagar On 10/25/2020 12:34 AM, Vidya Sagar wrote: Previously ASPM L1-Sub-States control registers (CTL1 and CTL2) weren't saved and restored during suspend/resume leading to ASPM-L1SS configuration being lost post resume. Save

[PATCH 1/2] remoteproc: qcom_q6v5_mss: Replace ioremap with memremap

2020-11-03 Thread Sibi Sankar
Fix the sparse warnings reported by the kernel test bot by replacing ioremap calls with memremap. Reported-by: kernel test robot Signed-off-by: Sibi Sankar --- I'll send out the patches to convert ioremap to memremap on other qc remoteproc drivers once I get a chance to test them.

Re: [PATCH v3 5/6] MIPS: Loongson64: SMP: Fix up play_dead jump indicator

2020-11-03 Thread Jiaxun Yang
在 2020/11/4 14:31, Jinyang He 写道: Hi, all, On 11/03/2020 03:12 PM, Tiezhu Yang wrote: In play_dead function, the whole 64-bit PC mailbox was used as a indicator to determine if the master core had written boot jump information. However, after we introduced CSR mailsend, the hardware will

[PATCH 2/2] remoteproc: qcom_q6v5_mss: map/unmap MBA region before/after use

2020-11-03 Thread Sibi Sankar
The application processor accessing the MBA region after assigning it to the remote Q6 would lead to an XPU violation. Fix this by un-mapping the MBA region post firmware copy and MBA text log dumps. Signed-off-by: Sibi Sankar --- drivers/remoteproc/qcom_q6v5_mss.c | 37

[PATCH 3/3] dmaengine: xilinx_dma: Fix SG capability check for MCDMA

2020-11-03 Thread Radhey Shyam Pandey
From: Matthew Murrian The SG capability is inherently present with Multichannel DMA operation. The register used to check for this capability with other DMA driver types is not defined for MCDMA. Fixes: 6ccd692bfb7f ("dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine driver support")

[PATCH 2/3] dmaengine: xilinx_dma: Fix usage of xilinx_aximcdma_tx_segment

2020-11-03 Thread Radhey Shyam Pandey
From: Matthew Murrian Several code sections incorrectly use struct xilinx_axidma_tx_segment instead of struct xilinx_aximcdma_tx_segment when operating as Multichannel DMA. As their structures are similar, this just works. Fixes: 6ccd692bfb7f ("dmaengine: xilinx_dma: Add Xilinx AXI MCDMA Engine

[PATCH 1/3] dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant

2020-11-03 Thread Radhey Shyam Pandey
From: Marc Ferland The xilinx_dma_poll_timeout macro is sometimes called while holding a spinlock (see xilinx_dma_issue_pending() for an example) this means we shouldn't sleep when polling the dma channel registers. To address it in xilinx poll timeout macro use readl_poll_timeout_atomic instead

[PATCH 0/3] dmaengine: xilinx_dma: mcdma fixes

2020-11-03 Thread Radhey Shyam Pandey
This patchset fixes usage of mcdma tx segment and SG capability. It also make use of readl_poll_timeout_atomic variant. Marc Ferland (1): dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant Matthew Murrian (2): dmaengine: xilinx_dma: Fix usage of xilinx_aximcdma_tx_segment

Re: [RFC]: userspace memory reaping

2020-11-03 Thread Michal Hocko
On Tue 03-11-20 13:32:28, Minchan Kim wrote: > On Tue, Nov 03, 2020 at 10:35:50AM +0100, Michal Hocko wrote: > > On Mon 02-11-20 12:29:24, Suren Baghdasaryan wrote: > > [...] > > > To follow up on this. Should I post an RFC implementing SIGKILL_SYNC > > > which in addition to sending a kill signal

Re: [PATCH bpf-next v2 7/8] bpf: Add tests for task_local_storage

2020-11-03 Thread John Fastabend
Alexei Starovoitov wrote: > On Tue, Nov 3, 2020 at 5:55 PM KP Singh wrote: > > > > [...] > > > > > > > > > > I saw the docs mention that these are not exposed to tracing programs > > > > due to > > > > insufficient preemption checks. Do you think it would be okay to allow > > > > them > > > >

Re: [PATCH 0/2] drivers/tty: delete break after return

2020-11-03 Thread Greg Kroah-Hartman
On Tue, Nov 03, 2020 at 10:33:22PM -0800, Bernard Zhao wrote: > This patch sereies delete break after return, which will never run. > > Signed-off-by: Bernard Zhao > *** BLURB HERE *** No blurb? > > Bernard Zhao (2): > drivers/tty: delete break after return > drivers/tty: delete break

drivers/scsi/lpfc/lpfc_nvme.c:879:19: warning: variable 'phba' set but not used

2020-11-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: e96a22b0b7c252295180c12128af380282e3b8c5 lpfc: Refactor Send LS Abort support date: 6 months ago config: x86_64-customedconfig-lck8195-cfld1 (attached as

[PATCH 11/15] usb: serial: ipaq: use usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrapper instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/ipaq.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 07/15] usb: serial: f81534: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/f81534.c | 63 +++-- 1

[PATCH 08/15] usb: serial: ftdi_sio: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/ftdi_sio.c | 182 +++--- 1

[PATCH 06/15] usb: serial: f81232: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/f81232.c | 88 - 1

[PATCH 13/15] usb: serial: iuu_phoenix: use usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrapper instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/iuu_phoenix.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 15/15] usb: serial: kl5kusb105: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly Signed-off-by: Himadri Pandya --- drivers/usb/serial/kl5kusb105.c | 94 +++-- 1 file

[PATCH 10/15] usb: serial: io_ti: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly Signed-off-by: Himadri Pandya --- drivers/usb/serial/io_ti.c | 28 ++-- 1 file changed,

[PATCH 12/15] usb: serial: ipw: use usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrapper instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/ipw.c | 107 +-- 1 file changed, 36 insertions(+),

[PATCH 14/15] usb: serial: keyspan_pda: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/keyspan_pda.c | 172 +-- 1

[PATCH 09/15] usb: serial: io_edgeport: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/io_edgeport.c | 73 1

[PATCH 02/15] usb: serial: belkin_sa: use usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrapper instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/belkin_sa.c | 35 +- 1 file changed, 17 insertions(+),

[PATCH 05/15] usb: serial: cypress_m8: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/cypress_m8.c | 38 + 1

[PATCH 04/15] usb: serial: cp210x: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/cp210x.c | 148 ++-- 1

[PATCH 01/15] usb: serial: ark3116: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/ark3116.c | 29 - 1 file

[PATCH 00/15] usb: serial: avoid using usb_control_msg() directly

2020-11-03 Thread Himadri Pandya
There are many usages of usb_control_msg() that can use the new wrapper functions usb_contro_msg_send() & usb_control_msg_recv() for better error checks on short reads and writes. Hence use them whenever possible and avoid using usb_control_msg() directly. Himadri Pandya (15): usb: serial:

[PATCH 03/15] usb: serial: ch314: use usb_control_msg_recv() and usb_control_msg_send()

2020-11-03 Thread Himadri Pandya
The new usb_control_msg_recv() and usb_control_msg_send() nicely wraps usb_control_msg() with proper error check. Hence use the wrappers instead of calling usb_control_msg() directly. Signed-off-by: Himadri Pandya --- drivers/usb/serial/ch341.c | 45 -- 1

[PATCH] ARM: OMAP2+: Remove redundant null check before clk_prepare_enable/clk_disable_unprepare

2020-11-03 Thread Xu Wang
Because clk_prepare_enable() and clk_disable_unprepare() already checked NULL clock parameter, so the additional checks are unnecessary, just remove them. Signed-off-by: Xu Wang --- arch/arm/mach-omap2/display.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] powerpc/32s: Setup the early hash table at all time.

2020-11-03 Thread Christophe Leroy
Le 03/11/2020 à 19:58, Serge Belyshev a écrit : Would you mind checking that with that patch reverted, you are able to boot a kernel built with CONFIG_KASAN ? I can reproduce the same problem on a powerbook G4, and no, CONFIG_KASAN=y kernel with that patch reverted also does not boot with

[PATCH v2 1/2] f2fs: avoid unneeded data copy in f2fs_ioc_move_range()

2020-11-03 Thread Chao Yu
Fields in struct f2fs_move_range won't change in f2fs_ioc_move_range(), let's avoid copying this structure's data to userspace. Signed-off-by: Chao Yu --- fs/f2fs/file.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c index 52417a2e3f4f..22ae8ae0072f

[PATCH v2 2/2] f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE

2020-11-03 Thread Chao Yu
Eric reported a ioctl bug in below link: https://lore.kernel.org/linux-f2fs-devel/20201103032234.GB2875@sol.localdomain/ That said, on some 32-bit architectures, u64 has only 32-bit alignment, notably i386 and x86_32, so that size of struct f2fs_gc_range compiled in x86_32 is 20 bytes, however

Re: [PATCH] platform/x86: dell-privacy: Add support for new privacy driver

2020-11-03 Thread kernel test robot
Hi Perry, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.10-rc2] [cannot apply to next-20201103] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

Re: [PATCH 0/4] clk: add driver for the SiFive FU740

2020-11-03 Thread Zong Li
On Fri, Oct 16, 2020 at 10:56 PM Zong Li wrote: > > On Fri, Oct 16, 2020 at 10:17 PM Sean Anderson wrote: > > > > On 10/16/20 5:18 AM, Zong Li wrote: > > > Add a driver for the SiFive FU740 PRCI IP block, which handles more > > > clocks than FU540. These patches also refactor the original > > >

[PATCH] RISC-V: Use non-PGD mappings for early DTB access

2020-11-03 Thread Anup Patel
Currently, we use PGD mappings for early DTB mapping in early_pgd but this breaks Linux kernel on SiFive Unleashed because on SiFive Unleashed PMP checks don't work correctly for PGD mappings. To fix early DTB mappings on SiFive Unleashed, we use non-PGD mappings (i.e. PMD) for early DTB access.

[PATCH 0/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
This patch sereies delete break after return, which will never run. Signed-off-by: Bernard Zhao *** BLURB HERE *** Bernard Zhao (2): drivers/tty: delete break after return drivers/tty: delete break after return drivers/tty/nozomi.c | 4 drivers/tty/serial/imx.c | 5 - 2 files

[PATCH 2/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
Delete break after return, which will never run. Signed-off-by: Bernard Zhao --- drivers/tty/serial/imx.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 1731d9728865..09703079db7b 100644 --- a/drivers/tty/serial/imx.c +++

[PATCH 1/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
Delete break after return, which will never run. Signed-off-by: Bernard Zhao --- drivers/tty/nozomi.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index d42b854cb7df..946cc16827aa 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c

[PATCH 1/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
Delete break after return, which will never run. Signed-off-by: Bernard Zhao --- drivers/tty/nozomi.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/tty/nozomi.c b/drivers/tty/nozomi.c index d42b854cb7df..946cc16827aa 100644 --- a/drivers/tty/nozomi.c +++ b/drivers/tty/nozomi.c

[PATCH 0/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
This patch sereies delete break after return, which will never run. Signed-off-by: Bernard Zhao *** BLURB HERE *** Bernard Zhao (2): drivers/tty: delete break after return drivers/tty: delete break after return drivers/tty/nozomi.c | 4 drivers/tty/serial/imx.c | 5 - 2 files

[PATCH 2/2] drivers/tty: delete break after return

2020-11-03 Thread Bernard Zhao
Delete break after return, which will never run. Signed-off-by: Bernard Zhao --- drivers/tty/serial/imx.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 1731d9728865..09703079db7b 100644 --- a/drivers/tty/serial/imx.c +++

Re: [PATCH v3 5/6] MIPS: Loongson64: SMP: Fix up play_dead jump indicator

2020-11-03 Thread Jinyang He
Hi, all, On 11/03/2020 03:12 PM, Tiezhu Yang wrote: In play_dead function, the whole 64-bit PC mailbox was used as a indicator to determine if the master core had written boot jump information. However, after we introduced CSR mailsend, the hardware will not guarante an atomic write for the

[PATCH] mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()

2020-11-03 Thread Jing Xiangfeng
htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error path. Add the missed function call to fix it. Signed-off-by: Jing Xiangfeng --- drivers/mfd/htc-i2cpld.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/htc-i2cpld.c b/drivers/mfd/htc-i2cpld.c index

[PATCH 1/2] tee: amdtee: fix memory leak due to reset of global shm list

2020-11-03 Thread Rijo Thomas
The driver maintains a list of shared memory buffers along with their mapped buffer id's in a global linked list. These buffers need to be unmapped after use by the user-space client. The global shared memory list is initialized to zero entries in the function amdtee_open(). This clearing of list

[PATCH 0/2] AMD-TEE driver bug fixes

2020-11-03 Thread Rijo Thomas
AMD-TEE driver keeps track of shared memory buffers and their corresponding buffer id's in a global linked list. These buffers are used to share data between x86 and AMD Secure Processor. This patchset fixes issues related to maintaining mapped buffers in a shared linked list. Rijo Thomas (2):

[PATCH 2/2] tee: amdtee: synchronize access to shm list

2020-11-03 Thread Rijo Thomas
Synchronize access to shm or shared memory buffer list to prevent race conditions due to concurrent updates to shared shm list by multiple threads. Fixes: 757cc3e9ff1d ("tee: add AMD-TEE driver") Reviewed-by: Devaraj Rangasamy Signed-off-by: Rijo Thomas --- drivers/tee/amdtee/amdtee_private.h

[RFC PATCH 1/2] mm, oom: dump meminfo for all memory nodes

2020-11-03 Thread Feng Tang
In some OOM cases, if there is memory node binding(current->mems_allowed is not NULL), system may only print the meminfo for these bound nodes, while other nodes' info could still be important for debugging. For example on a platform with one normal node (has DMA/DMA32/NORMAL... zones) and one

[RFC PATCH 0/2] mm: fix OOMs for binding workloads to movable zone only node

2020-11-03 Thread Feng Tang
Hi, This patchset tries to report a problem and get suggestion/review for the RFC fix patches. We recently got a OOM report, that when user try to bind a docker(container) instance to a memory node which only has movable zones, and OOM killing still can't solve the page allocation failure. The

[RFC PATCH 2/2] mm, page_alloc: loose the node binding check to avoid helpless oom killing

2020-11-03 Thread Feng Tang
With the incoming of memory hotplug feature and persitent memory, in some platform there are memory nodes which only have movable zone. Users may bind some of their workload(like docker/container) to these nodes, and there are many reports of OOM and page allocation failures, one callstack is:

[PATCH] ttyprintk: optimize tpk_close flush code

2020-11-03 Thread Junyong Sun
tpk_printk(NULL,0) do nothing but call tpk_flush to flush buffer, so why don't use tpk_flush diretcly? this is a small optimization. Signed-off-by: Junyong Sun --- drivers/char/ttyprintk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/ttyprintk.c

linux-next: Tree for Nov 4

2020-11-03 Thread Stephen Rothwell
Hi all, Changes since 20201103: The drm-intel-fixes tree gained a build failure for which I reverted a commit. The imx-mxs tree lost its build failure. The f2fs tree lost its build failure. The net-next tree gained a conflict against the net tree. The pinctrl tree still had its build failure

mmotm 2020-11-03-21-56 uploaded

2020-11-03 Thread akpm
The mm-of-the-moment snapshot 2020-11-03-21-56 has been uploaded to https://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: https://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [PATCH 1/3] hwmon: ltc2992: Add support

2020-11-03 Thread Guenter Roeck
On Thu, Oct 29, 2020 at 11:49:09AM +0200, alexandru.tach...@analog.com wrote: > From: Alexandru Tachici > > LTC2992 is a rail-to-rail system monitor that > measures current, voltage, and power of two supplies. > > Two ADCs simultaneously measure each supply’s current. > A third ADC monitors the

Re: [PATCH 0/4] aarch64: avoid mprotect(PROT_BTI|PROT_EXEC) [BZ #26831]

2020-11-03 Thread Jeremy Linton
Hi, On 11/3/20 11:34 AM, Mark Brown wrote: On Tue, Nov 03, 2020 at 10:25:37AM +, Szabolcs Nagy wrote: Re-mmap executable segments instead of mprotecting them in case mprotect is seccomp filtered. For the kernel mapped main executable we don't have the fd for re-mmap so linux needs to

Re: [PATCH -V2 2/2] autonuma: Migrate on fault among multiple bound nodes

2020-11-03 Thread Huang, Ying
Hi, Mel, Thanks for comments! Mel Gorman writes: > On Wed, Oct 28, 2020 at 10:34:11AM +0800, Huang Ying wrote: >> Now, AutoNUMA can only optimize the page placement among the NUMA nodes if >> the >> default memory policy is used. Because the memory policy specified >> explicitly >> should

[PATCH] cxgb4: Fix the -Wmisleading-indentation warning

2020-11-03 Thread xiakaixu1987
From: Kaixu Xia Fix the gcc warning: drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2673:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 2673 | for (i = 0; i < n; ++i) \ Reported-by: Tosk Robot Signed-off-by: Kaixu Xia ---

Re: [RFC PATCH] .clang-format: Remove conditional comments

2020-11-03 Thread Miguel Ojeda
Hi Joe, First of all, thanks for taking the time to write your reasoning. On Wed, Nov 4, 2020 at 5:17 AM Joe Perches wrote: > > The current kernel is v5.10 which requires clang 10.0 or higher. For building, yes. > This patch is not to be applied or backported to old kernels so no > person is

Re: [PATCH v3] hwmon: add Corsair PSU HID controller driver

2020-11-03 Thread Guenter Roeck
On Tue, Oct 27, 2020 at 02:17:10PM +0100, Wilken Gottwalt wrote: > The Corsair digital power supplies of the series RMi, HXi and AXi include > a small micro-controller with a lot of sensors attached. The sensors can > be accessed by an USB connector from the outside. > > This micro-controller

[PATCH 5/5] ASoC/SoundWire: rt711-sdca: Add RT711 SDCA vendor-specific driver

2020-11-03 Thread Bard Liao
From: Shuming Fan This is the initial codec driver for rt711 SDCA version. Signed-off-by: Shuming Fan Reviewed-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- sound/soc/codecs/Kconfig |7 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/rt711-sdca-sdw.c |

[PATCH 4/5] ASoC/SoundWire: rt1316: Add RT1316 SDCA vendor-specific driver

2020-11-03 Thread Bard Liao
From: Shuming Fan This is the initial amplifier driver for rt1316 SDCA version. Signed-off-by: Shuming Fan Reviewed-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- sound/soc/codecs/Kconfig | 6 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt1316-sdw.c | 756

[PATCH 0/5] regmap/SoundWire/ASoC: Add SoundWire SDCA support

2020-11-03 Thread Bard Liao
The MIPI SoundWire Device Class standard will define audio functionality beyond the scope of the existing SoundWire 1.2 standard, which is limited to the bus and interface. The description is inspired by the USB Audio Class, with "functions", "entities", "control selectors", "audio clusters". The

[PATCH 1/5] soundwire: SDCA: add helper macro to access controls

2020-11-03 Thread Bard Liao
From: Pierre-Louis Bossart The upcoming SDCA (SoundWire Device Class Audio) specification defines a hierarchical encoding to interface with Class-defined capabilities. The specification is not yet accessible to the general public but this information is released with explicit permission from

[PATCH 2/5] regmap/SoundWire: sdw: add support for SoundWire 1.2 MBQ

2020-11-03 Thread Bard Liao
From: Pierre-Louis Bossart The SoundWire 1.1 specification only allowed for reads and writes of bytes. The SoundWire 1.2 specification adds a new capability to transfer "Multi-Byte Quantities" (MBQ) across the bus. The transfers still happens one-byte-at-a-time, but the update is atomic. For

[PATCH 3/5] ASoC/SoundWire: rt715-sdca: First version of rt715 sdw sdca codec driver

2020-11-03 Thread Bard Liao
From: Jack Yu First version of rt715 sdw sdca codec driver. Signed-off-by: Jack Yu Reviewed-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- sound/soc/codecs/Kconfig | 7 + sound/soc/codecs/Makefile | 2 + sound/soc/codecs/rt715-sdca-sdw.c | 278 +

Re: [PATCH] ACPI: Remove trailing whitespace

2020-11-03 Thread Joe Perches
On Tue, 2020-11-03 at 22:30 +0100, Maximilian Luz wrote: > On 11/3/20 10:12 PM, Bjorn Helgaas wrote: > > On Mon, Nov 02, 2020 at 02:36:41PM +0100, Maximilian Luz wrote: > > > Remove trailing whitespace and fix some whitespace inconsitencies while > > > at it. > > > > I'm OK with this as long as

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2020-11-03 Thread kernel test robot
Hi Dongdong, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.10-rc2 next-20201103] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [perf metricgroup] fcc9c5243c: perf-sanity-tests.Parse_and_process_metrics.fail

2020-11-03 Thread kajoljain
On 11/3/20 10:24 PM, John Garry wrote: > On 03/11/2020 16:05, Ian Rogers wrote: >> On Tue, Nov 3, 2020 at 6:43 AM John Garry  wrote: >>> On 20/10/2020 17:53, Ian Rogers wrote: >> Thanks for taking a look John. If you want help you can send the >> output of "perf test 67 -vvv" to me. It

Re: [PATCH v2 1/2] media: i2c: Add driver for the Sony Exmor-RS IMX300 camera sensor

2020-11-03 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on robh/for-next linus/master v5.10-rc2 next-20201103] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

cc1: fatal error: opening output file arch/powerpc/boot/dts/fsl/.mpc8560ads.dtb.dts.tmp: No such file or directory

2020-11-03 Thread kernel test robot
Hi Masahiro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: cc8a51ca6f05ade72f7dd2624bc5f9b948e216fc kbuild: always create directories of targets date: 3 months

[RESEND PATCH v20 1/3] MAINTAINERS: da7280 updates to the Dialog Semiconductor search terms

2020-11-03 Thread Roy Im
This patch adds the da7280 bindings doc and driver to the Dialog Semiconductor support list. Signed-off-by: Roy Im --- v20: No changes. v19: No changes. v18: No changes. v17: No changes. v16: No changes. v15: No changes. v14: No changes. v13: No changes. v12: Corrected file list order. v11: No

[RESEND PATCH v20 0/3] da7280: haptic driver submission

2020-11-03 Thread Roy Im
This patch adds support for the Dialog DA7280 Haptic driver IC. In this patch set the following is provided: [PATCH v20 1/3] MAINTAINERS file update for DA7280 [PATCH v20 2/3] DA7280 DT Binding [PATCH v20 3/3] DA7280 Driver This patch applies against linux-mainline and v5.10-rc2 Thank you, Roy

[RESEND PATCH v20 3/3] Input: new da7280 haptic driver

2020-11-03 Thread Roy Im
Adds support for the Dialog DA7280 LRA/ERM Haptic Driver with multiple mode and integrated waveform memory and wideband support. It communicates via an I2C bus to the device. Reviewed-by: Jes Sorensen . Signed-off-by: Roy Im --- v20: - Simplified the code with dev_err_probe().

  1   2   3   4   5   6   7   8   9   10   >