Re: [RFC PATCH v2 2/2] kvm/arm64: Try stage2 block mapping for host device MMIO

2021-04-13 Thread Keqian Zhu
Hi Marc, On 2021/4/8 15:28, Keqian Zhu wrote: > Hi Marc, > > On 2021/4/7 21:18, Marc Zyngier wrote: >> On Tue, 16 Mar 2021 13:43:38 +, >> Keqian Zhu wrote: >>> [...] >>> >>> +/* >>> + * Find a mapping size that properly insides the intersection of vma and >>> + * memslot. And hva and pa h

Re: [RFC PATCH v5 2/4] block: add simple copy support

2021-04-13 Thread Selva Jove
I agree with you. Will remove BLKDEV_COPY_NOEMULATION. On Tue, Apr 13, 2021 at 6:03 AM Damien Le Moal wrote: > > On 2021/04/12 23:35, Selva Jove wrote: > > On Mon, Apr 12, 2021 at 5:55 AM Damien Le Moal > > wrote: > >> > >> On 2021/04/07 20:33, Selva Jove wrote: > >>> Initially I started moving

Re: [PATCH 2/4] phy: phy-can-transceiver: Add support for generic CAN transceiver driver

2021-04-13 Thread Marc Kleine-Budde
On 14.04.2021 11:54:36, Aswath Govindraju wrote: > Hi Marc, > > On 12/04/21 3:48 pm, Marc Kleine-Budde wrote: > > On 4/9/21 3:40 PM, Aswath Govindraju wrote: > >> The driver adds support for generic CAN transceivers. Currently > >> the modes supported by this driver are standby and normal modes fo

回复: Question on KASAN calltrace record in RT

2021-04-13 Thread Zhang, Qiang
发件人: Dmitry Vyukov 发送时间: 2021年4月13日 23:29 收件人: Zhang, Qiang 抄送: Andrew Halaney; andreyk...@gmail.com; ryabinin@gmail.com; a...@linux-foundation.org; linux-kernel@vger.kernel.org; kasan-...@googlegroups.com 主题: Re: Question on KASAN calltrace record

RE: [PATCH v15 00/12] SMMUv3 Nested Stage Setup (IOMMU part)

2021-04-13 Thread Shameerali Kolothum Thodi
> -Original Message- > From: wangxingang > Sent: 14 April 2021 03:36 > To: Eric Auger ; eric.auger@gmail.com; > jean-phili...@linaro.org; io...@lists.linux-foundation.org; > linux-kernel@vger.kernel.org; k...@vger.kernel.org; > kvm...@lists.cs.columbia.edu; w...@kernel.org; m...@kerne

[PATCH v2 5/5] staging: rtl8192e: removed multiple blank lines

2021-04-13 Thread Mitali Borkar
Removed multiple blank lines to make code better and neater. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/

[PATCH v2 4/5] staging: rtl8192e: rectified spelling mistake and replace memcmp with ether_oui_equal

2021-04-13 Thread Mitali Borkar
Added a generic function of static inline bool in include/linux/etherdevice.h to replace memcmp with ether_oui_equal throughout the execution. Corrected the misspelled words in this file. Signed-off-by: Mitali Borkar --- Changes from v1:- Rectified spelling mistake and replaced memcmp with ethe

[PATCH v2 3/5] staging: rtl8192e: remove unnecessary blank line after close brace

2021-04-13 Thread Mitali Borkar
Removed an extra blank line after close brace '{' as it was not necessary. Reported by checkpatch Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_HTPr

[PATCH v2 2/5] staging: rtl8192e: remove unnecessary blank line before brace

2021-04-13 Thread Mitali Borkar
Removed an extra blank line before close brace as it was not necessary. Reported by checkpatch. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 -- drivers/staging/rtl8192e/rtl819x_TSProc.c | 2 -- 2 files changed, 4 deletions(-) d

[PATCH v2 1/5] staging: rtl8192e: add spaces around binary operators

2021-04-13 Thread Mitali Borkar
Added spaces around binary operators like '+', '*', '|', '-', '&', to improve readability and to meet linux kernel coding style. Signed-off-by: Mitali Borkar --- Changes from v1:- No changes. drivers/staging/rtl8192e/rtl819x_HTProc.c | 8 drivers/staging/rtl8192e/rtl819x_TSProc.c | 8

Re: [PATCH] mac80211_hwsim: indicate support for 60GHz channels

2021-04-13 Thread Kalle Valo
Ramon Fontes writes: > Advertise 60GHz channels to mac80211. SoB missing: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#signed-off-by_missing -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documenta

Linux 5.11.14

2021-04-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.11.14 kernel. All users of the 5.11 kernel series must upgrade. The updated 5.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.11.y and can be browsed at the normal kernel.org git web browser:

Subject: [PATCH v2 0/5] staging: rtl8192e: CLeanup patchset for style issues in rtl819x_Y.c files

2021-04-13 Thread Mitali Borkar
Changes from v1:- Dropped 6/6 from and made this as a patchset of 5 as alignment of code is done in following patches. [PATCH 1/5]:- No changes. [PATCH 2/5]:- No changes. [PATCH 3/5]:- No changes. [PATCH 4/5]:- Rectified spelling mistake and replaced memcmp with ether_oui_equal. [PATCH 5/5]:- No ch

Linux 5.10.30

2021-04-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.10.30 kernel. All users of the 5.10 kernel series must upgrade. The updated 5.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.10.y and can be browsed at the normal kernel.org git web browser:

[PATCH] crypto: chelsio - remove unused function

2021-04-13 Thread Jiapeng Chong
Fix the following clang warning: drivers/crypto/chelsio/chcr_algo.c:129:19: warning: unused function 'is_ofld_imm' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/crypto/chelsio/chcr_algo.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/c

Re: [PATCH] mtd: spi-nor: macronix: Add block protection support to mx25u6435f

2021-04-13 Thread Ikjoon Jang
HI Michael, thanks for the review. On Tue, Apr 13, 2021 at 8:26 PM Michael Walle wrote: > > Hi Ikjoon, > > Am 2021-04-13 14:02, schrieb Ikjoon Jang: > > This patch adds block protection support to Macronix mx25u6432f and > > mx25u6435f. Two different chips share the same JEDEC ID while only > > m

[PATCH v2 1/4] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-13 Thread dillon . minfei
From: dillon min The DaSheng Com-9xx is and ARM based signle board computer (SBC) featuring: - i.MX6Q - 2GiB LPDDR3 DRAM - 8GiB eMMC 5.0 FLASH - 4MiB SPI Flash - USB 2.0 Host/Device - Multiple multi-protocol RS232/RS485 Serial ports - microSD socket - 5V DC power input - HDMI1.4a,1080p@60 - RGMII

[PATCH v2 3/4] media: i2c: ov2659: Add clk_prepare_enable(), clk_disable_unprepare() to handle xvclk

2021-04-13 Thread dillon . minfei
From: dillon min For power save purpose, xvclk might not be always on. need add clk_prepare_enable(), clk_disable_unprepare() at driver side to set xvclk on/off at proper stage. Add following changes: - add 'struct clk *clk' in 'struct ov2659' - enable xvclk in ov2659_power_on() - disable xvclk

[PATCH v2 4/4] dt-bindings: add dasheng vendor prefix

2021-04-13 Thread dillon . minfei
From: dillon min Add vendor prefix for DaSheng, Inc. Signed-off-by: dillon min --- v2: new add Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindin

[PATCH v2 2/4] arm: dts: imx: Add i.mx6q DaSheng COM-9XX SBC board support

2021-04-13 Thread dillon . minfei
From: dillon min The DaSheng Com-9xx is and ARM based signle board computer (SBC) featuring: - i.MX6Q - 2GiB LPDDR3 DRAM - 8GiB eMMC 5.0 FLASH - 4MiB SPI Flash - USB 2.0 Host/Device - Multiple multi-protocol RS232/RS485 Serial ports - microSD socket - 5V DC power input - HDMI1.4a,1080p@60 - RGMII

[PATCH v3 0/2] kvm/arm64: Try stage2 block mapping for host device MMIO

2021-04-13 Thread Keqian Zhu
Hi, We have two pathes to build stage2 mapping for MMIO regions. Create time's path and stage2 fault path. Patch#1 removes the creation time's mapping of MMIO regions Patch#2 tries stage2 block mapping for host device MMIO at fault path Changelog: v3: - Do not need to check memslot boundary i

[PATCH v3 2/2] kvm/arm64: Try stage2 block mapping for host device MMIO

2021-04-13 Thread Keqian Zhu
The MMIO region of a device maybe huge (GB level), try to use block mapping in stage2 to speedup both map and unmap. Compared to normal memory mapping, we should consider two more points when try block mapping for MMIO region: 1. For normal memory mapping, the PA(host physical address) and HVA ha

Re: [PATCH v2 2/9] userfaultfd/shmem: combine shmem_{mcopy_atomic,mfill_zeropage}_pte

2021-04-13 Thread Hugh Dickins
On Mon, 12 Apr 2021, Axel Rasmussen wrote: > Previously, we did a dance where we had one calling path in > userfaultfd.c (mfill_atomic_pte), but then we split it into two in > shmem_fs.h (shmem_{mcopy_atomic,mfill_zeropage}_pte), and then rejoined > into a single shared function in shmem.c (shmem_

[PATCH v3 1/2] kvm/arm64: Remove the creation time's mapping of MMIO regions

2021-04-13 Thread Keqian Zhu
The MMIO regions may be unmapped for many reasons and can be remapped by stage2 fault path. Map MMIO regions at creation time becomes a minor optimization and makes these two mapping path hard to sync. Remove the mapping code while keep the useful sanity check. Signed-off-by: Keqian Zhu --- arc

[PATCH v2 0/4] arm: imx: Add i.mx6q DaSheng COM-9XX SBC board support

2021-04-13 Thread dillon . minfei
From: dillon min This patchset aims to add kernel support on DaSheng COM-8XX SBC board optimize ov2659 driver to handle xvclk on/off at proper stage to save power changes based on master branch, since commit id: 89698becf06d341a700913c3d89ce2a914af69a2 The DaSheng Com-9xx is and ARM based signl

Re: [PATCH v2 0/2][next] wl3501_cs: Fix out-of-bounds warnings

2021-04-13 Thread Kalle Valo
"Gustavo A. R. Silva" writes: > Friendly ping: could somebody give us some feedback or take > this series, please? First patch 2 comment needs to be resolved. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpa

Re: [PATCH 3/4] dt-bindings: net: can: Document transceiver implementation as phy

2021-04-13 Thread Aswath Govindraju
Hi Rob, On 12/04/21 11:21 pm, Rob Herring wrote: > On Fri, Apr 09, 2021 at 07:10:53PM +0530, Aswath Govindraju wrote: >> From: Faiz Abbas >> >> Some transceivers need a configuration step (for example, pulling the >> standby or enable lines) for them to start sending messages. The >> transceiver

[PATCH v2 -next 1/2] ASoC: ak5558: correct reset polarity

2021-04-13 Thread Shengjiu Wang
Reset (aka power off) happens when the reset gpio is made active. The reset gpio is GPIO_ACTIVE_LOW Fixes: 920884777480 ("ASoC: ak5558: Add support for AK5558 ADC driver") Signed-off-by: Shengjiu Wang --- changes in v2: - split the patch to two patches. sound/soc/codecs/ak5558.c | 4 ++-- 1 fil

Re: [BUG] VAAPI encoder cause kernel panic if encoded video in 4K

2021-04-13 Thread Christian König
Am 13.04.21 um 23:19 schrieb Mikhail Gavrilov: On Tue, 13 Apr 2021 at 12:29, Christian König wrote: Hi Mikhail, the crash is a known issue and should be fixed by: commit f63da9ae7584280582cbc834b20cc18bfb203b14 Author: Philip Yang Date: Thu Apr 1 00:22:23 2021 -0400 drm/amdgpu: r

[PATCH v2 -next 2/2] ASoC: ak5558: change function name to ak5558_reset

2021-04-13 Thread Shengjiu Wang
Change function name to ak5558_reset to match devicetree property "reset-gpios". Signed-off-by: Shengjiu Wang --- changes in v2: - split patches to two patches sound/soc/codecs/ak5558.c | 23 +++ 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/sound/soc/codecs

Re: Linux 5.4.112

2021-04-13 Thread Greg Kroah-Hartman
diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index 4f78e9a6da60..fcafce635ff0 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethe

Linux 5.4.112

2021-04-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.112 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

[PATCH] power: supply: cpcap-battery: fix invalid usage of list cursor

2021-04-13 Thread zhuguangqing83
From: Guangqing Zhu Fix invalid usage of a list_for_each_entry in cpcap_battery_irq_thread(). When list is empty or if the list is completely traversed (without breaking from the loop on one of the entries) then the list cursor does not point to a valid entry and therefore should not be used. "if

Re: [PATCH 0/4 POC] Allow executing code and syscalls in another address space

2021-04-13 Thread Jann Horn
On Wed, Apr 14, 2021 at 7:59 AM Andrei Vagin wrote: > We already have process_vm_readv and process_vm_writev to read and write > to a process memory faster than we can do this with ptrace. And now it > is time for process_vm_exec that allows executing code in an address > space of another process.

Re: [PATCH v7 3/3] Input: add driver for the Hycon HY46XX touchpanel series

2021-04-13 Thread Peter Hutterer
On Tue, Apr 13, 2021 at 10:44:07PM -0700, Dmitry Torokhov wrote: > Hi Giulio, > > On Tue, Apr 13, 2021 at 04:44:46PM +0200, Giulio Benetti wrote: > > + > > + input_mt_report_pointer_emulation(tsdata->input, true); > > For touchscreens it does not make much sense to report BTN_DOUBLETAP, > BTN_T

Re: [PATCH] MAINTAINERS: Remove me from IDE/ATAPI section

2021-04-13 Thread Borislav Petkov
On Wed, Apr 14, 2021 at 07:39:25AM +0100, Christoph Hellwig wrote: > On Mon, Apr 12, 2021 at 11:03:46AM +0200, Borislav Petkov wrote: > > IDE/ATAPI DRIVERS > > -M: Borislav Petkov > > L: linux-...@vger.kernel.org > > S: Maintained > > F: Documentation/cdrom/ide-cd.rst > > The Maintained shoul

[PATCH] ocfs2/dlm: remove unused function

2021-04-13 Thread Jiapeng Chong
Fix the following clang warning: fs/ocfs2/dlm/dlmrecovery.c:129:20: warning: unused function 'dlm_reset_recovery' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- fs/ocfs2/dlm/dlmrecovery.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/fs/ocfs2/dlm/dlm

Re: [PATCH 1/5] uapi: remove the unused HAVE_ARCH_STRUCT_FLOCK64 define

2021-04-13 Thread Stephen Rothwell
Hi Arnd, On Mon, 12 Apr 2021 11:55:41 +0200 Arnd Bergmann wrote: > > On Mon, Apr 12, 2021 at 10:55 AM Christoph Hellwig wrote: > > > > Signed-off-by: Christoph Hellwig > > The patch looks good, but I'd like to see a description for each one. > How about: > > | The check was added when Steph

[PATCH] platform/chrome: cros_usbpd_notify: Listen to EC_HOST_EVENT_USB_MUX host event

2021-04-13 Thread Pi-Hsun Shih
On system that use ACPI, cros_usbpd_notify gets notifications of USB MUX host event same as PD host events [1]. But currently on system that use DT, the driver only listen on EC_HOST_EVENT_PD_MCU. Add EC_HOST_EVENT_USB_MUX to the list of host events, so we have same behavior on all platforms. [1]

[PATCH 3/3] um: stub_32.h: move 'inline' before 'void' to fix W=1 warning

2021-04-13 Thread Randy Dunlap
Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org --- arch/x86/um/shared/sysdep/stub_32.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210413.orig/arch/x86/um/shared/sysdep/stub_32.h +++ linux-next-20210413/arch/x86/um/shared

[PATCH 2/3] um: elf.h: fix W=1 warning for empty body in 'do' statement

2021-04-13 Thread Randy Dunlap
Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org --- arch/x86/um/asm/elf.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20210413.orig/arch/x86/um/asm/elf.h +++ linux-next-20210413/arch/x86/um/asm/elf.h @@ -212,6 +212,6 @@ extern int elf_core_copy_fpregs(struct

Re: [RFC V2 PATCH 9/12] swiotlb: Add bounce buffer remap address setting function

2021-04-13 Thread Christoph Hellwig
On Tue, Apr 13, 2021 at 11:22:14AM -0400, Tianyu Lan wrote: > From: Tianyu Lan > > For Hyper-V isolation VM with AMD SEV SNP, the bounce buffer(shared memory) > needs to be accessed via extra address space(e.g address above bit39). > Hyper-V code may remap extra address space outside of swiotlb.

[PATCH 0/3] um: headers: fix various W=1 warnings

2021-04-13 Thread Randy Dunlap
Fix a few W=1 warnings in arch/um/. Prompted by the "kernel test robot". Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org [PATCH 1/3] um: pgtable.h: fix W=1 warning for empty body in 'do' statement [PATCH 2/3] um: elf.h: fix W=1 warning for empty body in

[PATCH 1/3] um: pgtable.h: fix W=1 warning for empty body in 'do' statement

2021-04-13 Thread Randy Dunlap
, 1 insertion(+), 1 deletion(-) --- linux-next-20210413.orig/arch/um/include/asm/pgtable.h +++ linux-next-20210413/arch/um/include/asm/pgtable.h @@ -302,7 +302,7 @@ static inline pte_t pte_modify(pte_t pte struct mm_struct; extern pte_t *virt_to_pte(struct mm_struct *mm, unsigned long addr); -#def

Re: [PATCH v2 1/9] userfaultfd/hugetlbfs: avoid including userfaultfd_k.h in hugetlb.h

2021-04-13 Thread Hugh Dickins
On Mon, 12 Apr 2021, Axel Rasmussen wrote: > Minimizing header file inclusion is desirable. In this case, we can do > so just by forward declaring the enumeration our signature relies upon. > > Reviewed-by: Peter Xu > Signed-off-by: Axel Rasmussen > --- > include/linux/hugetlb.h | 4 +++- > mm

Re: [PATCH 5.4 v3 1/1] iommu/vt-d: Fix agaw for a supported 48 bit guest address width

2021-04-13 Thread Greg KH
On Mon, Apr 12, 2021 at 01:27:35PM -0700, Saeed Mirzamohammadi wrote: > The IOMMU driver calculates the guest addressability for a DMA request > based on the value of the mgaw reported from the IOMMU. However, this > is a fused value and as mentioned in the spec, the guest width > should be calcula

Re: [PATCH v1 1/3] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-13 Thread dillon min
On Wed, Apr 14, 2021 at 2:22 PM Krzysztof Kozlowski wrote: > > On 14/04/2021 08:13, dillon.min...@gmail.com wrote: > > From: dillon min > > > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > > featuring: > > - i.MX6Q > > - 2GiB LPDDR3 DRAM > > - 8GiB eMMC 5.0 FLASH > > - 4MiB

Re: [PATCH] drm/i915: Fix "mitigations" parsing if i915 is builtin

2021-04-13 Thread Jisheng Zhang
Hi Ville, On Tue, 13 Apr 2021 19:59:34 +0300 Ville Syrjälä wrote: > > > On Tue, Apr 13, 2021 at 05:02:40PM +0800, Jisheng Zhang wrote: > > I met below error during boot with i915 builtin if pass > > "i915.mitigations=off": > > [0.015589] Booting kernel: `off' invalid for parameter > > `i9

[PATCH] thermal: tegra: Use devm_platform_ioremap_resource_byname

2021-04-13 Thread dingsenjie
From: dingsenjie Use the devm_platform_ioremap_resource_byname() helper instead of calling platform_get_resource_byname() and devm_ioremap_resource() separately. Signed-off-by: dingsenjie --- drivers/thermal/tegra/soctherm.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-)

Linux 4.19.187

2021-04-13 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.187 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.19.187

2021-04-13 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index fae98a0dc155..ceec39b530bb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 186 +SUBLEVEL = 187 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/boot/dts/armada-3

Re: [PATCH] MAINTAINERS: Remove me from IDE/ATAPI section

2021-04-13 Thread Christoph Hellwig
On Mon, Apr 12, 2021 at 11:03:46AM +0200, Borislav Petkov wrote: > IDE/ATAPI DRIVERS > -M: Borislav Petkov > L: linux-...@vger.kernel.org > S: Maintained > F: Documentation/cdrom/ide-cd.rst The Maintained should also become Orphaned then.

[PATCH] bcma: remove unused function

2021-04-13 Thread Jiapeng Chong
Fix the following clang warning: drivers/bcma/driver_mips.c:55:20: warning: unused function 'mips_write32' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/bcma/driver_mips.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/bcma/driver_mip

Re: [Outreachy kernel] [PATCH] :staging: rtl8723bs: Remove useless led_blink_hdl()

2021-04-13 Thread Fabio M. De Francesco
On Wednesday, April 14, 2021 7:21:50 AM CEST Dan Carpenter wrote: > On Tue, Apr 13, 2021 at 10:08:32PM +0200, Fabio M. De Francesco wrote: > > On Tuesday, April 13, 2021 9:48:44 PM CEST Matthew Wilcox wrote: > > > On Tue, Apr 13, 2021 at 09:45:03PM +0200, Fabio M. De Francesco wrote: > > > > 1) Th

[PATCH] dm clone metadata: remove unused function

2021-04-13 Thread Jiapeng Chong
Fix the following clang warning: drivers/md/dm-clone-metadata.c:279:19: warning: unused function 'superblock_write_lock' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/md/dm-clone-metadata.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/driver

Re: [PATCH 2/2] iommu/sva: Remove mm parameter from SVA bind API

2021-04-13 Thread Lu Baolu
Hi Jacob, On 4/14/21 8:09 AM, Jacob Pan wrote: Hi Jean, On Fri, 9 Apr 2021 11:03:05 -0700, Jacob Pan wrote: problems: * We don't have a use-case for binding the mm of a remote process (and it's supposedly difficult for device drivers to do it securely). So OK, we remove the mm argument f

[PATCH] drm/i915/dp: Use slow and wide link training for DPCP rev < 1.4

2021-04-13 Thread Kai-Heng Feng
Screen flickers on Innolux panel when clock rate 54 is in use. According to the panel vendor, though clock rate 54 is advertised, but the max clock rate it really supports is 27. So use slow and wide training for panels with DPCP rev < 1.4 to resolve the issue. User also confirmed the

[PATCH] MIPS: pgtable: Add swp pte related macros definition and check

2021-04-13 Thread Youling Tang
Add definitions for the bit masks/shifts/sizes, and implement MAX_SWAPFILES_CHECK() such that we fail to build if we are unable to properly encode the swp type field. Signed-off-by: Youling Tang --- arch/mips/include/asm/pgtable-32.h | 32 arch/mips/include/asm/p

Re: [PATCH 2/4] phy: phy-can-transceiver: Add support for generic CAN transceiver driver

2021-04-13 Thread Aswath Govindraju
Hi Marc, On 12/04/21 3:48 pm, Marc Kleine-Budde wrote: > On 4/9/21 3:40 PM, Aswath Govindraju wrote: >> The driver adds support for generic CAN transceivers. Currently >> the modes supported by this driver are standby and normal modes for TI >> TCAN1042 and TCAN1043 CAN transceivers. >> >> The tra

Re: [PATCH v1 1/3] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-13 Thread Krzysztof Kozlowski
On 14/04/2021 08:13, dillon.min...@gmail.com wrote: > From: dillon min > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > featuring: > - i.MX6Q > - 2GiB LPDDR3 DRAM > - 8GiB eMMC 5.0 FLASH > - 4MiB SPI Flash > - USB 2.0 Host/Device > - Multiple multi-protocol RS232/RS485 Seria

[tip: x86/boot] x86/setup: Move trim_snb_memory() later in setup_arch() to fix boot hangs

2021-04-13 Thread tip-bot2 for Mike Rapoport
The following commit has been merged into the x86/boot branch of tip: Commit-ID: c361e5d4d07d63768880e1994c7ed999b3a94cd9 Gitweb: https://git.kernel.org/tip/c361e5d4d07d63768880e1994c7ed999b3a94cd9 Author:Mike Rapoport AuthorDate:Tue, 13 Apr 2021 21:08:39 +03:00 Committer:

[PATCH] Drivers: hv: vmbus: remove unused function

2021-04-13 Thread Jiapeng Chong
Fix the following clang warning: drivers/hv/ring_buffer.c:89:1: warning: unused function 'hv_set_next_read_location' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/hv/ring_buffer.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/hv/ri

Re: [PATCH v3 2/3] drm: bridge: add it66121 driver

2021-04-13 Thread Neil Armstrong
Hi, Le 13/04/2021 à 22:56, Paul Cercueil a écrit : > Hi Neil, > > I get build failures locally: > > drivers/gpu/drm/bridge/ite-it66121.c: In function ‘it66121_hw_reset’: > drivers/gpu/drm/bridge/ite-it66121.c:242:2: error: implicit declaration of > function ‘gpiod_set_value’ [-Werror=implicit-f

Re: [PATCH] drm/i915: Fix "mitigations" parsing if i915 is builtin

2021-04-13 Thread Jisheng Zhang
On Tue, 13 Apr 2021 19:59:34 +0300 Ville Syrjälä wrote: > > On Tue, Apr 13, 2021 at 05:02:40PM +0800, Jisheng Zhang wrote: > > I met below error during boot with i915 builtin if pass > > "i915.mitigations=off": > > [0.015589] Booting kernel: `off' invalid for parameter > > `i915.mitigations

Re: Question on KASAN calltrace record in RT

2021-04-13 Thread Mike Galbraith
On Wed, 2021-04-14 at 07:26 +0200, Dmitry Vyukov wrote: > On Wed, Apr 14, 2021 at 6:00 AM Mike Galbraith wrote: > > > [0.692437] BUG: sleeping function called from invalid context at > > kernel/locking/rtmutex.c:943 > > [0.692439] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 1,

Re: [PATCH v2 00/16] Multigenerational LRU Framework

2021-04-13 Thread Huang, Ying
Yu Zhao writes: > On Tue, Apr 13, 2021 at 8:30 PM Rik van Riel wrote: >> >> On Wed, 2021-04-14 at 09:14 +1000, Dave Chinner wrote: >> > On Tue, Apr 13, 2021 at 10:13:24AM -0600, Jens Axboe wrote: >> > >> > > The initial posting of this patchset did no better, in fact it did >> > > a bit >> > > w

[PATCH] ASoC: cs35l35: remove unused including

2021-04-13 Thread Yang Li
Fix the following versioncheck warning: ./sound/soc/codecs/cs35l35.c: 12 linux/version.h not needed. Reported-by: Abaci Robot Signed-off-by: Yang Li --- sound/soc/codecs/cs35l35.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index 55

[Outreachy kernel] [PATCH v2] staging: rtl8723bs: hal: Remove four set but not used variables

2021-04-13 Thread Fabio M. De Francesco
Removed four variables that were set but not used. Signed-off-by: Fabio M. De Francesco --- Changes from v1: deleted one blank line. drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl872

[PATCH v1 3/3] media: i2c: ov2659: Add clk_prepare_enable(), clk_disable_unprepare() to handle xvclk

2021-04-13 Thread dillon . minfei
From: dillon min For power save purpose, xvclk might not be always on. need add clk_prepare_enable(), clk_disable_unprepare() at driver side to set xvclk on/off at proper stage. Add following changes: - add 'struct clk *clk' in 'struct ov2659' - enable xvclk in ov2659_power_on() - disable xvclk

[PATCH v1 0/3] arm: imx: Add i.mx6q DaSheng COM-9XX SBC board support

2021-04-13 Thread dillon . minfei
From: dillon min This patchset aims to add kernel support on DaSheng COM-8XX SBC board optimize ov2659 driver to handle xvclk on/off at proper stage to save power changes based on master branch, since commit id: 89698becf06d341a700913c3d89ce2a914af69a2 The DaSheng Com-9xx is and ARM based signl

Re: [PATCH] Documentation: syscalls: add a note about ABI-agnostic types

2021-04-13 Thread Mauro Carvalho Chehab
Em Tue, 13 Apr 2021 21:40:20 -0700 Yury Norov escreveu: > Ping? > > On Fri, Apr 09, 2021 at 01:43:04PM -0700, Yury Norov wrote: > > Recently added memfd_secret() syscall had a flags parameter passed > > as unsigned long, which requires creation of compat entry for it. > > It was possible to chan

[PATCH v1 1/3] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-13 Thread dillon . minfei
From: dillon min The DaSheng Com-9xx is and ARM based signle board computer (SBC) featuring: - i.MX6Q - 2GiB LPDDR3 DRAM - 8GiB eMMC 5.0 FLASH - 4MiB SPI Flash - USB 2.0 Host/Device - Multiple multi-protocol RS232/RS485 Serial ports - microSD socket - 5V DC power input - HDMI1.4a,1080p@60 - RGMII

[PATCH v1 2/3] arm: dts: imx: Add i.mx6q DaSheng COM-9XX SBC board support

2021-04-13 Thread dillon . minfei
From: dillon min The DaSheng Com-9xx is and ARM based signle board computer (SBC) featuring: - i.MX6Q - 2GiB LPDDR3 DRAM - 8GiB eMMC 5.0 FLASH - 4MiB SPI Flash - USB 2.0 Host/Device - Multiple multi-protocol RS232/RS485 Serial ports - microSD socket - 5V DC power input - HDMI1.4a,1080p@60 - RGMII

Re: [PATCH v3 2/3] drm: bridge: add it66121 driver

2021-04-13 Thread Neil Armstrong
Hi Rob, Le 13/04/2021 à 22:21, Robert Foss a écrit : > Hey Neil & Phong, > > Thanks for submitting this series! > >> + >> +static const struct drm_bridge_funcs it66121_bridge_funcs = { >> + .attach = it66121_bridge_attach, >> + .enable = it66121_bridge_enable, >> + .disable = i

Re: [PATCH] usb: core: remove unused including

2021-04-13 Thread Greg KH
On Wed, Apr 14, 2021 at 02:05:40PM +0800, Yang Li wrote: > Fix the following versioncheck warning: > ./drivers/usb/core/hcd.c: 14 linux/version.h not needed. > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/usb/core/hcd.c | 1 - > 1 file changed, 1 deletion(-) I am now add

[PATCH] drm/vmwgfx: remove unused variable

2021-04-13 Thread Jiapeng Chong
Fix the following gcc warning: drivers/gpu/drm/vmwgfx/vmwgfx_kms.c:456:31: warning: variable ‘vcs’ set but not used [-Wunused-but-set-variable]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH] mm: Define ARCH_HAS_FIRST_USER_ADDRESS

2021-04-13 Thread Christophe Leroy
Le 14/04/2021 à 07:59, Anshuman Khandual a écrit : On 4/14/21 10:52 AM, Christophe Leroy wrote: Le 14/04/2021 à 04:54, Anshuman Khandual a écrit : Currently most platforms define FIRST_USER_ADDRESS as 0UL duplicating the same code all over. Instead define a new option ARCH_HAS_FIRST_USER

[PATCH v2] drm/i915: Fix "mitigations" parsing if i915 is builtin

2021-04-13 Thread Jisheng Zhang
I met below error during boot with i915 builtin if pass "i915.mitigations=off": [0.015589] Booting kernel: `off' invalid for parameter `i915.mitigations' The reason is slab subsystem isn't ready at that time, so kstrdup() returns NULL. Fix this issue by using stack var instead of kstrdup(). F

Re: [PATCH v7 3/7] mm,hugetlb: Clear HPageFreed outside of the lock

2021-04-13 Thread Michal Hocko
On Tue 13-04-21 14:19:03, Mike Kravetz wrote: > On 4/13/21 6:23 AM, Michal Hocko wrote: > > On Tue 13-04-21 12:47:43, Oscar Salvador wrote: [...] > > Or do we need it for giga pages which are not allocated by the page > > allocator? If yes then moving it to prep_compound_gigantic_page would be > >

[PATCH] usb: core: remove unused including

2021-04-13 Thread Yang Li
Fix the following versioncheck warning: ./drivers/usb/core/hcd.c: 14 linux/version.h not needed. Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/usb/core/hcd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c index 3f03813..53bc93d 1

[PATCH v2] usb: dwc3: core: Add shutdown callback for dwc3

2021-04-13 Thread Sandeep Maheswaram
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 enabled like on SC7180 SoC and few others. If the hardware is still accessing memory after SMMU translation is disabled as pa

Re: [PATCH 2/2] perf intel-pt: Use aux_watermark

2021-04-13 Thread Adrian Hunter
On 8/04/21 6:31 pm, Alexander Shishkin wrote: > Turns out, the default setting of attr.aux_watermark to half of the total > buffer size is not very useful, especially with smaller buffers. The > problem is that, after half of the buffer is filled up, the kernel updates > ->aux_head and sets up the

[PATCH v7 9/9] MAINTAINERS: Add reviewer for regulator irq_helpers

2021-04-13 Thread Matti Vaittinen
Add a reviewer entry for the regulator irq_helpers. Signed-off-by: Matti Vaittinen --- Changelog: v6: - New patch --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7fdc513392f4..c917d85feccd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1

[PATCH v7 8/9] regulator: bd9576: Fix the driver name in id table

2021-04-13 Thread Matti Vaittinen
Driver name was changed in MFD cell: https://lore.kernel.org/lkml/560b9748094392493ebf7af11b6cc558776c4fd5.1613031055.git.matti.vaitti...@fi.rohmeurope.com/ Fix the ID table to match this. Signed-off-by: Matti Vaittinen --- No changes since RFC-v2 --- drivers/regulator/bd9576-regulator.c | 4 ++-

[PATCH v7 6/9] dt-bindings: regulator: bd9576 add FET ON-resistance for OCW

2021-04-13 Thread Matti Vaittinen
BD9576MUF provides over-current protection and detection. Current is measured as voltage loss over external FET. Allow specifying FET's on resistance so current monitoring limits can be converted to voltages. Signed-off-by: Matti Vaittinen Reviewed-by: Rob Herring --- v5 onwards: - No changes

[PATCH v7 7/9] regulator: bd9576: Support error reporting

2021-04-13 Thread Matti Vaittinen
BD9573 and BD9576 support set of "protection" interrupts for "fatal" issues. Those lead to SOC reset as PMIC shuts the power outputs. Thus there is no relevant IRQ handling for them. Few "detection" interrupts were added to the BD9576 with the idea that SOC could take some recovery-action before e

Re: [PATCH] mm: Define ARCH_HAS_FIRST_USER_ADDRESS

2021-04-13 Thread Anshuman Khandual
On 4/14/21 10:52 AM, Christophe Leroy wrote: > > > Le 14/04/2021 à 04:54, Anshuman Khandual a écrit : >> Currently most platforms define FIRST_USER_ADDRESS as 0UL duplicating the >> same code all over. Instead define a new option ARCH_HAS_FIRST_USER_ADDRESS >> for those platforms which would o

[PATCH v7 4/9] regulator: IRQ based event/error notification helpers

2021-04-13 Thread Matti Vaittinen
Provide helper function for IC's implementing regulator notifications when an IRQ fires. The helper also works for IRQs which can not be acked. Helper can be set to disable the IRQ at handler and then re-enabling it on delayed work later. The helper also adds regulator_get_error_flags() errors in c

[PATCH v7 5/9] regulator: add property parsing and callbacks to set protection limits

2021-04-13 Thread Matti Vaittinen
Add DT property parsing code and setting callback for regulator over/under voltage, over-current and temperature error limits. Signed-off-by: Matti Vaittinen --- No changes since RFC-v3 --- drivers/regulator/core.c | 122 +- drivers/regulator/of_regulator.c

[PATCH] mtd: rawnand: fix an error code in nand_setup_interface()

2021-04-13 Thread Dan Carpenter
We should return an error code if the timing mode is not acknowledged by the NAND chip. Fixes: 415ae78ffb5d ("mtd: rawnand: check ONFI timings have been acked by the chip") Signed-off-by: Dan Carpenter --- >From static analysis. Not tested. drivers/mtd/nand/raw/nand_base.c | 1 + 1 file chang

Re: [syzbot] KASAN: use-after-free Read in get_wchan

2021-04-13 Thread Dmitry Vyukov
On Wed, Apr 14, 2021 at 7:52 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:b2b3d18f riscv: Make NUMA depend on MMU > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > fixes > console output: https://syzkaller.appspot.com/x/l

[PATCH 4/4] selftests: add tests for process_vm_exec

2021-04-13 Thread Andrei Vagin
Output: $ make run_tests TAP version 13 1..4 # selftests: process_vm_exec: process_vm_exec # 1..1 # ok 1 275 ns/syscall # # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0 ok 1 selftests: process_vm_exec: process_vm_exec # selftests: process_vm_exec: process_vm_exec_fault # 1..1 # o

[PATCH 3/4] arch/x86: allow to execute syscalls via process_vm_exec

2021-04-13 Thread Andrei Vagin
process_vm_exec allows to execute code in an address space of another process. It changes the current address space to the target address space and resume the current process with registers from sigcontex that is passed in the arguments. This changes adds the PROCESS_VM_EXEC_SYSCALL flag and if it

[PATCH 1/4] signal: add a helper to restore a process state from sigcontex

2021-04-13 Thread Andrei Vagin
It will be used to implement process_vm_exec. Signed-off-by: Andrei Vagin --- arch/x86/kernel/signal.c | 78 ++-- 1 file changed, 43 insertions(+), 35 deletions(-) diff --git a/arch/x86/kernel/signal.c b/arch/x86/kernel/signal.c index be0d7d4152ec..cc269a20dd

[PATCH 2/4] arch/x86: implement the process_vm_exec syscall

2021-04-13 Thread Andrei Vagin
This change introduces the new system call: process_vm_exec(pid_t pid, struct sigcontext *uctx, unsigned long flags, siginfo_t * uinfo, sigset_t *sigmask, size_t sizemask) process_vm_exec allows to execute the current process in an address space of another process. process_vm_exec

[PATCH 0/4 POC] Allow executing code and syscalls in another address space

2021-04-13 Thread Andrei Vagin
We already have process_vm_readv and process_vm_writev to read and write to a process memory faster than we can do this with ptrace. And now it is time for process_vm_exec that allows executing code in an address space of another process. We can do this with ptrace but it is much slower. = Use-cas

Re: [PATCH] riscv: locks: introduce ticket-based spinlock implementation

2021-04-13 Thread Guo Ren
On Tue, Apr 13, 2021 at 6:54 PM David Laight wrote: > > From: Catalin Marinas > > Sent: 13 April 2021 11:45 > ... > > This indeed needs some care. IIUC RISC-V has similar restrictions as arm > > here, no load/store instructions are allowed between LR and SC. You > > can't guarantee that the compil

[PATCH v7 3/9] regulator: add warning flags

2021-04-13 Thread Matti Vaittinen
Add 'warning' level events and error flags to regulator core. Current regulator core notifications are used to inform consumers about errors where HW is misbehaving in such way it is assumed to be broken/unrecoverable. There are PMICs which are designed for system(s) that may have use for regulato

Re: [PATCH net-next] net: Space: remove hp100 probe

2021-04-13 Thread Arnd Bergmann
On Wed, Apr 14, 2021, 00:42 Stephen Hemminger wrote: > > On Tue, 13 Apr 2021 16:16:17 +0200 Arnd Bergmann wrote: > > > */ > > static struct devprobe2 isa_probes[] __initdata = { > > -#if defined(CONFIG_HP100) && defined(CONFIG_ISA) /* ISA, EISA */ > > - {hp100_probe, 0}, > > -#endif >

[PATCH v7 2/9] reboot: thermal: Export hardware protection shutdown

2021-04-13 Thread Matti Vaittinen
Thermal core contains a logic for safety shutdown. System is attempted to be powered off if temperature exceeds safety limits. Currently this can be also utilized by regulator subsystem as a final protection measure if PMICs report dangerous over-voltage, over-current or over-temperature and if pe

  1   2   3   4   5   6   7   8   9   10   >