Re: [PATCH] scripts: stable: add script to validate backports

2021-03-24 Thread Greg Kroah-Hartman
On Tue, Mar 23, 2021 at 01:28:38PM -0700, Nick Desaulniers wrote: > On Tue, Mar 23, 2021 at 12:05 PM Greg Kroah-Hartman > wrote: > > > > The only time git gets involved is when we do a -rc release or when we > > do a "real" release, and then we use 'git quiltimport' on the whole > > stack. > > > >

Re: [PATCH v4 1/4] drm: sun4i: dsi: Use drm_of_find_panel_or_bridge

2021-03-24 Thread Laurent Pinchart
Hi Jagan, On Wed, Mar 24, 2021 at 03:19:10PM +0530, Jagan Teki wrote: > On Wed, Mar 24, 2021 at 3:09 PM Laurent Pinchart wrote: > > On Wed, Mar 24, 2021 at 02:44:57PM +0530, Jagan Teki wrote: > > > On Wed, Mar 24, 2021 at 8:18 AM Samuel Holland wrote: > > > > On 3/23/21 5:53 PM, Laurent Pinchart w

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread Enric Balletbo i Serra
Hi Elaine, This is not the exact version I sent, and you reintroduced a "problem" that were already solved/discussed on previous versions. See below: On 24/3/21 8:16, Elaine Zhang wrote: > Convert the soc/rockchip/power_domain.txt binding document to > json-schema and move to the power bindings d

Re: [RFC PATCH 1/2] mm,drm/ttm: Block fast GUP to TTM huge pages

2021-03-24 Thread Daniel Vetter
On Tue, Mar 23, 2021 at 06:06:53PM +0100, Thomas Hellström (Intel) wrote: > > On 3/23/21 5:37 PM, Jason Gunthorpe wrote: > > On Tue, Mar 23, 2021 at 05:34:51PM +0100, Thomas Hellström (Intel) wrote: > > > > > > > @@ -210,6 +211,20 @@ static vm_fault_t ttm_bo_vm_insert_huge(struct > > > > > vm_fa

Re: [PATCH v2 04/12] module: Add printk format to add module build ID to stacktraces

2021-03-24 Thread Rasmus Villemoes
On 24/03/2021 03.04, Stephen Boyd wrote: > @@ -2778,6 +2793,10 @@ static inline void layout_symtab(struct module *mod, > struct load_info *info) > static void add_kallsyms(struct module *mod, const struct load_info *info) > { > } > + > +static void init_build_id(struct module *mod, const struc

Re: [kbuild-all] Re: include/linux/compiler_types.h:315:38: error: call to '__compiletime_assert_536' declared with attribute error: BUILD_BUG_ON failed: offsetof(struct can_frame, len) != offsetof(st

2021-03-24 Thread Marc Kleine-Budde
On 24.03.2021 10:09:22, Oliver Hartkopp wrote: > @Marc: Looks like we can not get around the __packed() fix :-( > > At least we now have some more documentation to be referenced and I would > suggest to point out that some compilers handle the union alignment like > this. It's not the compiler, b

Re: CHECKPATCH: missing a warning soon after include files decl -c

2021-03-24 Thread Fabio Aiuto
On Sat, Mar 20, 2021 at 04:28:51AM -0700, Joe Perches wrote: > > Actually, these would seem to be better as one or multiple functions with > local statics or even as static inlines functions in the .h file > > $ git grep -w RTW_WPA_OUI drivers/staging/rtl8723bs/core > drivers/staging/rtl8723bs/co

Re: [RFC PATCH 1/2] mm,drm/ttm: Block fast GUP to TTM huge pages

2021-03-24 Thread Daniel Vetter
On Tue, Mar 23, 2021 at 09:42:18PM +0100, Thomas Hellström (Intel) wrote: > > On 3/23/21 8:52 PM, Williams, Dan J wrote: > > On Sun, 2021-03-21 at 19:45 +0100, Thomas Hellström (Intel) wrote: > > > TTM sets up huge page-table-entries both to system- and device > > > memory, > > > and we don't want

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-24 Thread syzbot
Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: KASAN: use-after-free Read in bdgrab == BUG: KASAN: use-after-free in bdgrab+0x4c/0x50 fs/block_dev.c:929 Read of size 8 at addr 888016

Re: [PATCH] i915_vma: Rename vma_lookup to i915_vma_lookup

2021-03-24 Thread Daniel Vetter
On Tue, Mar 23, 2021 at 01:42:21PM +, Liam Howlett wrote: > Use i915 prefix to avoid name collision with future vma_lookup() in mm. > > Signed-off-by: Liam R. Howlett > Reviewed-by: Matthew Wilcox (Oracle) Applied to i915-gem-next branch for 5.13. We have a bit a branch shuffling going on r

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-24 Thread Leon Romanovsky
On Mon, Mar 22, 2021 at 11:10:03AM -0600, Alex Williamson wrote: > On Sun, 21 Mar 2021 10:40:55 +0200 > Leon Romanovsky wrote: > > > On Sat, Mar 20, 2021 at 08:59:42AM -0600, Alex Williamson wrote: > > > On Sat, 20 Mar 2021 11:10:08 +0200 > > > Leon Romanovsky wrote: > > > > On Fri, Mar 19, 20

Re: [PATCH] treewide: remove editor modelines and cruft

2021-03-24 Thread Geert Uytterhoeven
On Wed, Mar 24, 2021 at 10:58 AM Masahiro Yamada wrote: > The section "19) Editor modelines and other cruft" in > Documentation/process/coding-style.rst clearly says, > "Do not include any of these in source files." > > I recently receive a patch to explicitly add a new one. > > Let's do treewide

Re: [RFC PATCH 1/2] mm,drm/ttm: Block fast GUP to TTM huge pages

2021-03-24 Thread Intel
On 3/24/21 10:58 AM, Daniel Vetter wrote: On Tue, Mar 23, 2021 at 09:42:18PM +0100, Thomas Hellström (Intel) wrote: On 3/23/21 8:52 PM, Williams, Dan J wrote: On Sun, 2021-03-21 at 19:45 +0100, Thomas Hellström (Intel) wrote: TTM sets up huge page-table-entries both to system- and device mem

[PATCH] misc: rtsx: check the value returned from a function for errors before being used

2021-03-24 Thread Yang Li
Add missing return value check in pm_runtime_get disabling the sensor. The issue is reported by coverity with the following error: Medium:Unchecked return value(CHECKED_RETURN) CWE252: Value returned from a function is not checked for errors before being used. Calling "pm_runtime_get" without chec

linux-next: Tree for Mar 24

2021-03-24 Thread Stephen Rothwell
Hi all, Changes since 20210323: New tree: clk-imx The net-next tree gained conflicts against the net tree. The akpm-current tree still had its its build failure. Non-merge commits (relative to Linus' tree): 6151 6042 files changed, 383707 insertions(+), 129419 deletions(-) --

Re: [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support

2021-03-24 Thread Thomas Bogendoerfer
On Sun, Mar 21, 2021 at 08:55:37PM +0100, Maciej W. Rozycki wrote: > Hi, > > In the course of looking into Christoph's recent proposal to drop legacy > IDE drivers I have noticed that SiByte SWARM's defconfig does not enable > the pata_platform driver for the onboard PATA interface. I think de

Re: [PATCH v5 5/7] irqchip/loongson-liointc: irqchip add 2.0 version

2021-03-24 Thread Thomas Bogendoerfer
On Mon, Mar 15, 2021 at 03:50:02PM +0800, Qing Zhang wrote: > Add IO interrupt controller support for Loongson-2K1000, different > from the Loongson-3A series is that Loongson-2K1000 has 64 interrupt > sources, 0-31 correspond to the device tree liointc0 device node, and > the other correspond to l

Re: [PATCH 05/10] MIPS: switch workpad_defconfig from legacy IDE to libata

2021-03-24 Thread Thomas Bogendoerfer
On Thu, Mar 18, 2021 at 05:57:01AM +0100, Christoph Hellwig wrote: > Use libata instead of the deprecated legacy ide driver in > workpad_defconfig. > > Signed-off-by: Christoph Hellwig > --- > arch/mips/configs/workpad_defconfig | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) a

Re: [PATCH 07/10] MIPS: disable CONFIG_IDE in bigsur_defconfig

2021-03-24 Thread Thomas Bogendoerfer
On Thu, Mar 18, 2021 at 05:57:03AM +0100, Christoph Hellwig wrote: > bigsur_defconfig enables CONFIG_IDE for the tc86c001 ide driver, which > is a Toshiba plug in card that does not make much sense to use on bigsur > platforms. For all other ATA cards libata support is already enabled. > > Signed

Re: [PATCH 06/10] MIPS: disable CONFIG_IDE in rbtx49xx_defconfig

2021-03-24 Thread Thomas Bogendoerfer
On Thu, Mar 18, 2021 at 05:57:02AM +0100, Christoph Hellwig wrote: > rbtx49xx_defconfig enables CONFIG_IDE for the tx4938 and tx4939 ide > drivers, but those aren't actually used by the last known remaining user: > > https://lore.kernel.org/lkml/20210107.101729.1936921832901251107.an...@mba.ocn.ne

Re: [PATCH V2] mips: asm: octeon: A typo fix in the file cvmx-address.h

2021-03-24 Thread Thomas Bogendoerfer
On Tue, Mar 16, 2021 at 10:03:34AM +0530, Bhaskar Chowdhury wrote: > > s/techically/technically/ > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V1: > Meh, missed the changelog text, so added :) > > arch/mips/include/asm/octeon/cvmx-address.h | 2 +- > 1 file changed, 1 insertion(+

Re: [PATCH] MIPS: PCI: Fix a typo

2021-03-24 Thread Thomas Bogendoerfer
On Fri, Mar 19, 2021 at 10:45:14AM +0530, Bhaskar Chowdhury wrote: > > s/packt/packet/ > > Signed-off-by: Bhaskar Chowdhury > --- > arch/mips/pci/pci-xtalk-bridge.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pi

Re: [PATCH 04/10] MIPS: disable CONFIG_IDE in sb1250_swarm_defconfig

2021-03-24 Thread Thomas Bogendoerfer
On Thu, Mar 18, 2021 at 05:57:00AM +0100, Christoph Hellwig wrote: > sb1250_swarm_defconfig enables CONFIG_IDE but no actual host controller > driver, so just drop CONFIG_IDE, CONFIG_BLK_DEV_IDECD and > CONFIG_BLK_DEV_IDETAPE as they are useless. > > Signed-off-by: Christoph Hellwig > --- > arch

Re: [PATCH 08/10] MIPS: disable CONFIG_IDE in malta*_defconfig

2021-03-24 Thread Thomas Bogendoerfer
On Thu, Mar 18, 2021 at 05:57:04AM +0100, Christoph Hellwig wrote: > Various malta defconfigs enable CONFIG_IDE for the tc86c001 ide driver, > hich is a Toshiba plug in card that does not make much sense to use on > bigsur platforms. For all other ATA cards libata support is already > enabled. >

[tip: x86/sgx] selftests/sgx: Use getauxval() to simplify test code

2021-03-24 Thread tip-bot2 for Tianjia Zhang
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: f33dece70e11ce82a09cb1ea2d7c32347b82c67e Gitweb: https://git.kernel.org/tip/f33dece70e11ce82a09cb1ea2d7c32347b82c67e Author:Tianjia Zhang AuthorDate:Sun, 14 Mar 2021 19:16:21 +08:00 Committer:

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-24 Thread Paolo Bonzini
On 24/03/21 10:38, Kai Huang wrote: Hi Sean, Boris, Paolo, Thanks for the discussion. I tried to digest all your conversations and hopefully I have understood you correctly. I pasted the new patch here (not full patch, but relevant part only). I modified the error msg, added some writeup to Docu

Re: [RFC PATCH 2/2] integrity: double check iint_cache was initialized

2021-03-24 Thread Tetsuo Handa
On 2021/03/24 1:13, Mimi Zohar wrote: > On Wed, 2021-03-24 at 00:14 +0900, Tetsuo Handa wrote: >> On 2021/03/23 23:47, Mimi Zohar wrote: >>> Initially I also questioned making "integrity" an LSM. Perhaps it's >>> time to reconsider. For now, it makes sense to just fix the NULL >>> pointer derefe

Re: [PATCH v4 1/4] drm: sun4i: dsi: Use drm_of_find_panel_or_bridge

2021-03-24 Thread Maxime Ripard
On Wed, Mar 24, 2021 at 11:55:35AM +0200, Laurent Pinchart wrote: > Hi Jagan, > > On Wed, Mar 24, 2021 at 03:19:10PM +0530, Jagan Teki wrote: > > On Wed, Mar 24, 2021 at 3:09 PM Laurent Pinchart wrote: > > > On Wed, Mar 24, 2021 at 02:44:57PM +0530, Jagan Teki wrote: > > > > On Wed, Mar 24, 2021 a

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-24 Thread Oscar Salvador
On Tue, Mar 23, 2021 at 11:11:58AM +0100, Michal Hocko wrote: > [Sorry for a long overdue review. I didn't have time to follow previous > versions so I am sorry if some of my concerns have been discussed > already] No worries, let's go ;-) > I was playing with movable_node and performance implica

[PATCH 1/6] ASoC: fsl_esai: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with bus clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regma

[PATCH 2/6] ASoC: fsl_spdif: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with core clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regma

[PATCH 0/6] ASoC: fsl: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with ipg clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regm

[PATCH 4/6] ASoC: fsl_easrc: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with mem clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regmap_i

Re: [PATCH V3 1/2] soc: qcom-geni-se: Cleanup the code to remove proxy votes

2021-03-24 Thread rojay
On 2021-03-23 15:00, Greg KH wrote: On Mon, Mar 22, 2021 at 04:34:28PM +0530, Roja Rani Yarubandi wrote: This reverts commit 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix earlycon crash") ICC core and platforms drivers supports sync_state feature with commit 7d3b0b0d8184 ("i

[PATCH 5/6] ASoC: fsl_audmix: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with ipg clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regmap

[PATCH 6/6] ASoC: fsl_micfil: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with ipg_clk clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_reg

[PATCH 3/6] ASoC: fsl_asrc: Don't use devm_regmap_init_mmio_clk

2021-03-24 Thread Shengjiu Wang
When there is power domain bind with mem clock, The call flow: devm_regmap_init_mmio_clk - clk_prepare() - clk_pm_runtime_get() cause the power domain of clock always be enabled after regmap_init(). which impact the power consumption. So use devm_regmap_init_mmio instead of devm_regmap

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread elaine.zhang
Hi, Johan: 在 2021/3/24 下午5:17, Johan Jonker 写道: Hi Elaine, >From Rob's build log it turns out that 2 more properties must be added. Add these new properties in separate patch. Retest with commands below. See rk3288.dtsi assigned-clocks = <&cru SCLK_EDP_24M>;

Re: [PATCH] irqchip/gic-v3: fix OF_BAD_ADDR error handling

2021-03-24 Thread Marc Zyngier
On Tue, 23 Mar 2021 22:06:22 +, Nick Desaulniers wrote: > > On Tue, Mar 23, 2021 at 6:18 AM Arnd Bergmann wrote: > > > > From: Arnd Bergmann > > > > When building with extra warnings enabled, clang points out a > > mistake in the error handling: > > > > drivers/irqchip/irq-gic-v3-mbi.c:306:

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

2021-03-24 Thread guoren
From: Guo Ren This patch introduces a ticket lock implementation for riscv, along the same lines as the implementation for arch/arm & arch/csky. Signed-off-by: Guo Ren Cc: Catalin Marinas Cc: Will Deacon Cc: Peter Zijlstra Cc: Palmer Dabbelt Cc: Anup Patel Cc: Arnd Bergmann --- arch/risc

Re: [PATCH] misc: rtsx: check the value returned from a function for errors before being used

2021-03-24 Thread Greg KH
On Wed, Mar 24, 2021 at 06:05:58PM +0800, Yang Li wrote: > Add missing return value check in pm_runtime_get disabling the > sensor. The issue is reported by coverity with the following error: > > Medium:Unchecked return value(CHECKED_RETURN) > CWE252: Value returned from a function is not checked

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread elaine.zhang
Hi,  Enric 在 2021/3/24 下午5:56, Enric Balletbo i Serra 写道: Hi Elaine, This is not the exact version I sent, and you reintroduced a "problem" that were already solved/discussed on previous versions. See below: On 24/3/21 8:16, Elaine Zhang wrote: Convert the soc/rockchip/power_domain.txt bindin

Re: [PATCH v3 3/4] kernel/smp: add more data to CSD lock debugging

2021-03-24 Thread Jürgen Groß
On 02.03.21 07:28, Juergen Gross wrote: In order to help identifying problems with IPI handling and remote function execution add some more data to IPI debugging code. There have been multiple reports of cpus looping long times (many seconds) in smp_call_function_many() waiting for another cpu e

[RESEND PATCH V3 2/2] arm64: dts: qcom: sc7180: Remove QUP-CORE ICC path

2021-03-24 Thread Roja Rani Yarubandi
We had introduced the QUP-CORE ICC path to put proxy votes from QUP wrapper on behalf of earlycon, if other users of QUP-CORE turn off this clock before the real console is probed, unclocked access to HW was seen from earlycon. With ICC sync state support proxy votes are no longer need as ICC will

[RESEND PATCH V3 0/2] Separate out earlycon

2021-03-24 Thread Roja Rani Yarubandi
Resending V3 with adding Fixes and cc tag. This patch depends on both the below patches: interconnect: qcom: Ensure that the floor bandwidth value is enforced interconnect: qcom: Use icc_sync_state Roja Rani Yarubandi (2): soc: qcom-geni-se: Cleanup the code to remove proxy votes arm64: dts:

Linux 4.4.263

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

[RESEND PATCH V3 1/2] soc: qcom-geni-se: Cleanup the code to remove proxy votes

2021-03-24 Thread Roja Rani Yarubandi
This reverts commit 048eb908a1f2 ("soc: qcom-geni-se: Add interconnect support to fix earlycon crash") ICC core and platforms drivers supports sync_state feature, which ensures that the default ICC BW votes from the bootloader is not removed until all it's consumers are probes. The proxy votes we

Re: Linux 4.9.263

2021-03-24 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index be5eac0a12d3..80b265a383bb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 262 +SUBLEVEL = 263 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/x86/events/intel/ds.c b/arch/x86/events/intel/ds.c index f56

Re: Linux 4.4.263

2021-03-24 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 11acd6dd024a..3f578adbe7fe 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 262 +SUBLEVEL = 263 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c

Linux 4.9.263

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

[PATCH v1] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-24 Thread Robert Foss
Add myself as co-maintainer of DRM Bridge Drivers. Repository commit access has already been granted. https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/338 Cc: Neil Armstrong Cc: Laurent Pinchart Cc: Jonas Karlman Cc: Andrzej Hajda Cc: Jernej Škrabec Cc: Daniel Vetter Signed-o

Re: [PATCH] ia64: mca: allocate early mca with GFP_ATOMIC

2021-03-24 Thread John Paul Adrian Glaubitz
Hi Sergei! On 3/23/21 6:47 PM, Sergei Trofimovich wrote: > On Tue, 23 Mar 2021 16:15:06 +0100 > John Paul Adrian Glaubitz wrote: > >> Hi Andrew! >> >> On 3/15/21 9:50 AM, Sergei Trofimovich wrote: >>> The sleep warning happens at early boot right at >>> secondary CPU activation bootup: >>> >>>

Re: [PATCH v3] mmc: sdhci-of-dwcmshc: add ACPI support for BlueField-3 SoC

2021-03-24 Thread Ulf Hansson
On Mon, 22 Mar 2021 at 23:47, Liming Sun wrote: > > This commit adds ACPI support in the sdhci-of-dwcmshc driver for > BlueField-3 SoC. It has changes to only use the clock hierarchy > for Deviec Tree since the clk is not supported by ACPI. Instead, > ACPI can define 'clock-frequency' which is par

Re: [PATCH] mmc: sdhci-of-dwcmshc: set MMC_CAP_WAIT_WHILE_BUSY

2021-03-24 Thread Ulf Hansson
On Wed, 24 Mar 2021 at 08:47, Jisheng Zhang wrote: > > The host supports HW busy detection of the device busy signaling over > dat0 line. Set MMC_CAP_wAIT_WHILE_BUSY host capability. > > Signed-off-by: Jisheng Zhang Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/sdhci-o

[tip:tmp.tmp 15/21] kernel/rcu/../locking/rtmutex_common.h:58:28: error: no member named 'pi_waiters' in 'struct task_struct'

2021-03-24 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tmp.tmp head: 5965a7adbd72dd9b288c0911cb73719fed1efa08 commit: 18970ac4e37011fd0c709b6c2a640f01eecf2dd7 [15/21] locking/rtmutex: Remove pointless CONFIG_RT_MUTEXES=n stubs config: s390-randconfig-r034-20210324 (attached as

Re: [PATCH] mmc: sdhci: replace mmc->parent with mmc_dev() for consistency

2021-03-24 Thread Ulf Hansson
On Wed, 24 Mar 2021 at 08:50, Jisheng Zhang wrote: > > As pointed out by Ulf, "both "mmc->parent" and mmc_dev(mmc) are being > used in the entire c-file". Convert all the mmc->parent usage in all > sdhci host driver to mmc_dev() for consistency. > > Suggested-by: Ulf Hansson > Signed-off-by: Jish

Re: [PATCH v1] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-24 Thread Neil Armstrong
Hi ! On 24/03/2021 11:20, Robert Foss wrote: > Add myself as co-maintainer of DRM Bridge Drivers. Repository > commit access has already been granted. > > https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/338 > > Cc: Neil Armstrong > Cc: Laurent Pinchart > Cc: Jonas Karlman > Cc

Linux 4.19.183

2021-03-24 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.183 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

Linux 4.14.227

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

Re: Linux 4.14.227

2021-03-24 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 0e546913f1c4..60506b154d53 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 226 +SUBLEVEL = 227 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/x86/events/intel/ds.c b/

Re: Linux 4.19.183

2021-03-24 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 5956638e0f4d..9347445b2027 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 182 +SUBLEVEL = 183 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/powerpc/include/asm/c

[PATCH v1 0/3] drivers/char: remove /dev/kmem for good

2021-03-24 Thread David Hildenbrand
Let's remove /dev/kmem, which is unused and obsolete. Description from patch #1: " Exploring /dev/kmem and /dev/mem in the context of memory hot(un)plug and memory ballooning, I started questioning the existance of /dev/kmem. Comparing it with the /proc/kcore implementation, it does not seem to b

[PATCH v1 1/3] drivers/char: remove /dev/kmem for good

2021-03-24 Thread David Hildenbrand
Exploring /dev/kmem and /dev/mem in the context of memory hot(un)plug and memory ballooning, I started questioning the existance of /dev/kmem. Comparing it with the /proc/kcore implementation, it does not seem to be able to deal with things like a) Pages unmapped from the direct mapping (e.g., to

[PATCH v1 3/3] mm/vmalloc: remove vwrite()

2021-03-24 Thread David Hildenbrand
The last user (/dev/kmem) is gone. Let's drop it. Cc: Linus Torvalds Cc: Greg Kroah-Hartman Cc: Andrew Morton Cc: Hillf Danton Cc: Michal Hocko Cc: Matthew Wilcox Cc: Oleksiy Avramchenko Cc: Steven Rostedt Cc: Minchan Kim Cc: huang ying Signed-off-by: David Hildenbrand --- include/linu

Re: [PATCH 2/2] power: supply: axp20x_usb_power: fix work-queue init

2021-03-24 Thread Sebastian Reichel
Hi, On Wed, Mar 24, 2021 at 11:21:34AM +0200, Matti Vaittinen wrote: > The commit 6d0c5de2fd84 > ("power: supply: Clean-up few drivers by using managed work init") > Re-introduced wrong order of initializing work-queue and requesting > the IRQs which was originally fixed by the commit b5e8642ed95f

Re: RE: [PATCH] video/fbdev: Fix a double free in hvfb_probe

2021-03-24 Thread lyl2019
> -原始邮件- > 发件人: "Michael Kelley" > 发送时间: 2021-03-24 02:52:07 (星期三) > 收件人: "Lv Yunlong" , "KY Srinivasan" > , "Haiyang Zhang" , "Stephen > Hemminger" , "wei@kernel.org" > 抄送: "linux-hyp...@vger.kernel.org" , > "dri-de...@lists.freedesktop.org" , > "linux-fb...@vger.kernel.org" ,

Re: [PATCH v4] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-24 Thread Lee Jones
On Mon, 15 Mar 2021, Andreas Kemnade wrote: > Add the version of the EC in the Tolino Shine 2 HD > to the supported versions. It seems not to have an RTC > and does not ack data written to it. > The vendor kernel happily ignores write errors, using > I2C via userspace i2c-set also shows the error.

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread Enric Balletbo i Serra
Hi Elaine, On 24/3/21 11:18, elaine.zhang wrote: > Hi,  Enric > > 在 2021/3/24 下午5:56, Enric Balletbo i Serra 写道: >> Hi Elaine, >> >> This is not the exact version I sent, and you reintroduced a "problem" that >> were >> already solved/discussed on previous versions. See below: >> >> On 24/3/21 8

[PATCH] ceph: convert {n}ref from atomic_t to refcount_t

2021-03-24 Thread Yejune Deng
refcount_t type should be used instead of atomic_t when the variable is used as a reference counter. This is because the implementation of refcount_t can prevent overflows and detect possible use-after-free. Signed-off-by: Yejune Deng --- fs/ceph/mds_client.h | 2 +- fs/ceph/snap.c | 27 +

Re: [PATCH v1] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-24 Thread Maxime Ripard
On Wed, Mar 24, 2021 at 11:20:19AM +0100, Robert Foss wrote: > Add myself as co-maintainer of DRM Bridge Drivers. Repository > commit access has already been granted. > > https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/338 > > Cc: Neil Armstrong > Cc: Laurent Pinchart > Cc: Jona

Re: [PATCH 5.4 00/24] 5.4.105-rc1 review

2021-03-24 Thread Greg KH
On Tue, Mar 23, 2021 at 10:20:27AM -0700, Florian Fainelli wrote: > > > On 3/15/2021 2:50 AM, Pali Rohár wrote: > > On Friday 12 March 2021 12:54:18 Alexander Lobakin wrote: > >> From: Florian Fainelli > >> Date: Thu, 11 Mar 2021 09:41:27 -0800 > >> > >> Hi Florian, > >> > >>> On 3/11/21 9:40 AM

Re: [PATCH v1] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-24 Thread Laurent Pinchart
Hi Rob, On Wed, Mar 24, 2021 at 11:20:19AM +0100, Robert Foss wrote: > Add myself as co-maintainer of DRM Bridge Drivers. Repository > commit access has already been granted. > > https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/338 > > Cc: Neil Armstrong > Cc: Laurent Pinchart >

Re: [PATCH v2 2/2] mfd: intel_quark_i2c_gpio: enable MSI interrupt

2021-03-24 Thread Lee Jones
On Tue, 23 Mar 2021, Andy Shevchenko wrote: > Allow interrupts to be MSI if supported by hardware. > > Signed-off-by: Andy Shevchenko > --- > v2: new patch > drivers/mfd/intel_quark_i2c_gpio.c | 21 +++-- > 1 file changed, 15 insertions(+), 6 deletions(-) > > diff --git a/drive

Re: [PATCH v2 1/2] mfd: intel_quark_i2c_gpio: Reuse BAR definitions for MFD cell indexing

2021-03-24 Thread Lee Jones
On Tue, 23 Mar 2021, Andy Shevchenko wrote: > It's convenient and less error prone to use definitions to address > different cells in an array. For this purpose we may reuse existing > BAR definitions. > > Signed-off-by: Andy Shevchenko > --- > v2: used explicit indices for MFD cells in the arra

Re: [RFC] mm: activate access-more-than-once page via NUMA balancing

2021-03-24 Thread Mel Gorman
On Wed, Mar 24, 2021 at 04:32:09PM +0800, Huang Ying wrote: > One idea behind the LRU page reclaiming algorithm is to put the > access-once pages in the inactive list and access-more-than-once pages > in the active list. This is true for the file pages that are accessed > via syscall (read()/write

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread Johan Jonker
Hi all, Could Heiko and Rob advise if all these power-controller dtsi subnode names should be changed? Thanks! On 3/24/21 11:14 AM, elaine.zhang wrote: > Hi, Johan: > > 在 2021/3/24 下午5:17, Johan Jonker 写道: >> Hi Elaine, >> >> >From Rob's build log it turns out that 2 more properties must be add

Re: [PATCH v4 2/4] dt-bindings: power: rockchip: Convert to json-schema

2021-03-24 Thread Enric Balletbo i Serra
On 24/3/21 11:25, Enric Balletbo i Serra wrote: > Hi Elaine, > > On 24/3/21 11:18, elaine.zhang wrote: >> Hi,  Enric >> >> 在 2021/3/24 下午5:56, Enric Balletbo i Serra 写道: >>> Hi Elaine, >>> >>> This is not the exact version I sent, and you reintroduced a "problem" that >>> were >>> already solv

Re: [PATCH v3] usb: dwc3: gadget: Prevent EP queuing while stopping transfers

2021-03-24 Thread Marek Szyprowski
Hi Wesley, On 23.03.2021 22:53, Wesley Cheng wrote: > On 3/23/2021 10:27 AM, Andy Shevchenko wrote: >> On Tue, Mar 23, 2021 at 1:19 AM Wesley Cheng wrote: >>> On 3/22/2021 2:14 PM, Andy Shevchenko wrote: On Mon, Mar 22, 2021 at 10:06 PM Wesley Cheng wrote: > On 3/22/2021 12:34 PM,

Re: [PATCH] block/rnbd-clt: fix overlapping snprintf arguments

2021-03-24 Thread Jinpu Wang
On Tue, Mar 23, 2021 at 1:55 PM Arnd Bergmann wrote: > > From: Arnd Bergmann > > The -Wrestrict warning (disabled by default) points out undefined > behavior calling snprintf(): > > drivers/block/rnbd/rnbd-clt-sysfs.c: In function 'rnbd_clt_get_path_name': > drivers/block/rnbd/rnbd-clt-sysfs.c:48

Re: [PATCH 1/2] net: ipv4: route.c: add likely() statements

2021-03-24 Thread Leon Romanovsky
On Wed, Mar 24, 2021 at 11:09:22AM +0800, Yejune Deng wrote: > Add likely() statements in ipv4_confirm_neigh() for 'rt->rt_gw_family > == AF_INET'. Why? Such macros are beneficial in only specific cases, most of the time, likely/unlikely is cargo cult. > > Signed-off-by: Yejune Deng > --- > ne

Re: [RESEND 00/19] Rid GPU from W=1 warnings

2021-03-24 Thread Lee Jones
Daniel, > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > This is a resend of the remaining patches. > > All of these patches have been sent before. Are you still keen to 'hoover these up'? Just leave the one that requires work and take the res

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

2021-03-24 Thread Andreas Schwab
Were you able to reproduce the problem? Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[PATCH v2] video: hyperv_fb: Fix a double free in hvfb_probe

2021-03-24 Thread Lv Yunlong
In function hvfb_probe in hyperv_fb.c, it calls hvfb_getmem(hdev, info) and return err when info->apertures is freed. In the error1 label of hvfb_probe, info->apertures will be freed for the second time in framebuffer_release(info). My patch removes all kfree(info->apertures) instead of set info-

Re: [RESEND 1/1] powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to shared location

2021-03-24 Thread Lee Jones
On Wed, 03 Mar 2021, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/tty/hvc/hvc_vio.c:385:13: warning: no previous prototype for > ‘hvc_vio_init_early’ [-Wmissing-prototypes] > 385 | void __init hvc_vio_init_early(void) > | ^~ > > Cc: Michael

Re: [PATCH v2 2/2] mfd: intel_quark_i2c_gpio: enable MSI interrupt

2021-03-24 Thread Andy Shevchenko
On Wed, Mar 24, 2021 at 10:29:31AM +, Lee Jones wrote: > On Tue, 23 Mar 2021, Andy Shevchenko wrote: > > > Allow interrupts to be MSI if supported by hardware. > > > > Signed-off-by: Andy Shevchenko > > --- > > v2: new patch > > drivers/mfd/intel_quark_i2c_gpio.c | 21 +++--

RE: [PATCH 02/11] x86: tboot: avoid Wstringop-overread-warning

2021-03-24 Thread David Laight
From: David Laight > Sent: 24 March 2021 09:12 > > From: Martin Sebor > > Sent: 22 March 2021 22:08 > ... > > In GCC 11, all access warnings expect objects to be either declared > > or allocated. Pointers with constant values are taken to point to > > nothing valid (as Arnd mentioned above, this

Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver

2021-03-24 Thread Pavel Machek
Hi! > > From: Hermes Zhang > > > > Introduce a new multiple GPIOs LED driver. This LED will made of > > multiple GPIOs (up to 8) and will map different brightness to different > > GPIOs states which defined in dts file. > > I wonder how many boards have such LEDs. > > Also if it wouldn't be be

Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver

2021-03-24 Thread Pavel Machek
On Wed 2021-03-24 15:56:30, Hermes Zhang wrote: > From: Hermes Zhang > > Introduce a new multiple GPIOs LED driver. This LED will made of > multiple GPIOs (up to 8) and will map different brightness to different > GPIOs states which defined in dts file. > > Signed-off-by: Hermes Zhang > --- >

Re: [PATCH 1/2] leds: leds-multi-gpio: Add multiple GPIOs LED driver

2021-03-24 Thread Pavel Machek
Hi! > > + of_property_read_string(node, "default-state", &state); > > + if (!strcmp(state, "on")) > > + multi_gpio_led_set(&priv->cdev, LED_FULL); > > + else > > + multi_gpio_led_set(&priv->cdev, LED_OFF); > > Again LED_FULL and LED_OFF... > What about default-state = "k

Re: [PATCH v1] MAINTAINERS: Update Maintainers of DRM Bridge Drivers

2021-03-24 Thread Andrzej Hajda
W dniu 24.03.2021 o 11:20, Robert Foss pisze: > Add myself as co-maintainer of DRM Bridge Drivers. Repository > commit access has already been granted. > > https://protect2.fireeye.com/v1/url?k=c3508e7b-9ccbb771-c3510534-0cc47a31384a-ef2b7fbec8aa658e&q=1&e=46fd05b7-d9d9-4737-99cd-cd44e40a7bc7&u=htt

Linux 5.4.108

2021-03-24 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.108 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:

Re: Linux 5.4.108

2021-03-24 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 43159b21a83f..b0abe257221a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 107 +SUBLEVEL = 108 EXTRAVERSION = NAME = Kleptomaniac Octopus @@ -1177,15 +1177,17 @@ endef defin

Re: [PATCH v2 2/2] mfd: intel_quark_i2c_gpio: enable MSI interrupt

2021-03-24 Thread Lee Jones
On Wed, 24 Mar 2021, Andy Shevchenko wrote: > On Wed, Mar 24, 2021 at 10:29:31AM +, Lee Jones wrote: > > On Tue, 23 Mar 2021, Andy Shevchenko wrote: > > > > > Allow interrupts to be MSI if supported by hardware. > > > > > > Signed-off-by: Andy Shevchenko > > > --- > > > v2: new patch > > >

Re: [PATCH v1 3/3] KEYS: trusted: Introduce support for NXP CAAM-based trusted keys

2021-03-24 Thread Sumit Garg
On Wed, 24 Mar 2021 at 14:56, Ahmad Fatoum wrote: > > Hello Mimi, > > On 23.03.21 19:07, Mimi Zohar wrote: > > On Tue, 2021-03-23 at 17:35 +0100, Ahmad Fatoum wrote: > >> On 21.03.21 21:48, Horia Geantă wrote: > >>> caam has random number generation capabilities, so it's worth using that > >>> by

Re: [PATCH v3 03/25] x86/sgx: Wipe out EREMOVE from sgx_free_epc_page()

2021-03-24 Thread Kai Huang
On Wed, 24 Mar 2021 11:09:20 +0100 Paolo Bonzini wrote: > On 24/03/21 10:38, Kai Huang wrote: > > Hi Sean, Boris, Paolo, > > > > Thanks for the discussion. I tried to digest all your conversations and > > hopefully I have understood you correctly. I pasted the new patch here > > (not full patch, b

Re: [PATCH] soundwire: intel: move to auxiliary bus

2021-03-24 Thread Vinod Koul
On 23-03-21, 12:29, Pierre-Louis Bossart wrote: > Thanks Greg and Vinod for the reviews > > > > > -static int intel_master_probe(struct platform_device *pdev) > > > > +static int intel_link_probe(struct auxiliary_device *auxdev, const > > > > struct auxiliary_device_id *id) > > > > { > > > > -

Regression v5.12-rc3: net: stmmac: re-init rx buffers when mac resume back

2021-03-24 Thread Jon Hunter
Hi Joakim, Starting with v5.12-rc3 I noticed that one of our boards, Tegra186 Jetson TX2, was not long resuming from suspend. Bisect points to commit 9c63faaa931e ("net: stmmac: re-init rx buffers when mac resume back") and reverting this on top of mainline fixes the problem. Interestingly, the b

[PATCH] ALSA: usb-audio: Apply sample rate quirk to Logitech Connect

2021-03-24 Thread Ikjoon Jang
Logitech ConferenceCam Connect is a compound USB device with UVC and UAC. Not 100% reproducible but sometimes it keeps responding STALL to every control transfer once it receives get_freq request. This patch adds 046d:0x084c to a snd_usb_get_sample_rate_quirk list. Bugzilla: https://bugzilla.kern

Re: arch/arm/mach-omap2/board-generic.c:36:28: warning: no previous prototype for 'omap_init_time_of'

2021-03-24 Thread Tony Lindgren
Hi, * kernel test robot [210226 13:11]: > Hi Tony, > > FYI, the error/warning still remains. Thanks for the report and sorry for the delay in responding. I've posted a fix for this at: https://lore.kernel.org/linux-omap/20210324105102.7286-1-t...@atomide.com/T/#u Regards, Tony > tree: ht

Re: [syzbot] INFO: task hung in walk_component (2)

2021-03-24 Thread Miklos Szeredi
#syz fix: fuse: fix live lock in fuse_iget()

  1   2   3   4   5   6   7   8   9   10   >