Re: [01/30] mwifiex: pcie: Move tables to the only place they're used

2020-09-01 Thread Kalle Valo
Lee Jones wrote: > Saves on 10's of complains about 'defined but not used' variables. > > Fixes the following W=1 kernel build warning(s): > > In file included from drivers/net/wireless/marvell/mwifiex/main.h:57, > from drivers/net/wireless/marvell/mwifiex/main.c:22: > drivers/net/wireless/m

Re: [PATCH] sched/fair: avoid vruntime compensation for SCHED_IDLE task

2020-09-01 Thread Vincent Guittot
On Tue, 1 Sep 2020 at 12:15, Jiang Biao wrote: > > Hi, Vincent > > Sorry for the late reply.:) > > On Fri, 28 Aug 2020 at 20:55, Vincent Guittot > wrote: > > > > On Sun, 23 Aug 2020 at 09:33, Jiang Biao wrote: > > > > > > Hi, Vincent and Peter > > > > > > On Thu, 20 Aug 2020 at 22:09, Vincent Gu

[PATCH] ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev

2020-09-01 Thread Camel Guo
From: Camel Guo In adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Fixes: 689c7655b50c ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Signed-off-by: Camel Guo --- sound/soc/codecs/tlv320adcx140.c | 4 +++- 1 file changed,

[PATCH v3] ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev

2020-09-01 Thread Camel Guo
From: Camel Guo In adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Fixes: 689c7655b50c ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Signed-off-by: Camel Guo --- sound/soc/codecs/tlv320adcx140.c | 4 +++- 1 file changed,

Re: Fwd: Re: [PATCH] staging: gdm724x: gdm_tty: corrected macro by adding brackets

2020-09-01 Thread Greg KH
On Tue, Sep 01, 2020 at 02:06:23PM +0200, antoni.przyby...@wp.pl wrote: > On 01.09.2020 13:08, Greg KH wrote: > > On Tue, Sep 01, 2020 at 12:43:11PM +0200, antoniprzybylik wrote: > > > Such macros are dangerous. Consider following example: > > > #define GDM_TTY_READY(gdm) (gdm && gdm->tty_dev &&

RE: [PATCH 1/2] random32: make prandom_u32() output unpredictable

2020-09-01 Thread David Laight
From: Willy Tarreau > Sent: 01 September 2020 07:43 ... > +/* > + * Generate some initially weak seeding values to allow > + * the prandom_u32() engine to be started. > + */ > +static int __init prandom_init_early(void) > +{ > + int i; > + unsigned long v0, v1, v2, v3; > + > + if (!

Re: [PATCH 04/11] block: Add bio_for_each_thp_segment_all

2020-09-01 Thread Matthew Wilcox
On Tue, Sep 01, 2020 at 06:34:26AM +0100, Christoph Hellwig wrote: > On Mon, Aug 31, 2020 at 08:48:37PM +0100, Matthew Wilcox wrote: > > static void iomap_read_end_io(struct bio *bio) > > { > > int i, error = blk_status_to_errno(bio->bi_status); > > > > for (i = 0; i < bio->bi_vcnt

[PATCH] pktgen: fix error message with wrong function name

2020-09-01 Thread Leesoo Ahn
Error on calling kthread_create_on_node prints wrong function name, kernel_thread. Signed-off-by: Leesoo Ahn --- net/core/pktgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 95f4c6b8f51a..44fdbb9c6e53 100644 --- a/net/core/pktg

Re: [PATCH 1/2] random32: make prandom_u32() output unpredictable

2020-09-01 Thread Willy Tarreau
On Tue, Sep 01, 2020 at 01:10:18PM +, David Laight wrote: > From: Willy Tarreau > > Sent: 01 September 2020 07:43 > ... > > +/* > > + * Generate some initially weak seeding values to allow > > + * the prandom_u32() engine to be started. > > + */ > > +static int __init prandom_init_early(void) >

Re: [PATCH] libertas_tf: Remove unused macro QOS_CONTROL_LEN

2020-09-01 Thread Kalle Valo
YueHaibing wrote: > There is no caller in tree. > > Signed-off-by: YueHaibing Patch applied to wireless-drivers-next.git, thanks. 2c92790b1203 libertas_tf: Remove unused macro QOS_CONTROL_LEN -- https://patchwork.kernel.org/patch/11744379/ https://wireless.wiki.kernel.org/en/developers/doc

Re: [PATCH 3/3] ARM: tegra: Pass multiple versions in opp-supported-hw property

2020-09-01 Thread Dmitry Osipenko
31.08.2020 14:04, Viresh Kumar пишет: > On 31-08-20, 12:54, Dmitry Osipenko wrote: >> It's not clear to me how it could be applicable to the Tegra CPU OPP >> because Tegra depends on a combination of SPEEDO + PROCESS versions. >> >> It's not like all voltages are the same for all OPPs that have the

Re: [PATCH v3 3/3] mm/armv6: work around armv6 cmpxchg support issue

2020-09-01 Thread Matthew Wilcox
On Tue, Sep 01, 2020 at 02:30:51PM +0800, Alex Shi wrote: > seems there are couples archs can not do cmpxchg1 > So update the patch here. And it's easy to fix if more arch issue find here. > +/* > + * cmpxchg only support 32-bits operands on the following archs ARMv6, > SPARC32 > + * sh2, XTENSA.

Re: [PATCH] drm/vkms: add support for gamma_set interface

2020-09-01 Thread Daniel Vetter
On Tue, Sep 01, 2020 at 08:57:37AM +, Simon Ser wrote: > On Monday, August 31, 2020 3:48 PM, Ville Syrjälä > wrote: > > > > > It doesn't seem like this IGT test's goal is to exercise support for > > > > gamma LUTs. Does the test just tries to reset the gamma LUT to linear? > > > > If so, I t

Re: [PATCH] drm: Parse Colorimetry data block from EDID

2020-09-01 Thread Daniel Vetter
On Tue, Sep 01, 2020 at 03:30:17PM +0800, crj wrote: > Hi, > > 在 2020/9/1 3:53, Ville Syrjälä 写道: > > On Fri, Aug 28, 2020 at 09:07:13AM +0800, crj wrote: > > > Hi Ville Syrjälä, > > > > > > 在 2020/8/27 18:57, Ville Syrjälä 写道: > > > > On Wed, Aug 26, 2020 at 10:23:28PM +0800, Algea Cao wrote: >

Re: [RESEND][PATCH 1/7] powerpc/iommu: Avoid overflow at boundary_size

2020-09-01 Thread Michael Ellerman
Nicolin Chen writes: > The boundary_size might be as large as ULONG_MAX, which means > that a device has no specific boundary limit. So either "+ 1" > or passing it to ALIGN() would potentially overflow. > > According to kernel defines: > #define ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask))

Re: [PATCH 09/11] soundwire: intel: add dynamic debug trace for clock-stop invalid configs

2020-09-01 Thread Pierre-Louis Bossart
On 9/1/20 6:07 AM, Vinod Koul wrote: On 31-08-20, 10:15, Pierre-Louis Bossart wrote: Detect cases where the clock is assumed to be stopped but the IP is not in the relevant state, and add a dynamic debug trace. you meant a debug print..and it looks like error print below (also in title).

Re: [PATCH 06/28] lib82596: move DMA allocation into the callers of i82596_probe

2020-09-01 Thread Thomas Bogendoerfer
On Wed, Aug 19, 2020 at 08:55:33AM +0200, Christoph Hellwig wrote: > This allows us to get rid of the LIB82596_DMA_ATTR defined and prepare > for untangling the coherent vs non-coherent DMA allocation API. > > Signed-off-by: Christoph Hellwig > --- > drivers/net/ethernet/i825xx/lasi_82596.c | 24

Re: [PATCH v6 3/3] mm: add a field to store names for private anonymous memory

2020-09-01 Thread kernel test robot
, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Sumit-Semwal/Anonymous-VMA-naming-patches/20200901-172131 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

Re: [PATCH] staging: gdm724x: gdm_tty: corrected macro by adding brackets

2020-09-01 Thread Dan Carpenter
On Tue, Sep 01, 2020 at 12:43:11PM +0200, antoniprzybylik wrote: ^^^ Please, fix your From: header so that it says "Antoni Przybylik". > Such macros are dangerous. Consider following example: > #define GDM_TTY_READY(gdm) (gdm && gdm->tty_

Re: [PATCH v2 1/4] ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

2020-09-01 Thread Guillaume Tucker
Hi Krzysztof, Russell, On 10/08/2020 13:22, Guillaume Tucker wrote: > The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable > sequence. There is no need to set it in the default register value, > this was done before support for it was implemented in the code. It > is not set in the ha

Re: [PATCH v6 42/76] x86/sev-es: Setup early #VC handler

2020-09-01 Thread Borislav Petkov
On Tue, Sep 01, 2020 at 02:59:22PM +0200, Joerg Roedel wrote: > True, but having a separate function might be handy when support for #VE > and #HV is developed. Those might also need to setup their early > handlers here, no? Ok. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-

Re: [PATCH v1 6/9] phy: qcom-qmp: Add support for DP in USB3+DP combo phy

2020-09-01 Thread Dmitry Baryshkov
On 26/08/2020 05:47, Stephen Boyd wrote: Add support for the USB3 + DisplayPort (DP) "combo" phy to the qmp phy driver. We already have support for the USB3 part of the combo phy, so most additions are for the DP phy. Split up the qcom_qmp_phy{enable,disable}() functions into the phy init, power

Re: [PATCH] dma-buf: fix kernel-doc warning in dma-fence.c

2020-09-01 Thread Christian König
Am 01.09.20 um 15:32 schrieb Daniel Vetter: On Mon, Aug 31, 2020 at 12:02:03PM +0200, Christian König wrote: Am 31.08.20 um 06:17 schrieb Randy Dunlap: Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c: ../drivers/dma-buf/dma-fence.c:291: wa

Re: [PATCH v5 3/3] xen: add helpers to allocate unpopulated memory

2020-09-01 Thread kernel test robot
. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Roger-Pau-Monne/xen-balloon-fixes-for-memory-hotplug/20200901-163414 base: https://git.kernel.org/pub/scm/linux/kernel/git/x

Re: linux-next: build failure after upgrading sphinx

2020-09-01 Thread Markus Heiser
Am 31.08.20 um 21:03 schrieb Jonathan Corbet: On Thu, 27 Aug 2020 14:50:17 +1000 Stephen Rothwell wrote: Today I upgraded ot sphinx v3.2.1 and got the following error from "make htmldocs": Running Sphinx v3.2.1 enabling CJK for LaTeX builder Extension error: Could not import extension cdomai

Re: [PATCH] dma-buf: fix kernel-doc warning in dma-fence.c

2020-09-01 Thread Daniel Vetter
On Mon, Aug 31, 2020 at 12:02:03PM +0200, Christian König wrote: > Am 31.08.20 um 06:17 schrieb Randy Dunlap: > > Add @cookie to dma_fence_end_signalling() to prevent kernel-doc > > warning in drivers/dma-buf/dma-fence.c: > > > > ../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or m

Re: [PATCH v2] regmap: soundwire: remove unused header mod_devicetable.h

2020-09-01 Thread Pierre-Louis Bossart
On 9/1/20 6:13 AM, Vinod Koul wrote: mod_devicetable.h does not seem to be required for this file, so remove it. Signed-off-by: Vinod Koul Reviewed-by: Pierre-Louis Bossart --- changes in v2: - fix typo in patch subject drivers/base/regmap/regmap-sdw.c | 1 - 1 file changed, 1 d

RE: [PATCH] [v2] nvme-pci: check req to prevent crash in nvme_handle_cqe()

2020-09-01 Thread Tianxianting
Hi, Could I get the feedback for the patch, whether it can be applied or need some improvement? It really can prevent a crash we met. Thanks:) -Original Message- From: tianxianting (RD) Sent: Monday, August 31, 2020 6:56 PM To: kbu...@kernel.org; ax...@fb.com; h...@lst.de; s...@grimberg.

Re: [PATCH] iio: sx9310: Prefer async probe

2020-09-01 Thread Jonathan Cameron
On Tue, 1 Sep 2020 00:03:55 -0700 Stephen Boyd wrote: > Quoting Doug Anderson (2020-08-31 11:59:37) > > On Sat, Aug 29, 2020 at 10:18 AM Jonathan Cameron wrote: > > > > > Agreed. However, I'd like a comment next to the place we turn it on > > > saying what delays we are trying to mitigate by

Re: [PATCH v2 1/4] ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

2020-09-01 Thread Krzysztof Kozlowski
On Tue, 1 Sep 2020 at 15:34, Guillaume Tucker wrote: > > Hi Krzysztof, Russell, > > On 10/08/2020 13:22, Guillaume Tucker wrote: > > The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable > > sequence. There is no need to set it in the default register value, > > this was done before sup

Re: [PATCH 0/1] block io layer filters api

2020-09-01 Thread Sergei Shtepa
The 08/28/2020 16:54, Jens Axboe wrote: > On 8/27/20 1:13 PM, Sergei Shtepa wrote: > > Hello everyone! Requesting for your comments and suggestions. > > > > We propose new kernel API that should be beneficial for out-of-tree > > kernel modules of multiple backup vendors: block layer filter API. >

Re: [PATCH v6 48/76] x86/entry/64: Add entry code for #VC handler

2020-09-01 Thread Joerg Roedel
On Mon, Aug 31, 2020 at 01:30:02PM +0200, Borislav Petkov wrote: > AFAICT, that STACK_TYPE_UNKNOWN gets set only by the plain > get_stack_info() function - not by the _noinstr() variant so you'd need > to check the return value of latter... You are right, it needs to check the return value of get_

Re: [PATCH v3] PCI: Add pci_iounmap

2020-09-01 Thread Yang Yingliang
On 2020/8/25 9:25, kernel test robot wrote: Hi George, I love your patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on linux/master linus/master asm-generic/master v5.9-rc2 next-20200824] [If your patch is applied to the wrong git tree, kindly drop

Re: [PATCH v4 1/3] ASoC: codecs: soundwire: remove port_ready[] usage from codecs.

2020-09-01 Thread Mark Brown
On Mon, Aug 31, 2020 at 09:43:16PM +0800, Bard Liao wrote: > From: Pierre-Louis Bossart > > port_ready will be changed to a fixed array in sdw.h and all initialization > work will be done at soundwire side in the following patch. So remove them > from codec drivers. Acked-by: Mark Brown signa

Re: [PATCH v2 1/4] ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val

2020-09-01 Thread Krzysztof Kozlowski
On Tue, 1 Sep 2020 at 15:45, Krzysztof Kozlowski wrote: > > On Tue, 1 Sep 2020 at 15:34, Guillaume Tucker > wrote: > > > > Hi Krzysztof, Russell, > > > > On 10/08/2020 13:22, Guillaume Tucker wrote: > > > The L310_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable > > > sequence. There is no

Re: [PATCH v2 1/7] compiler-clang: add build check for clang 10.0.1

2020-09-01 Thread Sedat Dilek
On Tue, Sep 1, 2020 at 2:23 AM Nick Desaulniers wrote: > > During Plumbers 2020, we voted to just support the latest release of > Clang for now. Add a compile time check for this. > > We plan to remove workarounds for older versions now, which will break > in subtle and not so subtle ways. > > Li

Re: [PATCH 4.19 1/7] sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210

2020-09-01 Thread Greg KH
On Fri, Aug 28, 2020 at 04:23:48PM -0700, Sowjanya Komatineni wrote: > > On 8/28/20 4:15 PM, Sasha Levin wrote: > > On Fri, Aug 28, 2020 at 03:25:11PM -0700, Sowjanya Komatineni wrote: > > > commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support") > > > > What does this line above represent? > >

Re: [27/30] brcmsmac: phy_lcn: Remove a bunch of unused variables

2020-09-01 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > In file included from > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c:11: > drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c: In function > ‘wlc_lcnphy_rx_iq_cal’: > drivers/net/wireless/b

Re: [PATCH 10/28] MIPS/jazzdma: decouple from dma-direct

2020-09-01 Thread Thomas Bogendoerfer
On Wed, Aug 19, 2020 at 08:55:37AM +0200, Christoph Hellwig wrote: > The jazzdma ops implement support for a very basic IOMMU. Thus we really > should not use the dma-direct code that takes physical address limits > into account. This survived through the great MIPS DMA ops cleanup mostly > becau

Re: [PATCH 09/28] MIPS/jazzdma: remove the unused vdma_remap function

2020-09-01 Thread Thomas Bogendoerfer
On Wed, Aug 19, 2020 at 08:55:36AM +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > --- > arch/mips/include/asm/jazzdma.h | 2 - > arch/mips/jazz/jazzdma.c| 70 - > 2 files changed, 72 deletions(-) Acked-by: Thomas Bogendoerfer -- C

Re: [PATCH 08/28] MIPS: make dma_sync_*_for_cpu a little less overzealous

2020-09-01 Thread Thomas Bogendoerfer
On Wed, Aug 19, 2020 at 08:55:35AM +0200, Christoph Hellwig wrote: > When transferring DMA ownership back to the CPU there should never > be any writeback from the cache, as the buffer was owned by the > device until now. Instead it should just be invalidated for the > mapping directions where the

Re: RFC: backport of commit a32c1c61212d

2020-09-01 Thread Greg Kroah-Hartman
On Tue, Aug 25, 2020 at 03:58:27PM -0700, Doug Berger wrote: > I recently tracked down a problem I observed when booting a v5.4 kernel > on a sparsemem UMA arm platform which includes a no-map reserved-memory > region in the middle of its HighMem zone. > > When memmap_init_zone() is invoked the pf

Re: [PATCH] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-01 Thread Mark Rutland
On Wed, Aug 19, 2020 at 09:50:06AM -0500, Josh Poimboeuf wrote: > The x86 uaccess code uses barrier_nospec() in various places to prevent > speculative dereferencing of user-controlled pointers (which might be > combined with further gadgets or CPU bugs to leak data). > > There are some issues wit

RE: [PATCH] [v3] blk-mq: use BLK_MQ_NO_TAG for no tag

2020-09-01 Thread Tianxianting
Hi Jens Could I get the feedback from you whether this patch can be applied? Thanks a lot. -Original Message- From: tianxianting (RD) Sent: Thursday, August 27, 2020 2:34 PM To: ax...@kernel.dk Cc: linux-bl...@vger.kernel.org; linux-kernel@vger.kernel.org; tianxianting (RD) Subject: [P

Re: [PATCH 2/2] mtd: spi-nor: enable lock interface for macronix chips

2020-09-01 Thread Ivan Mikhaylov
On Mon, 2020-08-31 at 12:55 +0200, Rasmus Villemoes wrote: > On 12/08/2020 17.18, Ivan Mikhaylov wrote: > > Add locks for whole macronix chip series with BP0-2 and BP0-3 bits. > > > > Tested with mx25l51245g(BP0-3). > > Hmm. I've tried adding support for locking on Macronix to U-Boot > ( > https:

[PATCH v4] ASoC: tlv320adcx140: Fix accessing uninitialized adcx140->dev

2020-09-01 Thread Camel Guo
From: Camel Guo In adcx140_i2c_probe, adcx140->dev is accessed before its initialization. This commit fixes this bug. Fixes: 689c7655b50c ("ASoC: tlv320adcx140: Add the tlv320adcx140 codec driver family") Acked-by: Dan Murphy Signed-off-by: Camel Guo --- v4: - Add Acked-By from Dan v3:

Re: [PATCH v2 0/7] set clang minimum version to 10.0.1

2020-09-01 Thread Sedat Dilek
On Tue, Sep 1, 2020 at 2:23 AM Nick Desaulniers wrote: > > Adds a compile time #error to compiler-clang.h setting the effective > minimum supported version to clang 10.0.1. A separate patch has already > been picked up into the Documentation/ tree also confirming the version. > > Next are a series

Re: [PATCH v6 69/76] x86/realmode: Setup AP jump table

2020-09-01 Thread Joerg Roedel
On Mon, Aug 31, 2020 at 07:09:37PM +0200, Borislav Petkov wrote: > On Mon, Aug 24, 2020 at 10:55:04AM +0200, Joerg Roedel wrote: > > + /* Check if AP Jump Table is non-zero and page-aligned */ > > + if (!jump_table_addr || jump_table_addr & ~PAGE_MASK) > > + return 0; > > I think you

Re: [24/30] mwifiex: wmm: Mark 'mwifiex_1d_to_wmm_queue' as __maybe_unused

2020-09-01 Thread Kalle Valo
Lee Jones wrote: > 'mwifiex_1d_to_wmm_queue' is used in'; main.c, txrx.c and uap_txrx.c > > ... but not used in 14 other source files which include 'wmm.h'. > > Fixes the following W=1 kernel build warning(s): > > In file included from drivers/net/wireless/marvell/mwifiex/init.c:25: > driver

Re: [11/30] zd1211rw: zd_chip: Correct misspelled function argument

2020-09-01 Thread Kalle Valo
Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Function > parameter or member 'status' not described in 'zd_rx_rate' > drivers/net/wireless/zydas/zd1211rw/zd_chip.c:1385: warning: Excess function > paramete

[RESEND PATCH 2/2] arm64: dts: ti: k3-j721e-common-proc-board: Configure the PCIe instances

2020-09-01 Thread Kishon Vijay Abraham I
J721E Common Processor Board has PCIe connectors for the 1st three PCIe instances. Configure the three PCIe instances in RC mode and disable the 4th PCIe instance. Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j721e-common-proc-board.dts | 80 +++ 1 file changed, 80

[RFC V2 2/9] Introduce page table population function for direct build EPT feature

2020-09-01 Thread yulei . kernel
From: Yulei Zhang Page table population function will pin the memory and pre-construct the EPT base on the input memory slot configuration so that it won't relay on the page fault interrupt to setup the page table. Signed-off-by: Yulei Zhang --- arch/x86/include/asm/kvm_host.h | 2 +- arch/x

[tip: core/static_call] static_call: Add inline static call infrastructure

2020-09-01 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the core/static_call branch of tip: Commit-ID: 9183c3f9ed710a8edf1a61e8a96d497258d26e08 Gitweb: https://git.kernel.org/tip/9183c3f9ed710a8edf1a61e8a96d497258d26e08 Author:Josh Poimboeuf AuthorDate:Tue, 18 Aug 2020 15:57:42 +02:00 C

[tip: core/static_call] static_call: Add simple self-test for static calls

2020-09-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the core/static_call branch of tip: Commit-ID: f03c412915f5f69f2d17bcd20ecdd69320bcbf7b Gitweb: https://git.kernel.org/tip/f03c412915f5f69f2d17bcd20ecdd69320bcbf7b Author:Peter Zijlstra AuthorDate:Tue, 18 Aug 2020 15:57:46 +02:00 C

[tip: core/static_call] x86/static_call: Add out-of-line static call implementation

2020-09-01 Thread tip-bot2 for Josh Poimboeuf
The following commit has been merged into the core/static_call branch of tip: Commit-ID: e6d6c071f22de29e4993784fc00cd2202b7ba149 Gitweb: https://git.kernel.org/tip/e6d6c071f22de29e4993784fc00cd2202b7ba149 Author:Josh Poimboeuf AuthorDate:Tue, 18 Aug 2020 15:57:44 +02:00 C

[tip: core/static_call] static_call: Avoid kprobes on inline static_call()s

2020-09-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the core/static_call branch of tip: Commit-ID: 6333e8f73b834f54e395a056e6002403f0862c51 Gitweb: https://git.kernel.org/tip/6333e8f73b834f54e395a056e6002403f0862c51 Author:Peter Zijlstra AuthorDate:Tue, 18 Aug 2020 15:57:43 +02:00 C

[tip: core/static_call] static_call: Add static_call_cond()

2020-09-01 Thread tip-bot2 for Peter Zijlstra
The following commit has been merged into the core/static_call branch of tip: Commit-ID: 452cddbff74b6a15b9354505671011700fe03710 Gitweb: https://git.kernel.org/tip/452cddbff74b6a15b9354505671011700fe03710 Author:Peter Zijlstra AuthorDate:Tue, 18 Aug 2020 15:57:48 +02:00 C

[tip: core/build] arm64/kernel: Remove needless Call Frame Information annotations

2020-09-01 Thread tip-bot2 for Kees Cook
The following commit has been merged into the core/build branch of tip: Commit-ID: 34b4a5c54c429d12bcc783a27650752237c49a36 Gitweb: https://git.kernel.org/tip/34b4a5c54c429d12bcc783a27650752237c49a36 Author:Kees Cook AuthorDate:Fri, 21 Aug 2020 12:42:50 -07:00 Committer:

[tip: core/build] vmlinux.lds.h: Add .symtab, .strtab, and .shstrtab to ELF_DETAILS

2020-09-01 Thread tip-bot2 for Kees Cook
The following commit has been merged into the core/build branch of tip: Commit-ID: a840c4de569f610bc5ee043b613c35b779d23186 Gitweb: https://git.kernel.org/tip/a840c4de569f610bc5ee043b613c35b779d23186 Author:Kees Cook AuthorDate:Fri, 21 Aug 2020 12:42:46 -07:00 Committer:

[tip: core/build] vmlinux.lds.h: Create COMMON_DISCARDS

2020-09-01 Thread tip-bot2 for Kees Cook
The following commit has been merged into the core/build branch of tip: Commit-ID: 03c2b85cb7f13e9bd82cbe4201ede52177d433f5 Gitweb: https://git.kernel.org/tip/03c2b85cb7f13e9bd82cbe4201ede52177d433f5 Author:Kees Cook AuthorDate:Fri, 21 Aug 2020 12:42:42 -07:00 Committer:

[tip: core/build] efi/libstub: Disable -mbranch-protection

2020-09-01 Thread tip-bot2 for Kees Cook
The following commit has been merged into the core/build branch of tip: Commit-ID: e2179a09ab089d3423751bd2b0c884ddb3eabe84 Gitweb: https://git.kernel.org/tip/e2179a09ab089d3423751bd2b0c884ddb3eabe84 Author:Kees Cook AuthorDate:Fri, 21 Aug 2020 12:42:48 -07:00 Committer:

Re: [PATCH] module: Add more error message for failed kernel module loading

2020-09-01 Thread Jessica Yu
+++ Qu Wenruo [31/08/20 16:37 +0800]: When kernel module loading failed, user space only get one of the following error messages: - -ENOEXEC This is the most confusing one. From corrupted ELF header to bad WRITE|EXEC flags check introduced by in module_enforce_rwx_sections() all returns this e

[PATCH v3 10/23] microblaze: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Wire asm-generic/mmu_context.h to provide generic empty hooks for arch code simplification. Acked-by: Michal Simek Signed-off-by: Nicholas Piggin --- arch/microblaze/include/asm/mmu_context_mm.h | 8 arch/microblaze/include/asm/processor.h | 3 --- 2 files changed, 4 insertions(+)

[PATCH v3 02/23] alpha: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: linux-al...@vger.kernel.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/alpha/include/asm/mmu_context.h | 12 1 file changed, 4 insertions(+), 8 deleti

[PATCH v3 11/23] mips: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/mips/include/asm/mmu_context.h | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/mips/include/

Re: [PATCH] sched/fair: avoid vruntime compensation for SCHED_IDLE task

2020-09-01 Thread Jiang Biao
Hi, On Tue, 1 Sep 2020 at 21:04, Vincent Guittot wrote: > > On Tue, 1 Sep 2020 at 12:15, Jiang Biao wrote: > > > > Hi, Vincent > > > > Sorry for the late reply.:) > > > > On Fri, 28 Aug 2020 at 20:55, Vincent Guittot > > wrote: > > > > > > On Sun, 23 Aug 2020 at 09:33, Jiang Biao wrote: > > >

Re: splice: infinite busy loop lockup bug

2020-09-01 Thread Qian Cai
On Tue, Sep 01, 2020 at 09:10:05AM +0800, Ming Lei wrote: > On Tue, Sep 1, 2020 at 8:53 AM Qian Cai wrote: > > > > On Fri, Aug 07, 2020 at 09:34:08PM +0900, Tetsuo Handa wrote: > > > On 2020/08/07 21:27, Al Viro wrote: > > > > On Fri, Aug 07, 2020 at 07:35:08PM +0900, Tetsuo Handa wrote: > > > >>

[PATCH 1/1] RAS: Add CPU Correctable Error Collector to isolate an erroneous CPU core

2020-09-01 Thread Shiju Jose
When the CPU correctable errors reported on an ARM64 CPU core too often, it should be isolated. Add the CPU correctable error collector to store the CPU correctable error count. When the correctable error count for a CPU exceed the threshold value in a short time period, it will try to isolate the

[PATCH v1 1/2] Bluetooth: hci_serdev: Close UART port if NON_PERSISTENT_SETUP is set

2020-09-01 Thread Venkata Lakshmi Narayana Gubba
When HCI_QUIRK_NON_PERSISTENT_SETUP is set by drivers, it indicates that BT SoC will be completely powered OFF during BT OFF. On next BT ON firmware must be downloaded again. Holding UART port open during BT OFF is draining the battery. Now during BT OFF, UART port is closed if qurik HCI_QUIRK_NON_

[RESEND PATCH 1/2] arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes

2020-09-01 Thread Kishon Vijay Abraham I
Add PCIe device tree node (both RC and EP) for the four PCIe instances here. Signed-off-by: Kishon Vijay Abraham I --- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 218 ++ arch/arm64/boot/dts/ti/k3-j721e.dtsi | 5 +- 2 files changed, 222 insertions(+), 1 deletion(-) di

Re: [PATCH 2/2] usb: serial: usb_wwan: Fix lackage for Quectel EG95 LTE modem support

2020-09-01 Thread Daniele Palmas
Hi William, Il giorno mar 1 set 2020 alle ore 07:14 William Sung ha scritto: > > As required by the USB protocol, add zero packet support for Quectel > EG95 LTE modem module. > > Fixes: f815dd5cf48b ("net: usb: qmi_wwan: add support for Quectel EG95 > LTE modem" If I'm not wrong, that commit is

Re: [PATCH] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-01 Thread Josh Poimboeuf
On Tue, Sep 01, 2020 at 08:32:20AM +, David Laight wrote: > > Yes, it would make sense to put the masking in access_ok() somehow. But > > to do it properly, I think we'd first need to make access_ok() generic. > > Maybe that's do-able, but it would be a much bigger patch set. > > > > First I'

[PATCH v1 0/2] Close UART port if NON_PERSISTENT_SETUP is set

2020-09-01 Thread Venkata Lakshmi Narayana Gubba
When HCI_QUIRK_NON_PERSISTENT_SETUP is set by drivers, it indicates that BT SoC will be completely powered OFF during BT OFF. On next BT ON firmware must be downloaded again. Holding UART port open during BT OFF is draining the battery. Now during BT OFF, UART port is closed if qurik HCI_QUIRK_NON_

[PATCH v3 1/2] lib: decompress_unzstd: Limit output size

2020-09-01 Thread Paul Cercueil
The zstd decompression code, as it is right now, will most likely fail on 32-bit systems, as the default output buffer size causes the buffer's end address to overflow. Address this issue by setting a sane default to the default output size, with a value that won't overflow the buffer's end addres

[PATCH v3 0/2] MIPS: Add support for ZSTD v3

2020-09-01 Thread Paul Cercueil
Hi, This small patchset adds support for self-extracting kernels compressed with ZSTD. Nick: I dropped your Reviewed-by on patch [1/2] since the code changed. Cheers, -Paul Paul Cercueil (2): lib: decompress_unzstd: Limit output size MIPS: Add support for ZSTD-compressed kernels arch/mips

[PATCH v3 2/2] MIPS: Add support for ZSTD-compressed kernels

2020-09-01 Thread Paul Cercueil
Add support for self-extracting kernels with a ZSTD compression. Tested on a kernel for the GCW-Zero, it allows to reduce the size of the kernel file from 4.1 MiB with gzip to 3.5 MiB with ZSTD, and boots just as fast. Compressed kernels are now also compiled with -D__DISABLE_EXPORTS in order to

[PATCH net-next] liquidio: Remove unneeded cast from memory allocation

2020-09-01 Thread YueHaibing
Remove unneeded return value cast. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/net/ethernet/cavium/liquidio/octeon_droq.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/cavium/liquidio/octeon_droq.c b/drivers/net/ether

[PATCH net-next] net: sungem: Remove unneeded cast from memory allocation

2020-09-01 Thread YueHaibing
Remove dma_alloc_coherent return value cast. This is detected by coccinelle. Signed-off-by: YueHaibing --- drivers/net/ethernet/sun/sungem.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c index eeb85

[PATCH v1 2/2] Bluetooth: hci_qca: Remove duplicate power off in proto close

2020-09-01 Thread Venkata Lakshmi Narayana Gubba
During serdev unregister, hdev->shutdown is called before proto close. Removing duplicates power OFF call. Signed-off-by: Venkata Lakshmi Narayana Gubba --- drivers/bluetooth/hci_qca.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/bluetooth/hci_qca.c b/drivers/

Re: [PATCH] x86/uaccess: Use pointer masking to limit uaccess speculation

2020-09-01 Thread Josh Poimboeuf
On Tue, Sep 01, 2020 at 03:02:08PM +0100, Mark Rutland wrote: > d instead do user pointer > > masking, throughout the x86 uaccess code. This is similar to what arm64 > > is already doing. > > > > barrier_nospec() is now unused, and can be removed. > > One thing to consider is whether you need a

RE: [PATCH] Introduce support for Systems Management Driver over WMI for Dell Systems

2020-09-01 Thread Limonciello, Mario
> > "A read-only attribute enumerating if a reboot is pending on any BIOS > attribute > change." > does not really seem to make much sense. I guess what this is trying to say > is: > > "This read-only attribute reads 1 if a reboot is necessary to apply pending > BIOS > attribute changes"? > >

Re: [PATCH] mm/memory_hotplug: drain per-cpu pages again during memory offline

2020-09-01 Thread Sasha Levin
Hi [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.8.5, v5.4.61, v4.19.142, v4.14.195, v4.9.234, v4.4.234. v5.8.5: Build OK! v5.4.6

[PATCH v6 4/5] arm64: dts: sdm845: Add OPP tables and power-domains for venus

2020-09-01 Thread Rajendra Nayak
Add the OPP tables in order to be able to vote on the performance state of a power-domain. Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm

Re: [PATCH next v3 5/8] printk: ringbuffer: clear initial reserved fields

2020-09-01 Thread Petr Mladek
On Mon 2020-08-31 03:16:55, John Ogness wrote: > prb_reserve() will set some meta data values and leave others > uninitialized (or rather, containing the values of the previous > wrap). Simplify the API by always clearing out all the fields. > Only the sequence number is filled in. The caller is no

[PATCH v6 3/5] media: venus: core: Add support for opp tables/perf voting

2020-09-01 Thread Rajendra Nayak
Add support to add OPP tables and perf voting on the OPP powerdomain. This is needed so venus votes on the corresponding performance state for the OPP powerdomain along with setting the core clock rate. Signed-off-by: Rajendra Nayak Reviewed-by: Matthias Kaehlcke Acked-by: Stanimir Varbanov Rev

[PATCH v6 5/5] arm64: dts: sc7180: Add OPP tables and power-domains for venus

2020-09-01 Thread Rajendra Nayak
Add the OPP tables in order to be able to vote on the performance state of a power-domain Signed-off-by: Rajendra Nayak --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc718

Re: [PATCH 1/1] RAS: Add CPU Correctable Error Collector to isolate an erroneous CPU core

2020-09-01 Thread Borislav Petkov
On Tue, Sep 01, 2020 at 03:01:40PM +0100, Shiju Jose wrote: > When the CPU correctable errors reported on an ARM64 CPU core too often, > it should be isolated. Add the CPU correctable error collector to > store the CPU correctable error count. > > When the correctable error count for a CPU exceed

[PATCH net-next] net/mlx5e: kTLS, Avoid kzalloc(GFP_KERNEL) under spinlock

2020-09-01 Thread YueHaibing
A spin lock is held before kzalloc, it may sleep with holding the spinlock, so we should use GFP_ATOMIC instead. This is detected by coccinelle. Fixes: 0419d8c9d8f8 ("net/mlx5e: kTLS, Add kTLS RX resync support") Signed-off-by: YueHaibing --- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktl

[PATCH v6 1/5] dt-bindings: media: venus: Add an optional power domain for perf voting

2020-09-01 Thread Rajendra Nayak
Venus needs to vote for the performance state of a power domain (cx) to be able to support DVFS. This 'cx' power domain is controlled by rpmh and is a common power domain (scalable) not specific to venus alone. This is optional in the sense that, leaving this power domain out does not really impact

[PATCH v6 0/5] DVFS support for Venus

2020-09-01 Thread Rajendra Nayak
Rob, can you pick PATCH 1 since its already reviewed by you. Stan, Patch 2 and 3 will need to be picked by you and they both have your ACKs Patch 4 and 5 will need to be merged via the qcom tree once we have them reviewed. v6: No changes, rebased on 5.9-rc3 v5: Fixed the opp-tables (patch 4/5) t

[PATCH v6 2/5] media: venus: core: Fix error handling in probe

2020-09-01 Thread Rajendra Nayak
Post a successful pm_ops->core_get, an error in probe should exit by doing a pm_ops->core_put which seems to be missing. So fix it. Signed-off-by: Rajendra Nayak Acked-by: Stanimir Varbanov Reviewed-by: Bjorn Andersson --- drivers/media/platform/qcom/venus/core.c | 15 ++- 1 file c

checkpatch? (was: Re: [PATCH v3] coccinelle: misc: add uninitialized_var.cocci script)

2020-09-01 Thread Joe Perches
On Tue, 2020-09-01 at 12:48 +0300, Denis Efremov wrote: > uninitialized_var() macro was removed from the sources [1] and > other warning-silencing tricks were deprecated [2]. The purpose of this > cocci script is to prevent new occurrences of uninitialized_var() > open-coded variants. > +( > +* T

Re: [PATCH] drm/radeon: Reset ASIC if suspend is not managed by platform firmware

2020-09-01 Thread Alex Deucher
On Tue, Sep 1, 2020 at 3:32 AM Kai-Heng Feng wrote: > > Suspend with s2idle or by the following steps cause screen frozen: > # echo devices > /sys/power/pm_test > # echo freeze > /sys/power/mem > > [ 289.625461] [drm:uvd_v1_0_ib_test [radeon]] *ERROR* radeon: fence wait > timed out. > [ 289.6

RE: [PATCH] Introduce support for Systems Management Driver over WMI for Dell Systems

2020-09-01 Thread Limonciello, Mario
> Going forward I will be helping Andy and Darren with maintaining the > drivers/platform/x86/* drivers. > > So one of the first things which I'm doing with that hat on, > is review this patch. Congrats on the new responsibilities :) > > So first of all some comments on the userspace (sysfs) AP

[PATCH v3 22/23] x86: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org Cc: "H. Peter Anvin" Acked-by: Peter Zijlstra (Intel) Signed-off-by: Nicholas Piggin --- arch/x86/include/asm/mmu_context.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/include/asm/mmu_context.h

[PATCH v3 23/23] xtensa: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Chris Zankel Cc: Max Filippov Cc: linux-xte...@linux-xtensa.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/xtensa/include/asm/mmu_context.h | 11 +++ arch/xtensa/include/asm/nommu_context.h | 26 +

[PATCH v3 19/23] sh: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Yoshinori Sato Cc: Rich Felker Cc: linux...@vger.kernel.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/sh/include/asm/mmu_context.h| 5 ++--- arch/sh/include/asm/mmu_context_32.h | 9 - 2 files changed, 2 inser

Re: [PATCH v2] io_wq: Make io_wqe::lock a raw_spinlock_t

2020-09-01 Thread Jens Axboe
On 9/1/20 2:41 AM, Sebastian Andrzej Siewior wrote: > During a context switch the scheduler invokes wq_worker_sleeping() with > disabled preemption. Disabling preemption is needed because it protects > access to `worker->sleeping'. As an optimisation it avoids invoking > schedule() within the sched

[PATCH v3 21/23] um: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Jeff Dike Cc: Richard Weinberger Cc: Anton Ivanov Cc: linux...@lists.infradead.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/um/include/asm/mmu_context.h | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-)

[PATCH v3 18/23] s390: use asm-generic/mmu_context.h for no-op implementations

2020-09-01 Thread Nicholas Piggin
Cc: Heiko Carstens Cc: Vasily Gorbik Cc: Christian Borntraeger Cc: linux-s...@vger.kernel.org Signed-off-by: Nicholas Piggin --- Please ack or nack if you object to this being mered via Arnd's tree. arch/s390/include/asm/mmu_context.h | 9 - 1 file changed, 4 insertions(+), 5 deletio

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