[PATCH v8 16/22] dt-bindings: media: camss: Add qcom,sdm660-camss binding

2021-03-15 Thread Robert Foss
Add bindings for qcom,sdm660-camss in order to support the camera subsystem on SDM630/660 and SDA variants. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2: - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: Add power domain description

[PATCH v8 17/22] dt-bindings: media: camss: Add qcom,sdm845-camss binding

2021-03-15 Thread Robert Foss
Add bindings for qcom,sdm845-camss in order to support the camera subsystem for SDM845. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v2: - Rob: Removed extra empty lines at end of file - Rob: Add new line at end of file - Rob: Remove redundant descriptions - Rob: A

[PATCH v8 18/22] MAINTAINERS: Change CAMSS documentation to use dtschema bindings

2021-03-15 Thread Robert Foss
Due to the complexity of describing multiple hardware generations in one document, switch to using separate dt-bindings. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v4: - Rob: Added r-b MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v8 19/22] media: dt-bindings: media: Remove qcom,camss documentation

2021-03-15 Thread Robert Foss
This documentation has been incorporated in dtschema dt-bindings for the devices supported by CAMSS and is no longer helpful. Signed-off-by: Robert Foss Reviewed-by: Rob Herring --- Changes since v4: - Rob: Added r-b .../devicetree/bindings/media/qcom,camss.txt | 236 -- 1

[PATCH v8 20/22] arm64: dts: sdm845: Add CAMSS ISP node

2021-03-15 Thread Robert Foss
Add the camss dt node for sdm845. Signed-off-by: Robert Foss Reviewed-by: Andrey Konovalov --- Changes since v1: - Laurent: Fix subject - Laurent: Remove redundant regulator labels - Laurent: Remove empty line Changes since v3: - Fixed ordering of IRQs - Add newlines for better readabili

[PATCH v8 22/22] arm64: dts: sdm845-db845c: Enable ov8856 sensor and connect to ISP

2021-03-15 Thread Robert Foss
Enable camss & ov8856 DT nodes. Signed-off-by: Robert Foss Reviewed-by: Andrey Konovalov --- Changes since v5: - Andrey: Add r-b - Change CSI clock & data pins arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git

[PATCH v8 21/22] arm64: dts: sdm845-db845c: Configure regulators for camss node

2021-03-15 Thread Robert Foss
Add regulator to camss device tree node. Signed-off-by: Robert Foss Reviewed-by: Andrey Konovalov --- Changes since v5: - Andrey: Add r-b arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/ar

Re: [PATCH 07/13] kconfig: move conf_set_all_new_symbols() to conf.c

2021-03-15 Thread Masahiro Yamada
On Mon, Mar 15, 2021 at 7:07 PM Boris Kolpackov wrote: > > Masahiro Yamada writes: > > > This function is only used in conf.c. Move it there together with the > > randomize_choice_values() helper. > > > > [...] > > > > diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h > > index f946ab49e

Re: [PATCH net-next v4 2/6] net: qualcomm: rmnet: simplify some byte order logic

2021-03-15 Thread Alexander Duyck
On Mon, Mar 15, 2021 at 6:36 AM Alex Elder wrote: > > In rmnet_map_ipv4_ul_csum_header() and rmnet_map_ipv6_ul_csum_header() > the offset within a packet at which checksumming should commence is > calculated. This calculation involves byte swapping and a forced type > conversion that makes it har

Re:GreetinGs

2021-03-15 Thread MR.CHRIS MARK
-- Hello, I have a project that will profit you and I, please reply ASAP with your Names and Mobile Phone for full details. MR.CHRIS MARK

Re: [PATCH v4 2/3] x86/sgx: Replace section local dirty page lists with a global list

2021-03-15 Thread Dave Hansen
On 3/13/21 8:01 AM, Jarkko Sakkinen wrote: > Reset initialized EPC pages in sgx_dirty_page_list to uninitialized state, > and free them using sgx_free_epc_page(). Do two passes, as for SECS pages > the first round can fail, if all child pages have not yet been removed. > The driver puts all pages o

[PATCH 0/5] Rectify file references for dt-bindings in MAINTAINERS

2021-03-15 Thread Lukas Bulwahn
Hi Rob, here is a patch series that cleans up all file references for dt-bindings in MAINTAINERS. It applies cleanly on next-20210315. With this patch series and another patch (already accepted elsewhere) [see Link], ./scripts/get_maintainers.pl --self-test=patterns reports no further warning on

[PATCH 1/5] MAINTAINERS: rectify some references automatically

2021-03-15 Thread Lukas Bulwahn
Some references in MAINTAINERS can be automatically rectified with ./scripts/documentation-file-ref-check --fix. Adjust those file entries with this script. Signed-off-by: Lukas Bulwahn --- MAINTAINERS | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff

[PATCH 2/5] MAINTAINERS: rectify entry for ARM/TOSHIBA VISCONTI ARCHITECTURE

2021-03-15 Thread Lukas Bulwahn
Commit 836863a08c99 ("MAINTAINERS: Add information for Toshiba Visconti ARM SoCs") refers to the non-existing file toshiba,tmpv7700-pinctrl.yaml in ./Documentation/devicetree/bindings/pinctrl/. Commit 1825c1fe0057 ("pinctrl: Add DT bindings for Toshiba Visconti TMPV7700 SoC") originating from the s

[PATCH 3/5] MAINTAINERS: rectify entry for HIKEY960 ONBOARD USB GPIO HUB DRIVER

2021-03-15 Thread Lukas Bulwahn
Commit 7a6ff4c4cbc3 ("misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960") refers to the non-existing file ./Documentation/devicetree/bindings/misc/hisilicon-hikey-usb.yaml, but this commit's patch series does not add any related devicetree binding in misc. So, just drop this

[PATCH 4/5] MAINTAINERS: rectify entry for INTEL KEEM BAY DRM DRIVER

2021-03-15 Thread Lukas Bulwahn
Commit ed794057b052 ("drm/kmb: Build files for KeemBay Display driver") refers to the non-existing file intel,kmb_display.yaml in ./Documentation/devicetree/bindings/display/. Commit 5a76b1ed73b9 ("dt-bindings: display: Add support for Intel KeemBay Display") originating from the same patch series

[PATCH 5/5] MAINTAINERS: rectify entries for dt-bindings

2021-03-15 Thread Lukas Bulwahn
Jonathan Cameron converted a number of dt-bindings from txt to yaml in ./Documentation/devicetree/bindings/iio/: Commit 58ff1b519753 ("dt-bindings:iio:adc:atmel,sama5d2-adc: txt to yaml conversion"): adc/at91-sama5d2_adc.txt -> atmel,sama5d2-adc.yaml Commit 8c41245872e2 ("dt-bindings:iio

Re: linux-next: Tree for Mar 15 (arch/x86/mm/init_64.c :: vmemmap)

2021-03-15 Thread Randy Dunlap
On 3/14/21 10:24 PM, Stephen Rothwell wrote: > Hi all, > > Warning: Some of the branches in linux-next are still based on v5.12-rc1, > so please be careful if you are trying to bisect a bug. > > News: if your -next included tree is based on Linus' tree tag > v5.12-rc1{,-dontuse} (or somewhere bet

Re: [PATCH] kswapd: no need reclaim cma pages triggered by unmovable allocation

2021-03-15 Thread Michal Hocko
On Mon 15-03-21 16:46:33, David Hildenbrand wrote: > On 13.03.21 09:31, zhou wrote: [...] > > This optimization can avoid ~3% unnecessary isolations from cma > > (cma isolated / total isolated) with configuration of total 100Mb > > cma pages. > > Can you say a few words about interaction with ZONE

Re: [PATCH v2 0/4] add device drivers for Siemens Industrial PCs

2021-03-15 Thread Henning Schild
Am Mon, 15 Mar 2021 12:55:13 +0200 schrieb Andy Shevchenko : > On Mon, Mar 15, 2021 at 12:12 PM Henning Schild > wrote: > > > > changes since v1: > > > > - fixed lots of style issues found in v1 > > - (debug) printing > > - header ordering > > - fixed license issues GPLv2 and SPDX in all file

Re: [PATCH v7 1/2] dt-bindings: hwlock: add sun6i_hwspinlock

2021-03-15 Thread Maxime Ripard
On Sun, Mar 14, 2021 at 10:30:49AM +0100, Wilken Gottwalt wrote: > Adds documentation on how to use the sun6i_hwspinlock driver for sun6i > compatible series SoCs. > > Signed-off-by: Wilken Gottwalt Acked-by: Maxime Ripard Maxime signature.asc Description: PGP signature

Re: [PATCH v6 08/10] perf: arm64: Add test for userspace counter access on heterogeneous systems

2021-03-15 Thread Masayoshi Mizuma
On Wed, Mar 10, 2021 at 05:08:35PM -0700, Rob Herring wrote: > Userspace counter access only works on heterogeneous systems with some > restrictions. The userspace process must be pinned to a homogeneous > subset of CPUs and must open the corresponding PMU for those CPUs. This > commit adds a test

Re: [PATCH v7 2/2] hwspinlock: add sun6i hardware spinlock support

2021-03-15 Thread Maxime Ripard
On Sun, Mar 14, 2021 at 10:31:13AM +0100, Wilken Gottwalt wrote: > Adds the sun6i_hwspinlock driver for the hardware spinlock unit found in > most of the sun6i compatible SoCs. > > This unit provides at least 32 spinlocks in hardware. The implementation > supports 32, 64, 128 or 256 32bit register

Re: [PATCH net-next v4 0/6] net: qualcomm: rmnet: stop using C bit-fields

2021-03-15 Thread Alexander Duyck
On Mon, Mar 15, 2021 at 6:36 AM Alex Elder wrote: > > The main reason for version 4 of this series is that a bug was > introduced in version 3, and that is fixed. > > But a nice note from Vladimir Oltean got me thinking about the > necessity of using accessors defined in , and I > concluded there

Re: [PATCH v8 11/11] pwm: Add Raspberry Pi Firmware based PWM bus

2021-03-15 Thread Nicolas Saenz Julienne
Hi Uwe, On Fri, 2021-03-12 at 21:12 +0100, Uwe Kleine-König wrote: > Hello Nicolas, > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * Copyright 2020 Nicolas Saenz Julienne > > 2021? Yes. > > + * For more information on Raspberry Pi's PoE hat see: > > + * https://www.raspberrypi.org/prod

Re: [PATCH] kswapd: no need reclaim cma pages triggered by unmovable allocation

2021-03-15 Thread David Hildenbrand
On 15.03.21 17:09, Michal Hocko wrote: On Mon 15-03-21 16:46:33, David Hildenbrand wrote: On 13.03.21 09:31, zhou wrote: [...] This optimization can avoid ~3% unnecessary isolations from cma (cma isolated / total isolated) with configuration of total 100Mb cma pages. Can you say a few words

[PATCH] x86/cpu: Resort and comment Intel models

2021-03-15 Thread Peter Zijlstra
The INTEL_FAM6 list has become a mess again. Try and bring some sanity back into it. Where previously we had one microarch per year and a number of SKUs within that, this no longer seems to be the case. We now get dfferent uarch names that share a 'core' design. Add the core name starting at sk

[PATCH v2 1/3] kbuild: collect minimum tool versions into scripts/min-tool-version.sh

2021-03-15 Thread Masahiro Yamada
The kernel build uses various tools, many of which are provided by the same software suite, for example, LLVM and Binutils. When you raise the minimum version of Clang/LLVM, you need to update clang_min_version in scripts/cc-version.sh and also lld_min_version in scripts/ld-version.sh. Kbuild can

[PATCH v2 3/3] kbuild: dwarf: use AS_VERSION instead of test_dwarf5_support.sh

2021-03-15 Thread Masahiro Yamada
The test code in scripts/test_dwarf5_support.sh is somewhat difficult to understand, but after all, we want to check binutils >= 2.35.2 >From the former discussion, the requirement for generating DWARF v5 from C code is as follows: - gcc + gnu as -> requires gcc 5.0+ (but 7.0+ for full

Re: [PATCH 1/2] pinctrl: qcom: sm8350: add GPIO wakeup interrupt map

2021-03-15 Thread Linus Walleij
On Fri, Mar 12, 2021 at 4:41 AM Bjorn Andersson wrote: > From: Lina Iyer > > GPIOs that can be configured as wakeup sources, have their interrupt > lines routed to PDC interrupt controller. Provide the interrupt map of > the GPIO to its wakeup capable interrupt parent. > > Signed-off-by: Lina Iy

[PATCH v2 2/3] kbuild: check the minimum assembler version in Kconfig

2021-03-15 Thread Masahiro Yamada
Documentation/process/changes.rst defines the minimum assembler version (binutils version), but we have never checked it in the build time. Kbuild never invokes 'as' directly because all assembly files in the kernel tree are *.S, hence must be preprocessed. I do not expect raw assembly source file

Re: [PATCH 0/6] rpmsg: enable the use of the rpmsg_char device for the Virtio backend

2021-03-15 Thread Mathieu Poirier
On Thu, Mar 11, 2021 at 03:04:07PM +0100, Arnaud Pouliquen wrote: > This series is the first step in the division of the series: > "Introduce a generic IOCTL interface for RPMsg channels management"[1] > > The main goal here is to enable the RPMsg char interface for > the virtio RPMsg backend. >

Re: [PATCH v4] mm/vmalloc: randomize vmalloc() allocations

2021-03-15 Thread Kees Cook
On Mon, Mar 15, 2021 at 01:24:10PM +0100, Uladzislau Rezki wrote: > On Mon, Mar 15, 2021 at 11:04:42AM +0200, Topi Miettinen wrote: > > What's the problem with that? It seems to me that nothing relies on specific > > addresses of the chunks, so it should be possible to randomize these too. > > Also

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-15 Thread Rafael J. Wysocki
On Sun, Mar 14, 2021 at 8:00 PM Mike Rapoport wrote: > > On Thu, Mar 11, 2021 at 04:36:31PM +0100, Rafael J. Wysocki wrote: > > On Wed, Mar 10, 2021 at 8:47 PM David Hildenbrand wrote: > > > > > > > > There is some care that should be taken to make sure we get the order > > > > right, but I don't

Re: [PATCH v2 2/3] dt-bindings:iio:adc: add documentation for TI TSC2046 controller

2021-03-15 Thread Rob Herring
On Fri, 12 Mar 2021 11:55:14 +0100, Oleksij Rempel wrote: > Add a binding documentation for the TI TSC2046 touchscreen controllers > ADC functionality. > > Signed-off-by: Oleksij Rempel > --- > .../bindings/iio/adc/ti,tsc2046.yaml | 115 ++ > 1 file changed, 115 insertio

Re: [PATCH v5 03/24] wfx: add Makefile/Kconfig

2021-03-15 Thread Jérôme Pouiller
Hi Leon, On Monday 15 March 2021 16:11:52 CET Leon Romanovsky wrote: > On Mon, Mar 15, 2021 at 02:24:40PM +0100, Jerome Pouiller wrote: > > From: Jérôme Pouiller > > > > Signed-off-by: Jérôme Pouiller > > --- > > drivers/net/wireless/silabs/wfx/Kconfig | 12 +++ > > drivers/net/wireles

Re: [PATCH] remoteproc: qcom_q6v5_mss: Provide errors for firmware-name parsing

2021-03-15 Thread Mathieu Poirier
On Thu, Mar 11, 2021 at 04:26:05PM -0800, Bjorn Andersson wrote: > Failing to read the "firmware-name" DT property without informing the > developer is annoying, add some helpful debug prints. > > Signed-off-by: Bjorn Andersson > --- > drivers/remoteproc/qcom_q6v5_mss.c | 8 ++-- > 1 file ch

Re: [PATCH v2 1/2] Makefile: Remove '--gcc-toolchain' flag

2021-03-15 Thread Masahiro Yamada
On Wed, Mar 10, 2021 at 5:59 AM Nathan Chancellor wrote: > > This flag was originally added to allow clang to find the GNU cross > tools in commit 785f11aa595b ("kbuild: Add better clang cross build > support"). This flag was not enough to find the tools at times so > '--prefix' was added to the l

Re: [RFC][PATCH] x86/alternatives: Optimize optimize_nops()

2021-03-15 Thread Peter Zijlstra
On Mon, Mar 15, 2021 at 04:45:24PM +0100, Peter Zijlstra wrote: > --- a/arch/x86/kernel/alternative.c > +++ b/arch/x86/kernel/alternative.c > @@ -345,19 +345,39 @@ recompute_jump(struct alt_instr *a, u8 * > static void __init_or_module noinline optimize_nops(struct alt_instr *a, u8 > *instr) > {

Re: [PATCH v4] mm/vmalloc: randomize vmalloc() allocations

2021-03-15 Thread Topi Miettinen
On 15.3.2021 17.35, Uladzislau Rezki wrote: On 14.3.2021 19.23, Uladzislau Rezki wrote: Also, using vmaloc test driver i can trigger a kernel BUG: [ 24.627577] kernel BUG at mm/vmalloc.c:1272! It seems that most tests indeed fail. Perhaps the vmalloc subsystem isn't very robust in face of

Re: [PATCH v3] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-03-15 Thread Rob Herring
On Sat, Mar 13, 2021 at 06:53:20PM +0100, Jonathan Neuschäfer wrote: > The general trend is to have devicetree bindings in YAML format, to > allow automatic validation of bindings and devicetrees. > > Convert the NPCM SoC family's binding to YAML before it accumulates more > entries. > > Signed-o

Re: [PATCH] powerpc/vdso32: Add missing _restgpr_31_x to fix build failure

2021-03-15 Thread Rasmus Villemoes
On 12/03/2021 03.29, Segher Boessenkool wrote: > Hi! > > On Tue, Mar 09, 2021 at 06:19:30AM +, Christophe Leroy wrote: >> With some defconfig including CONFIG_CC_OPTIMIZE_FOR_SIZE, >> (for instance mvme5100_defconfig and ps3_defconfig), gcc 5 >> generates a call to _restgpr_31_x. > >> I don't

Re: [PATCH] x86/cpu: Resort and comment Intel models

2021-03-15 Thread Borislav Petkov
On Mon, Mar 15, 2021 at 05:12:53PM +0100, Peter Zijlstra wrote: > > The INTEL_FAM6 list has become a mess again. Try and bring some sanity > back into it. > > Where previously we had one microarch per year and a number of SKUs > within that, this no longer seems to be the case. We now get dfferen

Re: [PATCH v9 2/4] pinctrl: pinmux: Add pinmux-select debugfs file

2021-03-15 Thread Linus Walleij
On Fri, Mar 12, 2021 at 2:57 PM Enrico Weigelt, metux IT consult wrote: > On 02.03.21 06:30, Drew Fustini wrote: > > Hi folks, > > > Add "pinmux-select" to debugfs which will activate a pin function for a > > given pin group: > > > >echo "" > pinmux-select > > > > The write operation pinmux_se

Re: [PATCH] docs: kbuild: Fix a typo in the file Kconfig.recursion-issue-02

2021-03-15 Thread Masahiro Yamada
On Sun, Mar 14, 2021 at 1:33 PM Bhaskar Chowdhury wrote: > > > s/sematics/semantics/ > > Signed-off-by: Bhaskar Chowdhury > --- Applied to linux-kbuild. Thanks. > Documentation/kbuild/Kconfig.recursion-issue-02 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documenta

Re: [PATCH v4 1/2] dt-bindings: Add doc for FriendlyARM NanoPi R4S

2021-03-15 Thread Rob Herring
On Mon, 15 Mar 2021 16:42:40 +0800, Tianling Shen wrote: > Add devicetree binding documentation for the FriendlyARM NanoPi R4S. > > Changes in v2: > - Disable display for NanoPi R4S (reference commit: 74532de460ec) > - Light "sys" LED on NanoPi R4S (reference commit: 833821eeab91) > > Changes in

Re: [PATCH 3/3] drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if refclk

2021-03-15 Thread Doug Anderson
Hi, On Sat, Mar 13, 2021 at 1:17 PM Laurent Pinchart wrote: > > Hi Doug, > > Thank you for the patch. > > On Thu, Mar 04, 2021 at 03:52:01PM -0800, Douglas Anderson wrote: > > In commit 58074b08c04a ("drm/bridge: ti-sn65dsi86: Read EDID blob over > > DDC") we attempted to make the ti-sn65dsi86 br

Re: [PATCH v3 3/9] dt-bindings: pinctrl: stm32: Add stm32h750 pinctrl

2021-03-15 Thread Rob Herring
On Mon, 15 Mar 2021 17:43:50 +0800, dillon.min...@gmail.com wrote: > From: dillon min > > This patch intend to add pinctrl configuration support for > stm32h750 value line > > The datasheet of stm32h750 value line can be found at: > https://www.st.com/resource/en/datasheet/stm32h750ib.pdf > > S

Re: [PATCH v3 2/9] dt-bindings: arm: stm32: Add compatible strings for ART-PI board

2021-03-15 Thread Rob Herring
On Mon, 15 Mar 2021 17:43:49 +0800, dillon.min...@gmail.com wrote: > From: dillon min > > Art-pi based on stm32h750xbh6, with following resources: > > -8MiB QSPI flash > -16MiB SPI flash > -32MiB SDRAM > -AP6212 wifi, bt, fm > > detail information can be found at: > https://art-pi.gitee.io/webs

Re: [RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-15 Thread Logan Gunthorpe
On 2021-03-12 6:38 p.m., Ira Weiny wrote: > On Thu, Mar 11, 2021 at 04:31:34PM -0700, Logan Gunthorpe wrote: >> Introduce pci_p2pdma_should_map_bus() which is meant to be called by >> DMA map functions to determine how to map a given p2pdma page. >> >> pci_p2pdma_bus_offset() is also added to al

Re: [PATCH RFCv2] mm/madvise: introduce MADV_POPULATE_(READ|WRITE) to prefault/prealloc memory

2021-03-15 Thread David Hildenbrand
On 15.03.21 14:26, David Hildenbrand wrote: On 15.03.21 14:03, Kirill A. Shutemov wrote: On Mon, Mar 15, 2021 at 01:25:40PM +0100, David Hildenbrand wrote: On 15.03.21 13:22, Kirill A. Shutemov wrote: On Mon, Mar 08, 2021 at 05:45:20PM +0100, David Hildenbrand wrote: + c

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-15 Thread Alex Williamson
On Mon, 15 Mar 2021 21:03:41 +0530 Amey Narkhede wrote: > On 21/03/15 05:07PM, Leon Romanovsky wrote: > > On Mon, Mar 15, 2021 at 08:34:09AM -0600, Alex Williamson wrote: > > > On Mon, 15 Mar 2021 14:52:26 +0100 > > > Pali Rohár wrote: > > > > > > > On Monday 15 March 2021 19:13:23 Amey Nark

[PATCH v2 0/4] arm64: dts: renesas: Enable GMSL on R8A77970 V3M Eagle

2021-03-15 Thread Jacopo Mondi
Hello, this series adds a .dtsi fragment that allow to describe and enable GMSL cameras on the V3M Eagle board. The .dtsi supports connecting the RDACM20 and RDACM21 cameras to the FAKRA connectors installed on the board. Tested on V3M Eagle with RDACM20 and RDACM21 v1->v2: - Use a pattern pr

[PATCH v2 4/4] arm64: dts: renesas: eagle: Include eagle-gmsl

2021-03-15 Thread Jacopo Mondi
From: Kieran Bingham Include the eagle-gmsl.dtsi to enable GMSL camera support on the Eagle-V3M platform. Signed-off-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/ren

[PATCH v2 3/4] arm64: dts: renesas: eagle: Add GMSL .dtsi

2021-03-15 Thread Jacopo Mondi
From: Kieran Bingham Describe the FAKRA connector available on Eagle board that allows connecting GMSL camera modules such as IMI RDACM20 and RDACM21. Signed-off-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- arch/arm64/boot/dts/renesas/eagle-gmsl.dtsi | 186 1 file c

[PATCH v2 2/4] arm64: dts: renesas: eagle: Enable MAX9286

2021-03-15 Thread Jacopo Mondi
From: Kieran Bingham Enable the MAX9286 GMSL deserializer on the Eagle-V3M board. Connected cameras should be defined in a device-tree overlay or included after these definitions. Signed-off-by: Kieran Bingham Signed-off-by: Jacopo Mondi --- .../arm64/boot/dts/renesas/r8a77970-eagle.dts | 13

[PATCH v2 1/4] dt-bindings: media: max9286: Describe gpio-hog

2021-03-15 Thread Jacopo Mondi
The MAX9286 GMSL deserializer features gpio controller capabilities, as it provides 2 GPIO lines. As establishing a regulator that uses one of the GPIO lines and enabling/disabling it at run-time in the max9286 won't work due to a circular dependency on the gpio-controller/regulator creation, allo

Re: [PATCH v2 1/4] platform/x86: simatic-ipc: add main driver for Siemens devices

2021-03-15 Thread Henning Schild
Am Mon, 15 Mar 2021 12:31:11 +0200 schrieb Andy Shevchenko : > On Mon, Mar 15, 2021 at 12:02 PM Henning Schild > wrote: > > > > This mainly implements detection of these devices and will allow > > secondary drivers to work on such machines. > > > > The identification is DMI-based with a vendor sp

Re: [RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-15 Thread Logan Gunthorpe
On 2021-03-12 7:32 p.m., Ira Weiny wrote: > On Thu, Mar 11, 2021 at 04:31:34PM -0700, Logan Gunthorpe wrote: >> Introduce pci_p2pdma_should_map_bus() which is meant to be called by > ^ > pci_p2pdma_dma_map_type() ??? > > FWIW I find this name confus

Re: [PATCH v5 31/36] KVM: arm64: Add kvm_pgtable_stage2_find_range()

2021-03-15 Thread Will Deacon
On Mon, Mar 15, 2021 at 02:35:31PM +, Quentin Perret wrote: > Since the host stage 2 will be identity mapped, and since it will own > most of memory, it would preferable for performance to try and use large > block mappings whenever that is possible. To ease this, introduce a new > helper in th

Re: [PATCH] platform/x86: pmc_atom: use callback for all dmi quirk entries

2021-03-15 Thread Hans de Goede
Hi, On 3/15/21 3:58 PM, Henning Schild wrote: > Introduce a global variable to remember the matching entry for later > printing. Also having a callback allows to stop matching after the first > hit. > > Signed-off-by: Henning Schild > --- > drivers/platform/x86/pmc_atom.c | 26 +

Re: [PATCH v5 32/36] KVM: arm64: Provide sanitized mmfr* registers at EL2

2021-03-15 Thread Will Deacon
On Mon, Mar 15, 2021 at 02:35:32PM +, Quentin Perret wrote: > We will need to read sanitized values of mmfr{0,1}_el1 at EL2 soon, so > add them to the list of copied variables. > > Signed-off-by: Quentin Perret > --- > arch/arm64/include/asm/kvm_cpufeature.h | 2 ++ > arch/arm64/kvm/sys_regs

Re: [PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S

2021-03-15 Thread Robin Murphy
On 2021-03-13 13:22, CN_SZTL wrote: Robin Murphy 于2021年3月13日周六 下午7:55写道: On 2021-03-13 03:25, Tianling Shen wrote: This adds support for the NanoPi R4S from FriendlyArm. Rockchip RK3399 SoC 1GB DDR3 or 4GB LPDDR4 RAM Gigabit Ethernet (WAN) Gigabit Ethernet (PCIe) (LAN) USB 3.0 Port x 2 Micro

Re: [PATCH 5.10 081/290] gpiolib: Read "gpio-line-names" from a firmware node

2021-03-15 Thread Bartosz Golaszewski
On Mon, Mar 15, 2021 at 4:01 PM Marek Vasut wrote: > > On 3/15/21 2:52 PM, gre...@linuxfoundation.org wrote: > > From: Greg Kroah-Hartman > > > > From: Andy Shevchenko > > > > commit b41ba2ec54a70908067034f139aa23d0dd2985ce upstream. > > > > On STM32MP1, the GPIO banks are subnodes of pin-contro

Re: [PATCH 2/3] drm/bridge: ti-sn65dsi86: Move code in prep for EDID read fix

2021-03-15 Thread Doug Anderson
Hi, On Sat, Mar 13, 2021 at 1:13 PM Laurent Pinchart wrote: > > Hi Douglas, > > Thank you for the patch. > > On Thu, Mar 04, 2021 at 03:52:00PM -0800, Douglas Anderson wrote: > > This patch is _only_ code motion to prepare for the patch > > ("drm/bridge: ti-sn65dsi86: Properly get the EDID, but o

Re: [PATCH v5 14/36] KVM: arm64: Provide __flush_dcache_area at EL2

2021-03-15 Thread Will Deacon
On Mon, Mar 15, 2021 at 02:35:14PM +, Quentin Perret wrote: > We will need to do cache maintenance at EL2 soon, so compile a copy of > __flush_dcache_area at EL2, and provide a copy of arm64_ftr_reg_ctrel0 > as it is needed by the read_ctr macro. > > Signed-off-by: Quentin Perret > --- > arc

[PATCH] softirq: Be more verbose on t->state BUG()

2021-03-15 Thread Eugeniu Rosca
From: Dirk Behme In case this BUG() is hit, it helps debugging a lot to get an idea what tasklet is the root cause. So, be slightly more verbose here. Signed-off-by: Dirk Behme Signed-off-by: Eugeniu Rosca --- kernel/softirq.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) dif

Re: [RFC PATCH v2 07/11] dma-mapping: Add flags to dma_map_ops to indicate PCI P2PDMA support

2021-03-15 Thread Logan Gunthorpe
On 2021-03-12 7:36 p.m., Ira Weiny wrote: > On Thu, Mar 11, 2021 at 04:31:37PM -0700, Logan Gunthorpe wrote: > >> +int dma_pci_p2pdma_supported(struct device *dev) >^^^ > bool? Sure. > >> +{ >> +const struct dma_map_ops *ops = get_dma_ops(dev); >> + >> +return !ops || ops->fla

[PATCH v5] mfd: da9063: Support SMBus and I2C mode

2021-03-15 Thread Mark Jonas
From: Hubert Streidl By default the PMIC DA9063 2-wire interface is SMBus compliant. This means the PMIC will automatically reset the interface when the clock signal ceases for more than the SMBus timeout of 35 ms. If the I2C driver / device is not capable of creating atomic I2C transactions, a

[PATCH v4 00/14] vdpa: add vdpa simulator for block device

2021-03-15 Thread Stefano Garzarella
v4: - added support for iproute2 vdpa management tool in vdpa_sim_blk - removed get/set_config patches - 'vdpa: add return value to get_config/set_config callbacks' - 'vhost/vdpa: remove vhost_vdpa_config_validate()' - added get_config_size() patches - 'vdpa: add get_config_size callback in v

Re: [PATCH v4 3/3] x86/sgx: Add a basic NUMA allocation scheme to sgx_alloc_epc_page()

2021-03-15 Thread Dave Hansen
On 3/13/21 8:01 AM, Jarkko Sakkinen wrote: > Background > == > > EPC section is covered by one or more SRAT entries that are associated with > one and only one PXM (NUMA node). The motivation behind this patch is to > provide basic elements of building allocation scheme based on this premi

[PATCH v4 02/14] vringh: add 'iotlb_lock' to synchronize iotlb accesses

2021-03-15 Thread Stefano Garzarella
Usually iotlb accesses are synchronized with a spinlock. Let's request it as a new parameter in vringh_set_iotlb() and hold it when we navigate the iotlb in iotlb_translate() to avoid race conditions with any new additions/deletions of ranges from the ioltb. Acked-by: Jason Wang Signed-off-by: St

[PATCH v4 01/14] vdpa_sim: use iova module to allocate IOVA addresses

2021-03-15 Thread Stefano Garzarella
The identical mapping used until now created issues when mapping different virtual pages with the same physical address. To solve this issue, we can use the iova module, to handle the IOVA allocation. For simplicity we use an IOVA allocator with byte granularity. We add two new functions, vdpasim_

[PATCH v4 03/14] vringh: reset kiov 'consumed' field in __vringh_iov()

2021-03-15 Thread Stefano Garzarella
__vringh_iov() overwrites the contents of riov and wiov, in fact it resets the 'i' and 'used' fields, but also the 'consumed' field should be reset to avoid an inconsistent state. Acked-by: Jason Wang Signed-off-by: Stefano Garzarella --- drivers/vhost/vringh.c | 4 ++-- 1 file changed, 2 inser

[PATCH v4 05/14] vringh: implement vringh_kiov_advance()

2021-03-15 Thread Stefano Garzarella
In some cases, it may be useful to provide a way to skip a number of bytes in a vringh_kiov. Let's implement vringh_kiov_advance() for this purpose, reusing the code from vringh_iov_xfer(). We replace that code calling the new vringh_kiov_advance(). Acked-by: Jason Wang Signed-off-by: Stefano Ga

[PATCH v4 04/14] vringh: explain more about cleaning riov and wiov

2021-03-15 Thread Stefano Garzarella
riov and wiov can be reused with subsequent calls of vringh_getdesc_*(). Let's add a paragraph in the documentation of these functions to better explain when riov and wiov need to be cleaned up. Acked-by: Jason Wang Signed-off-by: Stefano Garzarella --- drivers/vhost/vringh.c | 15

[PATCH v4 06/14] vringh: add vringh_kiov_length() helper

2021-03-15 Thread Stefano Garzarella
This new helper returns the total number of bytes covered by a vringh_kiov. Suggested-by: Jason Wang Acked-by: Jason Wang Signed-off-by: Stefano Garzarella --- include/linux/vringh.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/vringh.h b/include/linux/vringh.

[PATCH v4 07/14] vdpa_sim: cleanup kiovs in vdpasim_free()

2021-03-15 Thread Stefano Garzarella
vringh_getdesc_iotlb() allocates memory to store the kvec, that is freed with vringh_kiov_cleanup(). vringh_getdesc_iotlb() is able to reuse a kvec previously allocated, so in order to avoid to allocate the kvec for each request, we are not calling vringh_kiov_cleanup() when we finished to handle

Re: [PATCH v5 29/36] KVM: arm64: Use page-table to track page ownership

2021-03-15 Thread Will Deacon
On Mon, Mar 15, 2021 at 02:35:29PM +, Quentin Perret wrote: > As the host stage 2 will be identity mapped, all the .hyp memory regions > and/or memory pages donated to protected guestis will have to marked > invalid in the host stage 2 page-table. At the same time, the hypervisor > will need a

[PATCH v4 11/14] vdpa: add vdpa simulator for block device

2021-03-15 Thread Stefano Garzarella
From: Max Gurtovoy This will allow running vDPA for virtio block protocol. It's a preliminary implementation with a simple request handling: for each request, only the status (last byte) is set. It's always set to VIRTIO_BLK_S_OK. Also input validation is missing and will be added in the next c

[PATCH v4 09/14] vhost/vdpa: use get_config_size callback in vhost_vdpa_config_validate()

2021-03-15 Thread Stefano Garzarella
Let's use the new 'get_config_size()' callback available instead of using the 'virtio_id' to get the size of the device config space. Signed-off-by: Stefano Garzarella --- drivers/vhost/vdpa.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/vhost/vdpa.c b/dri

[PATCH v4 08/14] vdpa: add get_config_size callback in vdpa_config_ops

2021-03-15 Thread Stefano Garzarella
This new callback is used to get the size of the configuration space of vDPA devices. Signed-off-by: Stefano Garzarella --- include/linux/vdpa.h | 4 drivers/vdpa/ifcvf/ifcvf_main.c | 6 ++ drivers/vdpa/mlx5/net/mlx5_vnet.c | 6 ++ drivers/vdpa/vdpa_sim/vdpa_sim.c |

[PATCH v4 10/14] vhost/vdpa: Remove the restriction that only supports virtio-net devices

2021-03-15 Thread Stefano Garzarella
From: Xie Yongji Since the config checks are done by the vDPA drivers, we can remove the virtio-net restriction and we should be able to support all kinds of virtio devices. is not needed anymore, but we need to include to avoid compilation failures. Signed-off-by: Xie Yongji Signed-off-by:

[PATCH v4 12/14] vdpa_sim_blk: implement ramdisk behaviour

2021-03-15 Thread Stefano Garzarella
The previous implementation wrote only the status of each request. This patch implements a more accurate block device simulator, providing a ramdisk-like behavior and adding input validation. Acked-by: Jason Wang Reviewed-by: Stefan Hajnoczi Signed-off-by: Stefano Garzarella --- v2: - used %zd

[PATCH v4 14/14] vdpa_sim_blk: add support for vdpa management tool

2021-03-15 Thread Stefano Garzarella
Enable the user to create vDPA block simulator devices using the vdpa management tool: # Show vDPA supported devices $ vdpa mgmtdev show vdpasim_blk: supported_classes block # Create a vDPA block device named as 'blk0' from the management # device vdpasim: $ vdpa dev

[PATCH v4 13/14] vdpa_sim_blk: handle VIRTIO_BLK_T_GET_ID

2021-03-15 Thread Stefano Garzarella
Handle VIRTIO_BLK_T_GET_ID request, always answering the "vdpa_blk_sim" string. Acked-by: Jason Wang Reviewed-by: Stefan Hajnoczi Signed-off-by: Stefano Garzarella --- v2: - made 'vdpasim_blk_id' static [Jason] --- drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 15 +++ 1 file changed, 15 i

Re: [PATCH v5 02/11] configfs: use (1UL << bit) for internal flags

2021-03-15 Thread Andy Shevchenko
On Mon, Mar 15, 2021 at 5:33 PM David Laight wrote: > From: Bartosz Golaszewski > > Sent: 15 March 2021 09:14 > > > > From: Bartosz Golaszewski > > > > For better readability and maintenance: use the (1UL << bit) for flag > > definitions. > > If the values ever get printed in hex the hex definiti

Re: [PATCH net-next 0/3] net: ipa: QMI fixes

2021-03-15 Thread Manivannan Sadhasivam
Hi Alex, On Mon, Mar 15, 2021 at 10:21:09AM -0500, Alex Elder wrote: > Mani Sadhasivam discovered some errors in the definitions of some > QMI messages used for IPA. This series addresses those errors, > and extends the definition of one message type to include some > newly-defined fields. > Th

Re: [PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S

2021-03-15 Thread Geert Uytterhoeven
Hi Robin, On Mon, Mar 15, 2021 at 5:32 PM Robin Murphy wrote: > On 2021-03-13 13:22, CN_SZTL wrote: > > Robin Murphy 于2021年3月13日周六 下午7:55写道: > >> > >> On 2021-03-13 03:25, Tianling Shen wrote: > >>> + gpio-leds { > >>> + compatible = "gpio-leds"; > >>> + pinctrl-0 = <

RE: [PATCH] powerpc/vdso32: Add missing _restgpr_31_x to fix build failure

2021-03-15 Thread David Laight
From: Rasmus Villemoes > Sent: 15 March 2021 16:24 > > On 12/03/2021 03.29, Segher Boessenkool wrote: > > Hi! > > > > On Tue, Mar 09, 2021 at 06:19:30AM +, Christophe Leroy wrote: > >> With some defconfig including CONFIG_CC_OPTIMIZE_FOR_SIZE, > >> (for instance mvme5100_defconfig and ps3_defc

Re: [PATCH] remoteproc: qcom: wcnss: Fix race with iris probe

2021-03-15 Thread Mathieu Poirier
On Thu, Mar 11, 2021 at 04:22:51PM -0800, Bjorn Andersson wrote: > The remoteproc driver is split between the responsibilities of getting > the SoC-internal ARM core up and running and the external RF (aka > "Iris") part configured. > > In order to satisfy the regulator framework's need of a struc

Re: [PATCH 2/3] drm/bridge: ti-sn65dsi86: Move code in prep for EDID read fix

2021-03-15 Thread Laurent Pinchart
Hi Doug, On Mon, Mar 15, 2021 at 09:31:41AM -0700, Doug Anderson wrote: > On Sat, Mar 13, 2021 at 1:13 PM Laurent Pinchart wrote: > > On Thu, Mar 04, 2021 at 03:52:00PM -0800, Douglas Anderson wrote: > > > This patch is _only_ code motion to prepare for the patch > > > ("drm/bridge: ti-sn65dsi86:

Re: [PATCH 2/5] mm/page_alloc: Add a bulk page allocator

2021-03-15 Thread Jesper Dangaard Brouer
On Mon, 15 Mar 2021 10:42:05 + Mel Gorman wrote: > On Sun, Mar 14, 2021 at 03:22:02PM +, Chuck Lever III wrote: > > >> Anyway, I'm not arguing against a bulk allocator, nor even saying this > > >> is a bad interface. It just maybe could be better. > > >> > > > > > > I think it puts m

Re: [PATCH v2 1/2] Makefile: Remove '--gcc-toolchain' flag

2021-03-15 Thread Sedat Dilek
On Mon, Mar 15, 2021 at 5:22 PM Masahiro Yamada wrote: > > On Wed, Mar 10, 2021 at 5:59 AM Nathan Chancellor wrote: > > > > This flag was originally added to allow clang to find the GNU cross > > tools in commit 785f11aa595b ("kbuild: Add better clang cross build > > support"). This flag was not

Re: [PATCH v4 1/3] KVM: nVMX: Sync L2 guest CET states between L1/L2

2021-03-15 Thread Sean Christopherson
On Mon, Mar 15, 2021, Yang Weijiang wrote: > These fields are rarely updated by L1 QEMU/KVM, sync them when L1 is trying to > read/write them and after they're changed. If CET guest entry-load bit is not > set by L1 guest, migrate them to L2 manaully. > > Opportunistically remove one blank line an

RE: [RFC][PATCH] x86/alternatives: Optimize optimize_nops()

2021-03-15 Thread David Laight
From: Peter Zijlstra > Sent: 15 March 2021 15:45 > > Currently optimize_nops() scans to see if the alternative starts with > NOPs. However, the emit pattern is: > > 141:\oldinstr > 142:.skip (len-(142b-141b)), 0x90 > > That is, when oldinstr is short, we pad the tail with NOP

Re: [PATCH] perf: build reproducibility improvements

2021-03-15 Thread Denys Zagorui -X (dzagorui - GLOBALLOGIC INC at Cisco)
> Makefile.config:1026: No openjdk development package found, please install > JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel > cp: '/home/jolsa/kernel/linux-perf/tools/perf/Documentation/tips.txt' and > 'Documentation/tips.txt' are the same file > BISONutil/parse-events-bison.c >

Re: [PATCH v2 3/3] kbuild: dwarf: use AS_VERSION instead of test_dwarf5_support.sh

2021-03-15 Thread Nick Desaulniers
On Mon, Mar 15, 2021 at 9:13 AM Masahiro Yamada wrote: > > The test code in scripts/test_dwarf5_support.sh is somewhat difficult > to understand, but after all, we want to check binutils >= 2.35.2 > > From the former discussion, the requirement for generating DWARF v5 from > C code is as follows:

Re: [PATCH v1 1/1] gpiolib: Read "gpio-line-names" from a firmware node

2021-03-15 Thread Bartosz Golaszewski
On Mon, Mar 15, 2021 at 3:34 PM Andy Shevchenko wrote: > > On Mon, Mar 15, 2021 at 03:04:37PM +0100, Bartosz Golaszewski wrote: > > On Mon, Mar 15, 2021 at 1:50 PM Andy Shevchenko > > wrote: > > > > > > On Mon, Mar 15, 2021 at 12:16:26PM +0200, Andy Shevchenko wrote: > > > > On Mon, Mar 15, 2021

Re: [PATCH net-next 0/3] net: ipa: QMI fixes

2021-03-15 Thread Alex Elder
On 3/15/21 11:38 AM, Manivannan Sadhasivam wrote: Hi Alex, On Mon, Mar 15, 2021 at 10:21:09AM -0500, Alex Elder wrote: Mani Sadhasivam discovered some errors in the definitions of some QMI messages used for IPA. This series addresses those errors, and extends the definition of one message type

  1   2   3   4   5   6   7   8   9   10   >