Re: [PATCH v14 10/10] secretmem: test: add basic selftest for memfd_secret(2)

2020-12-11 Thread John Hubbard
On 12/2/20 10:29 PM, Mike Rapoport wrote: From: Mike Rapoport ... +#include "../kselftest.h" + +#define fail(fmt, ...) ksft_test_result_fail(fmt, ##__VA_ARGS__) +#define pass(fmt, ...) ksft_test_result_pass(fmt, ##__VA_ARGS__) +#define skip(fmt, ...) ksft_test_result_skip(fmt, ##__VA_ARGS__)

Your $ 3 million USD

2020-12-11 Thread Mr Stefano Pessina
I'm Stefano Pessina, an Italian business tycoon, investor, and philanthropist. the vice chairman, chief executive officer (CEO), and the single largest shareholder of Walgreens Boots Alliance. I gave away 25 percent of my personal wealth to charity. And I also pledged to give away the rest of

Your $ 3 million USD

2020-12-11 Thread Mr Stefano Pessina
I'm Stefano Pessina, an Italian business tycoon, investor, and philanthropist. the vice chairman, chief executive officer (CEO), and the single largest shareholder of Walgreens Boots Alliance. I gave away 25 percent of my personal wealth to charity. And I also pledged to give away the rest of

Re: [PATCH v17 3/3] bus: mhi: Add userspace client interface driver

2020-12-11 Thread Manivannan Sadhasivam
On Fri, Dec 11, 2020 at 08:08:16PM -0800, Jakub Kicinski wrote: > On Fri, 11 Dec 2020 11:37:34 -0600 Dan Williams wrote: > > Just to re-iterate: QMI ~= AT commands ~= MBIM (not quite, but same > > level) > > > > We already do QMI-over-USB, or AT-over-CDC-ACM. This is QMI-over-MHI. > > Why do we

Re: [PATCH v2] mips: lib: uncached: fix non-standard usage of variable 'sp'

2020-12-11 Thread Nathan Chancellor
On Fri, Dec 11, 2020 at 07:54:07PM +, Maciej W. Rozycki wrote: > On Fri, 11 Dec 2020, Anders Roxell wrote: > > > diff --git a/arch/mips/lib/uncached.c b/arch/mips/lib/uncached.c > > index 09d5deea747f..f80a67c092b6 100644 > > --- a/arch/mips/lib/uncached.c > > +++ b/arch/mips/lib/uncached.c >

Re: [RFC PATCH 2/4] of: Add a common kexec FDT setup function

2020-12-11 Thread Lakshmi Ramasubramanian
On 12/11/20 6:17 PM, Thiago Jung Bauermann wrote: Lakshmi Ramasubramanian writes: On 12/11/20 2:10 PM, Rob Herring wrote: Hi Rob, Both arm64 and powerpc do essentially the same FDT /chosen setup for kexec. We can simply combine everything each arch does. The differences are either

Business Expansion *Capital

2020-12-11 Thread Cahil Frank
My name is Cahil Frank an advertising agent with Eurocredit & loan services, the company pays me commission as per each client introduced to them. The Company specializes in providing equity funding for projects and corporate also Personal loan funding at 3% Interest Rate for duration of 10 to

Re: [PATCH] net/mlx4: Use true,false for bool variable

2020-12-11 Thread Joe Perches
On Fri, 2020-12-11 at 11:05 +0100, Vasyl Gomonovych wrote: > Fix en_rx.c:687:1-17: WARNING: Assignment of 0/1 to bool variable > Fix main.c:4465:5-13: WARNING: Comparison of 0/1 to bool variable [] > diff --git a/drivers/net/ethernet/mellanox/mlx4/main.c >

Re: [PATCH v3 00/20] dmaengine/soc: k3-udma: Add support for BCDMA and PKTDMA

2020-12-11 Thread Vinod Koul
On 11-12-20, 21:16, Peter Ujfalusi wrote: > Hi Vinod, > > On 11/12/2020 18.24, Vinod Koul wrote: > > On 08-12-20, 11:04, Peter Ujfalusi wrote: > >> Hi, > >> > >> The series have build dependency on ti_sci/soc series (v2): > >>

[rcu:rcu/test] BUILD SUCCESS 4cef066889e3af15f564a2b29d05030a8204a9a3

2020-12-11 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/test branch HEAD: 4cef066889e3af15f564a2b29d05030a8204a9a3 Merge tag 'v5.10-rc7' into dev.2020.12.11a elapsed time: 724m configs tested: 127 configs skipped: 2 The following configs have been built

[RFC PATCH 12/12] [DO NOT MERGE] ARM: dts: sun8i: v831: add a device tree file for Y20GA

2020-12-11 Thread Icenowy Zheng
Yi Y20GA is an IP camera with QG2101A chip (a rebranded Allwinner V831). Add a device tree for it. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/Makefile| 3 +- arch/arm/boot/dts/sun8i-v831-yi-y20ga.dts | 53 +++ 2 files changed, 55 insertions(+), 1

[RFC PATCH 11/12] ARM: dts: sun8i: add DTSI file for V831

2020-12-11 Thread Icenowy Zheng
V831 is a new chip by Allwinner, and its functionality is a subset of V833 (another new chip with the same die but larger pin count). Add a DTSI file for V831. Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/sun8i-v831.dtsi | 244 ++ 1 file changed, 244

[RFC PATCH 10/12] dt-bindings: spi: sun6i: add compatible for V831 SPI

2020-12-11 Thread Icenowy Zheng
V831 has a SPI controller similar to the H6 one. Add a compatible string for it. Cc: Mark Brown Cc: linux-...@vger.kernel.org Signed-off-by: Icenowy Zheng --- H6 and V831 SPI controllers is not totally the same with H3: they have QSPI support added. Here V831 compatible string is just added in

[PATCH v3] block: drop dead assignments in loop_init()

2020-12-11 Thread Lukas Bulwahn
Commit 8410d38c2552 ("loop: use __register_blkdev to allocate devices on demand") simplified loop_init(); so computing the range of the block region is not required anymore and can be dropped. Drop dead assignments in loop_init(). As compilers will detect these unneeded assignments and optimize

[rcu:dev.2020.12.10a] BUILD SUCCESS 3952b4a5d591b2052bf9700b6de783a0dceb6cc0

2020-12-11 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.10a branch HEAD: 3952b4a5d591b2052bf9700b6de783a0dceb6cc0 squash! mm: Add mem_dump_obj() to print source of memory block elapsed time: 724m configs tested: 118 configs skipped: 2 The following

[RFC PATCH 09/12] dt-bindings: watchdog: sunxi: add compatible string for V831/V833 WDT

2020-12-11 Thread Icenowy Zheng
V831/V833 has a watchdog similar to the ones on previous Allwinner SoCs after sun6i. Add a compatible string for it. Cc: Wim Van Sebroeck Cc: Guenter Roeck Cc: linux-watch...@vger.kernel.org Signed-off-by: Icenowy Zheng --- .../devicetree/bindings/watchdog/allwinner,sun4i-a10-wdt.yaml | 3

[RFC PATCH 08/12] dt-bindings: mmc: sunxi: add compatible strings for V831 MMC

2020-12-11 Thread Icenowy Zheng
V831 has MMC controllers similar to the ones on H6. Add a compatible string for them. The eMMC controller compatible is not added, because the eMMC controller is not available on V831, only V833. Cc: Ulf Hansson Cc: linux-...@vger.kernel.org Signed-off-by: Icenowy Zheng ---

[rcu:dev.2020.12.11a] BUILD SUCCESS 915fc30b2c2c6f03d8fe36707ee0f908bb28dc0d

2020-12-11 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.12.11a branch HEAD: 915fc30b2c2c6f03d8fe36707ee0f908bb28dc0d doc: Remove obsolete rcutree.rcu_idle_lazy_gp_delay boot parameter elapsed time: 722m configs tested: 122 configs skipped: 2 The

Re: [RESEND PATCH] ath11k: use MHI provided APIs to allocate and free MHI controller

2020-12-11 Thread Kalle Valo
Bhaumik Bhatt wrote: > Use MHI provided APIs to allocate and free MHI controller to > improve MHI host driver handling. This also fixes a memory leak > as the MHI controller was allocated but never freed. > > Signed-off-by: Bhaumik Bhatt > Reviewed-by: Manivannan Sadhasivam > Signed-off-by:

Re: [PATCH v3] ath10k: add option for chip-id based BDF selection

2020-12-11 Thread Kalle Valo
Abhishek Kumar wrote: > In some devices difference in chip-id should be enough to pick > the right BDF. Add another support for chip-id based BDF selection. > With this new option, ath10k supports 2 fallback options. > > The board name with chip-id as option looks as follows > board name

Re: [PATCH] crypto: x86/crc32c-intel - Don't match some Zhaoxin CPUs

2020-12-11 Thread Tony W Wang-oc
On 11/12/2020 21:00, Peter Zijlstra wrote: > On Fri, Dec 11, 2020 at 07:29:04PM +0800, Tony W Wang-oc wrote: >> The driver crc32c-intel match CPUs supporting X86_FEATURE_XMM4_2. >> On platforms with Zhaoxin CPUs supporting this X86 feature, When >> crc32c-intel and crc32c-generic are both

Re: [PATCH] block: drop dead assignments in loop_init()

2020-12-11 Thread Joe Perches
On Fri, 2020-12-11 at 19:40 +0100, Lukas Bulwahn wrote: > On Fri, Dec 11, 2020 at 7:23 PM Julia Lawall wrote: > > On Fri, 11 Dec 2020, Lukas Bulwahn wrote: > > > Commit 8410d38c2552 ("loop: use __register_blkdev to allocate devices on > > > demand") simplified loop_init(); so computing the range

[PATCH v2, 08/17] drm/mediatek: enable OVL_LAYER_SMI_ID_EN for multi-layer usecase

2020-12-11 Thread Yongqiang Niu
enable OVL_LAYER_SMI_ID_EN for multi-layer usecase Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_disp_ovl.c b/drivers/gpu/drm/mediatek/mtk_disp_ovl.c index 8cf9f3b..97f8380

Re: [PATCH net-next] gve: simplify the gve code return expression

2020-12-11 Thread Jakub Kicinski
On Fri, 11 Dec 2020 16:37:06 +0800 Zheng Yongjun wrote: > Simplify the return expression at diffrent gve_adminq.c file, simplify this > all. > > Signed-off-by: Zheng Yongjun Does not apply, please rebase.

[PATCH v2, 17/17] arm64: dts: mt8192: add display node

2020-12-11 Thread Yongqiang Niu
add display node Signed-off-by: Yongqiang Niu --- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 130 +++ 1 file changed, 130 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi index 7c0c233..da681b0 100644

[PATCH v2, 16/17] drm/mediatek: add support for mediatek SOC MT8192

2020-12-11 Thread Yongqiang Niu
add support for mediatek SOC MT8192 Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_color.c | 6 drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 20 + drivers/gpu/drm/mediatek/mtk_disp_rdma.c | 6 drivers/gpu/drm/mediatek/mtk_drm_ddp.c| 35

[PATCH v2, 12/17] drm/mediatek: fix gamma size config

2020-12-11 Thread Yongqiang Niu
fix gamma size config Fixes: e0a5d3370245 (drm/mediatek: Add GAMMA engine basic function) Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 15/17] soc: mediatek: mmsys: add mt8192 mmsys support

2020-12-11 Thread Yongqiang Niu
add mt8192 mmsys support Signed-off-by: Yongqiang Niu --- drivers/soc/mediatek/mmsys/Makefile | 1 + drivers/soc/mediatek/mmsys/mt8192-mmsys.c | 119 ++ include/linux/soc/mediatek/mtk-mmsys.h| 1 + 3 files changed, 121 insertions(+) create mode 100644

[PATCH v2, 10/17] drm/mediatek: fix aal size config

2020-12-11 Thread Yongqiang Niu
fix aal size config Fixes: 0664d1392c26 (drm/mediatek: Add AAL engine basic function) Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 06/17] drm/mediatek: add component RDMA4

2020-12-11 Thread Yongqiang Niu
This patch add component RDMA4 Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + include/linux/soc/mediatek/mtk-mmsys.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 14/17] soc: mediatek: mmsys: Use function call for setting mmsys ovl mout register

2020-12-11 Thread Yongqiang Niu
Use function call for setting mmsys ovl mout register Signed-off-by: Yongqiang Niu --- drivers/soc/mediatek/mmsys/mtk-mmsys.c | 18 ++ include/linux/soc/mediatek/mtk-mmsys.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/drivers/soc/mediatek/mmsys/mtk-mmsys.c

[PATCH v2, 02/17] dt-bindings: mediatek: add CLK_MM_DISP_CONFIG control description for mt8192 display

2020-12-11 Thread Yongqiang Niu
add CLK_MM_DISP_CONFIG control description for mt8192 displa Signed-off-by: Yongqiang Niu --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt

[PATCH v2, 03/17] dt-bindings: mediatek: add description for mt8192 display

2020-12-11 Thread Yongqiang Niu
add description for mt8192 display Signed-off-by: Yongqiang Niu --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt

[PATCH v2, 05/17] drm/mediatek: add component POSTMASK

2020-12-11 Thread Yongqiang Niu
This patch add component POSTMASK Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 31 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + include/linux/soc/mediatek/mtk-mmsys.h | 1 + 3 files changed, 33 insertions(+) diff

[PATCH v2, 07/17] drm/mediatek: add disp config and mm 26mhz clock into mutex device

2020-12-11 Thread Yongqiang Niu
there are 2 more clock need enable for display. parser these clock when mutex device probe, enable and disable when mutex on/off Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 49 -- 1 file changed, 41 insertions(+), 8 deletions(-)

[PATCH v2, 04/17] drm/mediatek: add component OVL_2L2

2020-12-11 Thread Yongqiang Niu
This patch add component OVL_2L2 Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 1 + include/linux/soc/mediatek/mtk-mmsys.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 11/17] drm/mediatek: fix dither size config

2020-12-11 Thread Yongqiang Niu
fix dither size config Fixes: 450aa87c7353 (drm/mediatek: add component DITHER) Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 13/17] drm/mediatek: fix ccorr size config

2020-12-11 Thread Yongqiang Niu
fix ccorr size config Fixes: cefb6abfcc1c (drm/mediatek: add ddp component CCORR) Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.c

[PATCH v2, 09/17] drm/mediatek: check if fb is null

2020-12-11 Thread Yongqiang Niu
It's possible that state->base.fb is null. Add a check before access its format. Fixes: b6b1bb980ec4 ( drm/mediatek: Turn off Alpha bit when plane format has no alpha) Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v2, 01/17] dt-bindings: mediatek: add description for postmask

2020-12-11 Thread Yongqiang Niu
add description for postmask Signed-off-by: Yongqiang Niu --- Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek,disp.txt

[PATCH v2, 00/17] drm/mediatek: add support for mediatek SOC MT8192

2020-12-11 Thread Yongqiang Niu
This series are based on 5.10-rc1 and provid 17 patch to support mediatek SOC MT8192 Changes in v2: - base mmsys https://patchwork.kernel.org/project/linux-mediatek/cover/1607506379-10998-1-git-send-email-yongqiang@mediatek.com/ - base mt8192 gce dtbinding file

[RFC PATCH 07/12] rtc: sun6i: add compatible string for V831/V833 RTC

2020-12-11 Thread Icenowy Zheng
These chips share the same die, and the RTC block is similar to H6 one, but with functionality of dividing 24M clock to get 32k (useful for 32k clock output). Add compatible string for it. The special clock divider is TODO. Cc: Alessandro Zummo Cc: Alexandre Belloni Cc:

[RFC PATCH 06/12] dt-bindings: rtc: sun6i: add compatible string for V831/V833 RTC

2020-12-11 Thread Icenowy Zheng
V831/V833 SoCs (the same die) have a RTC block similar to the one in H6, but allow to generate the osc32k clock from osc24M. Add a new compatible string for that. The functionality of dividing osc24M to generate osc32k is still TODO. Cc: Alessandro Zummo Cc: Alexandre Belloni Cc:

Response Required

2020-12-11 Thread Moussa
Greeetings from Mali. I am sorry for contacting you like this but I do have a very urgent matter that I want to discuss with you. Before I proceed, I want you to keep an open mind while reading this proposal. My name is Moussa Traore, I am the Personal Assistant to Mr. Issa Saley Maiga who was

Re: [PATCH v17 3/3] bus: mhi: Add userspace client interface driver

2020-12-11 Thread Jakub Kicinski
On Fri, 11 Dec 2020 11:37:34 -0600 Dan Williams wrote: > Just to re-iterate: QMI ~= AT commands ~= MBIM (not quite, but same > level) > > We already do QMI-over-USB, or AT-over-CDC-ACM. This is QMI-over-MHI. Why do we need a different QMI-over-X for every X? If you say there are already chardev

[RFC PATCH 05/12] pinctrl: sunxi: add pinctrl driver for V831/V833

2020-12-11 Thread Icenowy Zheng
V831/V833 are new chips from Allwinner. They're the same die with different package. Add a pinctrl driver for them. The difference between V831/V833 pinctrl is implemented based on the user manual. Cc: Linus Walleij Cc: linux-g...@vger.kernel.org Signed-off-by: Icenowy Zheng ---

[RFC PATCH 04/12] dt-bindings: pinctrl: sunxi: add compatible for V831/V833 pinctrl

2020-12-11 Thread Icenowy Zheng
V831/V833 are a pair of new Allwinner chips. The difference between them is similar to V3s/V3, but the chip design is similar to newer Allwinner chips started from H6. Add compatible strings for V831/V833 pinctrl. Cc: Linus Walleij Cc: linux-g...@vger.kernel.org Signed-off-by: Icenowy Zheng

[RFC PATCH 03/12] clk: sunxi-ng: add CCU driver for V831/V833

2020-12-11 Thread Icenowy Zheng
V831/V833 are new chips from Allwinner targeting camera market. The difference between them is similar to V3s/V3, the former one is a reduced-pin package with co-packaged DDR2 and the latter one is a BGA package w/o DRAM packaged in. Add a CCU driver for them. As the user manual didn't have marks

[RFC PATCH 00/12] Support for Allwinner V831 SoC

2020-12-11 Thread Icenowy Zheng
Allwinner V831 is a new SoC by Allwinner oriented at the camera market. It has a QFN88 package with co-packaged 64MiB DDR2 DRAM. Another SoC, V833, is also available, which has the same die with V831 but w/o co-packaged DRAM (thus a BGA package). This patchset tries to add basical support for

[RFC PATCH 02/12] dt-bindings: clk: sunxi-ng: add V833 CCU clock/reset indices headers

2020-12-11 Thread Icenowy Zheng
As the device tree needs the clock/reset indices, add them to DT binding headers. The driver itself will be then added. Signed-off-by: Icenowy Zheng --- include/dt-bindings/clock/sun8i-v833-ccu.h | 89 ++ include/dt-bindings/reset/sun8i-v833-ccu.h | 52 + 2

[RFC PATCH 01/12] dt-bindings: clock: sunxi-ng: add compatible for V831/V833 CCU

2020-12-11 Thread Icenowy Zheng
V831/V833 has a CCU similar to the ones on H6/A100. Add a compatible string for it. As the user manual do not mention the difference between V831 and V833 in the CCU chapter, only a single compatible string for V833 (full-functional chip) is made. Signed-off-by: Icenowy Zheng ---

Re: [PATCH] thermal/core: Make 'forced_passive' as obsolete candidate

2020-12-11 Thread Matthew Garrett
On Fri, Dec 11, 2020 at 02:17:55PM +0100, Daniel Lezcano wrote: > On 08/12/2020 16:30, Daniel Lezcano wrote: > > The passive file in sysfs forces the usage of a passive trip point set > > by the userspace when a broken BIOS does not provide the mitigation > > temperature for such thermal zone. The

Re: [PATCH] mm/mmap: replace if (cond) BUG() with BUG_ON()

2020-12-11 Thread Alex Shi
I'm very sorry, a typo here. the patch should be updated: >From ed4fa1c6d5bed5766c5f0c35af0c597855d7be06 Mon Sep 17 00:00:00 2001 From: Alex Shi Date: Fri, 11 Dec 2020 21:26:46 +0800 Subject: [PATCH] mm/mmap: replace if (cond) BUG() with BUG_ON() coccinelle reports some warnings: WARNING: Use

[PATCH] mm/zsmalloc: replace if (cond) BUG() with BUG_ON()

2020-12-11 Thread Alex Shi
coccinelle reports some warning: WARNING: Use BUG_ON instead of if condition followed by BUG. It could be fixed by BUG_ON(). Reported-by: ab...@linux.alibaba.com Signed-off-by: Alex Shi Cc: Minchan Kim Cc: Nitin Gupta Cc: Sergey Senozhatsky Cc: Andrew Morton Cc: linux...@kvack.org Cc:

Re: [PATCH 2/2] soc: bcm: add PM driver for Broadcom's PMB

2020-12-11 Thread Florian Fainelli
On 12/11/2020 1:59 PM, Rafał Miłecki wrote: > From: Rafał Miłecki > > PMB can be found on BCM4908 and many other chipsets (e.g. BCM63138). > It's needed to power on and off SoC blocks like PCIe, SATA, USB. > > Signed-off-by: Rafał Miłecki This looks good to me, just a few nipicks below.

[PATCH] mm/mmap: replace if (cond) BUG() with BUG_ON()

2020-12-11 Thread Alex Shi
coccinelle reports some warnings: WARNING: Use BUG_ON instead of if condition followed by BUG. It could be fixed by BUG_ON(). Reported-by: ab...@linux.alibaba.com Signed-off-by: Alex Shi Cc: Andrew Morton Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org --- mm/mmap.c | 22

[git pull] Input updates for v5.10-rc7

2020-12-11 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get: - a fix for cm109 stomping on its own control URB if it tries to toggle buzzer immediately after userspace opens input device

Re: [PATCH v2 3/3] dt-bindings: input: Add compatible string for SC2721 and SC2730

2020-12-11 Thread Dmitry Torokhov
On Tue, Nov 17, 2020 at 11:49:49AM +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > Add new compatible strings to support sc2730 and sc2721 which are > two varieties of SC27XX family. > > Signed-off-by: Chunyan Zhang Applied, thank you. -- Dmitry

Re: [PATCH v2 1/3] input: sc27xx: Add support for sc2730 and sc2721

2020-12-11 Thread Dmitry Torokhov
Hi Chunyan, On Tue, Nov 17, 2020 at 11:49:47AM +0800, Chunyan Zhang wrote: > @@ -78,8 +112,15 @@ static void sc27xx_vibra_close(struct input_dev *input) > static int sc27xx_vibra_probe(struct platform_device *pdev) > { > struct vibra_info *info; > + const struct sc27xx_vibra_data

Re: [PATCH v2 2/3] dt-bindings: input: Convert sc27xx-vibra.txt to json-schema

2020-12-11 Thread Dmitry Torokhov
On Tue, Nov 17, 2020 at 11:49:48AM +0800, Chunyan Zhang wrote: > From: Chunyan Zhang > > Convert the sprd sc27xx vibrator binding to DT schema using json-schema. > > Signed-off-by: Chunyan Zhang Applied, thank you. -- Dmitry

Re: [PATCH 1/7] ARM: mstar: Unify common parts of BreadBee boards into a dtsi

2020-12-11 Thread Daniel Palmer
Hi all, >[PATCH 1/7] Sorry, this isn't actually a 1/7 it's 1/1. I forgot to fix the subject before sending. Thanks, Daniel

[PATCH 1/7] ARM: mstar: Unify common parts of BreadBee boards into a dtsi

2020-12-11 Thread Daniel Palmer
The BreadBee and the BreadBee Crust are the same PCB with a different SoC mounted. There are two top level dts to handle this. To avoid deduplicating the parts that are more related to the PCB than the SoC (i.e. the voltage regs and LEDs) add a common dtsi that can be included in both top level

Re: [PATCH v3 0/3] Support wakeup methods of Atmel maXTouch controllers

2020-12-11 Thread Dmitry Torokhov
Hi Dmitry, On Mon, Dec 07, 2020 at 12:22:14AM +0300, Dmitry Osipenko wrote: > Some Atmel maXTouch controllers, like mXT1386 and mXT3432S1 for example, > have a WAKE line that needs to be asserted in order to wake controller > from a deep sleep, otherwise it will be unusable. This series

Re: [PATCH 2/9] misc: Add Xilinx AI engine device driver

2020-12-11 Thread Jiaying Liang
On 12/9/20 4:47 AM, Daniel Vetter wrote: On Tue, Dec 08, 2020 at 11:54:57AM -0800, Jiaying Liang wrote: On 12/8/20 9:12 AM, Nicolas Dufresne wrote: Le mercredi 18 novembre 2020 à 00:06 -0800, Wendy Liang a écrit : Create AI engine device/partition hierarchical structure. Each AI engine

Re: [RFC PATCH 2/4] of: Add a common kexec FDT setup function

2020-12-11 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > On 12/11/20 2:10 PM, Rob Herring wrote: > > Hi Rob, > >> Both arm64 and powerpc do essentially the same FDT /chosen setup for >> kexec. We can simply combine everything each arch does. The differences >> are either omissions that arm64 should have or

Re: [PATCH v2] usb: dwc3: Trigger a GCTL soft reset when switching modes in DRD

2020-12-11 Thread John Stultz
Hey Felipe, Sorry for taking so long to get back to this. :( On Fri, Oct 23, 2020 at 12:02 AM Felipe Balbi wrote: > John Stultz writes: > > On Thu, Oct 22, 2020 at 12:55 AM Felipe Balbi wrote: > >> The only thing we need to do is verify > >> which registers are shadowed between host and

Re: [PATCH 3/3] driver core: platform: use bus_type functions

2020-12-11 Thread Guenter Roeck
esults for arbitrary arm64 test: # bad: [3cc2bd440f2171f093b3a8480a4b54d8c270ed38] Add linux-next specific files for 20201211 # good: [0477e92881850d44910a7e94fc2c46f96faa131f] Linux 5.10-rc7 git bisect start 'HEAD' 'v5.10-rc7' # good: [0a701401d4e29d9e73f0f3cc02179fc6c9191646] Merge remote-track

Re: [PATCH] drivers: block: skd: remove skd_pci_info()

2020-12-11 Thread Chaitanya Kulkarni
On 12/11/20 14:41, Bjorn Helgaas wrote: >> The skd driver prints unknown if the speed is not "2.5GT/s" or "5.0GT/s". >> __pcie_print_link_status() prints "unknown" only if speed >> value >= ARRAY_SIZE(speed_strings). >> >> If a buggy skd card returns value that is not != ("2.5GT/s" or "5.0GT/s")

Re: [PATCH] spi: spi-geni-qcom: Fix NULL pointer access in geni_spi_isr

2020-12-11 Thread Stephen Boyd
Quoting Doug Anderson (2020-12-10 17:51:53) > Hi, > > On Thu, Dec 10, 2020 at 5:39 PM Stephen Boyd wrote: > > > > Quoting Doug Anderson (2020-12-10 17:30:17) > > > On Thu, Dec 10, 2020 at 5:21 PM Stephen Boyd wrote: > > > > > > > > Yeah and so if it comes way later because it timed out then

[net-next PATCH] tcp: Add logic to check for SYN w/ data in tcp_simple_retransmit

2020-12-11 Thread Alexander Duyck
From: Alexander Duyck There are cases where a fastopen SYN may trigger either a ICMP_TOOBIG message in the case of IPv6 or a fragmentation request in the case of IPv4. This results in the socket stalling for a second or more as it does not respond to the message by retransmitting the SYN frame.

[PATCH] dt-bindings: vendor-prefixes: Fix misordering introduced by honestar prefix

2020-12-11 Thread Daniel Palmer
The prefix for honestar should come before honeywell. Fixes: 43181b5d8072 ("dt-bindings: vendor-prefixes: Add honestar vendor prefix") Link: https://lore.kernel.org/linux-arm-kernel/cafr9pxmwoeuhha-kdel1ys8bwvovrt43mxxyy1j+hgbxwpu...@mail.gmail.com/ Signed-off-by: Daniel Palmer ---

Re: [PATCH v10 2/8] powerpc: Move delete_fdt_mem_rsv() to drivers/of/kexec.c

2020-12-11 Thread Thiago Jung Bauermann
Lakshmi Ramasubramanian writes: > On 12/11/20 10:19 AM, Thiago Jung Bauermann wrote: >> Hi Lakshmi, >> Lakshmi Ramasubramanian writes: >> >>> On 12/6/20 5:50 PM, Lakshmi Ramasubramanian wrote: >>> >>> Hi Thiago, >>> On 12/4/20 6:22 PM, Thiago Jung Bauermann wrote > > Hello

How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2020-12-11 Thread Dexuan Cui
Hi all, It looks like Linux can hibernate even if the system does not support the ACPI S4 state, as long as the system can shut down, so "cat /sys/power/state" always contains "disk", unless we specify the kernel parameter "nohibernate" or we use LOCKDOWN_HIBERNATION. In some scenarios IMO it can

Re: [patch 1/3] tick: Remove pointless cpu valid check in hotplug code

2020-12-11 Thread Frederic Weisbecker
On Sat, Dec 12, 2020 at 01:16:12AM +0100, Thomas Gleixner wrote: > On Fri, Dec 11 2020 at 23:21, Frederic Weisbecker wrote: > > On Sun, Dec 06, 2020 at 10:12:54PM +0100, Thomas Gleixner wrote: > >> tick_handover_do_timer() which is invoked when a CPU is unplugged has a > >> @@ -407,17 +407,13 @@

Re: [RFC PATCH 2/4] of: Add a common kexec FDT setup function

2020-12-11 Thread Lakshmi Ramasubramanian
On 12/11/20 2:10 PM, Rob Herring wrote: Hi Rob, Both arm64 and powerpc do essentially the same FDT /chosen setup for kexec. We can simply combine everything each arch does. The differences are either omissions that arm64 should have or additional properties that will be ignored. The

Re: [PATCH v8 4/8] IMA: add policy rule to measure critical data

2020-12-11 Thread Tushar Sugandhi
On 2020-12-11 4:25 p.m., Tyler Hicks wrote: On 2020-12-11 15:58:03, Tushar Sugandhi wrote: A new IMA policy rule is needed for the IMA hook ima_measure_critical_data() and the corresponding func CRITICAL_DATA for measuring the input buffer. The policy rule should ensure the buffer would get

Re: [PATCH linux hwmon-next v5 3/3] dt-bindings: (hwmon/sbtsi_tmep) Add SB-TSI hwmon driver bindings

2020-12-11 Thread Kun Yi
On Fri, Dec 11, 2020 at 3:51 PM Guenter Roeck wrote: > > On 12/11/20 1:54 PM, Kun Yi wrote: > > Document device tree bindings for AMD SB-TSI emulated temperature > > sensor. > > > > Signed-off-by: Kun Yi > > Any reason for dropping Rob's Reviewed-by: tag ? > > Guenter Sorry that was

[PATCH] driver core: platform: don't oops on unbound devices

2020-12-11 Thread Dmitry Baryshkov
Platform code stopped checking if the device is bound to the actual platform driver, thus calling non-existing drv->shutdown(). Verify that _dev->driver is not NULL before calling remove/shutdown callbacks. Signed-off-by: Dmitry Baryshkov Fixes: 9c30921fe799 ("driver core: platform: use bus_type

[PATCH net-next] seg6: fix the max number of supported SRv6 behavior attributes

2020-12-11 Thread Andrea Mayer
The set of required attributes for a given SRv6 behavior is identified using a bitmap stored in an unsigned long, since the initial design of SRv6 networking in Linux. Recently the same approach has been used for identifying the optional attributes. We realized that choosing an unsigned long to

Re: [PATCH 0/6] mmc: core: hs400(es) fix probe/init

2020-12-11 Thread Chris Ruehl
No Comments ? Chris On 8/12/2020 2:18 pm, Chris Ruehl wrote: Fix the probe if hs400-1_8v / hs400-1_2v is used in the dts and mmc-hs400-enhanced-strobe isn't set. That was the first attemped, but it turns out that some more cleanups and simplifications can be done. * move mmc_select_hs400() in

Re: [RFC PATCH 1/4] powerpc: Rename kexec elfcorehdr_addr to elf_headers_mem

2020-12-11 Thread Lakshmi Ramasubramanian
On 12/11/20 2:10 PM, Rob Herring wrote: Hi Rob, Align with arm64 name so common code can use it. As you'd stated in the cover letter, a better patch description would be good to have here. Code changes look good to me. Reviewed-by: Lakshmi Ramasubramanian thanks, -lakshmi

Re: objtool crashes with some clang produced .o files

2020-12-11 Thread Nick Desaulniers
On Fri, Dec 11, 2020 at 4:42 PM Nick Desaulniers wrote: > > On Fri, Dec 11, 2020 at 12:57 PM Nick Desaulniers > wrote: > > > > Thanks for the patch! > > > > Reviewed-by: Nick Desaulniers > > Link: https://github.com/ClangBuiltLinux/linux/issues/1207 > > Arnd reported another objtool

Re: [patch 15/30] pinctrl: nomadik: Use irq_has_action()

2020-12-11 Thread Linus Walleij
On Thu, Dec 10, 2020 at 8:42 PM Thomas Gleixner wrote: > Let the core code do the fiddling with irq_desc. > > Signed-off-by: Thomas Gleixner > Cc: Linus Walleij > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-g...@vger.kernel.org Reviewed-by: Linus Walleij I suppose you will funnel

Re: [PATCH v2] pinctrl: remove empty lines in pinctrl subsystem

2020-12-11 Thread Linus Walleij
On Thu, Dec 10, 2020 at 6:35 PM Zhaoyu Liu wrote: > Remove all empty lines at the end of functions in pinctrl subsystem, > make the code neat. > Target files: grep -nwR -B1 ^} drivers/pinctrl/* | grep '[0-9]-$' | less > > Reviewed-by: Linus Walleij > Reviewed-by: Andy Shevchenko >

Re: [PATCH -next] pinctrl/spear: simplify the return expression of spear300_pinctrl_probe()

2020-12-11 Thread Linus Walleij
On Thu, Dec 10, 2020 at 2:57 PM Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Patch applied. Yours, Linus Walleij

Re: objtool crashes with some clang produced .o files

2020-12-11 Thread Nick Desaulniers
On Fri, Dec 11, 2020 at 12:57 PM Nick Desaulniers wrote: > > Thanks for the patch! > > Reviewed-by: Nick Desaulniers > Link: https://github.com/ClangBuiltLinux/linux/issues/1207 Arnd reported another objtool warning/error from another randconfig in

Re: [PATCH -next] gpio: simplify the return expression of cs5535_gpio_probe()

2020-12-11 Thread Linus Walleij
On Thu, Dec 10, 2020 at 2:55 PM Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Patch applied. Yours, Linus Walleij

Re: [PATCH -next] pinctrl/mediatek: simplify the return expression of mtk_pinconf_bias_disable_set_rev1()

2020-12-11 Thread Linus Walleij
On Thu, Dec 10, 2020 at 2:58 PM Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Patch applied. Yours, Linus Walleij

Re: [PATCH] kvm:vmx:code changes in handle_io() to save some CPU cycles.

2020-12-11 Thread Paolo Bonzini
On 10/12/20 09:15, Stephen Zhang wrote: code changes in handle_io() to save some CPU cycles. Signed-off-by: Stephen Zhang --- arch/x86/kvm/vmx/vmx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index

Re: [PATCH v8 8/8] selinux: include a consumer of the new IMA critical data hook

2020-12-11 Thread Lakshmi Ramasubramanian
On 12/11/20 4:32 PM, Tyler Hicks wrote: On 2020-12-11 15:58:07, Tushar Sugandhi wrote: From: Lakshmi Ramasubramanian SELinux stores the active policy in memory, so the changes to this data at runtime would have an impact on the security guarantees provided by SELinux. Measuring in-memory

Re: [PATCH v8 8/8] selinux: include a consumer of the new IMA critical data hook

2020-12-11 Thread Tyler Hicks
On 2020-12-11 15:58:07, Tushar Sugandhi wrote: > From: Lakshmi Ramasubramanian > > SELinux stores the active policy in memory, so the changes to this data > at runtime would have an impact on the security guarantees provided > by SELinux. Measuring in-memory SELinux policy through IMA subsystem

Re: [PATCH v8 4/8] IMA: add policy rule to measure critical data

2020-12-11 Thread Tyler Hicks
On 2020-12-11 15:58:03, Tushar Sugandhi wrote: > A new IMA policy rule is needed for the IMA hook > ima_measure_critical_data() and the corresponding func CRITICAL_DATA for > measuring the input buffer. The policy rule should ensure the buffer > would get measured only when the policy rule allows

Re: [PATCH 1/2] mm/madvise: allow process_madvise operations on entire memory range

2020-12-11 Thread Jann Horn
On Sat, Dec 12, 2020 at 12:01 AM Minchan Kim wrote: > On Fri, Dec 11, 2020 at 09:27:46PM +0100, Jann Horn wrote: > > +CC Christoph Hellwig for opinions on compat > > > > On Thu, Nov 26, 2020 at 12:22 AM Minchan Kim wrote: > > > On Mon, Nov 23, 2020 at 09:39:42PM -0800, Suren Baghdasaryan wrote:

Re: [patch 1/3] tick: Remove pointless cpu valid check in hotplug code

2020-12-11 Thread Thomas Gleixner
On Fri, Dec 11 2020 at 23:21, Frederic Weisbecker wrote: > On Sun, Dec 06, 2020 at 10:12:54PM +0100, Thomas Gleixner wrote: >> tick_handover_do_timer() which is invoked when a CPU is unplugged has a >> @@ -407,17 +407,13 @@ EXPORT_SYMBOL_GPL(tick_broadcast_oneshot >> /* >> * Transfer the

Re: [PATCH v8 3/8] IMA: define a hook to measure kernel integrity critical data

2020-12-11 Thread Tyler Hicks
On 2020-12-11 15:58:02, Tushar Sugandhi wrote: > IMA provides capabilities to measure file data, and in-memory buffer > data. However, various data structures, policies, and states > stored in kernel memory also impact the integrity of the system. > Several kernel subsystems contain such integrity

Re: [PATCH v3] KVM: mmu: Fix SPTE encoding of MMIO generation upper half

2020-12-11 Thread Paolo Bonzini
On 12/12/20 00:54, Sean Christopherson wrote: On Fri, Dec 11, 2020, Paolo Bonzini wrote: From: "Maciej S. Szmigiero" Commit cae7ed3c2cb0 ("KVM: x86: Refactor the MMIO SPTE generation handling") cleaned up the computation of MMIO generation SPTE masks, however it introduced a bug how the upper

Re: [PATCH] lib/find_bit_bench: fix the unmatched iterations cnt

2020-12-11 Thread Yun Levi
> I didn't understand why is so (I mean "same", I think you rather talking about > same order of amount of itterations). Yes. That's what I want to talk about. Thanks! > Can you provide before and after to compare? I tested when the bitmap's 0 bit is set only. and below are before and after

Re: [PATCH v8 1/8] IMA: generalize keyring specific measurement constructs

2020-12-11 Thread Tyler Hicks
On 2020-12-11 15:58:00, Tushar Sugandhi wrote: > IMA functions such as ima_match_keyring(), process_buffer_measurement(), > ima_match_policy() etc. handle data specific to keyrings. Currently, > these constructs are not generic to handle any func specific data. > This makes it harder to extend

Re: [PATCH v8 2/8] IMA: add support to measure buffer data hash

2020-12-11 Thread Tyler Hicks
On 2020-12-11 15:58:01, Tushar Sugandhi wrote: > The original IMA buffer data measurement sizes were small (e.g. boot > command line), but the new buffer data measurement use cases have data > sizes that are a lot larger. Just as IMA measures the file data hash, > not the file data, IMA should

Re: [PATCH v3 5/6] mm/gup: migrate pinned pages out of movable zone

2020-12-11 Thread John Hubbard
On 12/11/20 3:00 PM, Pavel Tatashin wrote: I guess revert what we did (unpin) and return an error. The interesting question is what can make migration/isolation fail OK. I will make the necessary changes. Let's handle errors properly. Whatever the cause for the error, we will know it when it

  1   2   3   4   5   6   7   8   9   10   >