Re: [PATCH] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Ard Biesheuvel
On Wed, 3 Jun 2020 at 10:59, Masahiro Yamada wrote: > > On Wed, Jun 3, 2020 at 5:45 PM Ard Biesheuvel wrote: > > > > On Wed, 3 Jun 2020 at 10:36, Masahiro Yamada wrote: > > > > > > On Wed, Jun 3, 2020 at 3:45 PM Ard Biesheuvel wrote: > > > > > > > > On Wed, 3 Jun 2020 at 07:34, Masahiro Yamada

[GIT PULL] MFD for v5.8

2020-06-03 Thread Lee Jones
Good morning Linus, Enjoy! The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-next-5.8 for you to fetch changes

[GIT PULL] Backlight for v5.8

2020-06-03 Thread Lee Jones
Good morning Linus, Enjoy! The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-next-5.8 for you to

Re: [PATCH v3 13/75] x86/boot/compressed/64: Add IDT Infrastructure

2020-06-03 Thread Joerg Roedel
On Mon, May 04, 2020 at 01:28:59PM +0200, Joerg Roedel wrote: > On Mon, May 04, 2020 at 12:54:45PM +0200, Borislav Petkov wrote: > > On Tue, Apr 28, 2020 at 05:16:23PM +0200, Joerg Roedel wrote: > > > +#include "../../entry/calling.h" > > > > Leftover from something? Commenting it out doesn't

[PATCH V1 1/2] mmc: sdhci-msm: Add interconnect bandwidth scaling support

2020-06-03 Thread Pradeep P V K
Interconnect bandwidth scaling support is now added as a part of OPP [1]. So, make sure interconnect driver is ready before handling interconnect scaling. This change is based on [1] [Patch v8] Introduce OPP bandwidth bindings (https://lkml.org/lkml/2020/5/12/493) [2] [Patch v3] mmc: sdhci-msm:

[PATCH V1 2/2] dt-bindings: mmc: sdhci-msm: Add interconnect BW scaling strings

2020-06-03 Thread Pradeep P V K
Add interconnect bandwidth scaling supported strings for qcom-sdhci controller. Signed-off-by: Pradeep P V K Acked-by: Rob Herring Reviewed-by: Bjorn Andersson --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 18 ++ 1 file changed, 18 insertions(+) diff --git

[PATCH V1 0/2] Add SDHC interconnect bandwidth scaling

2020-06-03 Thread Pradeep P V K
Add interconnect bandwidths for SDHC driver using OPP framework that is required by SDHC driver based on the clock frequency and bus width of the card. Otherwise, the system clocks may run at minimum clock speed and thus affecting the performance. This change is based on [1] [Patch v8]

Re: [PATCH bpf] bpf: fix unused-var without NETDEVICES

2020-06-03 Thread Matthieu Baerts
Hi Ferenc, On 03/06/2020 10:56, Ferenc Fejes wrote: Matthieu Baerts ezt írta (időpont: 2020. jún. 3., Sze, 10:11): A recent commit added new variables only used if CONFIG_NETDEVICES is set. Thank you for noticing and fixed this! A simple fix is to only declare these variables if the same

Re: [PATCH 2/4] serial: core: fix broken sysrq port unlock

2020-06-03 Thread Johan Hovold
On Wed, Jun 03, 2020 at 10:40:51AM +0200, Johan Hovold wrote: > On Tue, Jun 02, 2020 at 04:34:16PM +0100, Dmitry Safonov wrote: > > On 6/2/20 3:48 PM, Andy Shevchenko wrote: > > > On Tue, Jun 2, 2020 at 5:03 PM Johan Hovold wrote: > > >> > > >> Commit d6e1935819db ("serial: core: Allow processing

Re: [PATCH] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Masahiro Yamada
On Wed, Jun 3, 2020 at 6:02 PM Ard Biesheuvel wrote: > > On Wed, 3 Jun 2020 at 10:59, Masahiro Yamada wrote: > > > > On Wed, Jun 3, 2020 at 5:45 PM Ard Biesheuvel wrote: > > > > > > On Wed, 3 Jun 2020 at 10:36, Masahiro Yamada wrote: > > > > > > > > On Wed, Jun 3, 2020 at 3:45 PM Ard

[PATCH v1] dt-bindings: leds: fix macro names for pca955x

2020-06-03 Thread Flavio Suligoi
The documentation reports the wrong macro names related to the pca9532 instead of the pca955x Signed-off-by: Flavio Suligoi Acked-by: Rob Herring --- v1: add "Acked-by: Rob Herring " Documentation/devicetree/bindings/leds/leds-pca955x.txt | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [GIT PULL rcu/urgent] Fix printk format warning

2020-06-03 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello! > > This pull request contains a single commit that fixes a printk() format > error that appears on 32-bit architectures. This could be argued to > be a minor bug, but it is a regression from this week's merge window, > and is in code that is never used in

Re: [PATCH] efi/libstub: refactor Makefile to not use lib-y syntax

2020-06-03 Thread Ard Biesheuvel
On Wed, 3 Jun 2020 at 11:15, Masahiro Yamada wrote: > > On Wed, Jun 3, 2020 at 6:02 PM Ard Biesheuvel wrote: > > > > On Wed, 3 Jun 2020 at 10:59, Masahiro Yamada wrote: > > > > > > On Wed, Jun 3, 2020 at 5:45 PM Ard Biesheuvel wrote: > > > > > > > > On Wed, 3 Jun 2020 at 10:36, Masahiro Yamada

Re: [Patch v2] lib: test get_count_order/long in test_bitops.c

2020-06-03 Thread Andy Shevchenko
On Tue, Jun 02, 2020 at 10:37:28PM +, Wei Yang wrote: > Add some test for get_count_order/long in test_bitops.c. Thanks! LGTM, Reviewed-by: Andy Shevchenko Note, we can have as many MODULE_AUTHOR() lines as we want. > Signed-off-by: Wei Yang > > --- > v2: merge the test into

RE: [EXT] [PATCH 2/4] mwifiex: Fix firmware filename for sd8997 chipset

2020-06-03 Thread Ganapathi Bhat
Acked-by: Ganapathi Bhat

Re: [PATCH] [RFC] clk: sprd: fix compile-testing

2020-06-03 Thread Chunyan Zhang
On Thu, Apr 9, 2020 at 2:57 AM Arnd Bergmann wrote: > > I got a build failure with CONFIG_ARCH_SPRD=m when the > main portion of the clock driver failed to get linked into > the kernel: > > ERROR: modpost: "sprd_pll_sc_gate_ops" [drivers/clk/sprd/sc9863a-clk.ko] > undefined! > ERROR: modpost:

RE: [EXT] [PATCH 0/4] marvell: Fix firmware filenames for sd8977/sd8997 chipsets

2020-06-03 Thread Ganapathi Bhat
Hi Pali, > This patch series fixes mwifiex and btmrvl drivers to load firmware for > sd8977 and sd8997 chipsets from correct filename. Thanks you for the changes, I will ack each patch; Regards, Ganapathi

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Daniel Thompson
On Wed, Jun 03, 2020 at 10:25:04AM +0200, Petr Mladek wrote: > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > In kgdb context, calling console handlers aren't safe due to locks used > > in those handlers which could in turn lead to a deadlock. Although, using > > oops_in_progress increases the

[RFC PATCH v4] kbuild: add variables for compression tools

2020-06-03 Thread Denis Efremov
Allow user to use alternative implementations of compression tools, such as pigz, pbzip2, pxz. For example, multi-threaded tools to speed up the build: $ make GZIP=pigz BZIP2=pbzip2 Variables _GZIP, _BZIP2, _LZOP are used internally because original env vars are reserved by the tools. The use of

RE: [EXT] [PATCH 4/4] btmrvl: Fix firmware filename for sd8997 chipset

2020-06-03 Thread Ganapathi Bhat
Acked-by: Ganapathi Bhat

RE: [EXT] [PATCH 3/4] btmrvl: Fix firmware filename for sd8977 chipset

2020-06-03 Thread Ganapathi Bhat
Acked-by: Ganapathi Bhat

[tip: core/urgent] rcuperf: Fix printk format warning

2020-06-03 Thread tip-bot2 for Kefeng Wang
The following commit has been merged into the core/urgent branch of tip: Commit-ID: b3e2d20973db3ec87a6dd2fee0c88d3c2e7c2f61 Gitweb: https://git.kernel.org/tip/b3e2d20973db3ec87a6dd2fee0c88d3c2e7c2f61 Author:Kefeng Wang AuthorDate:Fri, 17 Apr 2020 12:02:45 +08:00

RE: [EXT] [PATCH 1/4] mwifiex: Fix firmware filename for sd8977 chipset

2020-06-03 Thread Ganapathi Bhat
Acked-by: Ganapathi Bhat

Re: [PATCH][next] clk: baikal-t1: fix spelling mistake "Uncompatible" -> "Incompatible"

2020-06-03 Thread Serge Semin
On Tue, Jun 02, 2020 at 01:10:30PM +0100, Colin King wrote: > From: Colin Ian King > > There is a spelling mistake in a pr_err error message. Fix it. Thanks! Reviewed-by: Serge Semin > > Signed-off-by: Colin Ian King > --- > drivers/clk/baikal-t1/clk-ccu-div.c | 2 +- > 1 file changed, 1

[RESENT PATCH v5 1/5] scsi: ufs: remove max_t in ufs_get_device_desc

2020-06-03 Thread Bean Huo
From: Bean Huo For the UFS device, the maximum descriptor size is 255, max_t called in ufs_get_device_desc() is useless. Signed-off-by: Bart van Assche Signed-off-by: Bean Huo Acked-by: Avri Altman Reviewed-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 5 + 1 file changed, 1

[RESENT PATCH v5 3/5] scsi: ufs: fix potential access NULL pointer while memcpy

2020-06-03 Thread Bean Huo
From: Bean Huo If param_offset is not 0, the memcpy length shouldn't be the true descriptor length. Signed-off-by: Bean Huo --- drivers/scsi/ufs/ufshcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index

[RESENT PATCH v5 5/5] scsi: ufs: add compatibility with 3.1 UFS unit descriptor length

2020-06-03 Thread Bean Huo
From: Bean Huo For UFS 3.1, the normal unit descriptor is 10 bytes larger than the RPMB unit, however, both descriptors share the same desc_idn, to cover both unit descriptors with one length, we choose the normal unit descriptor length by desc_index. Signed-off-by: Bean Huo Reviewed-by: Avri

[RESENT PATCH v5 4/5] scsi: ufs: cleanup ufs initialization path

2020-06-03 Thread Bean Huo
From: Bean Huo At UFS initialization stage, to get the length of the descriptor, ufshcd_read_desc_length() being called 6 times. Instead, we will capture the descriptor size the first time we'll read it. Delete unnecessary redundant code, remove ufshcd_read_desc_length(),

[RESENT PATCH v5 0/5] scsi: ufs: cleanup ufs initialization

2020-06-03 Thread Bean Huo
From: Bean Huo Resent this patchset since linux-s...@vger.kernel.org and linux-kernel@vger.kernel.org rejected my email Cleanup UFS descriptor length initialization, and delete some unnecessary code. Changelog: v4 - v5: 1. Rebased patch 2. In the patch 3/5, change "param_size >

[RESENT PATCH v5 2/5] scsi: ufs: delete ufshcd_read_desc()

2020-06-03 Thread Bean Huo
From: Bean Huo Delete ufshcd_read_desc(). Instead, let caller directly call ufshcd_read_desc_param(). Signed-off-by: Bean Huo Reviewed-by: Avri Altman Reviewed-by: Bart van Assche Reviewed-by: Stanley Chu --- drivers/scsi/ufs/ufshcd.c | 27 --- 1 file changed, 8

[PULL 0/5] xtensa updates for v5.8

2020-06-03 Thread Max Filippov
-20200603 for you to fetch changes up to 3ead2f97bd44a9a106572d306cb04a878c569cb2: xtensa: Fix spelling/grammar in comment (2020-05-25 16:11:43 -0700) Xtensa updates for v5.8: - fix __user annotations in asm/uaccess.h - fix

Re: [RFC PATCH v5 2/6] interconnect: Add generic interconnect driver for Exynos SoCs

2020-06-03 Thread Sylwester Nawrocki
On 02.06.2020 10:21, Krzysztof Kozlowski wrote: >> +static struct icc_node *exynos_icc_get_parent(struct device_node *np) >> +{ >> +struct of_phandle_args args; >> +int num, ret; >> + >> +num = of_count_phandle_with_args(np, "samsung,interconnect-parent", >> +

Re: [net-next 1/6] net: marvell: prestera: Add driver for Prestera family ASIC devices

2020-06-03 Thread Ido Schimmel
On Mon, Jun 01, 2020 at 01:50:13PM +0300, Vadym Kochan wrote: > Hi Ido, > > On Sat, May 30, 2020 at 06:48:01PM +0300, Ido Schimmel wrote: > > On Thu, May 28, 2020 at 06:12:40PM +0300, Vadym Kochan wrote: > > > > [...] > > > Nit: "From" ? > > > > > + PRESTERA_DSA_CMD_FROM_CPU, > > > +}; > > >

[PATCH] ALSA: es1688: Add the missed snd_card_free()

2020-06-03 Thread Chuhong Yuan
snd_es968_pnp_detect() misses a snd_card_free() in a failed path. Add the missed function call to fix it. Fixes: a20971b201ac ("ALSA: Merge es1688 and es968 drivers") Signed-off-by: Chuhong Yuan --- sound/isa/es1688/es1688.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH] clk: clk-st: Add the missed checks in st_clk_probe()

2020-06-03 Thread Chuhong Yuan
st_clk_probe() has not check for clk_hw_register_mux(), clk_hw_register_gate() and devm_clk_hw_register_clkdev(). Add the missed checks and return devm_clk_hw_register_clkdev()'s return value to check errors. Fixes: 421bf6a1f061 ("clk: x86: Add ST oscout platform clock") Signed-off-by: Chuhong

[PATCH v3] iio: amplifiers: ad8366: Change devm_gpiod_get() to optional and add the missed check

2020-06-03 Thread Chuhong Yuan
Since if there is no GPIO, nothing happens, replace devm_gpiod_get() with devm_gpiod_get_optional(). Also add IS_ERR() to fix the missing-check bug. Fixes: cee211f4e5a0 ("iio: amplifiers: ad8366: Add support for the ADA4961 DGA") Signed-off-by: Chuhong Yuan --- Changes in v3: - Change

[PATCH] fbdev: geocode: Add the missed pci_disable_device() for gx1fb_map_video_memory()

2020-06-03 Thread Chuhong Yuan
Although gx1fb_probe() has handled the failure of gx1fb_map_video_memory() partly, it does not call pci_disable_device() as gx1fb_map_video_memory() calls pci_enable_device(). Add the missed function call to fix the bug. Fixes: 53eed4ec8bcd ("[PATCH] fbdev: geode updates]") Signed-off-by: Chuhong

[PATCH] media: budget-core: Add missed undo functions in budget_register()

2020-06-03 Thread Chuhong Yuan
budget_register() has no error handling after its failure. Add the missed undo functions for error handling to fix it. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Chuhong Yuan --- drivers/media/pci/ttpci/budget-core.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-)

[PATCH] xfs: Add the missed xfs_perag_put() for xfs_ifree_cluster()

2020-06-03 Thread Chuhong Yuan
xfs_ifree_cluster() calls xfs_perag_get() at the beginning, but forgets to call xfs_perag_put() in one failed path. Add the missed function call to fix it. Fixes: ce92464c180b ("xfs: make xfs_trans_get_buf return an error code") Signed-off-by: Chuhong Yuan --- fs/xfs/xfs_inode.c | 4 +++- 1

Re: [PATCH v5 4/4] kdb: Switch to use safer dbg_io_ops over console APIs

2020-06-03 Thread Sumit Garg
On Wed, 3 Jun 2020 at 13:55, Petr Mladek wrote: > > On Wed 2020-06-03 12:52:15, Sumit Garg wrote: > > In kgdb context, calling console handlers aren't safe due to locks used > > in those handlers which could in turn lead to a deadlock. Although, using > > oops_in_progress increases the chance to

[PATCH v1] ARM: dts: aspeed: mihawk: add aliases for i2c and add thermal sensor

2020-06-03 Thread Ben Pai
1.Set the bus id for each mux channel to avoid switching channels multiple times 2.Set smbus_en of IO expander to 1 in order to be able to read tmp401 sensor 3.Add 8 tmp401 thermal sensors Signed-off-by: Ben Pai --- arch/arm/boot/dts/aspeed-bmc-opp-mihawk.dts | 449 +++- 1 file

Re: Security Random Number Generator support

2020-06-03 Thread Russell King - ARM Linux admin
On Wed, Jun 03, 2020 at 08:40:58AM +0100, Marc Zyngier wrote: > On 2020-06-03 08:29, Neal Liu wrote: > > On Tue, 2020-06-02 at 21:02 +0800, Marc Zyngier wrote: > > > On 2020-06-02 13:14, Ard Biesheuvel wrote: > > > > On Tue, 2 Jun 2020 at 10:15, Neal Liu wrote: > > > >> > > > >> These patch

Re: [PATCH v2] crypto: caam/qi2 - add support for dpseci_reset()

2020-06-03 Thread Horia Geantă
On 6/3/2020 11:47 AM, Andrei Botila (OSS) wrote: > From: Andrei Botila > > Add support for dpseci_reset() command for DPSECI objects. > For DPSECI DPAA2 objects with version lower than v5.4 reset command > was broken in MC f/w. > > Signed-off-by: Andrei Botila Reviewed-by: Horia Geantă

[PATCH] soc: imx: scu: use devm_kasprintf

2020-06-03 Thread peng . fan
From: Peng Fan Use devm_kasprintf to simplify code Signed-off-by: Peng Fan --- drivers/soc/imx/soc-imx-scu.c | 37 +++-- 1 file changed, 11 insertions(+), 26 deletions(-) diff --git a/drivers/soc/imx/soc-imx-scu.c b/drivers/soc/imx/soc-imx-scu.c index

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-03 Thread Mel Gorman
On Tue, Jun 02, 2020 at 06:46:00PM +0200, Dietmar Eggemann wrote: > On 29.05.20 12:08, Mel Gorman wrote: > > On Thu, May 28, 2020 at 06:11:12PM +0200, Peter Zijlstra wrote: > >>> FWIW, I think you're referring to Mel's notice in OSPM regarding the > >>> overhead. > >>> Trying to see what goes on

Re: [PATCH] ALSA: es1688: Add the missed snd_card_free()

2020-06-03 Thread Takashi Iwai
On Wed, 03 Jun 2020 11:24:59 +0200, Chuhong Yuan wrote: > > snd_es968_pnp_detect() misses a snd_card_free() in a failed path. > Add the missed function call to fix it. > > Fixes: a20971b201ac ("ALSA: Merge es1688 and es968 drivers") > Signed-off-by: Chuhong Yuan Thanks, applied now with

[PATCH] MIPS: Do not flush tlb when setting pmd entry

2020-06-03 Thread Bibo Mao
Function set_pmd_at is to set pmd entry, if tlb entry need to be flushed, there exists pmdp_huge_clear_flush alike function before set_pmd_at is called. So it is not necessary to call flush_tlb_all in this function. Signed-off-by: Bibo Mao --- arch/mips/mm/pgtable-64.c | 1 - 1 file changed, 1

回复:[PATCH 1/4] clk: sunxi-ng: add support for the Allwinner A100 CCU

2020-06-03 Thread 李扬韬
>> + /* Enable the lock bits on all PLLs */ >> + for (i = 0; i < ARRAY_SIZE(pll_regs); i++) { >> + val = readl(reg + pll_regs[i]); >> + val |= BIT(29); > >Having a define for that would be nice here > >> + writel(val, reg + pll_regs[i]); >> + } >> + >> + /* >> + * In order to pass the EMI

Re: [PATCH] media: stm32-dcmi: Set minimum cpufreq requirement

2020-06-03 Thread Valentin Schneider
On 03/06/20 08:50, Vincent Guittot wrote: > On Wed, 3 Jun 2020 at 09:34, Benjamin GAIGNARD > wrote: >> On 6/2/20 3:35 PM, Valentin Schneider wrote: >> > AFAIA streaming_start() is not necessarily executing on the same CPU as the >> > one that will handle the interrupt. I was thinking you could

回复:[PATCH 2/4] pinctrl: sunxi: add support for the Allwinner A100 pin controller

2020-06-03 Thread 李扬韬
>> + SUNXI_PIN(SUNXI_PINCTRL_PIN(F, 0), >> + SUNXI_FUNCTION(0x0, "gpio_in"), >> + SUNXI_FUNCTION(0x1, "gpio_out"), >> + SUNXI_FUNCTION(0x2, "mmc0"), /* D1 */ >> + SUNXI_FUNCTION(0x3, "jtag"), /* MS1 */ >> + SUNXI_FUNCTION(0x4, "jtag"), /* MS_GPU */ > >We should use another name here, since

Re: [PATCH v3 055/105] drm/vc4: hvs: Introduce a function to get the assigned FIFO

2020-06-03 Thread Maxime Ripard
Hi Eric, On Wed, May 27, 2020 at 12:40:02PM -0700, Eric Anholt wrote: > On Wed, May 27, 2020 at 8:50 AM Maxime Ripard wrote: > > > > At boot time, if we detect that a pixelvalve has been enabled, we need to > > be able to retrieve the HVS channel it has been assigned to so that we can > >

Re: [PATCH v4 3/4] mm/util.c: remove the VM_WARN_ONCE for vm_committed_as underflow check

2020-06-03 Thread Feng Tang
On Tue, Jun 02, 2020 at 12:02:22AM -0400, Qian Cai wrote: > > > > On Jun 1, 2020, at 11:37 PM, Feng Tang wrote: > > > > I re-run the same benchmark with v5.7 and 5.7+remove_warning kernels, > > the overall performance change is trivial (which is expected) > > > > 1330147+0.1%

Re: [PATCH RFC 01/13] vhost: option to fetch descriptors through an independent struct

2020-06-03 Thread Michael S. Tsirkin
On Wed, Jun 03, 2020 at 03:13:56PM +0800, Jason Wang wrote: > > On 2020/6/2 下午9:05, Michael S. Tsirkin wrote: > > The idea is to support multiple ring formats by converting > > to a format-independent array of descriptors. > > > > This costs extra cycles, but we gain in ability > > to fetch a

Re: Security Random Number Generator support

2020-06-03 Thread Sudeep Holla
+ Jose On Wed, Jun 03, 2020 at 03:54:17PM +0800, Neal Liu wrote: > On Wed, 2020-06-03 at 08:40 +0100, Marc Zyngier wrote: [...] > > The idea is simply to have *one* single ID that caters for all > > implementations, just like we did for PSCI at the time. This > > requires ARM to edict a

Re: [PATCH 1/4] clk: sunxi-ng: add support for the Allwinner A100 CCU

2020-06-03 Thread Chen-Yu Tsai
On Wed, Jun 3, 2020 at 5:42 PM 李扬韬 wrote: > > >> + /* Enable the lock bits on all PLLs */ > >> + for (i = 0; i < ARRAY_SIZE(pll_regs); i++) { > >> + val = readl(reg + pll_regs[i]); > >> + val |= BIT(29); > > > >Having a define for that would be nice here > > > >> + writel(val, reg +

RE: (EXT) [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family

2020-06-03 Thread Robin Gong
On 2020/06/03 Matthias Schiffer wrote: > On Thu, 2020-05-21 at 04:34 +0800, Robin Gong wrote: > > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > > transfer to be send twice in DMA mode. Please get more information > > from: > >

Re: [PATCH 2/2] docs: fs: proc.rst: fix a warning due to a merge conflict

2020-06-03 Thread Mark Brown
On Wed, Jun 03, 2020 at 12:38:14AM +0200, Mauro Carvalho Chehab wrote: > Changeset 424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps") > added a new parameter to a table. This causes Sphinx warnings, > because there's now an extra "-" at the wrong place: Acked-by: Mark Brown

Re: [PATCH v3 73/75] x86/sev-es: Support CPU offline/online

2020-06-03 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:17:23PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > Add a play_dead handler when running under SEV-ES. This is needed > because the hypervisor can't deliver an SIPI request to restart the AP. > Instead the kernel has to issue a VMGEXIT to halt the VCPU. When

Re: [PATCH v2] kexec: Do not verify the signature without the lockdown or mandatory signature

2020-06-03 Thread Dave Young
On 06/02/20 at 12:59pm, Lianbo Jiang wrote: > Signature verification is an important security feature, to protect > system from being attacked with a kernel of unknown origin. Kexec > rebooting is a way to replace the running kernel, hence need be > secured carefully. > > In the current code of

Re: [PATCH v3 74/75] x86/sev-es: Handle NMI State

2020-06-03 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:17:24PM +0200, Joerg Roedel wrote: > diff --git a/arch/x86/kernel/nmi.c b/arch/x86/kernel/nmi.c > index 27d1016ec840..8898002e5600 100644 > --- a/arch/x86/kernel/nmi.c > +++ b/arch/x86/kernel/nmi.c > @@ -511,6 +511,13 @@ NOKPROBE_SYMBOL(is_debug_stack); > dotraplinkage

Re: [PATCH] rcu: Fixup noinstr warnings

2020-06-03 Thread Paul E. McKenney
On Wed, Jun 03, 2020 at 10:48:18AM +0200, Peter Zijlstra wrote: > On Tue, Jun 02, 2020 at 09:38:53PM +0200, Peter Zijlstra wrote: > > > That said; noinstr's __no_sanitize combined with atomic_t might be > > 'interesting', because the regular atomic things have explicit > > annotations in them.

Re: [net-next 2/6] net: marvell: prestera: Add PCI interface support

2020-06-03 Thread Ido Schimmel
On Thu, May 28, 2020 at 06:12:41PM +0300, Vadym Kochan wrote: > drivers/net/ethernet/marvell/prestera/Kconfig | 11 + > .../net/ethernet/marvell/prestera/Makefile| 2 + > .../ethernet/marvell/prestera/prestera_pci.c | 825 ++ > 3 files changed, 838 insertions(+) > create

Re: linux-next: manual merge of the akpm-current tree with the kselftest tree

2020-06-03 Thread Masami Hiramatsu
Hi Stephen, On Wed, 3 Jun 2020 18:29:01 +1000 Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the akpm-current tree got a conflict in: > > tools/testing/selftests/sysctl/sysctl.sh > > between commit: > > eee470e0739a ("selftests/sysctl: Fix to load test_sysctl module")

Re: [PATCH v2 net-next 03/10] net: mscc: ocelot: allocated rules to different hardware VCAP TCAMs by chain index

2020-06-03 Thread Vladimir Oltean
Hi Allan, On Tue, 2 Jun 2020 at 11:38, Allan W. Nielsen wrote: > > Hi Xiaoliang, > > Happy to see that you are moving in the directions of multi chain - this > seems ilke a much better fit to me. > > > On 02.06.2020 13:18, Xiaoliang Yang wrote: > >There are three hardware TCAMs for ocelot chips:

Re: [PATCH v8 0/8] powerpc: switch VDSO to C implementation

2020-06-03 Thread Michael Ellerman
Christophe Leroy writes: > Hi Michael, > > Le 28/04/2020 à 15:16, Christophe Leroy a écrit : >> This is the seventh version of a series to switch powerpc VDSO to >> generic C implementation. >> >> Main changes since v7 are: >> - Added gettime64 on PPC32 >> >> This series applies on today's

Re: [RFC PATCH v5 6/6] drm: exynos: mixer: Add interconnect support

2020-06-03 Thread Sylwester Nawrocki
Hi Chanwoo, On 01.06.2020 09:58, Chanwoo Choi wrote: > On 5/30/20 1:32 AM, Sylwester Nawrocki wrote: >> From: Marek Szyprowski >> >> This patch adds interconnect support to exynos-mixer. The mixer works >> the same as before when CONFIG_INTERCONNECT is 'n'. >> >> For proper operation of the

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 01:22:00PM +0530, Viresh Kumar wrote: > On 02-06-20, 11:34, Xiongfeng Wang wrote: > > Hi Viresh, > > > > Sorry to disturb you about another problem as follows. > > > > CPPC use the increment of Desired Performance counter and Reference > > Performance > > counter to get

Re: [PATCH] wireless: ath10k: Return early in ath10k_qmi_event_server_exit() to avoid hard crash on reboot

2020-06-03 Thread govinds
Hi Mani, On 2020-06-03 05:57, Manivannan Sadhasivam wrote: On Tue, Jun 02, 2020 at 01:04:26PM -0700, Brian Norris wrote: On Tue, Jun 2, 2020 at 12:40 PM John Stultz wrote: > On Tue, Jun 2, 2020 at 12:16 PM Brian Norris wrote: > > On Mon, Jun 1, 2020 at 10:25 PM John Stultz wrote: > > > > >

Re: linux-next test error: BUG: using smp_processor_id() in preemptible [ADDR] code: syz-fuzzer/6792

2020-06-03 Thread Ritesh Harjani
On 6/2/20 8:22 PM, Hillf Danton wrote: Tue, 02 Jun 2020 04:20:16 -0700 syzbot found the following crash on: HEAD commit:0e21d462 Add linux-next specific files for 20200602 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=127233ee10 kernel config:

Re: [net-next 3/6] net: marvell: prestera: Add basic devlink support

2020-06-03 Thread Ido Schimmel
On Thu, May 28, 2020 at 06:12:42PM +0300, Vadym Kochan wrote: > Add very basic support for devlink interface: > > - driver name > - fw version > - devlink ports I suggest adding support for reload while the driver is still simple. I use it all the time because I run with modules

Re: [PATCH v3 23/75] x86/boot/compressed/64: Setup GHCB Based VC Exception handler

2020-06-03 Thread Joerg Roedel
On Mon, May 11, 2020 at 10:07:09PM +0200, Borislav Petkov wrote: > On Tue, Apr 28, 2020 at 05:16:33PM +0200, Joerg Roedel wrote: > > @@ -63,3 +175,45 @@ void __init do_vc_no_ghcb(struct pt_regs *regs, > > unsigned long exit_code) > > while (true) > > asm volatile("hlt\n"); > > }

Re: [PATCH V11 11/11] fs/xfs: Update xfs_ioctl_setattr_dax_invalidate()

2020-06-03 Thread Jan Kara
On Tue 02-06-20 10:23:53, Darrick J. Wong wrote: > On Tue, Apr 28, 2020 at 01:11:38PM -0700, Darrick J. Wong wrote: > > > -out_unlock: > > > - xfs_iunlock(ip, XFS_MMAPLOCK_EXCL | XFS_IOLOCK_EXCL); > > > - return error; > > > + if ((mp->m_flags & XFS_MOUNT_DAX_ALWAYS) || > > > + (mp->m_flags &

Re: [PATCHv5 3/5] ext4: mballoc: Introduce pcpu seqcnt for freeing PA to improve ENOSPC handling

2020-06-03 Thread Ritesh Harjani
Hi Marek, On 6/3/20 12:18 PM, Marek Szyprowski wrote: Hi Ritesh, On 20.05.2020 08:40, Ritesh Harjani wrote: There could be a race in function ext4_mb_discard_group_preallocations() where the 1st thread may iterate through group's bb_prealloc_list and remove all the PAs and add to function's

[PATCH] KVM: Use vmemdup_user()

2020-06-03 Thread Denis Efremov
Replace opencoded alloc and copy with vmemdup_user(). Signed-off-by: Denis Efremov --- Looks like these are the only places in KVM that are suitable for vmemdup_user(). arch/x86/kvm/cpuid.c | 17 +++-- virt/kvm/kvm_main.c | 19 --- 2 files changed, 15

Re: [PATCH 1/2] sched/uclamp: Add a new sysctl to control RT default boost value

2020-06-03 Thread Mel Gorman
On Wed, Jun 03, 2020 at 10:29:22AM +0200, Patrick Bellasi wrote: > > Hi Dietmar, > thanks for sharing these numbers. > > On Tue, Jun 02, 2020 at 18:46:00 +0200, Dietmar Eggemann > wrote... > > [...] > > > I ran these tests on 'Ubuntu 18.04 Desktop' on Intel E5-2690 v2 > > (2 sockets * 10

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Viresh Kumar
On 03-06-20, 11:07, Sudeep Holla wrote: > But I have another question. If we can detect that CPPC on some platforms > rely on CPU registers(I assume FFH registers here and not system/io/... > type of GAS registers), can we set dvfs_on_any_cpu(can't recall exact > flag name) to false if not already

Re: [RFC PATCH v1] irqchip: Add IRQCHIP_MODULE_BEGIN/END helper macros

2020-06-03 Thread Marc Zyngier
Hi Saravana, On 2020-05-01 21:23, Saravana Kannan wrote: On Fri, May 1, 2020 at 1:48 AM Marc Zyngier wrote: On 2020-04-29 20:04, Saravana Kannan wrote: > On Wed, Apr 29, 2020 at 2:28 AM Marc Zyngier wrote: [...] >> One thing though: this seems to be exclusively DT driven. Have you >>

Re: [PATCH v2 1/3] crash: add VMCOREINFO macro for anonymous structs

2020-06-03 Thread Petr Mladek
On Fri 2020-05-01 11:46:08, John Ogness wrote: > Some structs are not named and are only available via their typedef. > Add a VMCOREINFO macro to export field offsets for such structs. Honestly, I did not get the meaning until I looked at the sample usage added by the 2nd patch. The term

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > On 03-06-20, 11:07, Sudeep Holla wrote: > > But I have another question. If we can detect that CPPC on some platforms > > rely on CPU registers(I assume FFH registers here and not system/io/... > > type of GAS registers), can we set

[PATCH 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Ritesh Harjani
It doesn't really matter in ext4_mb_new_blocks() about whether the code is rescheduled on any other cpu due to preemption. Because we care about discard_pa_seq only when the block allocation fails and then too we add the seq counter of all the cpus against the initial sampled one to check if

Re: [PATCH v3] iio: amplifiers: ad8366: Change devm_gpiod_get() to optional and add the missed check

2020-06-03 Thread Ardelean, Alexandru
On Wed, 2020-06-03 at 17:26 +0800, Chuhong Yuan wrote: > Since if there is no GPIO, nothing happens, replace devm_gpiod_get() > with devm_gpiod_get_optional(). > Also add IS_ERR() to fix the missing-check bug. > Acked-by: Alexandru Ardelean > Fixes: cee211f4e5a0 ("iio: amplifiers: ad8366: Add

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Viresh Kumar
On 03-06-20, 11:17, Sudeep Holla wrote: > On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > > On 03-06-20, 11:07, Sudeep Holla wrote: > > > But I have another question. If we can detect that CPPC on some platforms > > > rely on CPU registers(I assume FFH registers here and not

Re: [RFC PATCH] mm: swap: remove lru drain waiters

2020-06-03 Thread Ahmed S. Darwish
Hi Hillf, For some reason, **all of your posts** from do not appear on lore.kernel.org. Check, for example, https://lore.kernel.org/lkml/?q=hdanton%40sina.com, where thread replies are there but not the actual posts. Just wanted to let you know... Please continue below. On Wed, Jun 03, 2020

Re: b614345f52 ("x86/entry: Clarify irq_{enter,exit}_rcu()"): WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3680 lockdep_hardirqs_on_prepare

2020-06-03 Thread Thomas Gleixner
kernel test robot writes: > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/l...@lists.01.org > #!/bin/bash > > kernel=$1 > initrd=yocto-x86_64-trinity.cgz > > wget --no-clobber > https://download.01.org/0day-ci/lkp-qemu/osimage/yocto/$initrd That results

Re: [PATCHv5 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Marek Szyprowski
Hi Ritesh, On 02.06.2020 15:47, Ritesh Harjani wrote: > It doesn't really matter in ext4_mb_new_blocks() about whether the code > is rescheduled on any other cpu due to preemption. Because we care > about discard_pa_seq only when the block allocation fails and then too > we add the seq counter of

Re: [PATCH v5 1/3] open: add close_range()

2020-06-03 Thread Michael Kerrisk (man-pages)
Hi Christian, Could we have a manual page for this API (best before it's merged)? Thanks, Michael On Tue, 2 Jun 2020 at 22:44, Christian Brauner wrote: > > This adds the close_range() syscall. It allows to efficiently close a range > of file descriptors up to all file descriptors of a calling

Re: [PATCH 2/2] coresight: tmc: Add shutdown callback for TMC ETR/ETF

2020-06-03 Thread Sai Prakash Ranjan
Hi Mike, Thanks again for looking at this. On 2020-06-03 03:42, Mike Leach wrote: [...] SMMU/IOMMU won't be able to do much here as it is the client's responsiblity to properly shutdown and SMMU device link just makes sure that SMMU(supplier) shutdown is called only after its consumers

[PATCH] tty/vt: check allocation size in con_set_unimap()

2020-06-03 Thread Denis Efremov
The vmemdup_user() function has no 2-factor argument form. Use array_size() to check for the overflow. Cc: Kees Cook Signed-off-by: Denis Efremov --- drivers/tty/vt/consolemap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/vt/consolemap.c

linux-next: fix ups for clashes between akpm and powerpc trees

2020-06-03 Thread Stephen Rothwell
Hi all, Some things turned up in the powerpc tree today that required some changes to patches in the akpm tree and also the following fixup patch provided (mostly) by Michael. I have applied this as a single patch today, but parts of it should probably go in some other patches. From: Stephen

Re: [Linux-stm32] [PATCH v8 08/10] drm: stm: dw-mipi-dsi: let the bridge handle the HW version check

2020-06-03 Thread Adrian Ratiu
On Tue, 02 Jun 2020, Emil Velikov wrote: Hi Adrian, Hi Email, On Mon, 1 Jun 2020 at 10:14, Adrian Ratiu wrote: On Fri, 29 May 2020, Philippe CORNU wrote: > Hi Adrian, and thank you very much for the patchset. Thank > you also for having tested it on STM32F769 and STM32MP1. >

[PATCH] mailbox: mailbox-test: Fix a potential Oops on allocation failure

2020-06-03 Thread Dan Carpenter
The callers are expecting NULL on error so if we return an error pointer it eventually results in an Oops. Fixes: 8ea4484d0c2b ("mailbox: Add generic mechanism for testing Mailbox Controllers") Signed-off-by: Dan Carpenter --- drivers/mailbox/mailbox-test.c | 2 +- 1 file changed, 1

RE: [RESENT PATCH v5 0/5] scsi: ufs: cleanup ufs initialization

2020-06-03 Thread Avri Altman
Looks fine to me. Thanks, Avri > > From: Bean Huo > > Resent this patchset since linux-s...@vger.kernel.org and > linux-kernel@vger.kernel.org rejected my email > > > Cleanup UFS descriptor length initialization, and delete some unnecessary > code. > > Changelog: > v4 - v5: > 1.

[RESEND PATCH] bloat-o-meter: Support comparing library archives

2020-06-03 Thread Nikolay Borisov
Library archives (.a) usually contain multiple object files so their output of nm --size-sort contains lines like: 03a8 t run_test extent-map-tests.o: bloat-o-meter currently doesn't handle them which results in errors when calling .split() on them. Fix this by simply ignoring

Re: [PATCHv5 1/1] ext4: mballoc: Use raw_cpu_ptr instead of this_cpu_ptr

2020-06-03 Thread Ritesh Harjani
This fixes the warning observed on various Samsung Exynos SoC based boards with linux-next 20200602. Tested-by: Marek Szyprowski Thanks Marek, Hello Ted, Please pick up below change which I just sent with an added "Fixes" by tag. Changes wise it is the same which Marek tested.

[PATCH 1/2] ASoC: bindings: wm8960: Add property for headphone detection

2020-06-03 Thread Shengjiu Wang
Add two properties for headphone detection. wlf,hp-cfg: A list of headphone jack detect configuration register values wlf,gpio-cfg: A list of GPIO configuration register values Signed-off-by: Shengjiu Wang --- Documentation/devicetree/bindings/sound/wm8960.txt | 11 +++ 1 file changed,

Re: [PATCH 14/15] net: hns3: use PCI_IRQ_MSI_TYPES where appropriate

2020-06-03 Thread Andy Shevchenko
On Wed, Jun 3, 2020 at 11:50 AM Stankiewicz, Piotr wrote: > > -Original Message- > > From: Andy Shevchenko > > Sent: Tuesday, June 2, 2020 5:39 PM > > On Tue, Jun 2, 2020 at 12:26 PM Piotr Stankiewicz > > wrote: ... > > > hdev->num_msi,

[PATCH 2/2] ASoC: wm8960: Support headphone jack detection function

2020-06-03 Thread Shengjiu Wang
Add two platform variables for headphone jack detection. "hp_cfg" is for configuration of heaphone jack detection. "gpio_cfg" is for configuration of gpio, the gpio is used for plug & unplug interrupt on SoC. Signed-off-by: Shengjiu Wang --- include/sound/wm8960.h| 17 +

Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state

2020-06-03 Thread Sudeep Holla
On Wed, Jun 03, 2020 at 03:51:59PM +0530, Viresh Kumar wrote: > On 03-06-20, 11:17, Sudeep Holla wrote: > > On Wed, Jun 03, 2020 at 03:40:10PM +0530, Viresh Kumar wrote: > > > On 03-06-20, 11:07, Sudeep Holla wrote: > > > > But I have another question. If we can detect that CPPC on some > > > >

Re: [PATCH v3 24/75] x86/boot/compressed/64: Unmap GHCB page before booting the kernel

2020-06-03 Thread Joerg Roedel
On Wed, May 13, 2020 at 01:46:33PM +0200, Borislav Petkov wrote: > On Wed, May 13, 2020 at 01:30:11PM +0200, Joerg Roedel wrote: > > Yeah, I had this this way in v2, but changed it upon you request[1] :) > > Yeah, I was wondering why this isn't a separate function - you like them > so much. :-P >

Re: [PATCH 4.9 00/55] 4.9.226-rc3 review

2020-06-03 Thread Jon Hunter
On 02/06/2020 19:13, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.226 release. > There are 55 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

<    1   2   3   4   5   6   7   8   9   10   >