[PATCH 0/3] KT091 FM/AM driver

2020-07-16 Thread Santiago Hormazabal
media: adds support for kt0913 FM/AM tuner chip Adds a driver for the KT0913 FM/AM tuner chip from KT Micro. This chip is found on many low cost FM/AM radios and DVD/Home Theaters. The chip provides two ways of usage, a manual mode (requiring only a few buttons) or complete control via I2C. This

Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"

2020-07-16 Thread Karol Herbst
On Fri, Jul 17, 2020 at 1:54 AM Bjorn Helgaas wrote: > > [+cc Sasha -- stable kernel regression] > [+cc Patrick, Kai-Heng, LKML] > > On Fri, Jul 17, 2020 at 12:10:39AM +0200, Karol Herbst wrote: > > On Tue, Jul 7, 2020 at 9:30 PM Karol Herbst wrote: > > > > > > Hi everybody, > > > > > > with the

Re: [PATCH net 2/3] net: bcmgenet: test RBUF_ACPI_EN when resuming

2020-07-16 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > When the GENET driver resumes from deep sleep the UMAC_CMD > register may not be accessible and therefore should not be > accessed from bcmgenet_wol_power_up_cfg() if the GENET has > been reset. > > This commit adds a check of the RBUF_ACPI_EN flag

Re: [PATCH net 1/3] net: bcmgenet: test MPD_EN when resuming

2020-07-16 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > When the GENET driver resumes from deep sleep the UMAC_CMD > register may not be accessible and therefore should not be > accessed from bcmgenet_wol_power_up_cfg() if the GENET has > been reset. > > This commit adds a check of the MPD_EN flag when

Re: [LKP] Re: db57e98d87 ("mm/sparse.c: fix ALIGN() without power of 2 in .."): BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code

2020-07-16 Thread Philip Li
On Thu, Jul 16, 2020 at 03:06:13PM -0700, Andrew Morton wrote: > On Thu, 16 Jul 2020 16:32:00 +0800 kernel test robot wrote: > > > Greetings, > > > > 0day kernel testing robot got the below dmesg and the first bad commit is > > > >

Re: [PATCH v5 08/13] gpio: add support for the sl28cpld GPIO controller

2020-07-16 Thread kernel test robot
Hi Michael, I love your patch! Perhaps something to improve: [auto build test WARNING on ljones-mfd/for-mfd-next] [also build test WARNING on shawnguo/for-next v5.8-rc5] [cannot apply to gpio/for-next hwmon/hwmon-next next-20200716] [If your patch is applied to the wrong git tree, kindly drop us

Re: [PATCH -next v2] usb: usbtest: reduce stack usage in test_queue

2020-07-16 Thread Bixuan Cui
On 2020/7/16 22:26, Greg KH wrote: >> Reported-by: kbuild test robot >> Signed-off-by: Bixuan Cui >> --- >> drivers/usb/misc/usbtest.c | 10 +- >> 1 file changed, 9 insertions(+), 1 deletion(-) > What changed from v1? Always put that below the --- line. > > Please fix up and resend

[PATCH -next v2] usb: usbtest: reduce stack usage in test_queue

2020-07-16 Thread Bixuan Cui
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/usb/misc/usbtest.c: In function 'test_queue': drivers/usb/misc/usbtest.c:2148:1: warning: the frame size of 1232 bytes is larger than 1024 bytes Reported-by: kbuild test robot Acked-by: Alan Stern Signed-off-by: Bixuan Cui --- v2: Change

Re: [PATCH -next v2] usb: usbtest: reduce stack usage in test_queue

2020-07-16 Thread Bixuan Cui
Fix the warning: [-Werror=-Wframe-larger-than=] drivers/usb/misc/usbtest.c: In function 'test_queue': drivers/usb/misc/usbtest.c:2148:1: warning: the frame size of 1232 bytes is larger than 1024 bytes Reported-by: kbuild test robot Acked-by: Alan Stern Signed-off-by: Bixuan Cui --- v2: Change

Re: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-07-16 Thread Francisco Jerez
"Rafael J. Wysocki" writes: > On Wed, Jul 15, 2020 at 11:35 PM Francisco Jerez > wrote: >> >> "Rafael J. Wysocki" writes: >> >> > On Wed, Jul 15, 2020 at 2:09 AM Francisco Jerez >> > wrote: >> >> >> >> "Rafael J. Wysocki" writes: >> >> >> >> > From: Rafael J. Wysocki >> >> > >> >> > Allow

Re: [PATCH v4 1/2] kernel: Implement selective syscall userspace redirection

2020-07-16 Thread Andy Lutomirski
On Thu, Jul 16, 2020 at 12:31 PM Gabriel Krisman Bertazi wrote: > This is quite nice. I have a few comments, though: You mentioned rt_sigreturn(). Should this automatically exempt the kernel-provided signal restorer on architectures (e.g. x86_32) that provide one? The amount of syscall entry

Re: [PATCH 2/2] kvm: mmu: page_track: Fix RCU list API usage

2020-07-16 Thread Dexuan-Linux Cui
st u8 *new, > > > return; > > > > > > idx = srcu_read_lock(>track_srcu); > > > - hlist_for_each_entry_rcu(n, >track_notifier_list, node) > > > + hlist_for_each_entry_srcu(n, >track_notifier_list, node, > > > +

[PATCH v2 5/5] iommu/arm-smmu: Setup identity domain for boot mappings

2020-07-16 Thread Bjorn Andersson
With many Qualcomm platforms not having functional S2CR BYPASS a temporary IOMMU domain, without translation, needs to be allocated in order to allow these memory transactions. Unfortunately the boot loader uses the first few context banks, so rather than overwriting a active bank the last

[PATCH v2 2/5] iommu/arm-smmu: Emulate bypass by using context banks

2020-07-16 Thread Bjorn Andersson
Some firmware found on various Qualcomm platforms traps writes to S2CR of type BYPASS and writes FAULT into the register. This prevents us from marking the streams for the display controller as BYPASS to allow continued scanout of the screen through the initialization of the ARM SMMU. This adds a

[PATCH v2 4/5] iommu/arm-smmu-qcom: Consistently initialize stream mappings

2020-07-16 Thread Bjorn Andersson
Firmware that traps writes to S2CR to translate BYPASS into FAULT also ignores writes of type FAULT. As such booting with "disable_bypass" set will result in all S2CR registers left as configured by the bootloader. This has been seen to result in indeterministic results, as these mappings might

[PATCH v2 3/5] iommu/arm-smmu: Move SMR and S2CR definitions to header file

2020-07-16 Thread Bjorn Andersson
Expose the SMR and S2CR structs in the header file, to allow platform specific implementations to populate/initialize the smrs and s2cr arrays. Tested-by: John Stultz Tested-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Picked up tested-by drivers/iommu/arm-smmu.c |

[PATCH v2 0/5] iommu/arm-smmu: Support maintaining bootloader mappings

2020-07-16 Thread Bjorn Andersson
Based on previous attempts and discussions this is the latest attempt at inheriting stream mappings set up by the bootloader, for e.g. boot splash or efifb. The first patch is an implementation of Robin's suggestion that we should just mark the relevant stream mappings as BYPASS. Relying on

[PATCH v2 1/5] iommu/arm-smmu: Make all valid stream mappings BYPASS

2020-07-16 Thread Bjorn Andersson
Turn all stream mappings marked as valid into BYPASS. This allows the platform specific implementation to configure stream mappings to match the boot loader's configuration for e.g. display to continue to function through the reset of the SMMU. Tested-by: John Stultz Tested-by: Vinod Koul

Re: [RFC PATCH v3 16/18] gpu: host1x: mipi: Split tegra_mipi_calibrate and tegra_mipi_wait

2020-07-16 Thread Sowjanya Komatineni
On 7/16/20 4:47 PM, Dmitry Osipenko wrote: 17.07.2020 02:09, Sowjanya Komatineni пишет: On 7/16/20 4:06 PM, Sowjanya Komatineni wrote: On 7/16/20 4:01 PM, Dmitry Osipenko wrote: 17.07.2020 01:49, Sowjanya Komatineni пишет: What keeps MIPI clock enabled after completion of the

Re: [RFC PATCH 4/7] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-07-16 Thread Nicholas Piggin
Excerpts from Mathieu Desnoyers's message of July 17, 2020 4:58 am: > - On Jul 16, 2020, at 12:03 PM, Mathieu Desnoyers > mathieu.desnoy...@efficios.com wrote: > >> - On Jul 16, 2020, at 11:46 AM, Mathieu Desnoyers >> mathieu.desnoy...@efficios.com wrote: >> >>> - On Jul 16, 2020,

Re: [PATCH] spi: atmel-quadspi: Use optimezed memcpy_fromio()/memcpy_toio()

2020-07-16 Thread Mark Brown
On Thu, 16 Jul 2020 07:31:39 +0300, Tudor Ambarus wrote: > Optimezed mem*io operations are defined for LE platforms, use them. > > The ARM and !ARCH_EBSA110 dependencies for COMPILE_TEST were added > only for the _memcpy_fromio()/_memcpy_toio() functions. Drop these > dependencies. > > Tested

Re: [PATCH] spi: fix duplicated word in

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 18:30:48 -0700, Randy Dunlap wrote: > Change doubled word "as" to "as a". > > Change "Return: Return:" in kernel-doc notation to have only one > "Return:". Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: fix

Re: [PATCH] regulator: Correct kernel-doc inconsistency

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 19:15:00 +, Colton Lewis wrote: > Silence documentation build warning by correcting kernel-doc comments. > > ./include/linux/regulator/machine.h:196: warning: Function parameter or > member 'max_uV_step' not described in 'regulation_constraints' >

Re: [PATCH trivial] spi: Fix SPI NOR and SPI NAND acronyms

2020-07-16 Thread Mark Brown
On Thu, 16 Jul 2020 08:11:44 +0300, Tudor Ambarus wrote: > The industry refers to these flash types as "SPI NOR" and > "SPI NAND". Be consistent and use the same acronyms. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: Fix SPI NOR and

Re: [PATCH v2 1/2] spi: omap-uwire: Use clk_prepare_enable and clk_disable_unprepare

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 13:26:46 +0800, Qing Zhang wrote: > Convert clk_enable() to clk_prepare_enable() and clk_disable() to > clk_disable_unprepare() respectively in the spi-omap-uwire.c. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi:

Re: [PATCH v2] ASoC: soc-component: Add missed return for calling soc_component_ret

2020-07-16 Thread Mark Brown
On Thu, 16 Jul 2020 13:07:08 +0800, Shengjiu Wang wrote: > Add missed return for calling soc_component_ret, otherwise the return > value is wrong. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: soc-component: Add missed return for

Re: [PATCH 1/1] ASoC: fsl: fsl-asoc-card: Trivial: Fix misspelling of 'exists'

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 10:44:47 +0100, Lee Jones wrote: > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: fsl: fsl-asoc-card: Trivial: Fix misspelling of 'exists' commit: 1b58214113481616b74ee4d196e5b1cb683758ee All being well

Re: [PATCH] regmap: fix duplicated word in

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 18:30:12 -0700, Randy Dunlap wrote: > Change doubled word "be" to "to be". Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap: fix duplicated word in commit: 6611561a7a7ef925294353a4c2124bdb66eb831c All

Re: [PATCH] regmap: debugfs: Don't sleep while atomic for fast_io regmaps

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 16:46:15 -0700, Douglas Anderson wrote: > If a regmap has "fast_io" set then its lock function uses a spinlock. > That doesn't work so well with the functions: > * regmap_cache_only_write_file() > * regmap_cache_bypass_write_file() > > Both of the above functions have the

Re: [PATCH v2 0/3] ASoC: fsl-asoc-card: Support hp and mic detection

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 22:09:36 +0800, Shengjiu Wang wrote: > Support hp and mic detection. > Add a parameter for asoc_simple_init_jack. > > Shengjiu Wang (3): > ASoC: simple-card-utils: Support configure pin_name for > asoc_simple_init_jack > ASoC: bindings: fsl-asoc-card: Support

Re: [PATCH] ASoC: Intel: bytcht_es8316: Add missed put_device()

2020-07-16 Thread Mark Brown
On Tue, 14 Jul 2020 16:09:18 +0800, Jing Xiangfeng wrote: > snd_byt_cht_es8316_mc_probe() misses to call put_device() in an error > path. Add the missed function call to fix it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: Intel:

Re: [net-next PATCH v2 0/9] Add PRP driver and bug fixes

2020-07-16 Thread Jakub Kicinski
Hi Murali, thanks for the patches. It seems like at least the first patch addresses a problem which exist in Linus's tree, i.e. Linux 5.8-rc. Could you please separate bug fixes like that out to a new series addressed to the net tree, and add appropriate Fixes tags?

Re: [PATCH v2 1/1] ASoC: fsl: fsl-asoc-card: Trivial: Fix misspelling of 'exists'

2020-07-16 Thread Mark Brown
On Wed, 15 Jul 2020 16:00:09 +0100, Lee Jones wrote: > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: fsl: fsl-asoc-card: Trivial: Fix misspelling of 'exists' commit: 1b58214113481616b74ee4d196e5b1cb683758ee All being well

Re: nouveau regression with 5.7 caused by "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"

2020-07-16 Thread Bjorn Helgaas
[+cc Sasha -- stable kernel regression] [+cc Patrick, Kai-Heng, LKML] On Fri, Jul 17, 2020 at 12:10:39AM +0200, Karol Herbst wrote: > On Tue, Jul 7, 2020 at 9:30 PM Karol Herbst wrote: > > > > Hi everybody, > > > > with the mentioned commit Nouveau isn't able to load firmware onto the > > GPU on

Re: [PATCH v2] binder: Don't use mmput() from shrinker function.

2020-07-16 Thread Todd Kjos
On Thu, Jul 16, 2020 at 8:18 AM Michal Hocko wrote: > > On Fri 17-07-20 00:12:15, Tetsuo Handa wrote: > > syzbot is reporting that mmput() from shrinker function has a risk of > > deadlock [1], for delayed_uprobe_add() from update_ref_ctr() calls > > kzalloc(GFP_KERNEL) with delayed_uprobe_lock

Re: [PATCH] mm: thp: Replace HTTP links with HTTPS ones

2020-07-16 Thread Andrew Morton
On Tue, 14 Jul 2020 11:41:37 +0200 Vlastimil Babka wrote: > > --- a/mm/huge_memory.c > > +++ b/mm/huge_memory.c > > @@ -2069,7 +2069,7 @@ static void __split_huge_pmd_locked(struct > > vm_area_struct *vma, pmd_t *pmd, > > * free), userland could trigger a small page size TLB miss on the >

[PATCH v3 bpf-next 1/2] bpf: separate bpf_get_[stack|stackid] for perf events BPF

2020-07-16 Thread Song Liu
Calling get_perf_callchain() on perf_events from PEBS entries may cause unwinder errors. To fix this issue, the callchain is fetched early. Such perf_events are marked with __PERF_SAMPLE_CALLCHAIN_EARLY. Similarly, calling bpf_get_[stack|stackid] on perf_events from PEBS may also cause unwinder

Re: clean up address limit helpers v2

2020-07-16 Thread Andrew Morton
On Tue, 14 Jul 2020 12:54:59 +0200 Christoph Hellwig wrote: > Hi all, > > in preparation for eventually phasing out direct use of set_fs(), this > series removes the segment_eq() arch helper that is only used to > implement or duplicate the uaccess_kernel() API, and then adds > descriptive

Re: [RFC PATCH v3 16/18] gpu: host1x: mipi: Split tegra_mipi_calibrate and tegra_mipi_wait

2020-07-16 Thread Dmitry Osipenko
17.07.2020 02:09, Sowjanya Komatineni пишет: > > On 7/16/20 4:06 PM, Sowjanya Komatineni wrote: >> >> On 7/16/20 4:01 PM, Dmitry Osipenko wrote: >>> 17.07.2020 01:49, Sowjanya Komatineni пишет: > What keeps MIPI clock enabled after completion of the > tegra_mipi_calibrate() invocation?

Re: [PATCH] ASoC: soc-jack: calling snd_soc_jack_report causes a null pointer access

2020-07-16 Thread Mark Brown
On Wed, Jul 15, 2020 at 08:24:04AM +0800, mnlife qiao wrote: > When snd_soc_card_jack_new is not called or the call fails, > calling this function causes a null pointer access > --- a/sound/soc/soc-jack.c > +++ b/sound/soc/soc-jack.c > @@ -44,7 +44,7 @@ void snd_soc_jack_report(struct

Re: [PATCH v2 1/4] dt-bindings: media: venus: Add an optional power domain for perf voting

2020-07-16 Thread Bjorn Andersson
On Wed 15 Jul 22:42 PDT 2020, Rajendra Nayak wrote: > Add an optional power domain which when specified can be used for > setting the performance state of Venus. > > Signed-off-by: Rajendra Nayak > --- > This is a resend of https://lore.kernel.org/patchwork/patch/1241077/ > >

[PATCH v2] drivers/net/wan/x25_asy: Fix to make it work

2020-07-16 Thread Xie He
This driver is not working because of problems of its receiving code. This patch fixes it to make it work. When the driver receives an LAPB frame, it should first pass the frame to the LAPB module to process. After processing, the LAPB module passes the data (the packet) back to the driver, the

RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as module

2020-07-16 Thread Anson Huang
Hi, Daniel > Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as > module > > On 7/16/20 6:21 PM, Anson Huang wrote: > > Hi, Daniel > > > > > >> Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl > >> driver as module > >> > >> Hi Anson, > >> > >> Few

Re: [PATCH] arm64: dts: qcom: sc7180: Move the fixed-perm property to SoC dtsi

2020-07-16 Thread Bjorn Andersson
On Thu 16 Jul 12:17 PDT 2020, Sibi Sankar wrote: > All the platforms using SC7180 SoC are expected to have the wlan firmware > memory statically mapped by the Trusted Firmware. Hence move back the > qcom,msa-fixed-perm property to the SoC dtsi. > > Fixes: 7d484566087c0 ("arm64: dts: qcom:

[RFT PATCH v3 9/9] RISC-V: Add page table dump support for uefi

2020-07-16 Thread Atish Patra
Extend the current page table dump support in RISC-V to include efi pages as well. Here is the output of efi runtime page table mappings. ---[ UEFI runtime start ]--- 0x20002000-0x20003000 0xbe732000 4K PTE D A . . . W R V 0x20018000-0x20019000

[RFT PATCH v3 3/9] RISC-V: Implement late mapping page table allocation functions

2020-07-16 Thread Atish Patra
Currently, page table setup is done during setup_va_final where fixmap can be used to create the temporary mappings. The physical frame is allocated from memblock_alloc_* functions. However, this won't work if page table mapping needs to be created for a different mm context (i.e. efi mm) at a

[RFT PATCH v3 5/9] RISC-V: Add PE/COFF header for EFI stub

2020-07-16 Thread Atish Patra
Linux kernel Image can appear as an EFI application With appropriate PE/COFF header fields in the beginning of the Image header. An EFI application loader can directly load a Linux kernel Image and an EFI stub residing in kernel can boot Linux kernel directly. Add the necessary PE/COFF header.

[RFT PATCH v3 0/9] Add UEFI support for RISC-V

2020-07-16 Thread Atish Patra
This series adds UEFI support for RISC-V. Linux kernel: 5.8-rc5 + "mm & exception handing fixes" series U-Boot: master OpenSBI: master This series depends on earlier mm fixes series http://lists.infradead.org/pipermail/linux-riscv/2020-July/001208.html Patch 1-3 are generic riscv feature

[RFT PATCH v3 7/9] efi: Rename arm-init to efi-init common for all arch

2020-07-16 Thread Atish Patra
arm-init is responsible for setting up efi runtime and doesn't actually do any ARM specific stuff. RISC-V can use the same source code as it is. Rename it to efi-init so that RISC-V can use it. Signed-off-by: Atish Patra --- drivers/firmware/efi/Makefile | 2 +-

[RFT PATCH v3 2/9] RISC-V: Add early ioremap support

2020-07-16 Thread Atish Patra
UEFI uses early IO or memory mappings for runtime services before normal ioremap() is usable. Add the necessary fixmap bindings and pmd mappings for generic ioremap support to work. Signed-off-by: Atish Patra --- arch/riscv/Kconfig | 1 + arch/riscv/include/asm/Kbuild | 1 +

[RFT PATCH v3 4/9] include: pe.h: Add RISC-V related PE definition

2020-07-16 Thread Atish Patra
Define RISC-V related machine types. Signed-off-by: Atish Patra Reviewed-by: Palmer Dabbelt Link: https://lore.kernel.org/r/20200415195422.19866-3-atish.pa...@wdc.com Signed-off-by: Ard Biesheuvel --- include/linux/pe.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/pe.h

[RFT PATCH v3 8/9] RISC-V: Add EFI runtime services

2020-07-16 Thread Atish Patra
This patch adds EFI runtime service support for RISC-V. Signed-off-by: Atish Patra --- arch/riscv/Kconfig | 2 + arch/riscv/include/asm/efi.h| 20 arch/riscv/include/asm/mmu.h| 2 + arch/riscv/include/asm/pgtable.h| 4 +

[RFT PATCH v3 6/9] RISC-V: Add EFI stub support.

2020-07-16 Thread Atish Patra
Add a RISC-V architecture specific stub code that actually copies the actual kernel image to a valid address and jump to it after boot services are terminated. Enable UEFI related kernel configs as well for RISC-V. Signed-off-by: Atish Patra Link:

[RFT PATCH v3 1/9] RISC-V: Move DT mapping outof fixmap

2020-07-16 Thread Atish Patra
From: Anup Patel Currently, RISC-V reserves 1MB of fixmap memory for device tree. However, it maps only single PMD (2MB) space for fixmap which leaves only < 1MB space left for other kernel features such as early ioremap which requires fixmap as well. The fixmap size can be increased by another

Re: [PATCH] mm: mmap: Merge vma after call_mmap() if possible

2020-07-16 Thread Andrew Morton
On Tue, 14 Jul 2020 11:07:44 +0800 linmiaohe wrote: > From: Miaohe Lin > > The vm_flags may be changed after call_mmap() because drivers may set some > flags for their own purpose. As a result, we failed to merge the adjacent > vma due to the different vm_flags as userspace can't pass in the

[PATCH net 3/3] net: bcmgenet: restore HFB filters on resume

2020-07-16 Thread Doug Berger
The Hardware Filter Block RAM may not be preserved when the GENET block is reset during a deep sleep, so it is not sufficient to only backup and restore the enables. This commit clears out the HFB block and reprograms the rxnfc rules when the system resumes from a suspended state. To support this

Re: [PATCH] drm: panel: simple: Delay HPD checking on boe_nv133fhm_n61 for 15 ms

2020-07-16 Thread Bjorn Andersson
On Thu 16 Jul 13:21 PDT 2020, Douglas Anderson wrote: > On boe_nv133fhm_n62 (and presumably on boe_nv133fhm_n61) a scope shows > a small spike on the HPD line right when you power the panel on. The > picture looks something like this: > > +-- >

[PATCH net 2/3] net: bcmgenet: test RBUF_ACPI_EN when resuming

2020-07-16 Thread Doug Berger
When the GENET driver resumes from deep sleep the UMAC_CMD register may not be accessible and therefore should not be accessed from bcmgenet_wol_power_up_cfg() if the GENET has been reset. This commit adds a check of the RBUF_ACPI_EN flag when Wake on Filter is enabled. A clear flag indicates

[PATCH net 1/3] net: bcmgenet: test MPD_EN when resuming

2020-07-16 Thread Doug Berger
When the GENET driver resumes from deep sleep the UMAC_CMD register may not be accessible and therefore should not be accessed from bcmgenet_wol_power_up_cfg() if the GENET has been reset. This commit adds a check of the MPD_EN flag when Wake on Magic Packet is enabled. A clear flag indicates

[PATCH net 0/3] net: bcmgenet: fix WAKE_FILTER resume from deep sleep

2020-07-16 Thread Doug Berger
The WAKE_FILTER logic can only wake the system from the standby power state. However, some systems that include the GENET IP support deeper power saving states and the driver should suspend and resume correctly from those states as well. This commit set squashes a few issues uncovered while

Re: [PATCH v2 2/2] ASoC: fsl_asrc: always use internal ratio

2020-07-16 Thread Nicolin Chen
On Thu, Jul 16, 2020 at 05:13:54PM +0200, Arnaud Ferraris wrote: > Even though the current driver calculates the dividers to be used > depending on the clocks and sample rates, enabling the internal ratio > can lead to noticeable improvements in the audio quality, based on my > testing. > > As

[PATCH v3 bpf-next 0/2] bpf: fix stackmap on perf_events with PEBS

2020-07-16 Thread Song Liu
Calling get_perf_callchain() on perf_events from PEBS entries may cause unwinder errors. To fix this issue, perf subsystem fetches callchain early, and marks perf_events are marked with __PERF_SAMPLE_CALLCHAIN_EARLY. Similar issue exists when BPF program calls get_perf_callchain() via helper

Re: [RFC PATCH v3 16/18] gpu: host1x: mipi: Split tegra_mipi_calibrate and tegra_mipi_wait

2020-07-16 Thread Sowjanya Komatineni
On 7/16/20 2:18 PM, Dmitry Osipenko wrote: 17.07.2020 00:09, Sowjanya Komatineni пишет: On 7/16/20 1:38 PM, Dmitry Osipenko wrote: 15.07.2020 07:20, Sowjanya Komatineni пишет: SW can trigger MIPI pads calibration any time after power on but calibration results will be latched and applied to

Re: [PATCH v1 2/3] dt-bindings: media: imx274: Add optional xclk and supplies

2020-07-16 Thread Sowjanya Komatineni
On 7/15/20 11:50 PM, Luca Ceresoli wrote: Hi Sowjanya, On 15/07/20 06:24, Sowjanya Komatineni wrote: This patch adds IMX274 optional external clock input and voltage supplies to device tree bindings. Signed-off-by: Sowjanya Komatineni ---

[PATCH] dt-bindings: ingenic,pinctrl: Support pinmux/pinconf nodes

2020-07-16 Thread Paul Cercueil
Add YAML to describe the pinmux/pinconf sub-nodes of the pinctrl IP on Ingenic SoCs. Signed-off-by: Paul Cercueil In-Reply-To: CAL_Jsq+nHZsbOMPpXC7NWp1etgVL57Q+o=gr6bj6ijaq1pl...@mail.gmail.com --- .../bindings/pinctrl/ingenic,pinctrl.yaml | 41 ++- 1 file changed, 40

Glückwunsch !!

2020-07-16 Thread Ocean Finance®
-- Sehr geehrter Herr / Frau, Ich hoffe, Sie sind bei guter Gesundheit durch die Pandemie Coronavirus (COVID-19) Ich bin Herr Heckmann Carl von der Active Lenders Loan Company, bekannt als Ocean Finance®. Damit möchten wir Sie darüber informieren, dass wir alle Arten von Darlehen zu einem

Re: [PATCH v2 00/11] Fix PM hibernation in Xen guests

2020-07-16 Thread Anchal Agarwal
On Wed, Jul 15, 2020 at 04:49:57PM -0400, Boris Ostrovsky wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you can confirm the sender and know the > content is safe. > > > > On 7/15/20 3:49 PM, Anchal Agarwal wrote: > >

Re: [RFC PATCH 4/7] x86: use exit_lazy_tlb rather than membarrier_mm_sync_core_before_usermode

2020-07-16 Thread Nicholas Piggin
Excerpts from pet...@infradead.org's message of July 16, 2020 9:00 pm: > On Thu, Jul 16, 2020 at 08:03:36PM +1000, Nicholas Piggin wrote: >> Excerpts from Peter Zijlstra's message of July 16, 2020 6:50 pm: >> > On Wed, Jul 15, 2020 at 10:18:20PM -0700, Andy Lutomirski wrote: >> >> > On Jul 15,

Re: [PATCH 0/2] Modularization of DFL private feature drivers

2020-07-16 Thread Tom Rix
Generally i think this is a good approach. However I do have concern. The feature_id in dfl is magic number, similar to pci id but without a vendor id. Is it possible to add something like a vendor id so different vendors would not have to be so careful to use a unique id ? This touches some

Darlehensangebot

2020-07-16 Thread Jesse Peterson
Haben Sie nach Finanzierungsmöglichkeiten für Ihr Unternehmen, den Kauf eines neuen Eigenheims, den Bau, den Immobilienkredit, die Refinanzierung, die Schuldenkonsolidierung, den persönlichen oder geschäftlichen Zweck gesucht? Willkommen in der Zukunft! Finanzierung mit uns leicht gemacht.

Re: [PATCH v2 1/2] ASoC: fsl_asrc: make sure the input and output clocks are different

2020-07-16 Thread Nicolin Chen
On Thu, Jul 16, 2020 at 05:13:52PM +0200, Arnaud Ferraris wrote: > The current clock selection algorithm might select the same clock for > both input and output. This can happen when, for instance, the output > sample rate is a multiple of the input rate. What's the issue when selecting the same

WARNING: modpost: vmlinux.o(.text.unlikely+0xe24): Section mismatch in reference from the function .remove_pud_table() to the function .meminit.text:.split_kernel_mapping()

2020-07-16 Thread kernel test robot
-20200716 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> WARNING: modpost: vmlinux.o(.text.unlikely+0xe24): Section mismatch in

Re: [PATCH] Replace HTTP links with HTTPS ones: RISC-V

2020-07-16 Thread Palmer Dabbelt
On Sun, 05 Jul 2020 15:02:36 PDT (-0700), grandmas...@al2klimov.de wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain

Re: [PATCH v8 5/8] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-07-16 Thread Tulio Magno Quites Machado Filho
Christophe Leroy writes: > Michael Ellerman a écrit : > >> Christophe Leroy writes: >>> Prepare for switching VDSO to generic C implementation in following >>> patch. Here, we: >>> - Modify __get_datapage() to take an offset >>> - Prepare the helpers to call the C VDSO functions >>> - Prepare

Re: [PATCH v4 03/15] mm,madvise: call soft_offline_page() without MF_COUNT_INCREASED

2020-07-16 Thread Mike Kravetz
On 7/16/20 5:37 AM, Oscar Salvador wrote: > From: Naoya Horiguchi > > The call to get_user_pages_fast is only to get the pointer to a struct > page of a given address, pinning it is memory-poisoning handler's job, > so drop the refcount grabbed by get_user_pages_fast > > Signed-off-by: Naoya

[PATCH v3] panic: prevent panic_timeout * 1000 from overflow

2020-07-16 Thread Changming Liu
Since panic_timeout is an s32 integer passed in through sysctl, the loop boundary panic_timeout * 1000 could overflow and result in a zero-delay panic when panic_timeout is greater than INT_MAX/1000. Fix this by elevating the precision of the loop boundary via assigning the result to a u64

Re: [PATCH v2] binder: Don't use mmput() from shrinker function.

2020-07-16 Thread Tetsuo Handa
On 2020/07/17 1:29, Christian Brauner wrote: > Does this need a Cc: stable? Up to someone who applies this patch. I think this race is hard to hit.

Re: Regression: squashfs issues since change "squashfs: migrate from ll_rw_block usage to BIO"

2020-07-16 Thread Andrew Morton
On Tue, 14 Jul 2020 21:41:07 +0200 Bernd Amend wrote: > Hi, > > With the Linux Kernel version 5.8-rc5/master I am unable to mount some > squashfs filesystems compressed with "-comp lz4". > If I try to mount them I get the following error: > [1.084246] SQUASHFS error: lz4 decompression

[PATCH v8 0/5] Extend coredump functionality

2020-07-16 Thread Rishabh Bhatnagar
This patch series moves the coredump functionality to a separate file and adds "inline" coredump feature. Inline coredump directly copies segments from device memory during coredump to userspace. This avoids extra memory usage at the cost of speed. Recovery is stalled until all data is read by

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-16 Thread Andrew Lunn
On Thu, Jul 16, 2020 at 03:09:25PM -0700, Jakub Kicinski wrote: > On Mon, 13 Jul 2020 21:50:26 +0100 Matthew Hagan wrote: > > Add names and decriptions of additional PORT0_PAD_CTRL properties. > > > > Signed-off-by: Matthew Hagan > > --- > > Documentation/devicetree/bindings/net/dsa/qca8k.txt |

[PATCH v8 1/5] remoteproc: Move coredump functionality to a new file

2020-07-16 Thread Rishabh Bhatnagar
Move all coredump functionality to an individual file. This is being done so that the current functionality can be extended in future patchsets. Signed-off-by: Rishabh Bhatnagar Reviewed-by: Bjorn Andersson Reviewed-by: Mathieu Poirier Reviewed-by: Sibi Sankar Tested-by: Sibi Sankar ---

Re: Linux kernel in-tree Rust support

2020-07-16 Thread Josh Triplett
On Thu, Jul 16, 2020 at 03:06:01PM +0200, Arnd Bergmann wrote: > On Sun, Jul 12, 2020 at 9:39 PM Josh Triplett wrote: > > On Sun, Jul 12, 2020 at 03:31:51PM +0300, Adrian Bunk wrote: > > > > > > As an example: > > > Ubuntu LTS releases upgrade to a new Rust version every 1-2 months. > > > Ubuntu

Re: [PATCH] arm64: dts: qcom: sc7180: Move the fixed-perm property to SoC dtsi

2020-07-16 Thread Doug Anderson
Hi, On Thu, Jul 16, 2020 at 12:18 PM Sibi Sankar wrote: > > All the platforms using SC7180 SoC are expected to have the wlan firmware > memory statically mapped by the Trusted Firmware. Hence move back the > qcom,msa-fixed-perm property to the SoC dtsi. > > Fixes: 7d484566087c0 ("arm64: dts:

[PATCH] [PATCH] Firmware security information in SYSFS

2020-07-16 Thread Daniel Gutson
This patch exports security-related firmware configuration in the sysfs filesystem. In this initial patch, I include some configuration attributes for the system SPI chip. This initial version exports the BIOS Write Enable (bioswe), BIOS Lock Enable (ble), and the SMM Bios Write Protect (SMM_BWP)

[PATCH v8 2/5] remoteproc: qcom_q6v5_mss: Replace mask based tracking with size

2020-07-16 Thread Rishabh Bhatnagar
From: Sibi Sankar In order to land inline coredump support for mss, the dump_segment function would need to support granularities less than the segment size. This is achieved by replacing mask based tracking with size. Signed-off-by: Sibi Sankar Signed-off-by: Rishabh Bhatnagar ---

[PATCH] configfs: Use flush file op to commit writes to a binary file

2020-07-16 Thread Lenny Szubowicz
Use the flush file operation instead of the release operation to commit the prior writes to a configfs binary file. This allows any error status from the commit to be returned as the status of the close. Both flush and release are invoked during a close, but the status from release is ignored by

Re: [PATCH v3 0/3] Off-load TLB invalidations to host for !GTSE

2020-07-16 Thread Stephen Rothwell
Hi all, On Thu, 16 Jul 2020 13:27:14 -0400 Qian Cai wrote: > > Reverting the whole series fixed random memory corruptions during boot on > POWER9 PowerNV systems below. I will revert those commits from linux-next today as well (they revert cleanly). -- Cheers, Stephen Rothwell

Re: please add the init/ cleanup tree to linux-next

2020-07-16 Thread Stephen Rothwell
Hi Christoph, On Thu, 16 Jul 2020 17:05:11 +0200 Christoph Hellwig wrote: > > can you add the init/ cleanup tree: > >git://git.infradead.org/users/hch/misc.git init-user-pointers > > to linux-next? Added from today. Thanks for adding your subsystem tree as a participant of linux-next.

Re: [PATCH][next] i2c: aspeed: Use fallthrough pseudo-keyword

2020-07-16 Thread Brendan Higgins
On Thu, Jul 16, 2020 at 2:47 PM Gustavo A. R. Silva wrote: > > Replace the existing /* fall through */ comments and its variants with > the new pseudo-keyword macro fallthrough[1]. > > [1] >

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-16 Thread Florian Fainelli
On 7/13/2020 1:50 PM, Matthew Hagan wrote: > Add names and decriptions of additional PORT0_PAD_CTRL properties. > > Signed-off-by: Matthew Hagan > --- > Documentation/devicetree/bindings/net/dsa/qca8k.txt | 8 > 1 file changed, 8 insertions(+) > > diff --git

Re: [PATCH 2/2] dt-bindings: net: dsa: qca8k: Add PORT0_PAD_CTRL properties

2020-07-16 Thread Vladimir Oltean
On Thu, Jul 16, 2020 at 03:09:25PM -0700, Jakub Kicinski wrote: > On Mon, 13 Jul 2020 21:50:26 +0100 Matthew Hagan wrote: > > Add names and decriptions of additional PORT0_PAD_CTRL properties. > > > > Signed-off-by: Matthew Hagan > > --- > > Documentation/devicetree/bindings/net/dsa/qca8k.txt |

[PATCH v8 5/5] remoteproc: Add coredump debugfs entry

2020-07-16 Thread Rishabh Bhatnagar
Add coredump debugfs entry to configure the type of dump that will be collected during recovery. User can select between default or inline coredump functionality. Also coredump collection can be disabled through this interface. This functionality can be configured differently for different remote

[PATCH] iommu/arm-smmu-v3: remove the approach of MSI polling for CMD SYNC

2020-07-16 Thread Barry Song
Before commit 587e6c10a7ce ("iommu/arm-smmu-v3: Reduce contention during command-queue insertion"), msi polling perhaps performed better since it could run outside the spin_lock_irqsave() while the code polling cons reg was running in the lock. But after the great reorganization of smmu queue,

Re: [PATCH] powerpc/64: Fix an out of date comment about MMIO ordering

2020-07-16 Thread Benjamin Herrenschmidt
On Thu, 2020-07-16 at 12:38 -0700, Palmer Dabbelt wrote: > From: Palmer Dabbelt > > This primitive has been renamed, but because it was spelled incorrectly in the > first place it must have escaped the fixup patch. As far as I can tell this > logic is still correct: smp_mb__after_spinlock()

Re: [PATCH v2] driver core: Fix sleeping in invalid context during device link deletion

2020-07-16 Thread Saravana Kannan
On Thu, Jul 16, 2020 at 3:13 PM Marek Szyprowski wrote: > > Hi Saravana, > > On 16.07.2020 23:45, Saravana Kannan wrote: > > Marek and Guenter reported that commit 287905e68dd2 ("driver core: > > Expose device link details in sysfs") caused sleeping/scheduling while > > atomic warnings. > > > >

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-16 Thread Peter Zijlstra
On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: > +static void __run_posix_cpu_timers(struct task_struct *tsk) > +{ > + struct posix_cputimers *pct = >posix_cputimers; > + > + if (!test_and_set_bit(CPUTIMERS_WORK_SCHEDULED, >flags)) > + task_work_add(tsk,

Re: [PATCH] dt-bindings: uniphier-thermal: add minItems to socionext,tmod-calibration

2020-07-16 Thread Rob Herring
On Tue, Jul 07, 2020 at 07:23:38PM +0900, Masahiro Yamada wrote: > As the description says, this property contains a pair of calibration > values. The number of items must be exactly 2. > > Add minItems to check a too short property. > > While I was here, I also added this property to the

Re: [RFC PATCH v3 16/18] gpu: host1x: mipi: Split tegra_mipi_calibrate and tegra_mipi_wait

2020-07-16 Thread Dmitry Osipenko
17.07.2020 01:49, Sowjanya Komatineni пишет: >> What keeps MIPI clock enabled after completion of the >> tegra_mipi_calibrate() invocation? > > MIPI clock is disabled at end of tegra_mipi_calibrate and is re-enabled > during tegra_mipi_wait. > > I think I should fix this to keep the clock

[PATCH v8 3/5] remoteproc: Pass size and offset as arguments to segment dump function

2020-07-16 Thread Rishabh Bhatnagar
Change the segment dump API signature to include size and offset arguments. Refactor the qcom_q6v5_mss driver to use these arguments while copying the segment. Doing this lays the ground work for "inline" coredump functionality being added in the next patch. Signed-off-by: Rishabh Bhatnagar ---

Re: [RFC PATCH v3 16/18] gpu: host1x: mipi: Split tegra_mipi_calibrate and tegra_mipi_wait

2020-07-16 Thread Sowjanya Komatineni
On 7/16/20 4:06 PM, Sowjanya Komatineni wrote: On 7/16/20 4:01 PM, Dmitry Osipenko wrote: 17.07.2020 01:49, Sowjanya Komatineni пишет: What keeps MIPI clock enabled after completion of the tegra_mipi_calibrate() invocation? MIPI clock is disabled at end of tegra_mipi_calibrate and is

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