summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2021-02-02arm64: dts: qcom: msm8994-octagon: Add QCA6174 bluetoothGustave Monce
Configure and enable QCA6174 Bluetooth and required pins. Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-10-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994-octagon: Configure regulatorsGustave Monce
Configure the regulators to ensure proper voltages across the board. Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-9-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994-octagon: Add gpio-keys and Hall sensorGustave Monce
This enables tje hardware keys as well as the Hall sensor. Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-8-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994-octagon: Fix up the memory mapGustave Monce
Windows-based devices have a far different memory map than the standard LA one. Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-7-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8992/4-lumia*: Create a common DTSGustave Monce
Lumia 950 and 950XL are both based on the Octagon board, sharing the vast majority of components, configuration etc. Commonize it. Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-6-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8992: Make the DT an overlay on top of 8994Konrad Dybcio
This saves a good thousand lines of code, perhaps even more in the long run. Co-developed-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-5-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994: Sort hwlock properlyKonrad Dybcio
Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-4-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994: Fix remaining BLSP errors/mistakesGustave Monce
* Move 35500 clock-frequency to kitakami (turns out it's a Sony specific) * Add missing interfaces * Fix the naming scheme * Fix up pin assignments to make all BLSPs work * Add DMA where previously omitted Signed-off-by: Gustave Monce <gustave.monce@outlook.com> Co-developed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-3-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8994: Add SMP2P nodesKonrad Dybcio
They will be required for bringup of remote processors. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Link: https://lore.kernel.org/r/20210131013853.55810-2-konrad.dybcio@somainline.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8916-longcheer-l8910: Add imu/magnetometerJonathan Albrieux
BQ Aquaris X5 (Longcheer L8910) has: - BMI160 accelerometer and gyroscope sensor - AK09911 magnetometer sensor Add them to the device tree. This patch depends on patch "arm64: dts: qcom: msm8916: Add blsp_i2c3". Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com> Link: https://lore.kernel.org/r/20210125094435.7528-4-jonathan.albrieux@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: msm8916: Add blsp_i2c3Jonathan Albrieux
MSM8916 has another I2C QUP controller that can be enabled on GPIO 10 and 11. Add blsp_i2c3 to msm8916.dtsi and disable it by default. Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com> Link: https://lore.kernel.org/r/20210125094435.7528-3-jonathan.albrieux@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: Add device tree for BQ Aquaris X5 (Longcheer L8910)Jonathan Albrieux
BQ Aquaris X5 (Longcheer L8910) is a smartphone using the MSM8916 SoC. Add device tree with initial support for: - SDHCI (internal and external storage) - USB Device Mode - UART - Regulators - WiFi/BT - Volume buttons - Vibrator - Touchkeys backlight This device tree is based on downstream device tree from BQ and from Longcheer L8915 device tree. Co-developed-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Jonathan Albrieux <jonathan.albrieux@gmail.com> Link: https://lore.kernel.org/r/20210125094435.7528-2-jonathan.albrieux@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: rb5: Enable PCIe ports and PHYManivannan Sadhasivam
RB5 has 3 PCIe ports exposed to connect PCIe client devices. PCIe0 is connected to QCA6391 chipset and others are available on the HS3 expansion connector. Hence, enable all of them. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Link: https://lore.kernel.org/r/20210127234221.947306-3-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: sm8250: Add PCIe supportManivannan Sadhasivam
Add PCIe support for Qcom SM8250 SoC. This SoC has 3 PCIe Gen 3 instances based on Designware IP, out of which PCIe0 has 1 lane support and the rest have 2 lane support. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> [DB: add ddrss_sf_tbu clock] Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20210127234221.947306-2-dmitry.baryshkov@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-02-02Merge tag 'v5.11-next-defconfig' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/defconfig - build PMIC wrapper as a module - build DEVAPC as a module * tag 'v5.11-next-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux: arm64: configs: Support DEVAPC on MediaTek platforms arm64: configs: Support pwrap on Mediatek MT6779 platform Link: https://lore.kernel.org/r/aa5c6673-f018-00d3-42da-46a4976d8ef7@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/soc' of https://github.com/Broadcom/stblinux ↵Arnd Bergmann
into arm/soc This pull request contains Broadcom ARM-based SoCs Kconfig/machine entry changes for 5.12, please pull the following: - Maxime adds a select of the Broadcom STB standard L2 interrupt controller driver which is used in the Raspberry Pi 4 HDMI controller to support I2C and CEC interrupts - Florian adds a debug URT entry for the 72116 STB SoC * tag 'arm-soc/for-5.12/soc' of https://github.com/Broadcom/stblinux: ARM: bcm: Select BRCMSTB_L2_IRQ for bcm2835 ARM: brcmstb: Add debug UART entry for 72116 Link: https://lore.kernel.org/r/20210131221721.685974-6-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/defconfig-arm64' of ↵Arnd Bergmann
https://github.com/Broadcom/stblinux into arm/defconfig This pull request contains Broadcom ARM64-based SoCs defconfig updates for 5.12, please pull the following: - Nicolas enables the NVMEM reserved memory driver to permit reading the Raspberry Pi's bootloader configuration from user-space * tag 'arm-soc/for-5.12/defconfig-arm64' of https://github.com/Broadcom/stblinux: arm64: defconfig: Enable nvmem's rmem driver Link: https://lore.kernel.org/r/20210131221721.685974-2-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/defconfig' of ↵Arnd Bergmann
https://github.com/Broadcom/stblinux into arm/defconfig This pull request contains Broadcom ARM-based SoCs defconfig updates for 5.12, please pull the following: - Nicolas enables the NVMEM reserved memory driver to permit reading the Raspberry Pi's bootloader configuration from user-space * tag 'arm-soc/for-5.12/defconfig' of https://github.com/Broadcom/stblinux: ARM: multi_v7_defconfig: Enable nvmem's rmem driver Link: https://lore.kernel.org/r/20210131221721.685974-1-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02arm64/ptdump:display the Linear Mapping start markerHailong Liu
The current /sys/kernel/debug/kernel_page_tables does not display the *Linear Mapping start* marker on arm64, which I think should be paired with the *Linear Mapping end* marker. Since *Linear Mapping start* is the first marker, use initialise 'level' to -1 in order to display it. Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn> Link: https://lore.kernel.org/r/20210202150749.10104-1-liuhailongg6@163.com Signed-off-by: Will Deacon <will@kernel.org>
2021-02-02arm64: ptrace: Fix missing return in hw breakpoint codeKeno Fischer
When delivering a hw-breakpoint SIGTRAP to a compat task via ptrace, the lack of a 'return' statement means we fallthrough to the native case, which differs in its handling of 'si_errno'. Although this looks to be harmless because the subsequent signal is effectively ignored, it's confusing and unintentional, so add the missing 'return'. Signed-off-by: Keno Fischer <keno@juliacomputing.com> Link: https://lore.kernel.org/r/20210202002109.GA624440@juliacomputing.com Signed-off-by: Will Deacon <will@kernel.org>
2021-02-02Merge tag 'imx-fixes-5.11-3' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes i.MX fixes for 5.11, round 3: - Fix DCFG address range on LS1046A SoC. * tag 'imx-fixes-5.11-3' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: ls1046a: fix dcfg address range Link: https://lore.kernel.org/r/20210202071441.GP907@dragon Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02arm64: dts: qcom: Add basic devicetree support for SM8350-MTP boardVinod Koul
Add basic devicetree support for Qualcomm Technologies, Inc SM8350 SoC MTP board. This enabled uart node and adds rpmh-regulators present for this board. Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210127123054.263231-7-vkoul@kernel.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: Add basic devicetree support for SM8350 SoCVinod Koul
Add basic devicetree support for Qualcomm Technologies, Inc SM8350 SoC. This adds gcc, pinctrl, reserved memory, uart, cpu nodes for this SoC. Signed-off-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210127123054.263231-6-vkoul@kernel.org [bjorn: Adjusted 4th timer interrupt, per input from Sai] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: Disable MDSS by default for 8916/8016 devicesVincent Knecht
Disable MDSS (Mobile Display Subsystem) by default in msm8916.dtsi and only explicitly enable it in devices' DT which actually use it. This leads to faster boot and cleaner logs for other devices, which also won't have to explicitly disable MDSS to use framebuffer. Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org> Link: https://lore.kernel.org/r/20210130105717.2628781-4-vincent.knecht@mailoo.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7")Vincent Knecht
The Alcatel Idol 3 (4.7") is a smartphone based on MSM8916. Add a device tree with support for USB, eMMC, SD-Card, WiFi, BT, power/volume buttons, vibrator and the following sensors: magnetometer, accelerometer, gyroscope, ambient light+proximity Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org> Link: https://lore.kernel.org/r/20210130105717.2628781-3-vincent.knecht@mailoo.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2021-02-02arm64: perf: Constify static attribute_group structsRikard Falkeborn
The only usage of these is to put their addresses in an array of pointers to const attribute_group structs. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Signed-off-by: Will Deacon <will@kernel.org>
2021-02-02arm64: Use simpler arithmetics for the linear map macrosCatalin Marinas
Because of the tagged addresses, the __is_lm_address() and __lm_to_phys() macros grew to some harder to understand bitwise operations using PAGE_OFFSET. Since these macros only accept untagged addresses, use a simple subtract operation. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Cc: Will Deacon <will@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20210201190634.22942-3-catalin.marinas@arm.com
2021-02-02arm64: Do not pass tagged addresses to __is_lm_address()Catalin Marinas
Commit 519ea6f1c82f ("arm64: Fix kernel address detection of __is_lm_address()") fixed the incorrect validation of addresses below PAGE_OFFSET. However, it no longer allowed tagged addresses to be passed to virt_addr_valid(). Fix this by explicitly resetting the pointer tag prior to invoking __is_lm_address(). This is consistent with the __lm_to_phys() macro. Fixes: 519ea6f1c82f ("arm64: Fix kernel address detection of __is_lm_address()") Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Cc: <stable@vger.kernel.org> # 5.4.x Cc: Will Deacon <will@kernel.org> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Link: https://lore.kernel.org/r/20210201190634.22942-2-catalin.marinas@arm.com
2021-02-02ARM: dts: mmp3: Fix the CCIC interruptsLubomir Rintel
A copy & paste oversight from MMP2; camera interrupts are handled via a multiplexer on MMP3. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-13-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Replace SSP2 with spi-gpioLubomir Rintel
The firmware leaves the pins in GPIO mode. Until we have a proper pinmux driver hooked on we just need to bitbang SPI. No big deal, this is just used for the power button and performance is not important. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-12-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Add the power button nodeLubomir Rintel
This adds support for the power button attached to the Embedded Controller on a Dell Wyse 3020 "Ariel" board. However, while the EC itself is controlled via I2C, the input capability for the power button acts as a separate device attached to the SPI, hence it has a separate device node. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-11-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Add the embedded controllerLubomir Rintel
Add the device node for the computer's embedded controller, responsible for controlling the LEDs and system power. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-10-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Use symbolic names for audio clocksLubomir Rintel
These are slighly easier to read. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-9-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2: Use symbolic names for audio clocksLubomir Rintel
These are slighly easier to read. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-8-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3: Extend the MPMU reg rangeLubomir Rintel
The ACGR register is at the offset of 0x1024, beyond the 4k originally assigned to the MPMU range. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-7-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp3-dell-ariel: Drop linux,usable-memory from /memoryLubomir Rintel
Drop the linux,usable-memory properties; the schema is unhappy about them. They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-6-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Drop linux,usable-memory from /memoryLubomir Rintel
Drop the linux,usable-memory properties; the schema is unhappy about them: mmp2-olpc-xo-1-75.dt.yaml: /: memory: False schema does not allow {'linux,usable-memory': [[0, 528482304]], 'available': [[847872, 519245824, 4096, 782336]], 'reg': [[0, 536870912]], 'device_type': ['memory']} They've been cargo-culted from Open Firmware and I don't know what purpose they serve. Perhaps they are meant to provide the OFW runtime. In that case it's still okay to drop them from here; OFW is welcome to add it upon boot. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-5-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: mmp2-olpc-xo-1-75: Fix memory node nameLubomir Rintel
It contains a reg property. Add its base to the node name. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20210121034130.1381872-4-lkundrak@v3.sk' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'mvebu-dt64-5.12-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dt mvebu dt64 for 5.12 (part 1) - rename u-boot mtd partition to a53-firmware on Turris Mox (Armada 3720 based) - improve SDHCI support on AP807 based board - move SATA comphy into main armada-37xx.dtsi - add Armada 8K/7K PWM support * tag 'mvebu-dt64-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: arm64: dts: armada: add pwm offsets for ap/cp gpios arm64: dts: marvell: armada-37xx: Add SATA comphy into main armada-37xx.dtsi file arm64: dts: cn913x-db: enable MMC HS400 arm64: dts: change AP807 SDHCI compatibility string arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware Link: https://lore.kernel.org/r/87pn1jn48s.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit modeSean Christopherson
Set the emulator context to PROT64 if SYSENTER transitions from 32-bit userspace (compat mode) to a 64-bit kernel, otherwise the RIP update at the end of x86_emulate_insn() will incorrectly truncate the new RIP. Note, this bug is mostly limited to running an Intel virtual CPU model on an AMD physical CPU, as other combinations of virtual and physical CPUs do not trigger full emulation. On Intel CPUs, SYSENTER in compatibility mode is legal, and unconditionally transitions to 64-bit mode. On AMD CPUs, SYSENTER is illegal in compatibility mode and #UDs. If the vCPU is AMD, KVM injects a #UD on SYSENTER in compat mode. If the pCPU is Intel, SYSENTER will execute natively and not trigger #UD->VM-Exit (ignoring guest TLB shenanigans). Fixes: fede8076aab4 ("KVM: x86: handle wrap around 32-bit address space") Cc: stable@vger.kernel.org Signed-off-by: Jonny Barker <jonny@jonnybarker.com> [sean: wrote changelog] Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210202165546.2390296-1-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-02Merge tag 'mvebu-dt-5.12-1' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu into arm/dt mvebu dt for 5.12 (part 1) Improve LED and fan support on Helios4 boad (Armada 388 based) Add ECC configuration for Linksys board (Aramda 385 based) * tag 'mvebu-dt-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/gclement/mvebu: ARM: dts: armada388-helios4: assign pinctrl to each fan ARM: dts: armada388-helios4: assign pinctrl to LEDs ARM: dts: armada-385-linksys: fix usage with newer devices Link: https://lore.kernel.org/r/87sg6fn49o.fsf@BL-laptop Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'v5.11-next-dts64' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux into arm/dt mt6779: - add DEVAPC node to detect mallicious bus accesses - add PMIC wrapper node mt7622: - add reset to mmc node mt8183: - fix typo in drma-fifo-size property - refine compatible for the disp-gamma - add phandel of PM domain to the PWM node - add second PWM node - add regulator to MFG power domain - enable DSI node in kukui - add krane sku0, which uses different panel - fix mailbox dt-bindings include path mt8192: - add NOR flash node - add PSCI based CPU idle states mt8516: - add node for the UART's APDMA controller * tag 'v5.11-next-dts64' of git://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux: arm64: dts: mt8183: Fix GCE include path dts64: mt7622: fix slow sd card access dt-bindings: arm64: dts: mediatek: Add krane sku0 arm64: dts: mt8183: Add krane-sku0 board. arm64: dts: mt8183: config dsi node arm64: dts: mt6779: Support pwrap on Mediatek MT6779 platform arm64: dts: mt6779: Support devapc arm64: dts: mt8192: Add cpu-idle-states arm64: dts: mediatek: mt8183: Add domain supply for mfg arm64: dts: mt8192: add nor_flash device node arm64: dts: mediatek: mt8516: add support for APDMA arm64: dts: mediatek: mt8183-evb: add PWM support arm64: dts: mediatek: mt8183: add pwm node arm64: dts: mt8183: Add missing power-domain for pwm0 node arm64: dts: mt8183: refine gamma compatible name arm64: dts: mt8183: rename rdma fifo size Link: https://lore.kernel.org/r/565be0cc-460a-7d0b-47da-09bf0401e8fe@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02ARM: dts: ux500: Add Flash LEDs to Samsung phonesLinus Walleij
This adds the Richtek RT8515 Flash LED to the Golden, Skomer and Janice device trees. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20210201091308.284465-1-linus.walleij@linaro.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'keystone_dts_for_5.12' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into arm/dt ARM: DTS: Keystone update for v5.12 Contains couple updates for DWC USB3 DT nodes * tag 'keystone_dts_for_5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone: arm: dts: keystone: Harmonize DWC USB3 DT nodes name arm: dts: keystone: Correct DWC USB3 compatible string Link: https://lore.kernel.org/r/1612156910-11159-1-git-send-email-santosh.shilimkar@oracle.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/devicetree-arm64' of ↵Arnd Bergmann
https://github.com/Broadcom/stblinux into arm/dt This pull request contains Broadcom ARM64-based SoCs Device Tree changes for 5.12 please pull the following: - Rafal continues to add support for the 4906/4908 SoC family and adds a Device Tree for the Netgear R8000P router (4906-based), describes the NAND controller of the 4908 more appropriately (based on the older 63138 DSL SoC), describes the 4908 PCIe reset controller, internal Ethernet switch (Starfighter 2 switch) and finally the Power Management Bus (PMB) - Scott removes all of the SATA-related Device Tree nodes since SATA is unused on the Stingray product line * tag 'arm-soc/for-5.12/devicetree-arm64' of https://github.com/Broadcom/stblinux: arm64: dts: broadcom: Remove SATA from Stingray arm64: dts: broadcom: bcm4908: describe PMB block arm64: dts: broadcom: bcm4908: describe internal switch arm64: dts: broadcom: bcm4908: describe PCIe reset controller arm64: dts: broadcom: bcm4908: use proper NAND binding arm64: dts: broadcom: bcm4908: add BCM4906 Netgear R8000P DTS files dt-bindings: arm: bcm: document Netgear R8000P binding Link: https://lore.kernel.org/r/20210131221721.685974-4-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'arm-soc/for-5.12/devicetree' of ↵Arnd Bergmann
https://github.com/Broadcom/stblinux into arm/dt This pull request contains Broadcom ARM-based SoCs Device Tree changes for 5.12, please pull the following: - Dave adds a proper compatile string for the DSI1 panel on 2711 (Raspberry Pi 4) to permit adequate driver differentiation - Nicolas declares reserved memory regions filed by the Rasbperry Pi bootloader to indicate the running system configuration - Maxime declares the BSC (HDMI I2C controller) and CEC interrupt controllers - Stanislav fixes a tab vs. space issue in the BCM21664 DTS * tag 'arm-soc/for-5.12/devicetree' of https://github.com/Broadcom/stblinux: ARM: dts: bcm2711: Add the CEC interrupt controller ARM: dts: bcm21664: Replace spaces with a tab ARM: dts: bcm2711: Add the BSC interrupt controller ARM: dts: bcm2711: Add reserved memory template to hold firmware configuration ARM: dts: bcm2711: Use compatible string for BCM2711 DSI1 Link: https://lore.kernel.org/r/20210131221721.685974-3-f.fainelli@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'sunxi-dt-for-5.12' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/dt Our usual bunch of patches to support the Allwinner SoCs, this time adding: - DT fixes spotted through the schemas - Mali Support for the A10s/A13/GR8/R8 - MMC improvements for the A64 and H6 - New board: SL631 Action Camera, PineTab Early Adopter * tag 'sunxi-dt-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: (47 commits) ARM: dts: sunxi: Rename nmi_intc to r_intc ARM: dts: sun8i: h2-plus: bananapi-m2-zero: Increase BT UART speed ARM: dts: sunxi: bananapi-m2-plus: Increase BT UART speed arm64: dts: allwinner: pine-h64: Fix typos in BT GPIOs arm64: dts: allwinner: pinetab: Fix the panel compatible arm64: dts: allwinner: pinephone: Remove useless light sensor supplies arm64: dts: allwinner: h6: Use - instead of @ for DT OPP entries ARM: dts: sun8i-a33: sina33: Add missing panel power supply ARM: dts: sun8i-a83t: Remove empty CSI port ARM: dts: sun8i-s3: pinecube: Fix CSI DTC warnings ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array ARM: dts: sun6i: primo81: Remove useless io-channel-cells ARM: dts: sunxi: Fix CPU thermal zone node name ARM: dts: sunxi: Add missing backlight supply ARM: dts: sunxi: Fix the LED node names dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks dt-bindings: iio: adc: Add AXP803 compatible dt-bindings: sunxi: Fix the pinecube compatible ARM: dts: sun8i-v3s: Add CSI0 MCLK pin definition ... Link: https://lore.kernel.org/r/48511540-fdd6-4fbe-8037-ec9fa8436147.lettre@localhost Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02Merge tag 'ti-k3-dt-for-v5.12' of ↵Arnd Bergmann
git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux into arm/dt Devicetree changes for TI K3 platforms for v5.12 merge window: - Common fixups: PMU compatible, MMC dtbs_check warnings squelch - J7200: R5F, PCIe, SERDES support - J721E: PCIE fixups * tag 'ti-k3-dt-for-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux: arm64: dts: ti: k3*: Fixup PMU compatibility to be CPU specific arm64: dts: ti: k3: mmc: fix dtbs_check warnings arm64: dts: ti: k3-j7200-som-p0: Add DDR carveout memory nodes for R5Fs arm64: dts: ti: k3-j7200-som-p0: Add mailboxes to R5Fs arm64: dts: ti: k3-j7200: Add R5F cluster nodes arm64: dts: ti: k3-j7200-common-proc-board: Enable PCIe arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 arm64: dts: ti: k3-j7200-main: Add PCIe device tree node arm64: dts: ti: k3-j7200-main: Add SERDES and WIZ device tree node arm64: dts: ti: k3-j721e-main: Remove "syscon" nodes added for pcieX_ctrl arm64: dts: ti: k3-j721e-main: Fix supported max outbound regions Link: https://lore.kernel.org/r/20210130131422.yvq2edxfongys7x5@pendant Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2021-02-02x86/sev-es: Do not unroll string I/O for SEV-ES guestsTom Lendacky
Under the GHCB specification, SEV-ES guests can support string I/O. The current #VC handler contains this support, so remove the need to unroll kernel string I/O operations. This will reduce the number of #VC exceptions generated as well as the number VM exits for the guest. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/3de04b5b638546ac75d42ba52307fe1a922173d3.1612203987.git.thomas.lendacky@amd.com