[PATCH v2 1/5] clk: divider: add devm_clk_hw_register_divider_table()

2020-11-05 Thread Michael Walle
This will simplify drivers which would only unregister the clk in their remove() op. Signed-off-by: Michael Walle --- Changes since v1: - new patch drivers/clk/clk-divider.c| 34 ++ include/linux/clk-provider.h | 27 +++ 2 files chang

Re: [PATCH 4.19 078/191] ia64: kprobes: Use generic kretprobe trampoline handler

2020-11-05 Thread Pavel Machek
Hi! > From: Masami Hiramatsu > > [ Upstream commit e792ff804f49720ce003b3e4c618b5d996256a18 ] > > Use the generic kretprobe trampoline handler. Don't use > framepointer verification. > > Signed-off-by: Masami Hiramatsu > Signed-off-by: Ingo Molnar > Link: > https://lore.kernel.org/r/1598706

[PATCH v2 5/5] arm64: dts: lx2160a: fix FlexSPI clock

2020-11-05 Thread Michael Walle
Now that we have a proper driver for the FlexSPI interface use it. This will fix SCK frequency switching on Layerscape SoCs. This was only compile time tested. Signed-off-by: Michael Walle --- Changes since v1: - none arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 15 +-- 1 file

[PATCH v2 2/5] dt-bindings: clock: document the fsl-flexspi-clk driver

2020-11-05 Thread Michael Walle
Signed-off-by: Michael Walle Reviewed-by: Rob Herring --- Changes since v1: - none .../bindings/clock/fsl,flexspi-clock.yaml | 55 +++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/fsl,flexspi-clock.yaml diff --git a/Document

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Leon Romanovsky
On Thu, Nov 05, 2020 at 07:27:56PM +, Ertman, David M wrote: > > -Original Message- > > From: Dan Williams > > Sent: Thursday, November 5, 2020 1:19 AM > > To: Ertman, David M > > Cc: alsa-de...@alsa-project.org; Takashi Iwai ; Mark Brown > > ; linux-rdma ; Jason > > Gunthorpe ; Doug

[PATCH v2 0/5] clk: add fsl-flexspi driver

2020-11-05 Thread Michael Walle
On Layerscape SoCs which feature the FlexSPI controller there is a single register which can control the divider value. The base frequency is the platform PLL. Right now the LS1028A and the LX2160A aren't able to switch the SCK frequency on the FlexSPI interface. Add a new clock driver which opera

Re: [PATCH net-next] net: x25_asy: Delete the x25_asy driver

2020-11-05 Thread Xie He
On Thu, Nov 5, 2020 at 1:10 AM David Laight wrote: > > > This driver transports LAPB (X.25 link layer) frames over TTY links. > > I don't remember any requests to run LAPB over anything other > than synchronous links when I was writing LAPB implementation(s) > back in the mid 1980's. > > If you ne

[PATCH v2 3/5] clk: fsl-flexspi: new driver

2020-11-05 Thread Michael Walle
Add support for the FlexSPI clock on Freescale Layerscape SoCs. The clock is a simple divider based one and is located inside the device configuration space (DCFG). This will allow switching the SCK frequencies for the FlexSPI interface on the LS1028A and the LX2160A. Signed-off-by: Michael Walle

[PATCH v2 4/5] arm64: dts: ls1028a: fix FlexSPI clock

2020-11-05 Thread Michael Walle
Now that we have a proper driver for the FlexSPI interface use it. This will fix SCK frequency switching on Layerscape SoCs. This was tested on the Kontron sl28 board. Signed-off-by: Michael Walle --- Changes since v1: - none arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 15 +--

Re: [PATCH v5 1/2] pinctrl: qcom: Allow pinctrl-msm code to be loadable as a module

2020-11-05 Thread John Stultz
On Thu, Nov 5, 2020 at 6:17 AM Linus Walleij wrote: > On Sat, Oct 31, 2020 at 1:38 AM John Stultz wrote: > > > Tweaks to allow pinctrl-msm code to be loadable as a module. > > > > This is needed in order to support having the qcom-scm driver, > > which pinctrl-msm calls into, configured as a modu

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Leon Romanovsky
On Thu, Nov 05, 2020 at 01:32:40PM -0600, Pierre-Louis Bossart wrote: > > > > > +module_init(auxiliary_bus_init); > > > > +module_exit(auxiliary_bus_exit); > > > > + > > > > +MODULE_LICENSE("GPL"); > > > > > > Per above SPDX is v2 only, so... > > > > > > MODULE_LICENSE("GPL v2"); > > > > > > > adde

Re: [PATCH v3] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-05 Thread Ashish Kalra
On Thu, Nov 05, 2020 at 02:06:49PM -0500, Konrad Rzeszutek Wilk wrote: > . > > > Right, so I am wondering if we can do this better. > > > > > > That is you are never going to get any 32-bit devices with SEV right? That > > > is there is nothing that bounds you to always use the memory below 4GB? >

Re: [RFC 2/2] perf/core: Invoke pmu::sched_task callback for per-cpu events

2020-11-05 Thread Liang, Kan
On 11/5/2020 10:54 AM, Namhyung Kim wrote: -void perf_sched_cb_inc(struct pmu *pmu) +void perf_sched_cb_inc(struct pmu *pmu, bool systemwide) { struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); - if (!cpuctx->sched_cb_usage++) - list_add(&cp

RE: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Parav Pandit
> From: Ertman, David M > Sent: Friday, November 6, 2020 12:58 AM > Subject: RE: [PATCH v3 01/10] Add auxiliary bus support > > > -Original Message- > > From: Dan Williams > > Sent: Thursday, November 5, 2020 1:19 AM > > [..] > > > + > > > +Another use case is for the PCI device to be

Re: [PATCH v16 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-11-05 Thread Rob Herring
On Wed, Sep 30, 2020 at 11:21 AM Ben Levinsky wrote: > > Hi Rob, > > > -Original Message- > > From: Rob Herring > > Sent: Tuesday, September 29, 2020 11:36 AM > > To: Ben Levinsky > > Cc: Stefano Stabellini ; Michal Simek > > ; michael.auch...@ni.com; devicet...@vger.kernel.org; > > math

Re: [PATCH v7 08/47] dt-bindings: memory: tegra20: emc: Document OPP table and voltage regulator

2020-11-05 Thread Rob Herring
On Wed, 04 Nov 2020 19:48:44 +0300, Dmitry Osipenko wrote: > The SoC core voltage can't be changed without taking into account the > clock rate of External Memory Controller. Document OPP table that will > be used for dynamic voltage frequency scaling, taking into account EMC > voltage requirement.

Re: [PATCH v7 12/47] dt-bindings: memory: tegra124: mc: Document new interconnect property

2020-11-05 Thread Rob Herring
On Wed, 04 Nov 2020 19:48:48 +0300, Dmitry Osipenko wrote: > Memory controller is interconnected with memory clients and with the > External Memory Controller. Document new interconnect property which > turns memory controller into interconnect provider. > > Signed-off-by: Dmitry Osipenko > --- >

[PATCH] bpf: BPF_PRELOAD depends on BPF_SYSCALL

2020-11-05 Thread Randy Dunlap
Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: net...@vger.kernel.org Cc: b...@vger.kernel.org --- kernel/bpf/preload/Kconfig |1 + 1 file changed, 1 insertion(+) --- linux-next-20201105.orig/kernel/bpf/preload/Kconfig +++ linux-next-20201105/kernel/bpf/preload/Kconfig @@ -6,6 +6,7

[PATCH] hugetlbfs: fix anon huge page migration race

2020-11-05 Thread Mike Kravetz
Qian Cai reported the following BUG in [1] [ 6147.019063][T45242] LTP: starting move_pages12 [ 6147.475680][T64921] BUG: unable to handle page fault for address: ffe0 ... [ 6147.525866][T64921] RIP: 0010:anon_vma_interval_tree_iter_first+0xa2/0x170 avc_start_pgoff at mm/interval_tree.

Re: [PATCH] mm/gup_benchmark: mark gup_benchmark_init as __init function

2020-11-05 Thread Jason Gunthorpe
On Tue, Nov 03, 2020 at 09:10:16PM +1300, Barry Song wrote: > gup_benchmark_init() is only called during initialization, mark it as > __init to save some memory. > > Cc: John Hubbard > Cc: Jan Kara > Cc: Jérôme Glisse > Cc: "Matthew Wilcox (Oracle)" > Cc: Al Viro > Cc: Christoph Hellwig > Cc

Re: [PATCH v2 1/7] media: uvcvideo: Use pr_cont() macro

2020-11-05 Thread Ricardo Ribalda
Hi Joe On Thu, Nov 5, 2020 at 7:58 PM Joe Perches wrote: > > On Thu, 2020-11-05 at 10:50 +0100, Ricardo Ribalda wrote: > > Hi Joe > > Rehi Ricardo. > > > On Thu, Nov 5, 2020 at 12:59 AM Joe Perches wrote: > > > It looks as if all the pr_cont uses in the code are odd and repetitive. > > > > > > P

Re: [PATCH 4.19 107/191] ARM: dts: s5pv210: move PMU node out of clock controller

2020-11-05 Thread Pavel Machek
Hi! > > > The Power Management Unit (PMU) is a separate device which has little > > > common with clock controller. Moving it to one level up (from clock > > > controller child to SoC) allows to remove fake simple-bus compatible and > > > dtbs_check warnings like: > > > > > > clock-controller@e

Re: [PATCH v4 1/2] kunit: Support for Parameterized Testing

2020-11-05 Thread Marco Elver
On Thu, Nov 05, 2020 at 04:02PM +0100, Marco Elver wrote: > On Thu, 5 Nov 2020 at 15:30, Arpitha Raghunandan <98.a...@gmail.com> wrote: [...] > > >> I tried adding support to run each parameter as a distinct test case by > > >> making changes to kunit_run_case_catch_errors(). The issue here is that

Re: [PATCH] cxgb4: Fix the -Wmisleading-indentation warning

2020-11-05 Thread Joe Perches
On Wed, 2020-11-04 at 13:24 +0800, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > Fix the gcc warning: > > drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c:2673:9: warning: this > 'for' clause does not guard... [-Wmisleading-indentation] >  2673 | for (i = 0; i < n; ++i) \ true,

Re: [PATCH v3 10/10] x86: Reclaim TIF_IA32 and TIF_X32

2020-11-05 Thread Dmitry Safonov
On Sun, 4 Oct 2020 at 04:31, Gabriel Krisman Bertazi wrote: > > Now that these flags are no longer used, reclaim those TI bits. > > Signed-off-by: Gabriel Krisman Bertazi Oh wow! I've just started rebasing patches that do essentially the same on linux-next and found that it's already done and me

Re: Kunit fixes update for Linux 5.10-rc3

2020-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2020 at 8:55 AM Shuah Khan wrote: > > .../kunit/test_data/test_config_printk_time.log| Bin 1584 -> 1605 bytes > .../test_data/test_interrupted_tap_output.log | Bin 1982 -> 2003 bytes > .../test_data/test_kernel_panic_interrupt.log | Bin 1321 -> 1342 bytes > ...

Re: [PATCH net-next] net: x25_asy: Delete the x25_asy driver

2020-11-05 Thread Xie He
On Thu, Nov 5, 2020 at 7:07 AM Arnd Bergmann wrote: > > Adding Martin Schiller and Andrew Hendry, plus the linux-x25 mailing > list to Cc. The linux-x25 mail list has stopped working for a long time. > When I last looked at the wan drivers, I think I concluded > that this should still be kept ar

Re: [PATCH v3] checkpatch: improve email parsing

2020-11-05 Thread Greg KH
On Thu, Nov 05, 2020 at 09:41:15AM -0800, Joe Perches wrote: > (adding stable and Greg KH for additional review) > On Thu, 2020-11-05 at 17:29 +0530, Dwaipayan Ray wrote: > > checkpatch doesn't report warnings for many common mistakes > > in emails. Some of which are trailing commas and incorrect >

Re: [PATCH v2 07/17] x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary

2020-11-05 Thread kernel test robot
Hi Wei, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on asm-generic/master iommu/next tip/timers/core pci/next linus/master v5.10-rc2 next-20201105] [If your patch is applied to the wrong git tree, kindly drop us a note. And

[GIT PULL] s390 updates for 5.10-rc3

2020-11-05 Thread Heiko Carstens
Hi Linus, please pull some small s390 updates for 5.10-rc3. Thanks, Heiko The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/s390/linu

Re: [RFC PATCH net-next 7/9] net: dsa: microchip: ksz9477: add hardware time stamping support

2020-11-05 Thread Christian Eggers
Hi Vladimir, On Thursday, 22 October 2020, 13:32:43 CET, Vladimir Oltean wrote: > On Thu, Oct 22, 2020 at 01:11:40PM +0200, Christian Eggers wrote: > > On Thursday, 22 October 2020, 12:50:14 CEST, Vladimir Oltean wrote: > > after applying the RX timestamp correctly to the correction field > > (shi

Re: [PATCH v3] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-05 Thread Konrad Rzeszutek Wilk
On Thu, Nov 05, 2020 at 07:38:28PM +, Ashish Kalra wrote: > On Thu, Nov 05, 2020 at 02:06:49PM -0500, Konrad Rzeszutek Wilk wrote: > > . > > > > Right, so I am wondering if we can do this better. > > > > > > > > That is you are never going to get any 32-bit devices with SEV right? > > > > Tha

Re: [GIT PULL] Fix highmem initialization on arm and xtensa

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 14:58:27 +0200: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/rppt/memblock.git > tags/fixes-2020-11-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1a092479f3032a0e155448062ba5e36aa61e2c32 Thank you! -- De

Re: [PATCH v2 07/17] x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary

2020-11-05 Thread kernel test robot
Hi Wei, I love your patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on asm-generic/master iommu/next tip/timers/core pci/next linus/master v5.10-rc2 next-20201105] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [GIT PULL] tracing: Fixes for v5.10-rc2

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 11:46:02 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git > trace-v5.10-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3249fe45639afb0a025847d611dac692010822a8 Thank you! -- Deet-doot-do

Re: [GIT PULL] Hyper-V fixes for 5.10-rc3

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 16:36:22 +: > ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > tags/hyperv-fixes-signed has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6732b3548573780cd8e0ca17d90f3f1add6c0af7 Thank you! --

[PATCH v2] drm/vc4: replace idr_init() by idr_init_base()

2020-11-05 Thread Deepak R Varma
idr_init() uses base 0 which is an invalid identifier for this driver. The idr_alloc for this driver uses VC4_PERFMONID_MIN as start value for ID range and it is #defined to 1. The new function idr_init_base allows IDR to set the ID lookup from base 1. This avoids all lookups that otherwise starts

Re: [GIT PULL] Please pull RDMA subsystem changes

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 14:16:36 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f3f374ac05d05cfa63d04f4479ead7e3cb6d087 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Greg KH
On Thu, Nov 05, 2020 at 09:12:51AM -0800, Dan Williams wrote: > > > > > > Per above SPDX is v2 only, so... > > > > Isn't it default for the Linux kernel? > > SPDX eliminated the need to guess a default, and MODULE_LICENSE("GPL") > implies the "or later" language. The only default assumption is tha

Re: [GIT PULL] SPI fixes for v5.10-rc2

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 05 Nov 2020 16:45:46 +: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git > tags/spi-fix-v5.10-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cf26c714874c14941953f6658ef85d7ce3446a0a Thank you! -- Deet-doot-

Re: [GIT PULL] GFS2 fixes for 5.10-rc1

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 11:27:31 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git > tags/gfs2-v5.10-rc1-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d1dd461207b8d1dbeaadf1e0b4e85b833c3a7c1c Thank you! -- Deet-

Re: [GIT PULL] Power management fixes for v5.10-rc3

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 5 Nov 2020 15:20:22 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-5.10-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f786dfa3745b92f2fa91e0a0b9f3509907111d96 Thank you! -- Deet-doot-dot, I am a b

Re: [GIT PULL] PCI fixes for v5.10

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Wed, 4 Nov 2020 15:10:33 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > tags/pci-v5.10-fixes-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e2557a2cdeb2e6a6e258e27e63af34e3ac6c1069 Thank you! -- Deet-doot-dot

Re: [GIT PULL] regulator fixes for v5.10-rc2

2020-11-05 Thread pr-tracker-bot
The pull request you sent on Thu, 05 Nov 2020 16:45:25 +: > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > tags/regulator-fix-v5.10-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/3d55978f95ca3cb66ed9161f4ef5d6e6b9569c2b Thank you! --

Re: Regression: QCA6390 fails with "mm/page_alloc: place pages to tail in __free_pages_core()"

2020-11-05 Thread David Hildenbrand
> Am 05.11.2020 um 13:55 schrieb Pavel Procopiuc : > > Op 05.11.2020 om 12:13 schreef David Hildenbrand: >> It depends in which order memory is exposed to MM, which might depend on >> other factors in some configurations. >> This smells like it exposes an existing bug. Can you reproduce also w

Re: [PATCH v2 02/17] x86/hyperv: detect if Linux is the root partition

2020-11-05 Thread kernel test robot
Hi Wei, I love your patch! Yet something to improve: [auto build test ERROR on tip/x86/core] [also build test ERROR on asm-generic/master iommu/next tip/timers/core pci/next linus/master v5.10-rc2 next-20201105] [If your patch is applied to the wrong git tree, kindly drop us a note. And when

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Dan Williams
On Thu, Nov 5, 2020 at 12:21 PM Greg KH wrote: > > On Thu, Nov 05, 2020 at 09:12:51AM -0800, Dan Williams wrote: > > > > > > > > Per above SPDX is v2 only, so... > > > > > > Isn't it default for the Linux kernel? > > > > SPDX eliminated the need to guess a default, and MODULE_LICENSE("GPL") > > im

Re: Kunit fixes update for Linux 5.10-rc3

2020-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2020 at 12:02 PM Linus Torvalds wrote: > > On Thu, Nov 5, 2020 at 8:55 AM Shuah Khan wrote: > > > > .../kunit/test_data/test_config_printk_time.log| Bin 1584 -> 1605 > > bytes > > .../test_data/test_interrupted_tap_output.log | Bin 1982 -> 2003 > > bytes > > .../te

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Dan Williams
On Thu, Nov 5, 2020 at 11:40 AM Parav Pandit wrote: > > > > > From: Ertman, David M > > Sent: Friday, November 6, 2020 12:58 AM > > Subject: RE: [PATCH v3 01/10] Add auxiliary bus support > > > > > -Original Message- > > > From: Dan Williams > > > Sent: Thursday, November 5, 2020 1:19 AM

Re: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Dan Williams
On Thu, Nov 5, 2020 at 11:30 AM Leon Romanovsky wrote: > > On Thu, Nov 05, 2020 at 09:12:51AM -0800, Dan Williams wrote: > > On Thu, Nov 5, 2020 at 1:47 AM Leon Romanovsky wrote: > > > > > > On Thu, Nov 05, 2020 at 01:19:09AM -0800, Dan Williams wrote: > > > > Some doc fixups, and minor code feed

Re: linux-next: Tree for Nov 5 [drivers/net/ethernet/stmicro/stmmac/dwmac-thead.ko]

2020-11-05 Thread Randy Dunlap
On 11/4/20 10:06 PM, Stephen Rothwell wrote: > Hi all, > > Changes since 20201104: > > The drm-intel-fixes tree lost its build failure. > > The drm-msm tree gained conflicts against the drm and drm-misc trees. > > The mfd tree gained a build failure so I used the version from > next-20201104. >

drivers/idle/intel_idle.c:160:43: warning: Uninitialized variable: tick

2020-11-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4ef8451b332662d004df269d4cdeb7d9f31419b5 commit: 3f649ab728cda8038259d8f14492fe400fbab911 treewide: Remove uninitialized_var() usage date: 4 months ago compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 If you fix t

Re: [PATCH mlx5-next v1 04/11] vdpa/mlx5: Make hardware definitions visible to all mlx5 devices

2020-11-05 Thread Saeed Mahameed
On Sun, 2020-11-01 at 22:15 +0200, Leon Romanovsky wrote: > From: Leon Romanovsky > > Move mlx5_vdpa IFC header file to the general include folder, so > mlx5_core will be able to reuse it to check if VDPA is supported > prior to creating an auxiliary device. > I don't really like this, the whol

Re: [PATCH v2] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-11-05 Thread Tom Lendacky
On 11/4/20 11:33 PM, Anand K Mistry wrote: On AMD CPUs which have the feature X86_FEATURE_AMD_STIBP_ALWAYS_ON, STIBP is set to on and 'spectre_v2_user_stibp == SPECTRE_V2_USER_STRICT_PREFERRED'. At the same time, IBPB can be set to conditional. However, this leads to the case where it's impossibl

Re: [PATCH v2] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP

2020-11-05 Thread Borislav Petkov
On Thu, Nov 05, 2020 at 02:32:10PM -0600, Tom Lendacky wrote: > Does it need a Fixes: tag? Yah, this one: Fixes: 21998a351512 ("x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.") because it set mode to SPECTRE_V2_USER_STRICT_PREFERRED, leading to the inability to se

Re: [PATCH mlx5-next v1 04/11] vdpa/mlx5: Make hardware definitions visible to all mlx5 devices

2020-11-05 Thread Jason Gunthorpe
On Thu, Nov 05, 2020 at 12:31:52PM -0800, Saeed Mahameed wrote: > On Sun, 2020-11-01 at 22:15 +0200, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > Move mlx5_vdpa IFC header file to the general include folder, so > > mlx5_core will be able to reuse it to check if VDPA is supported > > p

RE: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Parav Pandit
> From: Dan Williams > Sent: Friday, November 6, 2020 1:56 AM > > On Thu, Nov 5, 2020 at 11:40 AM Parav Pandit wrote: > > > > > > > > > From: Ertman, David M > > > Sent: Friday, November 6, 2020 12:58 AM > > > Subject: RE: [PATCH v3 01/10] Add auxiliary bus support > > > > > > > -Original

Re: [PATCH net-next] net: x25_asy: Delete the x25_asy driver

2020-11-05 Thread Arnd Bergmann
On Thu, Nov 5, 2020 at 9:06 PM Xie He wrote: > > On Thu, Nov 5, 2020 at 7:07 AM Arnd Bergmann wrote: > > > > Adding Martin Schiller and Andrew Hendry, plus the linux-x25 mailing > > list to Cc. > > The linux-x25 mail list has stopped working for a long time. > > > When I last looked at the wan dr

Re: [PATCH bpf-next v4 1/9] bpf: Allow LSM programs to use bpf spin locks

2020-11-05 Thread Martin KaFai Lau
On Thu, Nov 05, 2020 at 03:47:47PM +0100, KP Singh wrote: > From: KP Singh > > Usage of spin locks was not allowed for tracing programs due to > insufficient preemption checks. The verifier does not currently prevent > LSM programs from using spin locks, but the helpers are not exposed > via bpf_

Re: [PATCH v2 net-next 3/3] octeontx2-af: Add devlink health reporters for NIX

2020-11-05 Thread Jakub Kicinski
On Thu, 05 Nov 2020 11:23:54 -0800 Saeed Mahameed wrote: > If you report an error without recovering, devlink health will report a > bad device state > > $ ./devlink health >pci/0002:01:00.0: > reporter npa >state error error 1 recover 0 Actually, the counter in the driver is unn

Re: [PATCH 00/20] kasan: boot parameters for hardware tag-based mode

2020-11-05 Thread Evgenii Stepanov
On Wed, Nov 4, 2020 at 4:02 PM Andrey Konovalov wrote: > > === Overview > > Hardware tag-based KASAN mode [1] is intended to eventually be used in > production as a security mitigation. Therefore there's a need for finer > control over KASAN features and for an existence of a kill switch. > > This

[PATCH v2 0/3] MPEG-2 stateless API cleanup

2020-11-05 Thread Ezequiel Garcia
Hello everyone, Following the H.264 API cleanup, and with all the lessons learned from it, here's a revisit on the MPEG-2 API. The biggest changes are: * Drop slice size and offset parameters, given the API doesn't seem to be designed to work per-slice. * Convert all the 1-bit syntax elements

[PATCH v2 3/3] media: uapi: mpeg2: Split sequence and picture parameters

2020-11-05 Thread Ezequiel Garcia
Typically, bitstreams are composed of one sequence header NAL unit, followed by a number of picture header and picture coding extension NAL units. Each picture can be composed by a number of slices. Let's split the MPEG-2 uAPI to follow these semantics more closely, allowing more usage flexibility

[GIT PULL] VFIO fixes for v5.10-rc3

2020-11-05 Thread Alex Williamson
Hi Linus, The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://github.com/awilliam/linux-vfio.git tags/vfio-v5.10-rc3 for you to fetch changes up to e4eccb853664de7bcf9518fb658f

[PATCH v2 1/3] media: uapi: mpeg2: Cleanup flags

2020-11-05 Thread Ezequiel Garcia
Our current MPEG-2 uAPI uses 1-byte fields for MPEG-2 boolean syntax elements. Clean these by adding a 'flags' field and flag macro for each boolean syntax element. Move quantization "load" flags to struct v4l2_mpeg2_picture, so the applications can skip passing the quantization matrices (by not s

[PATCH v2 2/3] media: uapi: mpeg2: Remove unused slice size and offset

2020-11-05 Thread Ezequiel Garcia
The MPEG2_SLICE_PARAMS control is designed to refer to a single slice. Conversely, in each request the OUTPUT buffer is expected to hold a single slice, so the offset and size fields are not needed. The start of the slice is aligned to the start of the buffer, and the buffer's plane payload size i

RE: [PATCH v3 01/10] Add auxiliary bus support

2020-11-05 Thread Ertman, David M
> -Original Message- > From: Leon Romanovsky > Sent: Thursday, November 5, 2020 11:35 AM > To: Ertman, David M > Cc: Williams, Dan J ; alsa-de...@alsa-project.org; > Takashi Iwai ; Mark Brown ; linux- > rdma ; Jason Gunthorpe ; > Doug Ledford ; Netdev ; > David Miller ; Jakub Kicinski ; >

Re: [PATCH v3 14/26] coresight: etm4x: Add sysreg access helpers

2020-11-05 Thread Mathieu Poirier
On Wed, Oct 28, 2020 at 10:09:33PM +, Suzuki K Poulose wrote: > ETMv4.4 architecture defines the system instructions for accessing > ETM via register accesses. Add basic support for accessing a given > register via system instructions. > > Cc: Mathieu Poirier > Cc: Mike Leach > Signed-off-by

[PATCH 5/5] mm: migrate: return -ENOSYS if THP migration is unsupported

2020-11-05 Thread Yang Shi
In the current implementation unmap_and_move() would return -ENOMEM if THP migration is unsupported, then the THP will be split. If split is failed just exit without trying to migrate other pages. It doesn't make too much sense since there may be enough free memory to migrate other pages and ther

[PATCH 3/5] mm: migrate: skip shared exec THP for NUMA balancing

2020-11-05 Thread Yang Shi
The NUMA balancing skip shared exec base page. Since CONFIG_READ_ONLY_THP_FOR_FS was introduced, there are probably shared exec THP, so skip such THPs for NUMA balancing as well. Signed-off-by: Yang Shi --- mm/migrate.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-)

[PATCH 4/5] mm: migrate: clean up migrate_prep{_local}

2020-11-05 Thread Yang Shi
The migrate_prep{_local} never fails, so it is pointless to have return value and check the return value. Signed-off-by: Yang Shi --- include/linux/migrate.h | 4 ++-- mm/mempolicy.c | 8 ++-- mm/migrate.c| 8 ++-- 3 files changed, 6 insertions(+), 14 deletions(-) d

[PATCH 2/5] mm: migrate: simplify the logic for handling permanent failure

2020-11-05 Thread Yang Shi
When unmap_and_move{_huge_page}() returns !-EAGAIN and !MIGRATEPAGE_SUCCESS, the page would be put back to LRU or proper list if it is non-LRU movable page. But, the callers always call putback_movable_pages() to put the failed pages back later on, so it seems not very efficient to put every singl

[PATCH 1/5] mm: truncate_complete_page is not existed anymore

2020-11-05 Thread Yang Shi
The commit 9f4e41f4717832e34cca153ced62b4a1d7e26c0e ("mm: refactor truncate_complete_page()") refactored truncate_complete_page(), and it is not existed anymore, correct the comment in vmscan and migrate to avoid confusion. Signed-off-by: Yang Shi --- mm/migrate.c | 2 +- mm/vmscan.c | 2 +- 2

[PATCH 0/5] mm: misc migrate cleanup and improvement

2020-11-05 Thread Yang Shi
Some misc migrate code cleanup and improvement. Yang Shi (5): mm: truncate_complete_page is not existed anymore mm: migrate: simplify the logic for handling permanent failure mm: migrate: skip shared exec THP for NUMA balancing mm: migrate: clean up migrate_prep{_local}

Re: [PATCH 00/20] kasan: boot parameters for hardware tag-based mode

2020-11-05 Thread Andrey Konovalov
On Thu, Nov 5, 2020 at 9:49 PM Evgenii Stepanov wrote: > > > The chosen mode provides default control values for the features mentioned > > above. However it's also possible to override the default values by > > providing: > > > > - kasan.stack=off/on - enable stacks collection > >

I want scrollback buffer back

2020-11-05 Thread Felix Miata
I've been using scrollback ever since discovering it well over a decade ago. It's been sorely missed where encountered, so wherever I can, I'll be sticking with pre-5.9+ as long as possible, unless scrollback is restored. I'm not a developer (or a lkml subscriber), just a user/tester of a number

Re: [PATCH mlx5-next v1 05/11] net/mlx5: Register mlx5 devices to auxiliary virtual bus

2020-11-05 Thread Saeed Mahameed
On Sun, 2020-11-01 at 22:15 +0200, Leon Romanovsky wrote: > From: Leon Romanovsky > > Create auxiliary devices under new virtual bus. This will replace > the custom-made mlx5 ->add()/->remove() interfaces and next patches > will fill the missing callback and remove the old interface logic. > > T

Re: [PATCH mlx5-next v1 05/11] net/mlx5: Register mlx5 devices to auxiliary virtual bus

2020-11-05 Thread Jason Gunthorpe
On Thu, Nov 05, 2020 at 12:59:20PM -0800, Saeed Mahameed wrote: > 2. you can always load a driver without its underlying device existed. > for example, you can load a pci device driver/module and it will load > and wait for pci devices to pop up, the subsysetem infrastructure will > match between

Re: [PATCH v2] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-11-05 Thread Sam Ravnborg
Hi YueHaibing On Mon, Nov 02, 2020 at 10:30:24PM +0800, YueHaibing wrote: > gpiod_to_irq() return negative value in case of error, > the existing code doesn't handle negative error codes. > If the HPD gpio supports IRQs (gpiod_to_irq returns a > valid number), we use the IRQ. If it doesn't (gpiod_

[GIT PULL] ARC fixes for 5.10-rc3

2020-11-05 Thread Vineet Gupta
Hi Linus, A couple of urgent fixes for ARC for 5.10-rc3. Please pull. Thx, -Vineet > The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891:   Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at:   git://git.kernel.org/pu

Re: [PATCH 01/19] gpu: host1x: bus: Add missing description for 'driver'

2020-11-05 Thread Sam Ravnborg
Hi Lee. On Thu, Nov 05, 2020 at 02:44:59PM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/host1x/bus.c:40: warning: Function parameter or member 'driver' > not described in 'host1x_subdev_add' > > Cc: Thierry Reding > Cc: dri-de...@lists.freedesktop.

Re: [RFC 2/2] perf/core: Invoke pmu::sched_task callback for per-cpu events

2020-11-05 Thread Stephane Eranian
On Thu, Nov 5, 2020 at 11:40 AM Liang, Kan wrote: > > > > On 11/5/2020 10:54 AM, Namhyung Kim wrote: > >> -void perf_sched_cb_inc(struct pmu *pmu) > >> +void perf_sched_cb_inc(struct pmu *pmu, bool systemwide) > >>{ > >> struct perf_cpu_context *cpuctx = > >> this_cpu_ptr(pmu->pmu_cp

Re: [PATCH 11/19] gpu: drm: panel: panel-simple: Fix 'struct panel_desc's header

2020-11-05 Thread Sam Ravnborg
Hi Lee On Thu, Nov 05, 2020 at 02:45:09PM +, Lee Jones wrote: > Struct headers should start with 'struct ' > > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/panel/panel-simple.c:42: warning: Cannot understand * > @modes: Pointer to array of fixed modes appropriate f

[PATCH v6 0/1] mmap_lock: add tracepoints around lock acquisition

2020-11-05 Thread Axel Rasmussen
This patchset adds tracepoints around mmap_lock acquisition. This is useful so we can measure the latency of lock acquisition, in order to detect contention. This version is based on v5.10-rc2. Changes since v5: - Michel pointed out that rwsem_release in mmap_read_trylock_non_owner doesn't act

Re: [PATCH bpf-next v4 2/9] bpf: Implement task local storage

2020-11-05 Thread Martin KaFai Lau
On Thu, Nov 05, 2020 at 03:47:48PM +0100, KP Singh wrote: > From: KP Singh > > Similar to bpf_local_storage for sockets and inodes add local storage > for task_struct. > > The life-cycle of storage is managed with the life-cycle of the > task_struct. i.e. the storage is destroyed along with the

Re: [PATCH 16/19] gpu: drm: panel: panel-ilitek-ili9322: Demote non-conformant kernel-doc header

2020-11-05 Thread Sam Ravnborg
Hi Lee. On Thu, Nov 05, 2020 at 02:45:14PM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/panel/panel-ilitek-ili9322.c:177: warning: Enum value > 'ILI9322_INPUT_SRGB_THROUGH' not described in enum 'ili9322_input' > drivers/gpu/drm/panel/panel-ili

[PATCH v6 1/1] mmap_lock: add tracepoints around lock acquisition

2020-11-05 Thread Axel Rasmussen
The goal of these tracepoints is to be able to debug lock contention issues. This lock is acquired on most (all?) mmap / munmap / page fault operations, so a multi-threaded process which does a lot of these can experience significant contention. We trace just before we start acquisition, when the

Re: Build error with 5.9.5 in sound/soc/sof/intel/hda-codec.c (was: [PATCH AUTOSEL 5.9 039/147] ASoC: SOF: fix a runtime pm issue in SOF when HDMI codec doesn't work)

2020-11-05 Thread Greg KH
On Thu, Nov 05, 2020 at 04:40:01PM +0100, Greg KH wrote: > On Thu, Nov 05, 2020 at 02:48:33PM +0100, Thorsten Leemhuis wrote: > > Lo! I just tried to compile 5.9.5 and ran into a build error with below > > patch. I only did a quick look (I have to leave the keyboard soon), but > > seems the patch q

Re: [PATCH bpf-next v4 4/9] bpftool: Add support for task local storage

2020-11-05 Thread Martin KaFai Lau
On Thu, Nov 05, 2020 at 03:47:50PM +0100, KP Singh wrote: > From: KP Singh > > Updates the binary to handle the BPF_MAP_TYPE_TASK_STORAGE as > "task_storage" for printing and parsing. Also updates the documentation > and bash completion > > Acked-by: Song Liu > Signed-off-by: KP Singh Acked-by

Re: [PATCH 12/19] gpu: drm: bridge: analogix: analogix_dp_reg: Remove unused function 'analogix_dp_write_byte_to_dpcd'

2020-11-05 Thread Sam Ravnborg
Hi Lee On Thu, Nov 05, 2020 at 02:45:10PM +, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/gpu/drm/bridge/analogix/analogix_dp_reg.c:571:5: warning: no > previous prototype for ‘analogix_dp_write_byte_to_dpcd’ [-Wmissing-prototypes] > > Cc: Andrzej Hajda

Re: [PATCH v3] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.

2020-11-05 Thread Ashish Kalra
On Thu, Nov 05, 2020 at 03:20:07PM -0500, Konrad Rzeszutek Wilk wrote: > On Thu, Nov 05, 2020 at 07:38:28PM +, Ashish Kalra wrote: > > On Thu, Nov 05, 2020 at 02:06:49PM -0500, Konrad Rzeszutek Wilk wrote: > > > . > > > > > Right, so I am wondering if we can do this better. > > > > > > > > > >

[PATCH 0/3] Remove drivers used by EZChip NPS platform

2020-11-05 Thread Vineet Gupta
This series removes any drivers associated with EZChip NPS platform which was removed from ARC in 5.10-rc1. Vineet Gupta (3): drivers/clocksource: Remove EZChip NPS clocksource driver drivers/irqchip: Remove EZChip NPS interrupt controller include/soc: remove headers for EZChip NPS drivers

[PATCH 1/3] drivers/clocksource: Remove EZChip NPS clocksource driver

2020-11-05 Thread Vineet Gupta
NPS platform has been removed from ARC port and there are no in-tree users of it now. So RIP ! Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: linux-kernel@vger.kernel.org Signed-off-by: Vineet Gupta --- drivers/clocksource/Kconfig | 10 -- drivers/clocksource/Makefile| 1 - drivers/cloc

[PATCH 2/3] drivers/irqchip: Remove EZChip NPS interrupt controller

2020-11-05 Thread Vineet Gupta
NPS platform has been removed from ARC port and there are no in-tree users of it now. So RIP ! Cc: Thomas Gleixner Cc: Jason Cooper Cc: Marc Zyngier Cc: linux-kernel@vger.kernel.org Signed-off-by: Vineet Gupta --- drivers/irqchip/Kconfig | 7 -- drivers/irqchip/Makefile| 1 - driv

[PATCH 3/3] include/soc: remove headers for EZChip NPS

2020-11-05 Thread Vineet Gupta
NPS platform has been removed from ARC port and there are no in-tree user of it now . So RIP ! Signed-off-by: Vineet Gupta --- include/soc/nps/common.h | 172 --- include/soc/nps/mtm.h| 59 -- 2 files changed, 231 deletions(-) delete mode 100

Re: [PATCH bpf-next v4 5/9] bpf: Implement get_current_task_btf and RET_PTR_TO_BTF_ID

2020-11-05 Thread Martin KaFai Lau
On Thu, Nov 05, 2020 at 03:47:51PM +0100, KP Singh wrote: > From: KP Singh > > The currently available bpf_get_current_task returns an unsigned integer > which can be used along with BPF_CORE_READ to read data from > the task_struct but still cannot be used as an input argument to a > helper that

Re: [PATCH v2] drm/vc4: replace idr_init() by idr_init_base()

2020-11-05 Thread Eric Anholt
On Thu, Nov 5, 2020 at 12:21 PM Deepak R Varma wrote: > > idr_init() uses base 0 which is an invalid identifier for this driver. > The idr_alloc for this driver uses VC4_PERFMONID_MIN as start value for > ID range and it is #defined to 1. The new function idr_init_base allows > IDR to set the ID l

[RFC PATCH v2 09/10] dt-bindings: arm: Add virtio transport for SCMI

2020-11-05 Thread Peter Hilber
From: Igor Skalkin Document the properties for arm,scmi-virtio compatible nodes. The backing virtio SCMI device is described in patch [1]. [1] https://lists.oasis-open.org/archives/virtio-comment/202005/msg00096.html Co-developed-by: Peter Hilber Signed-off-by: Peter Hilber Signed-off-by: Igo

[RFC PATCH v2 00/10] firmware: arm_scmi: Add virtio transport

2020-11-05 Thread Peter Hilber
This series implements an SCMI virtio driver according to the virtio SCMI device spec patch v5 [1], after simple preparatory changes to the existing arm-scmi driver. The virtio transport differs in some respects from the existing shared-memory based SCMI transports. Message timeouts can be a prob

[RFC PATCH v2 02/10] firmware: arm_scmi: Document that max_msg is a per channel type limit

2020-11-05 Thread Peter Hilber
From: Igor Skalkin struct scmi_desc.max_msg specifies a limit for the pending messages. This limit is a per SCMI channel type (tx, rx) limit. State that explicitly in the inline documentation. The following patch will add an op to override the limit per channel type. Co-developed-by: Peter Hilbe

<    5   6   7   8   9   10   11   12   13   14   >