[PATCH 45/49] staging: rtl8723bs: remove RT_TRACE logs in os_dep/sdio_intf.c

2021-04-01 Thread Fabio Aiuto
remove RT_TRACE logs Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c index b6be1423ef75..fecb43b870d7 100644

[PATCH 41/49] staging: rtl8723bs: remove RT_TRACE logs in os_dep/ioctl_linux.c

2021-04-01 Thread Fabio Aiuto
remove all RT_TRACE logs Signed-off-by: Fabio Aiuto --- .../staging/rtl8723bs/os_dep/ioctl_linux.c| 51 --- 1 file changed, 51 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c b/drivers/staging/rtl8723bs/os_dep/ioctl_linux.c index aee4932162a9..3dbe1

[PATCH 48/49] staging: rtl8723bs: remove RT_TRACE logs in os_dep/os_intfs.c

2021-04-01 Thread Fabio Aiuto
remove all RT_TRACE logs Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 45 - 1 file changed, 45 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 405aa95af579..902ea040da2

Re: [PATCH v10 2/4] soc: mediatek: add MT6765 scpsys and subdomain support

2021-04-01 Thread Matthias Brugger
Hi Macpaul, On 10/03/2021 07:36, Macpaul Lin wrote: > From: Mars Cheng > > This adds scpsys support for MT6765 > Add subdomain support for MT6765: > isp, mm, connsys, mfg, and cam. > > Signed-off-by: Mars Cheng > Signed-off-by: Owen Chen > Signed-off-by: Macpaul Lin > --- > drivers/soc/medi

[PATCH] soundwire: qcom: cleanup internal port config indexing

2021-04-01 Thread Srinivas Kandagatla
Internally used portconfig array for storing port bandwidth params starts from offset zero. However port zero is not really used and we also copy the bus parameters to offset zero. So basically we endup with a code which has to subtract 1 from port number to get to port parameters. This is bit con

Re: [PATCH] iio: adc: bcm_iproc_adc: Use %s and __func__

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 1, 2021 at 9:27 AM Mugilraj Dhavachelvan wrote: > > Change function's name to %s and __func__ to fix checkpatch.pl errors. No, just drop the __func__ completely. First of all, we have a device name, and uniqueness of the messages in the driver should guarantee easy findings. Second, s

[PATCH V2 RESEND] mm/memtest: Add ARCH_USE_MEMTEST

2021-04-01 Thread Anshuman Khandual
early_memtest() does not get called from all architectures. Hence enabling CONFIG_MEMTEST and providing a valid memtest=[1..N] kernel command line option might not trigger the memory pattern tests as would be expected in normal circumstances. This situation is misleading. The change here prevents

Re: [PATCH -next] soc: mediatek: Make symbol 'mtk_mutex_driver' static

2021-04-01 Thread Matthias Brugger
On 10/02/2021 08:56, Wei Yongjun wrote: > The sparse tool complains as follows: > > drivers/soc/mediatek/mtk-mutex.c:464:24: warning: > symbol 'mtk_mutex_driver' was not declared. Should it be static? > > This symbol is not used outside of mtk-mutex.c, so this > commit marks it static. > > R

Re: [PATCH v2 1/4] kvm: cpuid: adjust the returned nent field of kvm_cpuid2 for KVM_GET_SUPPORTED_CPUID and KVM_GET_EMULATED_CPUID

2021-04-01 Thread Emanuele Giuseppe Esposito
On 31/03/2021 20:31, Sean Christopherson wrote: On Wed, Mar 31, 2021, Emanuele Giuseppe Esposito wrote: Calling the kvm KVM_GET_[SUPPORTED/EMULATED]_CPUID ioctl requires a nent field inside the kvm_cpuid2 struct to be big enough to contain all entries that will be set by kvm. Therefore if the

Re: [PATCH v6 00/12] lib/find_bit: fast path for small bitmaps

2021-04-01 Thread Arnd Bergmann
On Thu, Apr 1, 2021 at 11:16 AM Andy Shevchenko wrote: > > On Thu, Apr 1, 2021 at 3:36 AM Yury Norov wrote: > > > > Bitmap operations are much simpler and faster in case of small bitmaps > > which fit into a single word. In linux/bitmap.c we have a machinery that > > allows compiler to replace ac

[PATCH] amd: display: modules: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct mod_hdcp is declared twice. One is declared at 33rd line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/amd/display/modules/inc/mod_hdcp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/modules/inc/mod_hd

[PATCH] mfd: abx500: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct ab8500_fg is declared twice. The blew one at 457th line is closer to user. Remove the duplicate here. Move "Forward declaration" annotation to the suitable place. Signed-off-by: Wan Jiabing --- include/linux/mfd/abx500/ab8500-bm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)

[PATCH] rcar/rsnd.h: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct rsnd_dai_stream is declared twice. One is declared at 254th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- sound/soc/sh/rcar/rsnd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h index 6b519370

[PATCH -next] locking/ww_mutex: fix missing destroy_workqueue() on error in test_ww_mutex_init()

2021-04-01 Thread Yang Yingliang
If test_ww_mutex_init() failed, the module won't be loaded, so test_ww_mutex_exit() can not be called, in this case, wq will be leaked, fix it by adding destroy_workqueue() on error path of test_ww_mutex_init(). Fixes: d1b42b800e5d ("locking/ww_mutex: Add kselftests for resolving...") Reported-by:

[PATCH] sunrpc: xprtrdma: Remove repeated struct declaration

2021-04-01 Thread Wan Jiabing
struct rpcrdma_req is declared twice. One is declared at 216th line. The blew one is not needed. Remove the duplicate. Signed-off-by: Wan Jiabing --- net/sunrpc/xprtrdma/xprt_rdma.h | 1 - 1 file changed, 1 deletion(-) diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma

Re: [PATCH 1/2] dt-bindings: arm64: dts: mediatek: Add mt8183-pumpkin board

2021-04-01 Thread Matthias Brugger
On 17/02/2021 21:59, Fabien Parent wrote: > Add binding documentation for the MT8183 Pumpkin board. > > Signed-off-by: Fabien Parent Whole series applied to v5.12-next/dts64 Thanks! > --- > Documentation/devicetree/bindings/arm/mediatek.yaml | 4 > 1 file changed, 4 insertions(+) > >

Re: [PATCH 10/24] ARM: at91: sfrbu: add sfrbu registers definitions for sama7g5

2021-04-01 Thread Claudiu.Beznea
On 31.03.2021 18:54, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 31/03/2021 13:58:54+0300, Claudiu Beznea wrote: >> Add SFRBU registers definitions for SAMA7G5. >> >> Signed-off-by: Claudiu Beznea >> --- >> inclu

[PATCH] net/rxrpc: Fix a use after free in rxrpc_input_packet

2021-04-01 Thread Lv Yunlong
In the case RXRPC_PACKET_TYPE_DATA of rxrpc_input_packet, if skb_unshare(skb,..) failed, it will free the skb and return NULL. But if skb_unshare() return NULL, the freed skb will be used by rxrpc_eaten_skb(skb,..). I see that rxrpc_eaten_skb() is used to drop a ref of skb. As the skb is already f

Re: [PATCH] clocksource/arm_arch_timer: add __ro_after_init and __init

2021-04-01 Thread Daniel Lezcano
On 01/04/2021 10:31, Marc Zyngier wrote: > On Tue, 30 Mar 2021 07:04:44 +0100, > Jisheng Zhang wrote: >> >> Some functions are not needed after booting, so mark them as __init >> to move them to the .init section. >> >> Some global variables are never modified after init, so can be >> __ro_after_i

Re: [PATCH 1/4] soc: mediatek: pm-domains: Add a meaningful power domain name

2021-04-01 Thread Matthias Brugger
On 25/02/2021 18:49, Enric Balletbo i Serra wrote: > Add the power domains names to the power domain struct so we > have meaningful name for every power domain. This also removes the > following debugfs error message. > > [2.242068] debugfs: Directory 'power-domain' with parent 'pm_genpd'

Re: [PATCH v2 2/2] iio: temperature: add driver support for ti tmp117

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 1, 2021 at 12:19 PM Puranjay Mohan wrote: > > TMP117 is a Digital temperature sensor with integrated NV memory. > > Add support for tmp117 driver in iio subsystem. + blank line > Datasheet:-https://www.ti.com/lit/gpn/tmp117 Make it a tag, i.e. remove the following blank line and use

[PATCH v2] writeback: fix obtain a reference to a freeing memcg css

2021-04-01 Thread Muchun Song
The caller of wb_get_create() should pin the memcg, because wb_get_create() relies on this guarantee. The rcu read lock only can guarantee that the memcg css returned by css_from_id() cannot be released, but the reference of the memcg can be zero. Fix it by holding a reference to the css before cal

Re: [PATCH 08/13] KVM: x86/mmu: Protect the tdp_mmu_roots list with RCU

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: Protect the contents of the TDP MMU roots list with RCU in preparation for a future patch which will allow the iterator macro to be used under the MMU lock in read mode. Signed-off-by: Ben Gardon --- arch/x86/kvm/mmu/tdp_mmu.c | 64 +

Re: [PATCH v14 06/13] iommu/smmuv3: Allow stage 1 invalidation with unmanaged ASIDs

2021-04-01 Thread Auger Eric
Hi Zenghui, On 3/30/21 11:17 AM, Zenghui Yu wrote: > On 2021/2/24 4:56, Eric Auger wrote: >> @@ -1936,7 +1950,12 @@ static void >> arm_smmu_tlb_inv_range_domain(unsigned long iova, size_t size, >>   }, >>   }; >>   -    if (smmu_domain->stage == ARM_SMMU_DOMAIN_S1) { >> +    if (ext_as

Re: [PATCH] arm64: dts: mt8183: Add power-domains properity to mfgcfg

2021-04-01 Thread Matthias Brugger
On 24/02/2021 11:30, Enric Balletbo Serra wrote: > Hi Ikjoon, > > Thank you for your patch. > > Missatge de Ikjoon Jang del dia dc., 24 de febr. > 2021 a les 10:21: >> >> mfgcfg clock is under MFG_ASYNC power domain >> >> Signed-off-by: Weiyi Lu >> Signed-off-by: Ikjoon Jang >> --- >> >> a

Re: [PATCH 22/24] ARM: at91: sama7: introduce sama7 SoC family

2021-04-01 Thread Claudiu.Beznea
On 31.03.2021 19:01, Alexandre Belloni wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 31/03/2021 13:59:06+0300, Claudiu Beznea wrote: >> From: Eugen Hristev >> >> Introduce new family of SoCs, sama7, and first SoC, sama7g5. >> >> Sign

Re: [PATCH] arm64: dts: mediatek: fix reset GPIO level on pumpkin

2021-04-01 Thread Matthias Brugger
On 23/02/2021 23:18, Fabien Parent wrote: > The tca6416 chip is active low. Fix the reset-gpios value. > > Fixes: e2a8fa1e0faa ("arm64: dts: mediatek: fix tca6416 reset GPIOs in > pumpkin") > Signed-off-by: Fabien Parent Applied to v5.12-next/dts64 Thanks! > --- > arch/arm64/boot/dts/medi

Re: [PATCHv2] gnss: motmdm: Add support for Motorola Mapphone MDM6600 modem

2021-04-01 Thread Johan Hovold
On Sun, Feb 28, 2021 at 09:46:01PM +0100, Pavel Machek wrote: > Hi! > > > Motorola is using a custom TS 27.010 based multiplexer protocol > > for various devices on the modem. These devices can be accessed on > > dedicated channels using Linux kernel serdev-ngsm driver. > > > > For the GNSS on th

Re: [PATCH 2/3] tracing: Use pr_crit() instead of long fancy messages

2021-04-01 Thread Geert Uytterhoeven
Hi Steven, On Wed, Mar 31, 2021 at 3:40 PM Steven Rostedt wrote: > On Wed, 31 Mar 2021 11:31:03 +0200 > Geert Uytterhoeven wrote: > > > This reduces kernel size by ca. 0.5 KiB. > > If you are worried about size, disable tracing and it will go away > entirely. 0.5KiB is a drop in the bucket compa

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Cristian Ciocaltea
Hi Mani, On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: > On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote: > > This patchset adds a socinfo driver which provides information about > > Actions Semi Owl SoCs to user space via sysfs: machine, family, soc_id,

[PATCH v4 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-04-01 Thread Kai Huang
From: Sean Christopherson Add a misc device /dev/sgx_vepc to allow userspace to allocate "raw" EPC without an associated enclave. The intended and only known use case for raw EPC allocation is to expose EPC to a KVM guest, hence the 'vepc' moniker, virt.{c,h} files and X86_SGX_KVM Kconfig. SGX

Re: [PATCH 3/6] dt-bindings: serdev: ngsm: Add binding for GNSS child node

2021-04-01 Thread Johan Hovold
On Fri, Mar 05, 2021 at 11:46:35AM +0100, Pavel Machek wrote: > Hi! > > > > > For motorola modem case, we may have a GNSS device on channel 4. > > > > Let's add that to the binding and example. > > > > > > > > Signed-off-by: Tony Lindgren > > > > --- > > > > .../devicetree/bindings/serdev/serde

[PATCH] interconnect: qcom: sm8350: Use the correct ids

2021-04-01 Thread Georgi Djakov
For creating an array with the members for each NoC, we should be using a local indexes, as otherwise unnecessary large arrays would be created. Using an incorrect indexes will also result error for the consumers when they try to find a valid path between the endpoints. Let's fix this and use the c

Re: [PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 10:59:29AM +0530, Manivannan Sadhasivam wrote: > On Fri, Mar 12, 2021 at 11:49:27AM +0200, Cristian Ciocaltea wrote: > > Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' > > dummy regulator used for the uSD supply. > > > > Additionally, add 'SYSPWR' fixed

[PATCH] interconnect: qcom: sm8350: Add missing link between nodes

2021-04-01 Thread Georgi Djakov
There is a link between the GEM NoC and C NoC nodes, which is currently missing from the topology. Let's add it to allow consumers request paths that use this link. Reported-by: Alex Elder Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/sm8350.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH] net: hns: Fix some typos

2021-04-01 Thread Lu Wei
Fix some typos. Reported-by: Hulk Robot Signed-off-by: Lu Wei --- drivers/net/ethernet/hisilicon/hns/hns_enet.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c b/drivers/net/ethernet/hisilicon/hns/hns_enet.c index c66a7a51

Re: [PATCH v3 05/25] x86/sgx: Introduce virtual EPC for use by KVM guests

2021-04-01 Thread Kai Huang
On Wed, 31 Mar 2021 21:53:45 +1300 Kai Huang wrote: > On Wed, 31 Mar 2021 09:44:39 +0200 Boris Petkov wrote: > > On March 31, 2021 8:51:38 AM GMT+02:00, Kai Huang > > wrote: > > >How about adding explanation to Documentation/x86/sgx.rst? > > > > Sure, and then we should point users at it. The th

[PATCH] interconnect: qcom: sdm660: Fix kerneldoc warning

2021-04-01 Thread Georgi Djakov
Fix the following warning: sdm660.c:191:warning: Function parameter or member 'regmap' not described in 'qcom_icc_provider' Signed-off-by: Georgi Djakov --- drivers/interconnect/qcom/sdm660.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interconnect/qcom/sdm660.c b/drive

Re: [PATCH 08/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_cmd.c

2021-04-01 Thread Dan Carpenter
On Thu, Apr 01, 2021 at 11:20:38AM +0200, Fabio Aiuto wrote: > @@ -677,9 +663,8 @@ u8 rtw_createbss_cmd(struct adapter *padapter) > u8 res = _SUCCESS; > > if (pmlmepriv->assoc_ssid.SsidLength == 0) > - RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, (" createbss for > Any S

Re: [PATCH v6 00/12] lib/find_bit: fast path for small bitmaps

2021-04-01 Thread Andy Shevchenko
On Thu, Apr 1, 2021 at 12:29 PM Arnd Bergmann wrote: > > On Thu, Apr 1, 2021 at 11:16 AM Andy Shevchenko > wrote: > > > > On Thu, Apr 1, 2021 at 3:36 AM Yury Norov wrote: > > > > > > Bitmap operations are much simpler and faster in case of small bitmaps > > > which fit into a single word. In lin

[PATCH] dmaengine: qcom_hidma: remove unused code

2021-04-01 Thread Jiapeng Chong
Fix the following clang warning: drivers/dma/qcom/hidma.c:94:20: warning: unused function 'to_hidma_desc' [-Wunused-function]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/dma/qcom/hidma.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/dma/qcom/hidma.c b/

[PATCH v2 2/3] nvme: Remove superflues else in nvme_ctrl_loss_tmo_store

2021-04-01 Thread Daniel Wagner
If there is an error we will leave the function early. So there is no need for an else. Remove it. Signed-off-by: Daniel Wagner --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index b94a30e7298d.

[PATCH v2 3/3] nvme: Export fast_io_fail_tmo to sysfs

2021-04-01 Thread Daniel Wagner
Commit 8c4dfea97f15 ("nvme-fabrics: reject I/O to offline device") introduced fast_io_fail_tmo but didn't export the value to sysfs. The value can be set during the 'nvme connect'. Export the timeout value to user space via sysfs to allow runtime configuration. Cc: Victor Gladkov Signed-off-by: D

[PATCH v2 1/3] nvme: Use sysfs_emit instead of sprintf

2021-04-01 Thread Daniel Wagner
sysfs_emit is the recommended API to use for formatting strings to be returned to user space. It is equivalent to scnprintf and aware of the PAGE_SIZE buffer size. Suggested-by: Chaitanya Kulkarni Signed-off-by: Daniel Wagner --- drivers/nvme/host/core.c | 40 +-

[PATCH v2 0/3] Export fast_io_fail_tmo to sysfs

2021-04-01 Thread Daniel Wagner
changes since v1: - use sysfs_emit instead sprintf - simplify logic in nvme_ctrl_loss_tmo_store() and nvme_ctrl_io_fail_tmo - updated commit message (dropped wrong statement about hard coded value) Daniel Wagner (3): nvme: Use sysfs_emit instead of sprintf nvme: Remove superflues else

Re: [PATCH 4/4] selftests: kvm: add get_emulated_cpuid test

2021-04-01 Thread Emanuele Giuseppe Esposito
+static void check_cpuid(struct kvm_cpuid2 *cpuid, struct kvm_cpuid_entry2 *entrie) +{ + int i; + + for (i = 0; i < cpuid->nent; i++) { + if (cpuid->entries[i].function == entrie->function && + cpuid->entries[i].index == entrie->index) { +

[gustavoars-linux:testing/wab/scsi-mpt3sas] BUILD SUCCESS 63989acb44df37062aef784ba4ea4da82a3ec78b

2021-04-01 Thread kernel test robot
randconfig-a011-20210330 x86_64 randconfig-a004-20210401 x86_64 randconfig-a005-20210401 x86_64 randconfig-a003-20210401 x86_64 randconfig-a001-20210401 x86_64 randconfig-a002-20210401 x86_64 randconfig-a006

Re: [PATCH] zero-fill colormap in drivers/video/fbdev/core/fbcmap.c

2021-04-01 Thread Geert Uytterhoeven
On Thu, Apr 1, 2021 at 12:09 AM Phillip Potter wrote: > Use kzalloc() rather than kmalloc() for the dynamically allocated parts > of the colormap in fb_alloc_cmap_gfp, to prevent a leak of random kernel > data to userspace under certain circumstances. > > Fixes a KMSAN-found infoleak bug reported

Re: [PATCH 49/49] staging: rtl8723bs: remove obsolete macro

2021-04-01 Thread Joe Perches
On Thu, 2021-04-01 at 11:21 +0200, Fabio Aiuto wrote: > remove obsolete macro RT_TRACE [] > diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h > b/drivers/staging/rtl8723bs/include/rtw_debug.h [] > -#ifdef DEBUG_RTL871X > - > -#if defined(_dbgdump) && defined(_MODULE_DEFINE_) > - > -

Re: [PATCH 09/13] KVM: x86/mmu: Allow zap gfn range to operate under the mmu read lock

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: To reduce lock contention and interference with page fault handlers, allow the TDP MMU function to zap a GFN range to operate under the MMU read lock. Signed-off-by: Ben Gardon --- arch/x86/kvm/mmu/mmu.c | 15 -- arch/x86/kvm/mmu/tdp_mmu.c | 102

Re: [PATCH V2] arm64: dts: qcom: sc7280: Add nodes for eMMC and SD card

2021-04-01 Thread sbhanu
On 2021-03-25 21:47, Doug Anderson wrote: Hi, On Wed, Mar 24, 2021 at 8:59 PM Veerabhadrarao Badiganti wrote: >> + clocks = <&gcc GCC_SDCC1_APPS_CLK>, >> + <&gcc GCC_SDCC1_AHB_CLK>, >> + <&rpmhcc

Re: [PATCH 1/1] arm: dts: owl-s500-roseapplepi: Add ATC2603C PMIC

2021-04-01 Thread Cristian Ciocaltea
On Thu, Apr 01, 2021 at 11:13:00AM +0530, Manivannan Sadhasivam wrote: > On Fri, Mar 12, 2021 at 11:49:27AM +0200, Cristian Ciocaltea wrote: > > Add device tree node for ATC2603C PMIC and remove the 'fixed-3.1V' > > dummy regulator used for the uSD supply. > > > > Additionally, add 'SYSPWR' fixed

Re: [PATCH printk v2 1/5] printk: track/limit recursion

2021-04-01 Thread Petr Mladek
On Tue 2021-03-30 17:35:08, John Ogness wrote: > Currently the printk safe buffers provide a form of recursion > protection by redirecting to the safe buffers whenever printk() is > recursively called. > > In preparation for removal of the safe buffers, provide an alternate > explicit recursion pr

Re: [PATCH 08/49] staging: rtl8723bs: remove RT_TRACE logs in core/rtw_cmd.c

2021-04-01 Thread Fabio Aiuto
On Thu, Apr 01, 2021 at 12:50:18PM +0300, Dan Carpenter wrote: > On Thu, Apr 01, 2021 at 11:20:38AM +0200, Fabio Aiuto wrote: > > @@ -677,9 +663,8 @@ u8 rtw_createbss_cmd(struct adapter *padapter) > > u8 res = _SUCCESS; > > > > if (pmlmepriv->assoc_ssid.SsidLength == 0) > > - R

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

2021-04-01 Thread Ahmad Fatoum
Hello Richard, On 30.03.21 23:50, Richard Weinberger wrote: > Ahmad, > > On Wed, Mar 17, 2021 at 3:08 PM Ahmad Fatoum wrote: > >> TABLE="0 $BLOCKS crypt $ALGO :32:trusted:$KEYNAME 0 $DEV 0 1 >> allow_discards" >> echo $TABLE | dmsetup create mydev >> echo $TABLE | dmsetup load myde

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

2021-04-01 Thread Ahmad Fatoum
Hello Richard, On 31.03.21 21:36, Richard Weinberger wrote: > James, > > - Ursprüngliche Mail - >> Von: "James Bottomley" >> Well, yes. For the TPM, there's a defined ASN.1 format for the keys: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/tree/tpm2-

Re: [PATCH net-next v4] net: x25: Queue received packets in the drivers instead of per-CPU queues

2021-04-01 Thread Martin Schiller
On 2021-03-31 20:41, Xie He wrote: Hi Martin, Could you ack this patch again? The only change from the RFC version (that you previously acked) is the addition of the "__GFP_NOMEMALLOC" flag in "dev_alloc_skb". This is because I want to prevent pfmemalloc skbs (which can't be handled by netif_rec

Re: [PATCH 49/49] staging: rtl8723bs: remove obsolete macro

2021-04-01 Thread Fabio Aiuto
On Thu, Apr 01, 2021 at 02:57:36AM -0700, Joe Perches wrote: > On Thu, 2021-04-01 at 11:21 +0200, Fabio Aiuto wrote: > > remove obsolete macro RT_TRACE > [] > > diff --git a/drivers/staging/rtl8723bs/include/rtw_debug.h > > b/drivers/staging/rtl8723bs/include/rtw_debug.h > [] > > -#ifdef DEBUG_RTL

Re: [PATCH 10/13] KVM: x86/mmu: Allow zapping collapsible SPTEs to use MMU read lock

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c index dcbfc784cf2f..81967b4e7d76 100644 --- a/arch/x86/kvm/mmu/mmu.c +++ b/arch/x86/kvm/mmu/mmu.c @@ -5610,10 +5610,13 @@ void kvm_mmu_zap_collapsible_sptes(struct kvm *kvm, write_lock(&kvm->mm

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

2021-04-01 Thread Ahmad Fatoum
Hello Richard, On 31.03.21 20:35, Richard Weinberger wrote: > Ahmad, > > On Tue, Mar 16, 2021 at 6:24 PM Ahmad Fatoum wrote: >> +#define KEYMOD "kernel:trusted" > > why is the CAAM key modifier hard coded? > I'd love to have way to pass my own modifier. > > That way existing blobs can also be

[PATCH v1] arm64: dts: qcom: sm8350: Add support for PRNG EE

2021-04-01 Thread Robert Foss
RNG (Random Number Generator) in SM8350 features PRNG EE (Execution Environment), hence add devicetree support for it. Signed-off-by: Robert Foss --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64

Re: (subset) [PATCH 0/4] Convert Cadence QSPI bindings to yaml

2021-04-01 Thread Mark Brown
On Fri, 26 Mar 2021 18:30:30 +0530, Pratyush Yadav wrote: > This series picks up Ramuthevar's effort on converting the Cadence QSPI > bindings to yaml [0]. During the conversion process, I discovered that > some TI device tree files were not using the compatible correctly. Those > are fixed in patc

Re: [PATCH v5 0/2] Add support for Qualcomm MFD PMIC register layout

2021-04-01 Thread Mark Brown
On Wed, 24 Mar 2021 12:28:52 -0700, Guru Das Srinagesh wrote: > Changes from v4: > - Only one cosmetic change: Moved the declaration of num_virt_regs under > num_type_reg instead of under num_main_regs in `struct regmap_irq_chip` so > as > to reinforce the idea that it is related to the type s

Re: [PATCH v2 0/3] ASoC: dt-bindings: Rework audio-graph-port schema

2021-04-01 Thread Mark Brown
On Wed, 31 Mar 2021 09:27:45 -0500, Rob Herring wrote: > This series refactors the audio-graph-port.yaml schema moving the > 'port' node out of the schema and updating to use graph.yaml schema. > This allows users to define what each 'port' node is like other graph > binding users. > > v2: > - Reb

Re: [PATCH] ASoC: Intel: Fix a typo

2021-04-01 Thread Mark Brown
On Tue, 23 Mar 2021 02:31:05 +0530, Bhaskar Chowdhury wrote: > s/defintions/definitions/ Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: Intel: Fix a typo commit: bb0f78e59777d55e0065d16d070b5d43ae80b769 All being well this mea

Re: [PATCH] dt-bindings: sound: add address-cells and size-cells information

2021-04-01 Thread Mark Brown
On Wed, 31 Mar 2021 15:10:46 +0800, Jack Yu wrote: > Add address-cells and size-cells information to fix warnings > for rt1019.yaml. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] dt-bindings: sound: add address-cells and size-cells inform

Re: [PATCH v2 1/2] ASoC: ak5558: Add support for ak5552

2021-04-01 Thread Mark Brown
On Wed, 31 Mar 2021 15:44:45 +0800, Shengjiu Wang wrote: > AK5552 is a 32-bit 2ch ADC and has the same register > map as AK5558. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: ak5558: Add support for ak5552 commit: d8c5c82e4e5b

Re: [RFC PATCH 0/2] ASoC: remove cppchecks warnings on lm49453 and da732x

2021-04-01 Thread Mark Brown
On Fri, 26 Mar 2021 17:16:17 -0500, Pierre-Louis Bossart wrote: > There are the last two patches in the cleanups, this time I am not > sure what the code does and what the proper fix might be. Feedback > welcome. > > Pierre-Louis Bossart (2): > ASoC: lm49453: fix useless assignment before return

[PATCH] xhci: remove unused variable

2021-04-01 Thread Jiapeng Chong
Fix the following clang warning: drivers/usb/host/xhci.c:1346:15: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/usb/host/xhci.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/

Re: [PATCH 0/3] ASoC: dt-bindings: Rework audio-graph-port schema

2021-04-01 Thread Mark Brown
On Tue, 23 Mar 2021 10:36:31 -0600, Rob Herring wrote: > This series refactors the audio-graph-port.yaml schema moving the > 'port' node out of the schema and updating to use graph.yaml schema. > This allows users to define what each 'port' node is like other graph > binding users. > > Rob > > [.

Re: [PATCH 00/17] ASoC: remove cppcheck warnings for multiple SOCs

2021-04-01 Thread Mark Brown
On Fri, 26 Mar 2021 16:59:10 -0500, Pierre-Louis Bossart wrote: > Trivial cleanups to make cppcheck less verbose. > > There should be no functionality change, except for the 'sti_uniperif' > patch where an error check was added. > > Pierre-Louis Bossart (17): > ASoC: amd: renoir: acp3x-pdm-dma:

Re: [PATCH v8 3/3] mtd: rawnand: Add support for secure regions in NAND memory

2021-04-01 Thread Manivannan Sadhasivam
Hi Miquel, On Tue, Mar 23, 2021 at 05:57:15PM +0100, Miquel Raynal wrote: > Hi Manivannan, > > Manivannan Sadhasivam wrote on Tue, > 23 Mar 2021 13:09:30 +0530: > > > On a typical end product, a vendor may choose to secure some regions in > > the NAND memory which are supposed to stay intact be

Re: [PATCH v4 0/6] usb: Linking ports to their Type-C connectors

2021-04-01 Thread Heikki Krogerus
On Thu, Apr 01, 2021 at 09:53:41AM +0300, Heikki Krogerus wrote: > Hi, > > One more version. I used #ifdef when I should have used #if > IS_DEFINED(). Thanks Guenter for pointing that out. > > I'm sending this version right away because of the holidays. I'm not > changing anything else except tha

Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Lorenzo Pieralisi
On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: [...] > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg *msg) > +{ > + struct rcar_msi *msi = irq_data_get_irq_chip_data(data); > + unsigned long pa = virt_to_phys(msi); > > - hwirq = rcar_msi_allo

Re: [EXTERNAL] [PATCH v2 19/21] ipmi: kcs_bmc_aspeed: Implement KCS SerIRQ configuration

2021-04-01 Thread Zev Weiss
On Fri, Mar 19, 2021 at 01:27:50AM CDT, Andrew Jeffery wrote: >Apply the SerIRQ ID and level/sense behaviours from the devicetree if >provided. > >Signed-off-by: Andrew Jeffery >--- > drivers/char/ipmi/kcs_bmc_aspeed.c | 179 - > 1 file changed, 177 insertions(+), 2 dele

[PATCH -next] media: ti-vpe: sc: remove redundant dev_err call in sc_create()

2021-04-01 Thread Yang Yingliang
There is an error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/media/platform/ti-vpe/sc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/driver

Re: [PATCH v2] writeback: fix obtain a reference to a freeing memcg css

2021-04-01 Thread Michal Hocko
On Thu 01-04-21 17:33:43, Muchun Song wrote: > The caller of wb_get_create() should pin the memcg, because > wb_get_create() relies on this guarantee. The rcu read lock > only can guarantee that the memcg css returned by css_from_id() > cannot be released, but the reference of the memcg can be zero

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

2021-04-01 Thread Richard Weinberger
Ahmad, - Ursprüngliche Mail - > Von: "Ahmad Fatoum" >> That way existing blobs can also be used with this implementation. >> IIRC the NXP vendor tree uses "SECURE_KEY" as default modifier. > > Being binary compatible with other implementations is not an objective > for this patch set. If

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

2021-04-01 Thread Richard Weinberger
Ahmad, - Ursprüngliche Mail - > Von: "Ahmad Fatoum" >> I'm pretty sure with minimal changes it will work with your recent approach >> too. > > I am using dmsetup directly in my project. I am not familiar with cryptsetup > plain. What benefits do you see with this over direct dmsetup? c

Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo

2021-04-01 Thread Manivannan Sadhasivam
On Thu, Apr 01, 2021 at 12:40:41PM +0300, Cristian Ciocaltea wrote: > Hi Mani, > > On Thu, Apr 01, 2021 at 10:54:38AM +0530, Manivannan Sadhasivam wrote: > > On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote: > > > This patchset adds a socinfo driver which provides information abo

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

2021-04-01 Thread Ahmad Fatoum
Hello, On 01.04.21 12:20, Richard Weinberger wrote: > Ahmad, > > - Ursprüngliche Mail - >> Von: "Ahmad Fatoum" >>> I'm pretty sure with minimal changes it will work with your recent approach >>> too. >> >> I am using dmsetup directly in my project. I am not familiar with cryptsetup >> p

Re: [PATCH 22/24] ARM: at91: sama7: introduce sama7 SoC family

2021-04-01 Thread Claudiu.Beznea
On 01.04.2021 12:38, Claudiu Beznea - M18063 wrote: > On 31.03.2021 19:01, Alexandre Belloni wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 31/03/2021 13:59:06+0300, Claudiu Beznea wrote: >>> From: Eugen Hristev >>> >>> Introduce n

Re: [PATCH] iio: adc: bcm_iproc_adc: Use %s and __func__

2021-04-01 Thread Jonathan Cameron
On Thu, 1 Apr 2021 12:24:50 +0300 Andy Shevchenko wrote: > On Thu, Apr 1, 2021 at 9:27 AM Mugilraj Dhavachelvan > wrote: > > > > Change function's name to %s and __func__ to fix checkpatch.pl errors. > > No, just drop the __func__ completely. First of all, we have a device > name, and uniquen

Re: [RFC Part1 PATCH 04/13] x86/sev-snp: define page state change VMGEXIT structure

2021-04-01 Thread Borislav Petkov
On Wed, Mar 24, 2021 at 11:44:15AM -0500, Brijesh Singh wrote: > An SNP-active guest will use the page state change VNAE MGEXIT defined in I guess this was supposed to mean "NAE VMGEXIT" but pls write "NAE" out at least once so that reader can find its way around the spec. > the GHCB specificatio

[PATCH -next] media: camss: csiphy: Remove redundant dev_err call in msm_csiphy_subdev_init()

2021-04-01 Thread Yang Yingliang
There is an error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/media/platform/qcom/camss/camss-csiphy.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)

Re: [PATCH v2 20/28] KVM: x86/mmu: Use atomic ops to set SPTEs in TDP MMU map

2021-04-01 Thread Paolo Bonzini
On 02/02/21 19:57, Ben Gardon wrote: @@ -720,7 +790,8 @@ int kvm_tdp_mmu_map(struct kvm_vcpu *vcpu, gpa_t gpa, u32 error_code, */ if (is_shadow_present_pte(iter.old_spte) && is_large_pte(iter.old_spte)) { - tdp_mmu_set_sp

[PATCH -next v3] staging: greybus: camera: Switch to memdup_user_nul()

2021-04-01 Thread Yang Yingliang
Use memdup_user_nul() helper instead of open-coding to simplify the code. Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- v3: remove duplicate ';' v2: delete unnecessary blank line use return PTR_ERR(kbuf) instead --- drivers/staging/greybus/camera.c | 13 +++-- 1 file c

[PATCH] perf inject: Fix repipe usage

2021-04-01 Thread Adrian Hunter
Since commit 14d3d5405253 ("perf session: Try to read pipe data from file") perf inject has started printing "PERFILE2h" when not processing pipes. The commit exposed perf to the possiblity that the input is not a pipe but the 'repipe' parameter gets used. That causes the printing because perf inj

Re: [PATCH 12/13] KVM: x86/mmu: Fast invalidation for TDP MMU

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: + if (is_tdp_mmu_enabled(kvm)) + kvm_tdp_mmu_invalidate_roots(kvm); + /* * Toggle mmu_valid_gen between '0' and '1'. Because slots_lock is * held for the entire duration of zapping obsolete pages, it's @@ -5451,9 +54

Re: [PATCH 13/13] KVM: x86/mmu: Tear down roots in fast invalidation thread

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: +/* + * Since kvm_tdp_mmu_invalidate_roots has acquired a reference to each + * invalidated root, they will not be freed until this function drops the + * reference. Before dropping that reference, tear down the paging + * structure so that whichever thread do

Re: [PATCH v3 03/14] PCI: rcar: Convert to MSI domains

2021-04-01 Thread Marc Zyngier
On Thu, 01 Apr 2021 11:19:57 +0100, Lorenzo Pieralisi wrote: > > On Tue, Mar 30, 2021 at 04:11:34PM +0100, Marc Zyngier wrote: > > [...] > > > +static void rcar_compose_msi_msg(struct irq_data *data, struct msi_msg > > *msg) > > +{ > > + struct rcar_msi *msi = irq_data_get_irq_chip_data(data

Re: [PATCH 13/13] KVM: x86/mmu: Tear down roots in fast invalidation thread

2021-04-01 Thread Paolo Bonzini
On 01/04/21 00:29, Sean Christopherson wrote: + if (is_tdp_mmu_enabled(kvm)) { + read_lock(&kvm->mmu_lock); + kvm_tdp_mmu_zap_all_fast(kvm); Purely because it exists first, I think we should follow the legacy MMU's terminology, i.e. kvm_tdp_mmu_zap_obsolete_page

Re: [PATCH 00/13] More parallel operations for the TDP MMU

2021-04-01 Thread Paolo Bonzini
On 31/03/21 23:08, Ben Gardon wrote: Now that the TDP MMU is able to handle page faults in parallel, it's a relatively small change to expand to other operations. This series allows zapping a range of GFNs, reclaiming collapsible SPTEs (when disabling dirty logging), and enabling dirty logging to

Re: [PATCH] xhci: remove unused variable

2021-04-01 Thread Greg KH
On Thu, Apr 01, 2021 at 06:17:15PM +0800, Jiapeng Chong wrote: > Fix the following clang warning: > > drivers/usb/host/xhci.c:1346:15: warning: variable ‘len’ set but not > used [-Wunused-but-set-variable]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/usb/host/xh

[PATCH -next] media: ti-vpe: csc: remove redundant dev_err call in csc_create()

2021-04-01 Thread Yang Yingliang
There is an error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/media/platform/ti-vpe/csc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drive

[PATCH -next] media: imx-pxp: remove redundant dev_err call in pxp_probe()

2021-04-01 Thread Yang Yingliang
There is an error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Reported-by: Hulk Robot Signed-off-by: Yang Yingliang --- drivers/media/platform/imx-pxp.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/driv

Re: [PATCH v3 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

2021-04-01 Thread Henning Schild
Am Wed, 31 Mar 2021 18:40:23 +0300 schrieb Andy Shevchenko : > On Tue, Mar 30, 2021 at 6:33 PM Henning Schild > wrote: > > Am Tue, 30 Mar 2021 15:41:53 +0300 > > schrieb Andy Shevchenko : > > > On Tue, Mar 30, 2021 at 3:35 PM Henning Schild > > > wrote: > > > > Am Tue, 30 Mar 2021 15:15:16 +

Re: [PATCH] linux/spi: Remove repeated struct declaration

2021-04-01 Thread Mark Brown
On Thu, Apr 01, 2021 at 02:59:04PM +0800, Wan Jiabing wrote: > struct spi_transfer is declared twice. One is declared at 24th line. > The blew one is not needed though. Remove the duplicate. Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for

Re: [PATCH] PCI: ACPI: PM: Fix debug message in acpi_pci_set_power_state()

2021-04-01 Thread Rafael J. Wysocki
On Wed, Mar 31, 2021 at 11:09 PM Bjorn Helgaas wrote: > > On Thu, Mar 25, 2021 at 07:57:51PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If PCI_D3cold is passed to acpi_pci_set_power_state() as the second > > argument and there is no ACPI D3cold support for the given devic

[PATCH] linux/profile.h: Remove unnecessary declaration

2021-04-01 Thread Wan Jiabing
Declaring struct pt_regs is unnecessary. On the one hand, there is no function using it; on the other hand, struct pt_regs has been declared in linux/kernel.h. Remove them. Signed-off-by: Wan Jiabing --- include/linux/profile.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/

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