Re: [ANNOUNCE] Reiser5: Selective File Migration - User Interface

2020-08-26 Thread Edward Shishkin
[...] FYI Although not officially, the Debian metaframework Buster AMD64 distribution might be the first to support native installation of Reiser4 SFRN 5.1.3, kernel and reiser4progs 2.0.3, file system utilities. I have already made a couple of successful Metztli Reiser4 SFRN 5 native

Re: [PATCH v5 10/12] KVM: X86: Rename and move the function vmx_handle_memory_failure to x86.c

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:15 PM Babu Moger wrote: > > Handling of kvm_read/write_guest_virt*() errors can be moved to common > code. The same code can be used by both VMX and SVM. > > Signed-off-by: Babu Moger Reviewed-by: Jim Mattson

Re: localmodconfig - "intel_rapl_perf config not found!!"

2020-08-26 Thread Steven Rostedt
On Wed, 26 Aug 2020 16:30:28 + Changbin Du wrote: > > > > > > @Changbin: can you fix this little bug in streamline_config.pl, please? > > > ^ > This was tested before. Is this a perl version issue? > > changbin@vultr:~$ cat a.pl > my @preserved_kconfigs = split(/:/,$ENV{LMC_KEEP});

Re: localmodconfig - "intel_rapl_perf config not found!!"

2020-08-26 Thread Steven Rostedt
On Tue, 25 Aug 2020 14:34:34 -0700 Randy Dunlap wrote: > On 8/25/20 2:12 PM, Randy Dunlap wrote: > >> On Tue, Aug 25, 2020 at 2:13 PM Randy Dunlap > >> wrote: > >>> > >>> so intel_rapl_perf is listed in your lsmod.cfg file: > >>> intel_rapl_perf16384 2 > >>> > >>> You say Linux

Re: [PATCH 4.19 66/81] MIPS: Disable Loongson MMI instructions for kernel build

2020-08-26 Thread Guenter Roeck
Hi, On Wed, Oct 16, 2019 at 02:51:17PM -0700, Greg Kroah-Hartman wrote: > From: Paul Burton > > commit 2f2b4fd674cadd8c6b40eb629e140a14db4068fd upstream. > > GCC 9.x automatically enables support for Loongson MMI instructions when > using some -march= flags, and then errors out when

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Vladimir Oltean
On Wed, Aug 26, 2020 at 09:45:47PM +0100, Mark Brown wrote: > On Wed, Aug 26, 2020 at 11:41:08PM +0300, Vladimir Oltean wrote: > > On Wed, Aug 26, 2020 at 10:34:04PM +0300, Andy Shevchenko wrote: > > > > Theoretically you may declare your HID in the same / similar way as > > > PRP0001 and use same

[PATCH v2] hwmon (pmbus/max20730): add device monitoring via debugfs

2020-08-26 Thread Ugur Usug
Add debugfs interface support for accessing device specific registers (MFR_VOUT_MIN, MFR_DEVSET1 and MFR_DEVSET2) and others including OPERATION, ON_OFF_CONFIG, SMB_ALERT_MASK, VOUT_MODE, VOUT_COMMAND and VOUT_MAX. Signed-off-by: Ugur Usug --- drivers/hwmon/pmbus/max20730.c | 364

Re: [PATCH] compiler-clang: add build check for clang 10.0.1

2020-08-26 Thread Kees Cook
On Wed, Aug 26, 2020 at 01:14:19PM -0700, Nick Desaulniers wrote: > During Plumbers 2020, we voted to just support the latest release of > Clang for now. Add a compile time check for this. > > Older clang's may work, but we will likely drop workarounds for older > versions. > > Link:

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-26 Thread Linus Torvalds
On Wed, Aug 26, 2020 at 1:53 PM Harald Arnesen wrote: > > It's a Thinkpad T520. Oh, so this is a 64-bit machine? Yeah, that patch to flush vmalloc ranges won't make any difference on x86-64. Or are you for some reason running a 32-bit kernel on that thing? Have you tried building a 64-bit one

Re: [PATCH 5.8 00/16] 5.8.5-rc1 review

2020-08-26 Thread Guenter Roeck
On 8/26/20 5:02 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.8.5 release. > There are 16 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should

Re: [patch V2 23/46] irqdomain/msi: Provide DOMAIN_BUS_VMD_MSI

2020-08-26 Thread Derrick, Jonathan
On Wed, 2020-08-26 at 21:42 +0100, Marc Zyngier wrote: > On Wed, 26 Aug 2020 12:16:51 +0100, > Thomas Gleixner wrote: > > From: Thomas Gleixner > > > > PCI devices behind a VMD bus are not subject to interrupt remapping, but > > the irq domain for VMD MSI cannot be distinguished from a regular

Re: [PATCH 3/6] ARM: dts: broadcom: Fix SP804 node

2020-08-26 Thread Florian Fainelli
On 8/26/20 11:59 AM, Florian Fainelli wrote: > On 8/26/20 11:53 AM, André Przywara wrote: >> On 26/08/2020 19:42, Florian Fainelli wrote: >> >> Hi, >> >>> On 8/26/20 11:38 AM, Andre Przywara wrote: The DT binding for SP804 requires to have an "arm,primecell" compatible string. Add

Re: [PATCH v5 04/12] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:14 PM Babu Moger wrote: > > Modify intercept_exceptions to generic intercepts in vmcb_control_area. Use > the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept to > set/clear/test the intercept_exceptions bits. > > Signed-off-by: Babu Moger >

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-26 Thread Harald Arnesen
Dave Airlie [26.08.2020 22:47]: > On Thu, 27 Aug 2020 at 06:44, Harald Arnesen wrote: >> >> Linus Torvalds [26.08.2020 20:04]: >> >> > On Wed, Aug 26, 2020 at 2:30 AM Harald Arnesen wrote: >> >> Somehow related to lightdm or xfce4? However, it is a regression, since >> >> kernel 5.8 works. >> >

[PATCH] coccinelle: api: fix kobj_to_dev.cocci warnings

2020-08-26 Thread Julia Lawall
From: kernel test robot Use kobj_to_dev() instead of container_of() Generated by: scripts/coccinelle/api/kobj_to_dev.cocci Fixes: a2fc3718bc22 ("coccinelle: api: add kobj_to_dev.cocci script") CC: Denis Efremov Signed-off-by: kernel test robot Signed-off-by: Julia Lawall --- tree:

Re: [ANNOUNCE] Reiser5: Selective File Migration - User Interface

2020-08-26 Thread Metztli Information Technology
On Sun, Jul 5, 2020 at 4:13 AM Edward Shishkin wrote: > > > >                    Reiser5: selective file migration. >                 Setting/clearing file "immobile" status > > > Earlier any migration of data blocks in reiser5 logical volumes > occurred only in the context of

Re: [patch V2 15/46] x86/irq: Consolidate DMAR irq allocation

2020-08-26 Thread Thomas Gleixner
On Wed, Aug 26 2020 at 20:32, Thomas Gleixner wrote: > On Wed, Aug 26 2020 at 09:50, Megha Dey wrote: >>> @@ -329,15 +329,15 @@ static struct irq_chip dmar_msi_controll >>> static irq_hw_number_t dmar_msi_get_hwirq(struct msi_domain_info *info, >>>

Re: [PATCH] drm/vkms: fix warning in vkms_get_vblank_timestamp

2020-08-26 Thread Melissa Wen
Hi Sidong, Thanks for this patch. The code looks good to me; however, I see some issues in the patch format and commit message. Please, see inline comments. On 08/25, Sidong Yang wrote: > From: Sidong Yang , Haneen Mohammed > You need to fix the Author name. > > When

Re: [PATCH 5.7 00/15] 5.7.19-rc1 review

2020-08-26 Thread Guenter Roeck
On 8/26/20 5:02 AM, Greg Kroah-Hartman wrote: > --- > Note, ok, this is really going to be the final 5.7.y kernel release. I > mean it this time > --- > > This is the start of the stable review cycle for the 5.7.19 release. > There are 15 patches in this

Re: [patch V2 24/46] PCI: vmd: Mark VMD irqdomain with DOMAIN_BUS_VMD_MSI

2020-08-26 Thread Marc Zyngier
On Wed, 26 Aug 2020 12:16:52 +0100, Thomas Gleixner wrote: > > From: Thomas Gleixner > > Devices on the VMD bus use their own MSI irq domain, but it is not > distinguishable from regular PCI/MSI irq domains. This is required > to exclude VMD devices from getting the irq domain pointer set by >

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-26 Thread Dave Airlie
On Thu, 27 Aug 2020 at 06:44, Harald Arnesen wrote: > > Linus Torvalds [26.08.2020 20:04]: > > > On Wed, Aug 26, 2020 at 2:30 AM Harald Arnesen wrote: > >> Somehow related to lightdm or xfce4? However, it is a regression, since > >> kernel 5.8 works. > > Yeah, apparently there's something else

Re: [PATCH v8 1/2] Add a "nosymfollow" mount option.

2020-08-26 Thread Ross Zwisler
O Wed, Aug 19, 2020 at 10:43:16AM -0600, Ross Zwisler wrote: > From: Mattias Nissler > > For mounts that have the new "nosymfollow" option, don't follow symlinks > when resolving paths. The new option is similar in spirit to the > existing "nodev", "noexec", and "nosuid" options, as well as to

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Mark Brown
On Wed, Aug 26, 2020 at 11:41:08PM +0300, Vladimir Oltean wrote: > On Wed, Aug 26, 2020 at 10:34:04PM +0300, Andy Shevchenko wrote: > > Theoretically you may declare your HID in the same / similar way as > > PRP0001 and use same compatible strings and all other DT properties > > (when they make

Re: [PATCH v5 03/12] KVM: SVM: Change intercept_dr to generic intercepts

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:14 PM Babu Moger wrote: > > Modify intercept_dr to generic intercepts in vmcb_control_area. Use > the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept > to set/clear/test the intercept_dr bits. > > Signed-off-by: Babu Moger Reviewed-by: Jim Mattson

Re: [PATCH 1/2] usb typec: mt6360: Add support for mt6360 Type-C driver

2020-08-26 Thread Guenter Roeck
On 8/26/20 4:16 AM, cy_huang wrote: > From: ChiYuan Huang > > Mediatek MT6360 is a multi-functional IC that includes USB Type-C. > It works with Type-C Port Controller Manager to provide USB PD > and USB Type-C functionalities. > > Signed-off-by: ChiYuan Huang > --- >

Re: [Intel-gfx] 5.9-rc1: graphics regression moved from -next to mainline

2020-08-26 Thread Harald Arnesen
Linus Torvalds [26.08.2020 20:04]: > On Wed, Aug 26, 2020 at 2:30 AM Harald Arnesen wrote: >> Somehow related to lightdm or xfce4? However, it is a regression, since >> kernel 5.8 works. > Yeah, apparently there's something else wrong with the relocation changes too. > > That said, does that

[PATCH v2 2/2] ARM: dts: imx: add devicetree for Tolino Shine 2 HD

2020-08-26 Thread Andreas Kemnade
This adds a devicetree for the Tolino Shine 2 HD Ebook reader. It is based on boards marked with "37NB-E60QF0+4A2". It is equipped with an i.MX6SL SoC. Expected to work: - Buttons - Wifi - Touchscreen - LED - uSD - USB - RTC Not working due to missing drivers: - Backlight (requires NTXEC driver)

Re: [patch V2 19/46] x86/msi: Use generic MSI domain ops

2020-08-26 Thread Thomas Gleixner
On Wed, Aug 26 2020 at 21:21, Marc Zyngier wrote: > On Wed, 26 Aug 2020 12:16:47 +0100, > Thomas Gleixner wrote: >> -void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc) >> -{ >> -arg->desc = desc; >> -arg->hwirq = pci_msi_domain_calc_hwirq(desc); >> -} >>

Re: [PATCH] libnvdimm/e820: Fix build error without MEMORY_HOTPLUG

2020-08-26 Thread kernel test robot
Hi YueHaibing, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux-nvdimm/libnvdimm-for-next] [also build test ERROR on v5.9-rc2 next-20200826] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use

[PATCH v2 1/2] dt-bindings: arm: fsl: add compatible string for Tolino Shine 2 HD

2020-08-26 Thread Andreas Kemnade
This adds a compatible string for the Tolino Shine 2 HD eBook reader. Signed-off-by: Andreas Kemnade Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml

[PATCH v2 0/2] ARM: dts: add Tolino Shine 2 HD

2020-08-26 Thread Andreas Kemnade
This adds a device tree for the Tolino Shine 2 HD Ebook reader. It is equipped with an i.MX6SL SoC. Except for backlight (via an EC) and the EPD, drivers are available and therefore things are defined in the dts. Andreas Kemnade (2): dt-bindings: arm: fsl: add compatible string for Tolino

Re: [patch V2 23/46] irqdomain/msi: Provide DOMAIN_BUS_VMD_MSI

2020-08-26 Thread Marc Zyngier
On Wed, 26 Aug 2020 12:16:51 +0100, Thomas Gleixner wrote: > > From: Thomas Gleixner > > PCI devices behind a VMD bus are not subject to interrupt remapping, but > the irq domain for VMD MSI cannot be distinguished from a regular PCI/MSI > irq domain. > > Add a new domain bus token and allow

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Mark Brown
On Wed, Aug 26, 2020 at 10:56:49PM +0300, Vladimir Oltean wrote: > On Wed, Aug 26, 2020 at 10:36:15PM +0300, Andy Shevchenko wrote: > > FIFO size can be read from the property > My personal preference is for the driver to hold the expert information > about the hardware parameters, and not the

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Vladimir Oltean
On Wed, Aug 26, 2020 at 10:34:04PM +0300, Andy Shevchenko wrote: > On Sat, Aug 22, 2020 at 9:37 PM Vladimir Oltean wrote: > > On Fri, Aug 21, 2020 at 06:40:29PM +0530, kuldip dwivedi wrote: > > > Just noticed this now. > > So for device tree, spi-fsl-dspi supports the following compatibles: > > >

Re: [PATCH v5 02/12] KVM: SVM: Change intercept_cr to generic intercepts

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:14 PM Babu Moger wrote: > > Change intercept_cr to generic intercepts in vmcb_control_area. > Use the new vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept > where applicable. > > Signed-off-by: Babu Moger Reviewed-by: Jim Mattson

Re: [PATCH v5 01/12] KVM: SVM: Introduce vmcb_(set_intercept/clr_intercept/_is_intercept)

2020-08-26 Thread Jim Mattson
On Wed, Aug 26, 2020 at 12:13 PM Babu Moger wrote: > > This is in preparation for the future intercept vector additions. > > Add new functions vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept > using kernel APIs __set_bit, __clear_bit and test_bit espectively. Nit: "respectively" > >

Re: [PATCH 1/4] drm-printk: POC caller of dynamic-debug-exec-queries

2020-08-26 Thread kernel test robot
Hi Jim, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on linux/master drm-tip/drm-tip linus/master v5.9-rc2 next-20200826] [cannot apply to drm/drm-next] [If your patch is applied to the wrong git tree, kindly drop us

Re: [patch V2 17/46] PCI/MSI: Rework pci_msi_domain_calc_hwirq()

2020-08-26 Thread Marc Zyngier
On Wed, 26 Aug 2020 12:16:45 +0100, Thomas Gleixner wrote: > > From: Thomas Gleixner > > Retrieve the PCI device from the msi descriptor instead of doing so at the > call sites. > > Signed-off-by: Thomas Gleixner > Acked-by: Bjorn Helgaas Acked-by: Marc Zyngier M. -- Without

[PATCH v2] mfd: dm355evm_msp: Convert LEDs to GPIO descriptor table

2020-08-26 Thread Linus Walleij
This converts the DaVinci DM355EVM LEDs to use GPIO descriptor look-ups. Cc: Sekhar Nori Cc: Bartosz Golaszewski Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Moved out all the tables and device definition to the top of the file to not have static locals inside the function. ---

x86/irq: Unbreak interrupt affinity setting

2020-08-26 Thread Thomas Gleixner
Several people reported that 5.8 broke the interrupt affinity setting mechanism. The consolidation of the entry code reused the regular exception entry code for device interrupts and changed the way how the vector number is conveyed from ptregs->orig_ax to a function argument. The low level

Re: [patch V2 19/46] x86/msi: Use generic MSI domain ops

2020-08-26 Thread Marc Zyngier
On Wed, 26 Aug 2020 12:16:47 +0100, Thomas Gleixner wrote: > > From: Thomas Gleixner > > pci_msi_get_hwirq() and pci_msi_set_desc are not longer special. Enable the > generic MSI domain ops in the core and PCI MSI code unconditionally and get > rid of the x86 specific implementations in the

Re: [PATCH 1/4] drivers: hv: dxgkrnl: core code

2020-08-26 Thread Iouri Tarassov
On 8/14/2020 6:18 AM, Wei Liu wrote: On Fri, Aug 14, 2020 at 08:38:53AM -0400, Sasha Levin wrote: [...] + +#include "dxgkrnl.h" + +int dxgadapter_init(struct dxgadapter *adapter, struct hv_device *hdev) +{ + int ret = 0; + char s[80]; + + UNUSED(s); If s is not used, why

[PATCH] compiler-clang: add build check for clang 10.0.1

2020-08-26 Thread Nick Desaulniers
During Plumbers 2020, we voted to just support the latest release of Clang for now. Add a compile time check for this. Older clang's may work, but we will likely drop workarounds for older versions. Link: https://github.com/ClangBuiltLinux/linux/issues/9 Link:

Re: [PATCH v2 00/23] Use asm-generic for mmu_context no-op functions

2020-08-26 Thread Arnd Bergmann
On Wed, Aug 26, 2020 at 4:53 PM Nicholas Piggin wrote: > > It would be nice to be able to modify mmu_context functions or add a > hook without updating all architectures, many of which will be no-ops. > > The motivation for this series is a change to lazy mmu handling, but > this series stands on

Re: [PATCH] x86/irq: Preserve vector in orig_ax for APIC code

2020-08-26 Thread Alexander Graf
On 26.08.20 20:53, Thomas Gleixner wrote: On Wed, Aug 26 2020 at 20:30, Thomas Gleixner wrote: And it does not solve the issue that we abuse orig_ax which Andy mentioned. Ha! After staring some more, it's not required at all, which is the most elegant solution. The vector check is

[PATCH v2 2/2] Input: gpio_keys - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe() and devm_fwnode_gpiod_get_optional(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Hans de Goede --- Changes since v1: 1. Use devm_fwnode_gpiod_get_optional ---

Re: [PATCH 1/2] nfsd: Remove unnecessary assignment in nfs4xdr.c

2020-08-26 Thread J. Bruce Fields
On Fri, Aug 21, 2020 at 12:37:45AM +0100, Alex Dewar wrote: > On Wed, Aug 12, 2020 at 08:36:31PM +, Frank van der Linden wrote: > > On Wed, Aug 12, 2020 at 03:12:51PM +0100, Alex Dewar wrote: > > > > > > In nfsd4_encode_listxattrs(), the variable p is assigned to at one point > > > but this

[PATCH v2 1/2] gpio: Add devm_fwnode_gpiod_get_optional() helpers

2020-08-26 Thread Krzysztof Kozlowski
Add devm_fwnode_gpiod_get_optional() and devm_fwnode_gpiod_get_index_optional() helpers, similar to regular devm_gpiod optional versions. Drivers getting GPIOs from a firmware node might use it to remove some boilerplate code. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New

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

2020-08-26 Thread Sowjanya Komatineni
commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support") SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is set for Tegra210 from the beginning of Tegra210 support in the driver. Tegra210 SDMMC hardware by default uses timeout clock (TMCLK) instead of SDCLK and this quirk should not be set. So, this patch

[PATCH v5 7/7] sdhci: tegra: Add missing TMCLK for data timeout

2020-08-26 Thread Sowjanya Komatineni
commit b5a84ecf025a ("mmc: tegra: Add Tegra210 support") Tegra210 and later has a separate sdmmc_legacy_tm (TMCLK) used by Tegra SDMMC hawdware for data timeout to achive better timeout than using SDCLK and using TMCLK is recommended. USE_TMCLK_FOR_DATA_TIMEOUT bit in Tegra SDMMC register

[PATCH v5 6/7] arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes

2020-08-26 Thread Sowjanya Komatineni
commit 5425fb15d8ee ("arm64: tegra: Add Tegra194 chip device tree") Tegra194 uses separate SDMMC_LEGACY_TM clock for data timeout and this clock is not enabled currently which is not recommended. Tegra194 SDMMC advertises 12Mhz as timeout clock frequency in host capability register. So, this

[PATCH v5 0/7] Fix timeout clock used by hardware data timeout

2020-08-26 Thread Sowjanya Komatineni
Tegra210/Tegra186/Tegra194 has incorrectly enabled SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK from the beginning of their support. Tegra210 and later SDMMC hardware default uses sdmmc_legacy_tm (TMCLK) all the time for hardware data timeout instead of SDCLK and this TMCLK need to be kept enabled by

[PATCH v5 2/7] sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186

2020-08-26 Thread Sowjanya Komatineni
commit 4346b7c7941d ("mmc: tegra: Add Tegra186 support") SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is set for Tegra186 from the beginning of its support in driver. Tegra186 SDMMC hardware by default uses timeout clock (TMCLK) instead of SDCLK and this quirk should not be set. So, this patch remove

[PATCH v5 4/7] arm64: tegra: Add missing timeout clock to Tegra210 SDMMC

2020-08-26 Thread Sowjanya Komatineni
commit 742af7e7a0a1 ("arm64: tegra: Add Tegra210 support") Tegra210 uses separate SDMMC_LEGACY_TM clock for data timeout and this clock is not enabled currently which is not recommended. Tegra SDMMC advertises 12Mhz as timeout clock frequency in host capability register. So, this clock should

[PATCH v5 3/7] dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later

2020-08-26 Thread Sowjanya Komatineni
Tegra210 and later uses separate SDMMC_LEGACY_TM clock for data timeout. So, this patch adds "tmclk" to Tegra sdhci clock property in the device tree binding. Signed-off-by: Sowjanya Komatineni --- .../bindings/mmc/nvidia,tegra20-sdhci.txt | 32 -- 1 file changed,

[PATCH v5 5/7] arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes

2020-08-26 Thread Sowjanya Komatineni
commit 39cb62cb8973 ("arm64: tegra: Add Tegra186 support") Tegra186 uses separate SDMMC_LEGACY_TM clock for data timeout and this clock is not enabled currently which is not recommended. Tegra186 SDMMC advertises 12Mhz as timeout clock frequency in host capability register and uses it by

[PATCH v2] Input: bcm-keypad - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
Common pattern of handling deferred probe can be simplified with dev_err_probe() and devm_clk_get_optional(). Less code and the error value gets printed. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Hans de Goede --- Changes since v1: 1. Use also devm_clk_get_optional() ---

Re: [PATCH 02/24] Input: gpio_keys - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 10:39:12PM +0300, Andy Shevchenko wrote: > On Wed, Aug 26, 2020 at 10:23 PM Krzysztof Kozlowski wrote: > > On Wed, Aug 26, 2020 at 10:13:34PM +0300, Andy Shevchenko wrote: > > > On Wed, Aug 26, 2020 at 08:16:44PM +0200, Krzysztof Kozlowski wrote: > > > > Common pattern of

Re: [PATCH 01/24] Input: bcm-keypad - Simplify with dev_err_probe()

2020-08-26 Thread Hans de Goede
Hi, As someone who has added the if (error != -EPROBE_DEFER) dev_err() pattern in way too many places myself, I'm quite happy to see this new (I presume?) helper and this nice cleanup series. The entire series looks good to me, and you can add my: Reviewed-by: Hans de Goede To the entire

Re: [PATCH v11 25/25] x86/cet/shstk: Add arch_prctl functions for shadow stack

2020-08-26 Thread Dave Hansen
On 8/26/20 11:49 AM, Yu, Yu-cheng wrote: >> I would expect things like Go and various JITs to call it directly. >> >> If we wanted to be fancy and add a potentially more widely useful >> syscall, how about: >> >> mmap_special(void *addr, size_t length, int prot, int flags, int type); >> >> Where

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Vladimir Oltean
On Wed, Aug 26, 2020 at 10:36:15PM +0300, Andy Shevchenko wrote: > On Wed, Aug 26, 2020 at 10:34 PM Andy Shevchenko > wrote: > > On Sat, Aug 22, 2020 at 9:37 PM Vladimir Oltean wrote: > > > On Fri, Aug 21, 2020 at 06:40:29PM +0530, kuldip dwivedi wrote: > > > > > Just noticed this now. > > > So

Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field

2020-08-26 Thread Vivek Goyal
On Wed, Aug 26, 2020 at 09:26:29PM +0200, Miklos Szeredi wrote: > On Wed, Aug 26, 2020 at 9:17 PM Dr. David Alan Gilbert > wrote: > > > Agreed, because there's not much that the server can do about it if the > > client would like a smaller granularity - the servers granularity might > > be

Re: [PATCH v3 2/2] dynamic debug: allow printing to trace event

2020-08-26 Thread Joe Perches
On Wed, 2020-08-26 at 15:32 -0400, Steven Rostedt wrote: > On Tue, 25 Aug 2020 08:53:25 -0700 > Joe Perches wrote: > > > > The print buffer is statically allocated and managed using code borrowed > > > from __ftrace_trace_stack() and is limited to 256 bytes (four of these > > > are allocated per

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Andreas Dilger
On Aug 26, 2020, at 1:43 PM, Kees Cook wrote: > > On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: >> The enumeration allows us to keep track of the last >> io_uring_register(2) opcode available. >> >> Behaviour and opcodes names don't change. >> >> Signed-off-by: Stefano

Re: [PATCH bpf-next v3 0/4] bpf: verifier: use target program's type for access verifications

2020-08-26 Thread Alexei Starovoitov
On Tue, Aug 25, 2020 at 04:19:59PM -0700, Udip Pant wrote: > This patch series adds changes in verifier to make decisions such as granting > of read / write access or enforcement of return code status based on > the program type of the target program while using dynamic program > extension (of

Re: [patch V2 04/46] genirq/chip: Use the first chip in irq_chip_compose_msi_msg()

2020-08-26 Thread Marc Zyngier
On Wed, 26 Aug 2020 12:16:32 +0100, Thomas Gleixner wrote: > > The documentation of irq_chip_compose_msi_msg() claims that with > hierarchical irq domains the first chip in the hierarchy which has an > irq_compose_msi_msg() callback is chosen. But the code just keeps > iterating after it finds a

Re: [PATCH v4 3/3] io_uring: allow disabling rings during the creation

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:54PM +0200, Stefano Garzarella wrote: > This patch adds a new IORING_SETUP_R_DISABLED flag to start the > rings disabled, allowing the user to register restrictions, > buffers, files, before to start processing SQEs. > > When IORING_SETUP_R_DISABLED is set, SQE are

Re: [patch V2 29/46] irqdomain/msi: Allow to override msi_domain_alloc/free_irqs()

2020-08-26 Thread Thomas Gleixner
On Wed, Aug 26 2020 at 20:06, Marc Zyngier wrote: > On Wed, 26 Aug 2020 12:16:57 +0100, > Thomas Gleixner wrote: >> /** >> - * msi_domain_free_irqs - Free interrupts from a MSI interrupt @domain >> associated tp @dev >> - * @domain: The domain to managing the interrupts >> + *

Re: [PATCH 1/4] drm-printk: POC caller of dynamic-debug-exec-queries

2020-08-26 Thread kernel test robot
Hi Jim, I love your patch! Yet something to improve: [auto build test ERROR on drm-intel/for-linux-next] [also build test ERROR on linux/master tegra-drm/drm/tegra/for-next drm-tip/drm-tip linus/master v5.9-rc2 next-20200826] [cannot apply to drm/drm-next] [If your patch is applied to the wrong

Re: [PATCH v4 2/3] io_uring: add IOURING_REGISTER_RESTRICTIONS opcode

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:53PM +0200, Stefano Garzarella wrote: > +/* > + * io_uring_restriction->opcode values > + */ > +enum { > + /* Allow an io_uring_register(2) opcode */ > + IORING_RESTRICTION_REGISTER_OP, > + > + /* Allow an sqe opcode */ > + IORING_RESTRICTION_SQE_OP, >

Re: [PATCH v11 25/25] x86/cet/shstk: Add arch_prctl functions for shadow stack

2020-08-26 Thread H.J. Lu
On Wed, Aug 26, 2020 at 11:49 AM Yu, Yu-cheng wrote: > > On 8/26/2020 10:04 AM, Andy Lutomirski wrote: > > On Wed, Aug 26, 2020 at 9:52 AM Florian Weimer wrote: > >> > >> * Dave Martin: > >> > >>> On Tue, Aug 25, 2020 at 04:34:27PM -0700, Yu, Yu-cheng wrote: > On 8/25/2020 4:20 PM, Dave

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > The enumeration allows us to keep track of the last > io_uring_register(2) opcode available. > > Behaviour and opcodes names don't change. > > Signed-off-by: Stefano Garzarella > --- > include/uapi/linux/io_uring.h | 27

Re: [net-next v5 1/2] seg6: inherit DSCP of inner IPv4 packets

2020-08-26 Thread David Ahern
On 8/26/20 6:12 AM, Ahmed Abdelsalam wrote: > > On 26/08/2020 02:45, David Ahern wrote: >> On 8/25/20 5:45 PM, Ahmed Abdelsalam wrote: >>> >>> Hi David >>> >>> The seg6 encap is implemented through the seg6_lwt rather than >>> seg6_local_lwt. >> >> ok. I don't know the seg6 code; just taking a

Re: [PATCH v4 0/3] io_uring: add restrictions to support untrusted applications and guests

2020-08-26 Thread Kees Cook
On Wed, Aug 26, 2020 at 10:47:36AM -0600, Jens Axboe wrote: > On 8/25/20 9:20 AM, Stefano Garzarella wrote: > > Hi Jens, > > this is a gentle ping. > > > > I'll respin, using memdup_user() for restriction registration. > > I'd like to get some feedback to see if I should change anything else. > >

Re: [PATCH v4 1/3] io_uring: use an enumeration for io_uring_register(2) opcodes

2020-08-26 Thread Kees Cook
On Thu, Aug 13, 2020 at 05:32:52PM +0200, Stefano Garzarella wrote: > The enumeration allows us to keep track of the last > io_uring_register(2) opcode available. > > Behaviour and opcodes names don't change. > > Signed-off-by: Stefano Garzarella Reviewed-by: Kees Cook -- Kees Cook

Re: [PATCH 02/24] Input: gpio_keys - Simplify with dev_err_probe()

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 10:23 PM Krzysztof Kozlowski wrote: > On Wed, Aug 26, 2020 at 10:13:34PM +0300, Andy Shevchenko wrote: > > On Wed, Aug 26, 2020 at 08:16:44PM +0200, Krzysztof Kozlowski wrote: > > > Common pattern of handling deferred probe can be simplified with > > > dev_err_probe().

Re: linux-next: Tree for Aug 26

2020-08-26 Thread Paul E. McKenney
t; [] __schedule+0xf8/0x7e0 > [ 8561.971418][C0] softirqs last enabled at (3698): > [] __do_softirq+0x524/0x5f8 > [ 8561.982191][C0] softirqs last disabled at (3689): > [] __irq_exit_rcu+0x128/0x1a0 > [ 8561.993068][C0] CPU: 0 PID: 14 Comm: migration/0 Tainted: G >W

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Andy Shevchenko
On Wed, Aug 26, 2020 at 10:34 PM Andy Shevchenko wrote: > On Sat, Aug 22, 2020 at 9:37 PM Vladimir Oltean wrote: > > On Fri, Aug 21, 2020 at 06:40:29PM +0530, kuldip dwivedi wrote: > > > Just noticed this now. > > So for device tree, spi-fsl-dspi supports the following compatibles: > > > >

Re: [PATCH] spi: spi-fsl-dspi: Add ACPI support

2020-08-26 Thread Andy Shevchenko
On Sat, Aug 22, 2020 at 9:37 PM Vladimir Oltean wrote: > On Fri, Aug 21, 2020 at 06:40:29PM +0530, kuldip dwivedi wrote: > Just noticed this now. > So for device tree, spi-fsl-dspi supports the following compatibles: > > fsl,vf610-dspi > fsl,ls1021a-v1.0-dspi > fsl,ls1012a-dspi >

Re: [PATCH v3 2/2] dynamic debug: allow printing to trace event

2020-08-26 Thread Steven Rostedt
On Tue, 25 Aug 2020 08:53:25 -0700 Joe Perches wrote: > > The print buffer is statically allocated and managed using code borrowed > > from __ftrace_trace_stack() and is limited to 256 bytes (four of these > > are allocated per CPU to handle the various contexts); anything larger > > will be

Re: (EXT) Re: [PATCH] of: skip disabled CPU nodes

2020-08-26 Thread Rob Herring
On Wed, Aug 26, 2020 at 8:47 AM Frank Rowand wrote: > > Hi Rob, > > On 2020-08-26 08:54, Matthias Schiffer wrote: > > On Wed, 2020-08-26 at 08:01 -0500, Frank Rowand wrote: > >> On 2020-08-26 07:02, Matthias Schiffer wrote: > >>> Allow disabling CPU nodes using status = "disabled". > >>> > >>>

Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field

2020-08-26 Thread Miklos Szeredi
On Wed, Aug 26, 2020 at 9:17 PM Dr. David Alan Gilbert wrote: > Agreed, because there's not much that the server can do about it if the > client would like a smaller granularity - the servers granularity might > be dictated by it's mmap/pagesize/filesystem. If the client wants a > larger

Re: [PATCH 02/24] Input: gpio_keys - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 10:13:34PM +0300, Andy Shevchenko wrote: > On Wed, Aug 26, 2020 at 08:16:44PM +0200, Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > > dev_err_probe(). Less code and also it prints the error value. > > > ---

Re: [PATCH] iio: dpot-dac: fix code comment in dpot_dac_read_raw()

2020-08-26 Thread Gustavo A. R. Silva
On Wed, Aug 26, 2020 at 04:16:23PM +0200, Peter Rosin wrote: > On 2020-08-26 16:17, Gustavo A. R. Silva wrote: > >> And just to be explicit, this fix is for 5.9. > >> > >> Acked-by: Peter Rosin > >> > > > > If you don't mind I can add this to my tree for 5.9-rc4 > > and send it directly to

Re: [PATCH v2] dt-bindings: spi: Convert spi-mtk-nor to json-schema

2020-08-26 Thread Mark Brown
On Wed, 26 Aug 2020 16:54:50 +0800, Ikjoon Jang wrote: > Convert Mediatek ARM SOC's serial NOR flash controller binding > to json-schema format. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] dt-bindings: spi: Convert spi-mtk-nor to

Re: [PATCH] ASoC: qcom: common: Fix refcount imbalance on error

2020-08-26 Thread Mark Brown
On Thu, 20 Aug 2020 12:28:27 +0800, Dinghao Liu wrote: > for_each_child_of_node returns a node pointer np with > refcount incremented. So when devm_kzalloc fails, a > pairing refcount decrement is needed to keep np's > refcount balanced. Applied to

Re: [PATCH v3 11/18] fuse: implement FUSE_INIT map_alignment field

2020-08-26 Thread Dr. David Alan Gilbert
* Stefan Hajnoczi (stefa...@redhat.com) wrote: > On Wed, Aug 26, 2020 at 11:51:42AM -0400, Vivek Goyal wrote: > > On Wed, Aug 26, 2020 at 04:06:35PM +0200, Miklos Szeredi wrote: > > > On Thu, Aug 20, 2020 at 12:21 AM Vivek Goyal wrote: > > > > > > > > The device communicates

Re: [PATCH v2 0/5] ASoC: Fix return check for devm_regmap_init_sdw()

2020-08-26 Thread Mark Brown
On Wed, 26 Aug 2020 22:03:35 +0530, Vinod Koul wrote: > This series attempts to fix return check for devm_regmap_init_sdw() > > Changes in v2: > - Add missing patch for rt711 > - Add patch for rt700 > > Vinod Koul (5): > ASoC: max98373: Fix return check for devm_regmap_init_sdw() > ASoC:

Re: [PATCH 01/24] Input: bcm-keypad - Simplify with dev_err_probe()

2020-08-26 Thread Krzysztof Kozlowski
On Wed, Aug 26, 2020 at 10:12:17PM +0300, Andy Shevchenko wrote: > On Wed, Aug 26, 2020 at 08:16:43PM +0200, Krzysztof Kozlowski wrote: > > Common pattern of handling deferred probe can be simplified with > > dev_err_probe(). Less code and also it prints the error value. > > > +++

Re: [PATCH v4 0/2] add regmap-spi-avmm & Intel Max10 BMC chip support

2020-08-26 Thread Mark Brown
On Wed, 19 Aug 2020 15:34:55 +0800, Xu Yilun wrote: > This patchset adds the regmap-spi-avmm to support the Intel SPI Slave to > AVMM Bus Bridge (spi-avmm) IP block. It also implements the usercase - the > driver of Intel Max10 BMC chip which integrates this IP block. > > Patch #1 implements the

[PATCH v5 12/12] KVM:SVM: Enable INVPCID feature on AMD

2020-08-26 Thread Babu Moger
The following intercept bit has been added to support VMEXIT for INVPCID instruction: CodeNameCause A2h VMEXIT_INVPCID INVPCID instruction The following bit has been added to the VMCB layout control area to control intercept of INVPCID: Byte Offset Bit(s)Function 14h

Re: TDX #VE in SYSCALL gap (was: [RFD] x86: Curing the exception and syscall trainwreck in hardware)

2020-08-26 Thread Sean Christopherson
On Tue, Aug 25, 2020 at 10:28:53AM -0700, Andy Lutomirski wrote: > On Tue, Aug 25, 2020 at 10:19 AM Sean Christopherson > wrote: > > One thought would be to have the TDX module (thing that runs in SEAM and > > sits between the VMM and the guest) provide a TDCALL (hypercall from guest > > to TDX

[PATCH v5 11/12] KVM: X86: Move handling of INVPCID types to x86

2020-08-26 Thread Babu Moger
INVPCID instruction handling is mostly same across both VMX and SVM. So, move the code to common x86.c. Signed-off-by: Babu Moger Reviewed-by: Jim Mattson --- arch/x86/kvm/vmx/vmx.c | 68 +- arch/x86/kvm/x86.c | 78

[PATCH v5 09/12] KVM: SVM: Remove set_exception_intercept and clr_exception_intercept

2020-08-26 Thread Babu Moger
Remove set_exception_intercept and clr_exception_intercept. Replace with generic set_intercept and clr_intercept for these calls. Signed-off-by: Babu Moger Reviewed-by: Jim Mattson --- arch/x86/kvm/svm/svm.c | 20 ++-- arch/x86/kvm/svm/svm.h | 18 -- 2 files

[PATCH v5 04/12] KVM: SVM: Modify intercept_exceptions to generic intercepts

2020-08-26 Thread Babu Moger
Modify intercept_exceptions to generic intercepts in vmcb_control_area. Use the generic vmcb_set_intercept, vmcb_clr_intercept and vmcb_is_intercept to set/clear/test the intercept_exceptions bits. Signed-off-by: Babu Moger Reviewed-by: Jim Mattson --- arch/x86/include/asm/svm.h | 22

[PATCH v5 10/12] KVM: X86: Rename and move the function vmx_handle_memory_failure to x86.c

2020-08-26 Thread Babu Moger
Handling of kvm_read/write_guest_virt*() errors can be moved to common code. The same code can be used by both VMX and SVM. Signed-off-by: Babu Moger --- arch/x86/kvm/vmx/nested.c | 12 ++-- arch/x86/kvm/vmx/vmx.c| 29 + arch/x86/kvm/vmx/vmx.h|

[PATCH v2] Documentation: add minimum clang/llvm version

2020-08-26 Thread Nick Desaulniers
Based on a vote at the LLVM BoF at Plumbers 2020, we decided to start small, supporting just one formal upstream release of LLVM for now. We can probably widen the support window of supported versions over time. Also, note that LLVM's release process is different than GCC's. GCC tends to have 1

[PATCH v5 08/12] KVM: SVM: Remove set_cr_intercept, clr_cr_intercept and is_cr_intercept

2020-08-26 Thread Babu Moger
Remove set_cr_intercept, clr_cr_intercept and is_cr_intercept. Instead call generic svm_set_intercept, svm_clr_intercept an dsvm_is_intercep tfor all cr intercepts. Signed-off-by: Babu Moger Reviewed-by: Jim Mattson --- arch/x86/kvm/svm/svm.c | 34 +-

[PATCH v5 07/12] KVM: nSVM: Cleanup nested_state data structure

2020-08-26 Thread Babu Moger
host_intercept_exceptions is not used anywhere. Clean it up. Signed-off-by: Babu Moger Reviewed-by: Jim Mattson --- arch/x86/kvm/svm/nested.c |2 -- arch/x86/kvm/svm/svm.h|1 - 2 files changed, 3 deletions(-) diff --git a/arch/x86/kvm/svm/nested.c b/arch/x86/kvm/svm/nested.c index

[PATCH v5 06/12] KVM: SVM: Add new intercept vector in vmcb_control_area

2020-08-26 Thread Babu Moger
The new intercept bits have been added in vmcb control area to support few more interceptions. Here are the some of them. - INTERCEPT_INVLPGB, - INTERCEPT_INVLPGB_ILLEGAL, - INTERCEPT_INVPCID, - INTERCEPT_MCOMMIT, - INTERCEPT_TLBSYNC, Add new intercept vector in vmcb_control_area to support

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