Re: [RESEND][PATCH 2/3] dma-buf: heaps: Add a WARN_ON should the vmap_cnt go negative

2021-01-21 Thread Sumit Semwal
Hi John, Suren, On Wed, 20 Jan 2021 at 02:15, John Stultz wrote: > > We shouldn't vunmap more then we vmap, but if we do, make > sure we complain loudly. I was checking the general usage of vunmap in the kernel, and I couldn't find many instances where we need to WARN_ON for the vunmap count

[PATCH] MIPS: Make definitions of MIPSInst_FMA_{FUNC,FMTM} consistent with MIPS64 manual

2021-01-21 Thread Tiezhu Yang
The kernel definitions of MIPSInst_FMA_FUNC and MIPSInst_FMA_FFMT are not consistent with MADD.fmt, NMADD.fmt and NMSUB.fmt in the MIPS64 manual [1], the field func is bit 5..3 and fmt is bit 2..0, fix them. Otherwise there exists error when add new instruction simulation. [1]

Re: [PATCH] objtool: Don't fail the kernel build on fatal errors

2021-01-21 Thread Greg KH
On Thu, Jan 21, 2021 at 08:32:35AM +0100, György Andrasek wrote: > I'm rejecting both these morons as invalid. Please review everything they've > been doing lately. As Stephen said, please take this elsewhere, it does not belong on the Linux kernel mailing lists. greg k-h

[rcu:dev.2021.01.19a] BUILD SUCCESS 6c1d51e012c5b474cda77d4fa644d76e041c1e05

2021-01-21 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20210121 i386 randconfig-a002-20210121 i386

Re: [PATCH 3/3] arm64: dts: zynqmp: Wire up the DisplayPort subsystem

2021-01-21 Thread Laurent Pinchart
Hi Michal, On Fri, Jan 22, 2021 at 08:19:15AM +0100, Michal Simek wrote: > On 1/21/21 11:37 PM, Laurent Pinchart wrote: > > On Thu, Jan 21, 2021 at 01:36:07PM +0100, Michal Simek wrote: > >> From: Laurent Pinchart > >> > >> Enable the dpsub device and wire it up to the PS-GTR PHY lanes routed to

Re: [RFC V2 1/2] topology: Allow multiple entities to provide sched_freq_tick() callback

2021-01-21 Thread Viresh Kumar
On 19-01-21, 19:05, Ionela Voinescu wrote: > I think it would improve clarity a lot by having a single topology > function, with clear comments on which path is taken when. > > In regards to them sharing code, there's not much code they could be > sharing, as one just does some simple math on

Re: [PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-21 Thread Damien Le Moal
On 2021/01/22 16:24, Changheun Lee wrote: >> On 2021/01/20 15:45, Manjong Lee wrote: >>> Add recipients for more reviews. >> >> Please resend instead of replying to your own patch. The reply quoting >> corrupts >> the patch. >> >> The patch title is very long. >> >>> SCSI device has

Re: [PATCH 1/6] tty: implement write_iter

2021-01-21 Thread Greg Kroah-Hartman
On Fri, Jan 22, 2021 at 08:33:33AM +0100, Jiri Slaby wrote: > On 21. 01. 21, 19:42, Linus Torvalds wrote: > > On Thu, Jan 21, 2021 at 9:57 AM Greg Kroah-Hartman > > wrote: > > > > > > Incremental patches please as these are already in my public branches > > > and I would have to revert them and

[GIT PULL] OP-TEE driver fix for v5.11

2021-01-21 Thread Jens Wiklander
Hello arm-soc maintainers, Please pull this small patch taking care of a rcu_sched trace in some corner cases when OP-TEE is invoked. Thanks, Jens The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git

Re: [PATCH v2] tee: optee: replace might_sleep with cond_resched

2021-01-21 Thread Jens Wiklander
On Tue, Jan 5, 2021 at 11:29 AM Rouven Czerwinski wrote: > > might_sleep() is a debugging aid and triggers rescheduling only for > certain kernel configurations. Replace with an explicit check and > reschedule to work for all kernel configurations. Fixes the following > trace: > > [

Re: [PATCH v1 2/2] isa: Make the remove callback for isa drivers return void

2021-01-21 Thread Marc Kleine-Budde
On Thu, Jan 21, 2021 at 09:48:12PM +0100, Uwe Kleine-König wrote: > The driver core ignores the return value of the remove callback, so > don't give isa drivers the chance to provide a value. > > Adapt all isa_drivers with a remove callbacks accordingly; they all > return 0 unconditionally

Re: [PATCH v4 0/4] OPP API fixes and improvements

2021-01-21 Thread Viresh Kumar
On 21-01-21, 01:26, Dmitry Osipenko wrote: > Dmitry Osipenko (4): > opp: Export devm_pm_opp_attach_genpd() > opp: Add dev_pm_opp_sync_regulators() > opp: Add dev_pm_opp_set_voltage() > opp: Make _set_opp_custom() work without regulators Patch 1 and 3 aren't required anymore, I have

Re: [PATCH 1/6] tty: implement write_iter

2021-01-21 Thread Jiri Slaby
On 21. 01. 21, 19:42, Linus Torvalds wrote: On Thu, Jan 21, 2021 at 9:57 AM Greg Kroah-Hartman wrote: Incremental patches please as these are already in my public branches and I would have to revert them and add new ones but that's messy, so fixes on top is fine. Ok. And since I think you

Re: [PATCH v3 0/4] initrd: Use unified initrd reserve function in ARM/RISCV

2021-01-21 Thread Kefeng Wang
On 2021/1/18 17:17, Russell King - ARM Linux admin wrote: On Mon, Jan 18, 2021 at 09:01:40AM +0800, Kefeng Wang wrote: On 2021/1/17 18:09, Russell King - ARM Linux admin wrote: On Sun, Jan 17, 2021 at 12:57:55PM +0800, Kefeng Wang wrote: Correct Russell's mail address (from

Re: linux-next: build warning after merge of the drm tree

2021-01-21 Thread Stephen Rothwell
Hi Daniel, On Fri, 22 Jan 2021 08:17:58 +0100 Daniel Vetter wrote: > > Hm that has been in drm-intel-gt-next for a few days, is that tree not > in linux-next? It is not. These are the drm branches currently in linux-next: drm-fixes git://git.freedesktop.org/git/drm/drm.git

Re: [PATCH v3] can: mcp251xfd: replace sizeof(u32) with val_bytes in regmap

2021-01-21 Thread Marc Kleine-Budde
On 1/22/21 4:01 AM, Su Yanjun wrote: > The sizeof(u32) is hardcoded. It's better to use the config value in > regmap. > > It increases the size of target object, but it's flexible when new mcp chip > need other val_bytes. > > Signed-off-by: Su Yanjun > --- >

Re: [PATCH v3] misc: rtsx: init value of aspm_enabled

2021-01-21 Thread Greg KH
On Fri, Jan 22, 2021 at 11:33:48AM +0800, ricky...@realtek.com wrote: > From: Ricky Wu > > v1: > make sure ASPM state sync with pcr->aspm_enabled > init value pcr->aspm_enabled > v2: > fixes conditions in v1 if-statement > v3: > more description for v1 and v2 > > Cc: sta...@vger.kernel.org >

Re: [PATCH v3] misc: rtsx: init value of aspm_enabled

2021-01-21 Thread Greg KH
On Fri, Jan 22, 2021 at 11:33:48AM +0800, ricky...@realtek.com wrote: > From: Ricky Wu > > v1: > make sure ASPM state sync with pcr->aspm_enabled > init value pcr->aspm_enabled > v2: > fixes conditions in v1 if-statement > v3: > more description for v1 and v2 This needs to go below the ---

Re: usb: dwc3: gadget: skip pullup and set_speed after suspend

2021-01-21 Thread Jung Daehwan
On Fri, Jan 22, 2021 03:32, Wesley cheng wrote: > Hi Daehwan, > > If this is an unexpected event where userspace initiates the UDC bind > sequence, then after the above sequence occurs, the DWC3 device should > still be able to re-enter runtime suspend after the autosuspend timer > expires.

Re: [PATCH v1] can: mcp251xfd: use regmap_bulk_write for compatibility

2021-01-21 Thread Marc Kleine-Budde
On 1/22/21 4:02 AM, Su Yanjun wrote: > Recently i use mcp2518fd on 4.x kernel which multiple write is not > backported, regmap_raw_write will cause old kernel crash because the > tx buffer in driver is smaller then 2K. Use regmap_bulk_write instead > for compatibility. Hmmm, this patch will never

Re: [PATCH v4 4/4] opp: Make _set_opp_custom() work without regulators

2021-01-21 Thread Viresh Kumar
On 21-01-21, 01:26, Dmitry Osipenko wrote: > Check whether OPP table has regulators in _set_opp_custom() and set up > dev_pm_set_opp_data accordingly. Now _set_opp_custom() works properly, > i.e. it doesn't crash if OPP table doesn't have assigned regulators. > > Signed-off-by: Dmitry Osipenko >

Re: [PATCH 1/1] scsi: sd: use max_xfer_blocks for set rw_max if max_xfer_blocks is available

2021-01-21 Thread Changheun Lee
> On 2021/01/20 15:45, Manjong Lee wrote: > > Add recipients for more reviews. > > Please resend instead of replying to your own patch. The reply quoting > corrupts > the patch. > > The patch title is very long. > > > > >> SCSI device has max_xfer_size and opt_xfer_size, > >> but current

Re: UBSAN: array-index-out-of-bounds in decode_data

2021-01-21 Thread Marco Elver
On Thu, 21 Jan 2021 at 19:30, syzbot wrote: > syzbot has found a reproducer for the following issue on: > > HEAD commit:9791581c Merge tag 'for-5.11-rc4-tag' of git://git.kernel... > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13cd09a4d0 > kernel

Re: [PATCH v1] can: mcp251xfd: Add some sysfs debug interfaces for registers r/w

2021-01-21 Thread Marc Kleine-Budde
On 1/22/21 7:22 AM, Su Yanjun wrote: > When i debug mcp2518fd, some method to track registers is > needed. This easy debug interface will be ok. NACK As the driver uses regmap, everything should be there already. To read use: | cat /sys/kernel/debug/regmap/spi0.0-crc/registers Register write

Re: [PATCH v10 12/16] dmaengine: dw-axi-dmac: Add Intel KeemBay AxiDMA support

2021-01-21 Thread kernel test robot
Hi Sia, Thank you for the patch! Yet something to improve: [auto build test ERROR on 9791581c049c10929e97098374dd1716a81fefcc] url: https://github.com/0day-ci/linux/commits/Sia-Jee-Heng/dmaengine-dw-axi-dmac-support-Intel-KeemBay-AxiDMA/20210121-143156 base

[PATCH] x86/fpu/xstate: Use sizeof() instead of a constant

2021-01-21 Thread Yejune Deng
In fpstate_sanitize_xstate(), use sizeof() instead of a constant, at the same time, remove & and [0]. Signed-off-by: Yejune Deng --- arch/x86/kernel/fpu/xstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/fpu/xstate.c b/arch/x86/kernel/fpu/xstate.c

Re: [PATCH 3/3] arm64: dts: zynqmp: Wire up the DisplayPort subsystem

2021-01-21 Thread Michal Simek
Hi Laurent, On 1/21/21 11:37 PM, Laurent Pinchart wrote: > Hi Michal, > > Thank you for the patch. > > On Thu, Jan 21, 2021 at 01:36:07PM +0100, Michal Simek wrote: >> From: Laurent Pinchart >> >> Enable the dpsub device and wire it up to the PS-GTR PHY lanes routed to >> the DisplayPort

Re: [PATCH] ver_linux: Eliminate duplicate code in ldconfig processing logic

2021-01-21 Thread Alexander Kapshuk
On Fri, Jan 8, 2021 at 1:26 PM Alexander Kapshuk wrote: > > The code that acquires the version strings for libc and libcpp is > identical, as is the printversion call. The only difference being the > name of the library being printed. > > Refactor the code by unifying the bits that are common to

Re: linux-next: build warning after merge of the drm tree

2021-01-21 Thread Daniel Vetter
On Fri, Jan 22, 2021 at 1:59 AM Stephen Rothwell wrote: > > Hi all, > > After merging the drm tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > WARNING: unmet direct dependencies detected for DRM_I915_WERROR > Depends on [n]: HAS_IOMEM [=y] && DRM_I915 [=m] &&

[PATCH] powerpc/32: Use r2 in wrtspr() instead of r0

2021-01-21 Thread Christophe Leroy
wrtspr() is a function to write an arbitrary value in a special register. It is used on 8xx to write to SPRN_NRI, SPRN_EID and SPRN_EIE. Writing any value to one of those will play with MSR EE and MSR RI regardless of that value. r0 is used many places in the generated code and using r0 for that

Re: [PATCH v4 1/4] mm: rename memmap_init() and memmap_init_zone()

2021-01-21 Thread Baoquan He
On 01/20/21 at 11:47pm, kernel test robot wrote: > Hi Baoquan, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on linux/master] > [also build test WARNING on linus/master v5.11-rc4 next-20210120] > [cannot apply to mmotm/master hnaz-linux-mm/master ia64/next] >

[PATCH v7 2/7] crypto: hisilicon/hpre - add some updates to adapt to Kunpeng 930

2021-01-21 Thread Meng Yu
From: Hui Tang HPRE of Kunpeng 930 is updated on cluster numbers and configurations of Kunpeng 920 HPRE, so we try to update this driver to make it running okay on both chips. Signed-off-by: Hui Tang Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h

[PATCH v7 6/7] crypto: hisilicon/hpre - add 'ECDH' algorithm

2021-01-21 Thread Meng Yu
1. Enable 'ECDH' algorithm in Kunpeng 930; 2. HPRE ECDH Support ECC curve: P192, P224, P256, P384, P521. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 2 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 493 +++-

[PATCH v7 4/7] crypto: add ecc curve and expose them

2021-01-21 Thread Meng Yu
1. Add ecc curves(P224, P384, P521) for ECDH; 2. Reorder ECC 'Curves ID' in 'include/crypto/ecdh.h', and modify 'curve_id' used in 'testmgr.h'; 3. Add function 'ecc_get_curve_param' in 'include/crypto/ecc_curve.h' for users, so everyone in the kernel tree can easily get ecc curve params;

[PATCH v7 5/7] crypto: add curve 25519 and expose them

2021-01-21 Thread Meng Yu
1. Add curve 25519 parameters; 2. Add curve25519 function 'ecc_get_curve25519_param', to be exposed to everyone in kernel tree. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- crypto/ecc.c | 7 +++ crypto/ecc_curve_defs.h| 17 +

[PATCH v7 0/7] add ECDH and CURVE25519 algorithms support for Kunpeng 930

2021-01-21 Thread Meng Yu
1. Add some new elliptic curve parameters definitions, and reorder ECC 'Curves IDs'; 2. Add interface to get elliptic curve by curve_id in "include/crypto/ecc_curve.h" by curve_id; 3. Add ECDH and CURVE25519 algorithms support for Kunpeng 930. v6->v7: - patch #4: add function interface to

[PATCH v7 3/7] crypto: hisilicon/hpre - add algorithm type

2021-01-21 Thread Meng Yu
Algorithm type is brought in to get hardware HPRE queue to support different algorithms. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 10 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 12 ++--

[PATCH v7 7/7] crypto: hisilicon/hpre - add 'CURVE25519' algorithm

2021-01-21 Thread Meng Yu
Enable 'CURVE25519' algorithm in Kunpeng 930. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/Kconfig| 1 + drivers/crypto/hisilicon/hpre/hpre.h| 2 + drivers/crypto/hisilicon/hpre/hpre_crypto.c | 370 +++- 3 files

[PATCH v7 1/7] crypto: hisilicon/hpre - add version adapt to new algorithms

2021-01-21 Thread Meng Yu
A new generation of accelerator Kunpeng930 has appeared, and the corresponding driver needs to be updated to support some new algorithms of Kunpeng930. To be compatible with Kunpeng920, we add parameter 'struct hisi_qm *qm' to sec_algs_(un)register to identify the chip's version. Signed-off-by:

Re: [PATCH v2] PCI: Re-enable downstream port LTR if it was previously enabled

2021-01-21 Thread Mingchuang Qiao
On Thu, 2021-01-21 at 16:31 -0600, Bjorn Helgaas wrote: > [+cc Alex and Mingchuang et al from > https://lore.kernel.org/r/20210112072739.31624-1-mingchuang.q...@mediatek.com] > > On Tue, Jan 19, 2021 at 04:14:10PM +0300, Mika Westerberg wrote: > > PCIe r5.0, sec 7.5.3.16 says that the downstream

[RESEND PATCH v2 5/9] regmap: sdw: use _no_pm functions in regmap_read/write

2021-01-21 Thread Bard Liao
sdw_update_slave_status will be invoked when a codec is attached, and the codec driver will initialize the codec with regmap functions while the codec device is pm_runtime suspended. regmap routines currently rely on regular SoundWire IO functions, which will call

[RESEND PATCH v2 8/9] soundwire: bus: fix confusion on device used by pm_runtime

2021-01-21 Thread Bard Liao
From: Pierre-Louis Bossart Intel stress-tests routinely report IO timeouts and invalid power management transitions. Upon further analysis, we seem to be using the wrong devices in pm_runtime calls. Before reading and writing registers, we first need to make sure the Slave is fully resumed. The

[RESEND PATCH v2 9/9] soundwire: bus: clarify dev_err/dbg device references

2021-01-21 Thread Bard Liao
From: Pierre-Louis Bossart The SoundWire bus code confuses bus and Slave device levels for dev_err/dbg logs. That's not impacting functionality but the accuracy of kernel logs. We should only use bus->dev for bus-level operations and handling of Device0. For all other logs where the device

[RESEND PATCH v2 7/9] regmap: sdw-mbq: use MODULE_LICENSE("GPL")

2021-01-21 Thread Bard Liao
"GPL v2" is the same as "GPL". It exists for historic reasons. See Documentation/process/license-rules.rst Signed-off-by: Pierre-Louis Bossart Signed-off-by: Bard Liao --- drivers/base/regmap/regmap-sdw-mbq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[RESEND PATCH v2 6/9] regmap: sdw: use no_pm routines for SoundWire 1.2 MBQ

2021-01-21 Thread Bard Liao
Use no_pm versions for write and read. Signed-off-by: Bard Liao Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang --- drivers/base/regmap/regmap-sdw-mbq.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/base/regmap/regmap-sdw-mbq.c

[RESEND PATCH v2 4/9] soundwire: export sdw_write/read_no_pm functions

2021-01-21 Thread Bard Liao
sdw_write_no_pm and sdw_read_no_pm are useful when we want to do IO without touching PM. Fixes: 0231453bc08f ('soundwire: bus: add clock stop helpers') Fixes: 60ee9be25571 ('soundwire: bus: add PM/no-PM versions of read/write functions') Signed-off-by: Bard Liao --- drivers/soundwire/bus.c

[RESEND PATCH v2 3/9] soundwire: bus: use no_pm IO routines for all interrupt handling

2021-01-21 Thread Bard Liao
From: Pierre-Louis Bossart There is no need to play with pm_runtime reference counts, if needed the codec drivers are already explicitly resumed. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Rander Wang Signed-off-by: Bard Liao --- drivers/soundwire/bus.c | 26 +-

Re: [PATCH 1/6] tty: implement write_iter

2021-01-21 Thread Jiri Slaby
On 21. 01. 21, 22:09, Linus Torvalds wrote: On Thu, Jan 21, 2021 at 11:43 AM Greg Kroah-Hartman wrote: This works, thanks for these. I'll wait for Jiri to review them before applying them to my branches... Let's hope Jiri sees them, since he had some email issue earlier.. I'll add his

[RESEND PATCH v2 1/9] soundwire: bus: use sdw_update_no_pm when initializing a device

2021-01-21 Thread Bard Liao
From: Pierre-Louis Bossart When a Slave device is resumed, it may resume the bus and restart the enumeration. During that process, we absolutely don't want to call regular read/write routines which will wait for the resume to complete, otherwise a deadlock occurs. Fixes: 60ee9be25571

[RESEND PATCH v2 2/9] soundwire: bus: use sdw_write_no_pm when setting the bus scale registers

2021-01-21 Thread Bard Liao
From: Pierre-Louis Bossart When a Slave device is resumed, it may resume the bus and restart the enumeration. During that process, we absolutely don't want to call regular read/write routines which will wait for the resume to complete, otherwise a deadlock occurs. This patch fixes the same

[RESEND PATCH v2 0/9] soundwire/regmap: use _no_pm routines

2021-01-21 Thread Bard Liao
When a Slave device is resumed, it may resume the bus and restart the enumeration. And Slave drivers will wait for initialization_complete complete in their resume function, however initialization_complete will complete after sdw_update_slave_status function is finished and codec driver usually

Re: arch/riscv/kernel/vdso/vdso-syms.S:2: Error: junk at end of line, first unrecognized character is `@'

2021-01-21 Thread Nathan Chancellor
On Fri, Jan 22, 2021 at 09:41:35AM +0800, kernel test robot wrote: > Hi Palmer, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 9f29bd8b2e7132b409178d1367dae1813017bd0e > commit:

linux-next: Tree for Jan 22

2021-01-21 Thread Stephen Rothwell
Hi all, Changes since 20210121: The drm-intel tree lost its build failure. The notifications tree gained conflicts against the keys tree. Non-merge commits (relative to Linus' tree): 4819 5269 files changed, 192976 insertions(+), 126175 deletions

Re: [RFC PATCH 1/2] soundwire: add support for static port mapping

2021-01-21 Thread Srinivas Kandagatla
On 21/01/2021 21:30, Pierre-Louis Bossart wrote: Am looking at intel_hw_params(). Isn't sdw_stream_add_master() called for every dai in the dai link. Yes, that's correct, but again a dai may use one or more ports. if you defined each port as a dai, and want to call

[PATCH] mm: fix prototype warning from kernel test robot

2021-01-21 Thread Baoquan He
Kernel test robot calling make with 'W=1' triggering warning like below below for memmap_init_zone() function. mm/page_alloc.c:6259:23: warning: no previous prototype for 'memmap_init_zone' [-Wmissing-prototypes] 6259 | void __meminit __weak memmap_init_zone(unsigned long size, int nid, |

[PATCH] power: supply: bq25980: Fix repetive bq25975 with bq25960

2021-01-21 Thread xinjian
From: xinjian The i2c_device_id bq25975 is repeated, and should be bq25960. Signed-off-by: xinjian --- drivers/power/supply/bq25980_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/bq25980_charger.c b/drivers/power/supply/bq25980_charger.c

linux-next: build warning after merge of the device-mapper tree

2021-01-21 Thread Stephen Rothwell
Hi all, After merging the device-mapper tree, today's linux-next build (htmldocs) produced this warning: Documentation/admin-guide/device-mapper/dm-integrity.rst:19 2: WARNING: Unexpected indentation. Documentation/admin-guide/device-mapper/dm-integrity.rst:193: WARNING: Block quote ends

Re: [PATCH 0/2] Enumerate and expose AVX_VNNI feature

2021-01-21 Thread Yang Zhong
On Thu, Jan 21, 2021 at 04:02:17PM +0100, Paolo Bonzini wrote: > On 05/01/21 01:49, Yang Zhong wrote: > >A processor supports AVX_VNNI instructions if CPUID.(EAX=7,ECX=1):EAX[bit 4] > >is present. > > > >This series includes kernel and kvm patches, kernel patch define this > >new cpu feature bit

Re: [PATCH v2 2/5] hugetlb: convert page_huge_active() HPageMigratable flag

2021-01-21 Thread Miaohe Lin
Hi: On 2021/1/20 9:30, Mike Kravetz wrote: > Use the new hugetlb page specific flag HPageMigratable to replace the > page_huge_active interfaces. By it's name, page_huge_active implied > that a huge page was on the active list. However, that is not really > what code checking the flag wanted to

arch/riscv/include/asm/pgtable-64.h:70:9: error: use of undeclared identifier 'UL'

2021-01-21 Thread kernel test robot
Hi Atish, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9f29bd8b2e7132b409178d1367dae1813017bd0e commit: e557793799c5a8406afb08aa170509619f7eac36 RISC-V: Fix maximum allowed phsyical memory for RV32 date: 6

Re: [PATCH V4 0/3] scripts: dtc: Build fdtoverlay

2021-01-21 Thread David Gibson
On Wed, Jan 20, 2021 at 10:47:40AM +0530, Viresh Kumar wrote: > +David. > > On 19-01-21, 11:12, Frank Rowand wrote: > > On 1/12/21 2:28 AM, Viresh Kumar wrote: > > > We will start building overlays for platforms soon in the kernel and > > > would need fdtoverlay tool going forward. Lets start

[RFC PATCH 1/4] jbd2: make jdb2_debug module parameter per device

2021-01-21 Thread Chunguang Xu
From: Chunguang Xu On a multi-disk machine, because jbd2's debugging switch is global,this confuses the logs of multiple disks. It is not easy to distinguish the logs of each disk and the amount of generated logs is very large. Or a separate debugging switch for each disk would be better, so

[RFC PATCH 3/4] jbd2: replace jbd_debug with the new log interface

2021-01-21 Thread Chunguang Xu
From: Chunguang Xu In order to support jbd2 per device debugging switch, here we need to replace jbd_debug with a new log interface. But there is a small disadvantage here. Because the debugging switch is placed in the journal_t object, the log before the object is initialized will be lost.

[RFC PATCH 4/4] ext4: replace jbd_debug with the new log interface

2021-01-21 Thread Chunguang Xu
From: Chunguang Xu In order to support jbd2 per device debugging switch, here we need to replace jbd_debug with a new log interface. But there is a small disadvantage here. Because the debugging switch is placed in the journal_t object, the log before the object is initialized will be lost.

[RFC PATCH 2/4] jbd2: introduce some new log interfaces

2021-01-21 Thread Chunguang Xu
From: Chunguang Xu Compared to directly using numbers to indicate levels, using abstract error, warn, notice, info, debug to indicate levels may be more convenient for code reading and writing. Similar to other kernel modules, some basic log interfaces are introduced. Signed-off-by: Chunguang

[RFC PATCH 0/4] make jbd2 debug switch per device

2021-01-21 Thread Chunguang Xu
On a multi-disk machine, because jbd2 debugging switch is global, this confuses the logs of multiple disks. It is not easy to distinguish the logs of each disk and the amount of generated logs is very large. Or a separate debugging switch for each disk would be better, so that you can easily

RE: [PATCH 1/3] iommu/vt-d: Add rate limited information when PRQ overflows

2021-01-21 Thread Tian, Kevin
> From: Lu Baolu > Sent: Thursday, January 21, 2021 9:45 AM > > So that the uses could get chances to know what happened. > > Suggested-by: Ashok Raj > Signed-off-by: Lu Baolu > --- > drivers/iommu/intel/svm.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH v3] soc/tegra: Add devm_tegra_core_dev_init_opp_table()

2021-01-21 Thread Viresh Kumar
On 21-01-21, 22:01, Dmitry Osipenko wrote: > Add common helper which initializes OPP table for Tegra SoC core devices. > > Tested-by: Peter Geis # Ouya T30 > Tested-by: Dmitry Osipenko # A500 T20 and Nexus7 T30 > Tested-by: Nicolas Chauvet # PAZ00 T20 and TK1 T124 > Tested-by: Matt Merhar #

[rcu:tglx-pc.2021.01.21a] BUILD SUCCESS 1fa4714af1ec25d1f76a1d736cc7987c36ba7c27

2021-01-21 Thread kernel test robot
allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20210121 x86_64 randconfig-a003-20210121 x86_64

Re: [PATCH v3] soc/tegra: Add devm_tegra_core_dev_init_opp_table()

2021-01-21 Thread kernel test robot
Hi Dmitry, I love your patch! Yet something to improve: [auto build test ERROR on tegra/for-next] [also build test ERROR on v5.11-rc4 next-20210121] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented

Re: [PATCH v3 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

2021-01-21 Thread mtk23264
On Sun, 2021-01-03 at 09:25 -0700, Rob Herring wrote: > On Mon, Dec 21, 2020 at 02:10:19PM +0800, yz...@mediatek.com wrote: > > From: Ryan Wu > > > > This updates dt-binding documentation for MediaTek mt8192 > > > > Signed-off-by: Ryan Wu > > --- > > This patch is based on v5.10-rc7. > > --- >

Re: [PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp()

2021-01-21 Thread Viresh Kumar
On 22-01-21, 00:36, Dmitry Osipenko wrote: > 21.01.2021 14:17, Viresh Kumar пишет: > > dev_pm_opp_set_bw() is getting removed and dev_pm_opp_set_opp() should > > be used instead. Migrate to the new API. > > > > Signed-off-by: Viresh Kumar > > --- > > drivers/devfreq/tegra30-devfreq.c | 2 +- > >

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-21 Thread Alistair Francis
On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > --- /dev/null > > +++ b/drivers/regulator/sy7636a-regulator.c > > @@ -0,0 +1,233 @@ > > +// SPDX-License-Identifier: GPL-2.0+ > > +/* > > + * Functions to access SY3686A

[PATCH v1] can: mcp251xfd: Add some sysfs debug interfaces for registers r/w

2021-01-21 Thread Su Yanjun
When i debug mcp2518fd, some method to track registers is needed. This easy debug interface will be ok. For example, read a register at 0xe00: echo 0xe00 > can_get_reg cat can_get_reg write a register at 0xe00: echo 0xe00,0x60 > can_set_reg Signed-off-by: Su Yanjun ---

Re: [PATCH] pinctrl: sunxi: fix use-after-free in sunxi_pmx_free()

2021-01-21 Thread liu xiang
> Hi, > On Tue, Jan 19, 2021 at 02:29:08PM +0800, Liu Xiang wrote: > When CONFIG_REGULATOR is not set, sunxi_pmx_request() always return > success. Even a group of pins call sunxi_pmx_request(), the refcount > is only 1. This can cause a use-after-free warning in sunxi_pmx_free(). > To solve this

Re: [PATCH] hugetlbfs: make hugepage size conversion more readable

2021-01-21 Thread Miaohe Lin
Hi: On 2021/1/22 13:02, Mike Kravetz wrote: > On 1/21/21 5:42 PM, Miaohe Lin wrote: >> Hi: >> On 2021/1/22 3:00, Mike Kravetz wrote: >>> On 1/20/21 1:23 AM, Miaohe Lin wrote: The calculation 1U << (h->order + PAGE_SHIFT - 10) is actually equal to (PAGE_SHIFT << (h->order)) >> 10. So we

Re: [PATCH] powerpc/8xx: export 'cpm_setbrg' for modules

2021-01-21 Thread Randy Dunlap
egroups.com >> Cc: Andrew Morton >> Cc: Christophe Leroy >> Cc: Michael Ellerman >> Cc: Benjamin Herrenschmidt >> Cc: Paul Mackerras >> Cc: linuxppc-...@lists.ozlabs.org >> --- >>   arch/powerpc/platforms/8xx/cpm1.c |    1 + >>   1 file

Re: [PATCH] usemem: Remove the duplicate do_access

2021-01-21 Thread wufengguang
Applied, thanks! Sorry the mistake should be caused by manually fixing up mangled outlook patch. Regards, Fengguang

Re: [PATCH V3 0/3] mm/memory_hotplug: Pre-validate the address range with platform

2021-01-21 Thread Anshuman Khandual
On 1/20/21 2:07 PM, Anshuman Khandual wrote: > > > On 1/19/21 7:10 PM, Oscar Salvador wrote: >> On Tue, Jan 19, 2021 at 02:33:03PM +0100, David Hildenbrand wrote: >>> Minor thing, we should make up our mind if we want to call stuff >>> internally "memhp_" or "mhp". I prefer the latter, because

Re: "possible deadlock in console_lock_spinning_enable" and "possible deadlock in console_unlock" should be duplicate crash behaviors

2021-01-21 Thread Lukas Bulwahn
On Fri, Jan 22, 2021 at 6:47 AM 慕冬亮 wrote: > > On Thu, Jan 21, 2021 at 8:49 PM Lukas Bulwahn wrote: > > > > On Thu, Jan 21, 2021 at 6:37 AM 慕冬亮 wrote: > > > > > > Dear kernel developers, > > > > > > I found that on the syzbot dashboard, “possible deadlock in > > >

[PATCH] memory: tegra: Remove calls to dev_pm_opp_set_clkname()

2021-01-21 Thread Viresh Kumar
There is no point calling dev_pm_opp_set_clkname() with the "name" parameter set to NULL, this is already done by the OPP core at setup time and should work as it is. Signed-off-by: Viresh Kumar --- Dmitry, am I missing something obvious here ? drivers/memory/tegra/tegra20-emc.c | 13

Re: [PATCH v4] ovl: fix dentry leak in ovl_get_redirect

2021-01-21 Thread Joseph Qi
Hi Miklos, Any comments on this patch? Thanks, Joseph On 12/22/20 11:26 AM, Al Viro wrote: > On Tue, Dec 22, 2020 at 11:06:26AM +0800, Liangyan wrote: > >> Cc: >> Fixes: a6c606551141 ("ovl: redirect on rename-dir") >> Signed-off-by: Liangyan >> Reviewed-by: Joseph Qi >> Suggested-by: Al

RE: [PATCH v7 0/2] PCI: cadence: Retrain Link to work around Gen2

2021-01-21 Thread Athani Nadeem Ladkhan
Hi Rob / Thomas, Requesting to provide your reviews. Thanks & Regards, Nadeem Athani > -Original Message- > From: Kishon Vijay Abraham I > Sent: Tuesday, January 12, 2021 12:46 PM > To: Athani Nadeem Ladkhan ; Tom Joseph > ; lorenzo.pieral...@arm.com; r...@kernel.org; >

Re: [PATCH] powerpc/8xx: export 'cpm_setbrg' for modules

2021-01-21 Thread Christophe Leroy
c: Nick Desaulniers Cc: clang-built-li...@googlegroups.com Cc: Andrew Morton Cc: Christophe Leroy Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/platforms/8xx/cpm1.c |1 + 1 file changed, 1 insertion(+) --- linux-n

Re: [PATCH v6 1/2] fpga: dfl: add the userspace I/O device support for DFL devices

2021-01-21 Thread Xu Yilun
On Thu, Jan 21, 2021 at 12:03:47PM -0800, Moritz Fischer wrote: > Hi Tom, > > On Thu, Jan 21, 2021 at 06:30:20AM -0800, Tom Rix wrote: > > > > On 1/17/21 8:22 AM, Moritz Fischer wrote: > > > Greg, > > > > > > On Sun, Jan 17, 2021 at 04:45:04PM +0100, Greg KH wrote: > > >> On Wed, Jan 13, 2021 at

[PATCH] ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256

2021-01-21 Thread Jian-Hong Pan
ASUS B1400CEPE laptop's headset audio is not enabled until ALC256_FIXUP_ASUS_HPE quirk is applied. Here is the original pin node values: 0x12 0x4000 0x13 0x41f0 0x14 0x90170110 0x18 0x41f0 0x19 0x41f0 0x1a 0x41f0 0x1b 0x41f0 0x1d 0x40461b45 0x1e 0x41f0 0x21 0x04211020

[PATCH v2 1/2] platform: cros_ec: Call interrupt bottom half in ISH or RPMSG mode

2021-01-21 Thread Gwendal Grignou
Call the same bottom half for all EC protocols (threaded code). Signed-off-by: Gwendal Grignou --- Changes since v1: - Fix merge issues, make changes in cros_ec.h instead of cros_ec_proto.h - Fix function comments syntax. drivers/platform/chrome/cros_ec.c | 26 +++--

Re: "possible deadlock in console_lock_spinning_enable" and "possible deadlock in console_unlock" should be duplicate crash behaviors

2021-01-21 Thread 慕冬亮
On Thu, Jan 21, 2021 at 8:49 PM Lukas Bulwahn wrote: > > On Thu, Jan 21, 2021 at 6:37 AM 慕冬亮 wrote: > > > > Dear kernel developers, > > > > I found that on the syzbot dashboard, “possible deadlock in > > console_lock_spinning_enable”[1] and "possible deadlock in > > console_unlock"[2] should

[PATCH v2 0/2] platform: chrome: Simplify interrupt path

2021-01-21 Thread Gwendal Grignou
rrespective of the transport (i2c, spi, ish, rpmsg), have all cros ec interrupt stack call the threaded part (bottom half) of the interrupt handler. Fix an issue where EC could be stuck if it sends a message while the AP is not powered on. Changes since v1: - fix merging issue and function

[PATCH v2 2/2] platform: cros_ec: Call interrupt bottom half at probe time

2021-01-21 Thread Gwendal Grignou
While the AP was powered off, the EC may have send messages. If the message is not serviced within 3s, the EC stops sending message. Unlock the EC by purging stale messages at probe time. Signed-off-by: Gwendal Grignou --- Changes since v1: None. drivers/platform/chrome/cros_ec.c | 7 +++

[PATCH v4] drm/virtio: Track total GPU memory for virtio driver

2021-01-21 Thread Yiwei Zhang
On the success of virtio_gpu_object_create, add size of newly allocated bo to the tracked total_mem. In drm_gem_object_funcs.free, after the gem bo loses its last refcount, subtract the bo size from the tracked total_mem if the original underlying memory allocation is successful. It's more

Re: [ANNOUNCE] v5.11-rc4-rt1

2021-01-21 Thread Ahmed S. Darwish
On Thu, Jan 21, 2021 at 09:50:08PM +0100, Pavel Machek wrote: > Hi! > > > I'm pleased to announce the v5.11-rc4-rt1 patch set. > > > > Changes since v5.10.8-rt24: > > > > - Updated to v5.11-rc4 > > > > Known issues > > - kdb/kgdb can easily deadlock. > > - kmsg dumpers expecting not to

[PATCH v3] drm/virtio: trace total gem bo for virtio

2021-01-21 Thread Yiwei Zhang
From: Yiwei Zhang On the success of virtio_gpu_object_create, add size of newly allocated bo to the tracked total_mem. In drm_gem_object_funcs.free, after the gem bo lost its last refcount, subtract the bo size from the tracked total_mem if the original underlying memory allocation is

Re: [PATCH v3 04/17] perf: x86/ds: Handle guest PEBS overflow PMI and inject it to guest

2021-01-21 Thread Like Xu
On 2021/1/16 1:42, Sean Christopherson wrote: On Fri, Jan 15, 2021, Xu, Like wrote: On 2021/1/15 2:55, Sean Christopherson wrote: On Mon, Jan 04, 2021, Like Xu wrote: +* Note: KVM disables the co-existence of guest PEBS and host PEBS. By "KVM", do you mean KVM's loading of the MSRs

Re: [PATCH v3] ovl: use a dedicated semaphore for dir upperfile caching

2021-01-21 Thread Icenowy Zheng
在 2021-01-21星期四的 09:07 +0100,Miklos Szeredi写道: > On Thu, Jan 21, 2021 at 4:43 AM Icenowy Zheng > wrote: > > > > 在 2021-01-20星期三的 11:20 +0100,Miklos Szeredi写道: > > > On Tue, Jan 05, 2021 at 08:47:41AM +0200, Amir Goldstein wrote: > > > > On Tue, Jan 5, 2021 at 2:36 AM Icenowy Zheng > > > >

Re: [PATCH v6 1/4] usb: gadget: udc: core: Introduce check_config to verify USB configuration

2021-01-21 Thread Jack Pham
Hi Wesley, On Thu, Jan 21, 2021 at 08:01:37PM -0800, Wesley Cheng wrote: > Some UDCs may have constraints on how many high bandwidth endpoints it can > support in a certain configuration. This API allows for the composite > driver to pass down the total number of endpoints to the UDC so it can

Re: [PATCH V5 5/5] of: unittest: Statically apply overlays using fdtoverlay

2021-01-21 Thread David Gibson
On Fri, Jan 22, 2021 at 08:40:49AM +0530, Viresh Kumar wrote: > On 22-01-21, 10:39, David Gibson wrote: > > No, it definitely will not work in general. It might kinda work in a > > few trivial cases, but it absolutely will not do the neccessary > > handling in some cases. > > > > > I > > > did

Re: [PATCH v2 14/20] x86/xen/pvh: Annotate indirect branch as safe

2021-01-21 Thread Jürgen Groß
On 21.01.21 22:29, Josh Poimboeuf wrote: This indirect jump is harmless; annotate it to keep objtool's retpoline validation happy. Cc: Boris Ostrovsky Cc: Juergen Gross Signed-off-by: Josh Poimboeuf Reviewed-by: Juergen Gross Juergen OpenPGP_0xB0DE9DD628BF132F.asc Description:

Re: [PATCH 1/2] fpga: mgr: Adds secure BitStream loading support

2021-01-21 Thread Moritz Fischer
On Mon, Jan 18, 2021 at 08:20:57AM +0530, Nava kishore Manne wrote: > This commit adds secure flags to the framework to support > secure BitStream Loading. > > Signed-off-by: Nava kishore Manne > --- > drivers/fpga/of-fpga-region.c | 10 ++ > include/linux/fpga/fpga-mgr.h | 12

Re: [PATCH 2/2] fpga: Add support for Xilinx DFX AXI Shutdown manager

2021-01-21 Thread Moritz Fischer
On Tue, Jan 19, 2021 at 06:34:54AM +, Nava kishore Manne wrote: > Hi Moritz, > > Thanks for the review. > Please find my response inline. > > > -Original Message- > > From: Moritz Fischer > > Sent: Saturday, January 16, 2021 8:28 AM > > To: Nava kishore Manne > > Cc:

  1   2   3   4   5   6   7   8   9   10   >