Re: [PATCH v6 00/15] Tegra XHCI controller ELPG support

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:31PM +0800, JC Kuo wrote: > Tegra XHCI controler can be placed in ELPG (Engine Level PowerGated) > state for power saving when all of the connected USB devices are in > suspended state. This patch series includes clk, phy and pmc changes > that are required for properl

[PATCH 2/2] drivers: thermal: Remove thermal_notify_framework

2021-01-19 Thread Thara Gopinath
thermal_notify_framework just updates for a single trip point where as thermal_zone_device_update does other bookkeeping like updating the temperature of the thermal zone and setting the next trip point. The only driver that was using thermal_notify_framework was updated in the previous patch to us

Re: [PATCH 00/10] Fix documentation warnings at linux-next

2021-01-19 Thread Fabrice Gasnier
On 1/19/21 11:41 AM, Jonathan Cameron wrote: > On Tue, 19 Jan 2021 18:17:05 +0900 > William Breathitt Gray wrote: > >> On Sun, Jan 17, 2021 at 03:42:18PM +, Jonathan Cameron wrote: >>> On Fri, 15 Jan 2021 13:47:20 + >>> Jonathan Cameron wrote: >>> On Fri, 15 Jan 2021 10:49:47 +01

Re: [PATCH v5 08/14] mm/gup: do not allow zero page for pinned pages

2021-01-19 Thread Jason Gunthorpe
On Tue, Jan 19, 2021 at 03:14:04PM -0500, Pavel Tatashin wrote: > I was thinking about a use case where userland would pin an address > without FOLL_WRITE, because the PTE for that address is not going to > be writable, but some device via DMA will write to it. That would be a serious bug in the

Re: [PATCH v2 0/5] Share mtk mutex driver for both DRM and MDP

2021-01-19 Thread Chun-Kuang Hu
Chun-Kuang Hu 於 2021年1月7日 週四 上午7:17寫道: > > mtk mutex is a driver used by DRM and MDP [1], so this series move > mtk mutex driver from DRM folder to soc folder, so it could be used > by DRM and MDP. Applied [1/5] ~ [4/5] to mediatek-drm-next [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/g

Re: [PATCH v6 01/15] clk: tegra: Add PLLE HW power sequencer control

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:32PM +0800, JC Kuo wrote: > PLLE has a hardware power sequencer logic which is a state machine > that can power on/off PLLE without any software intervention. The > sequencer has two inputs, one from XUSB UPHY PLL and the other from > SATA UPHY PLL. PLLE provides refer

Re: [PATCH net-next] sfc: reduce the number of requested xdp ev queues

2021-01-19 Thread Ivan Babrou
On Thu, Dec 17, 2020 at 10:14 AM Jakub Kicinski wrote: > > On Mon, 14 Dec 2020 17:29:06 -0800 Ivan Babrou wrote: > > Without this change the driver tries to allocate too many queues, > > breaching the number of available msi-x interrupts on machines > > with many logical cpus and default adapter s

Re: [PATCH v3 2/2] KVM: SVM: Add support for Virtual SPEC_CTRL

2021-01-19 Thread Sean Christopherson
On Tue, Jan 19, 2021, Babu Moger wrote: > > On 1/19/21 12:31 PM, Sean Christopherson wrote: > > On Fri, Jan 15, 2021, Babu Moger wrote: > >> @@ -3789,7 +3792,10 @@ static __no_kcsan fastpath_t svm_vcpu_run(struct > >> kvm_vcpu *vcpu) > >> * is no need to worry about the conditional branch ove

Re: [PATCH v6 00/12] SVM cleanup and INVPCID feature support

2021-01-19 Thread Babu Moger
On 1/19/21 5:01 PM, Jim Mattson wrote: > On Mon, Sep 14, 2020 at 11:33 AM Babu Moger wrote: > >> Thanks Paolo. Tested Guest/nested guest/kvm units tests. Everything works >> as expected. > > Debian 9 does not like this patch set. As a kvm guest, it panics on a > Milan CPU unless booted with '

Re: [PATCH v6 13/15] phy: tegra: xusb: Add wake/sleepwalk for Tegra186

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:44PM +0800, JC Kuo wrote: > This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and > sleepwalk operations. > > Signed-off-by: JC Kuo > --- > v6: >no change > v5: >no change > v4: >move sleepwalk/wake stubs from 'struct tegra_xusb_padctl_ops' to

Re: [PATCH 2/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-01-19 Thread David Hildenbrand
On 17.12.20 14:07, Oscar Salvador wrote: > Physical memory hotadd has to allocate a memmap (struct page array) for > the newly added memory section. Currently, alloc_pages_node() is used > for those allocations. > > This has some disadvantages: > a) an existing memory is consumed for that purpose

[PATCH net v3] net: lapb: Add locking to the lapb module

2021-01-19 Thread Xie He
In the lapb module, the timers may run concurrently with other code in this module, and there is currently no locking to prevent the code from racing on "struct lapb_cb". This patch adds locking to prevent racing. 1. Add "spinlock_t lock" to "struct lapb_cb"; Add "spin_lock_bh" and "spin_unlock_bh

Re: [f2fs-dev] [PATCH v4 1/2] f2fs: introduce checkpoint=merge mount option

2021-01-19 Thread Daeho Jeong
Sorry, I think you were definitely confused. There is no change for 2/2. So I didn't send it. Next time, I am going to send it all, even though some of them don't have changes. 2021년 1월 20일 (수) 오전 4:08, Jaegeuk Kim 님이 작성: > > Is there v4 2/2? > > On 01/19, Daeho Jeong wrote: > > From: Daeho Jeon

Re: [PATCH v6 11/15] phy: tegra: xusb: Add wake/sleepwalk for Tegra210

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:42PM +0800, JC Kuo wrote: > This commit implements Tegra210 XUSB PADCTL wake and sleepwalk > routines. Sleepwalk logic is in PMC (always-on) hardware block. > PMC driver provides managed access to the sleepwalk registers > via regmap framework. > > Signed-off-by: JC K

[PATCH] gpio: uapi: fix line info flags description

2021-01-19 Thread Kent Gibson
The description of the flags field of the struct gpio_v2_line_info mentions "the GPIO lines" while the info only applies to an individual GPIO line. This was accidentally changed from "the GPIO line" during formatting improvements. Reword to "this GPIO line" to clarify and to be consistent with o

[PATCH v1] memory: tegra: Check whether reset is already asserted

2021-01-19 Thread Dmitry Osipenko
Check whether memory client reset is already asserted in order to prevent DMA-flush error on trying to re-assert an already asserted reset. This becomes a problem once PMC GENPD is enabled to use memory resets since GENPD will get a error and fail to toggle power domain. PMC GENPDs can't be toggle

[PATCH] KUnit: Docs: make start.rst example Kconfig follow style.rst

2021-01-19 Thread Daniel Latypov
The primary change is that we want to encourage people to respect KUNIT_ALL_TESTS to make it easy to run all the relevant tests for a given config. Signed-off-by: Daniel Latypov --- Documentation/dev-tools/kunit/start.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Docu

Re: [PATCH v6 07/15] phy: tegra: xusb: Add sleepwalk and suspend/resume

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:38PM +0800, JC Kuo wrote: > This commit adds sleepwalk/wake and suspend/resume interfaces > to Tegra XUSB PHY driver. > > Tegra XUSB host controller driver makes use of sleepwalk functions > to enable/disable sleepwalk circuit which is in always-on partition > and can

Re: [PATCH net v2] net: lapb: Add locking to the lapb module

2021-01-19 Thread Xie He
On Tue, Jan 19, 2021 at 3:34 AM Martin Schiller wrote: > > > 4. In lapb_device_event, replace the "lapb_disconnect_request" call > > with > > the content of "lapb_disconnect_request", to avoid trying to hold the > > lock twice. When I do this, I removed "lapb_start_t1timer" because I > > don't thi

linux-next: build failure after merge of the drm-intel tree

2021-01-19 Thread Stephen Rothwell
Hi all, After merging the drm-intel tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/drm/msm/dp/dp_ctrl.c: In function 'dp_ctrl_use_fixed_nvid': drivers/gpu/drm/msm/dp/dp_ctrl.c:1425:16: error: implicit declaration of function 'drm_dp_get_edid_quirks'; did yo

Re: [PATCH v4] x86/mce: Avoid infinite loop for copy from user recovery

2021-01-19 Thread Luck, Tony
On Tue, Jan 19, 2021 at 11:56:32AM +0100, Borislav Petkov wrote: > On Fri, Jan 15, 2021 at 03:23:46PM -0800, Luck, Tony wrote: > > On Fri, Jan 15, 2021 at 12:51:03PM -0800, Luck, Tony wrote: > > > static void kill_me_now(struct callback_head *ch) > > > { > > > + p->mce_count = 0; > > > force_si

Re: [PATCH] sched/eas: Don't update misfit status if the task is pinned

2021-01-19 Thread Valentin Schneider
On 19/01/21 14:34, Vincent Guittot wrote: > On Tue, 19 Jan 2021 at 13:08, Qais Yousef wrote: >> >> If the task is pinned to a cpu, setting the misfit status means that >> we'll unnecessarily continuously attempt to migrate the task but fail. >> >> This continuous failure will cause the balance_int

Re: [PATCH 0/2 v2] iommu: fix the failure of deferred attach for iommu attach device

2021-01-19 Thread Lu Baolu
On 2021/1/19 19:16, Lianbo Jiang wrote: This patchset is to fix the failure of deferred attach for iommu attach device, it includes the following two patches: [1] [PATCH 1/2] dma-iommu: use static-key to minimize the impact in the fast-path This is a prepared patch for the second one, move

Re: [RFC PATCH 04/37] btrfs: use bio_init_fields in volumes

2021-01-19 Thread Nikolay Borisov
On 19.01.21 г. 7:05 ч., Chaitanya Kulkarni wrote: > Signed-off-by: Chaitanya Kulkarni > --- > fs/btrfs/volumes.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c > index ee086fc56c30..836167212252 100644 > --- a/fs/btrfs/volum

Re: [PATCH] docs: Change reference that was to removed file

2021-01-19 Thread Jonathan Corbet
Milan Lakhani writes: [CC += Rob] > There were two references to > Documentation/devicetree/booting-without-of.rst for dtb format > information. This file has been removed, so I have changed the links to > Documentation/devicetree/usage-model.rst for this information, which > itself points to ht

Re: [PATCH v1 5/5] driver core: Set fw_devlink=on by default

2021-01-19 Thread Saravana Kannan
On Tue, Jan 19, 2021 at 2:41 AM Michael Walle wrote: > > Am 2021-01-18 22:01, schrieb Saravana Kannan: > > On Sun, Jan 17, 2021 at 3:01 PM Michael Walle wrote: > >> > Cyclic dependencies in some firmware was one of the last remaining > >> > reasons fw_devlink=on couldn't be set by default. Now th

[PATCH v1 1/2] rtc: tps65910: Support wakeup-source property

2021-01-19 Thread Dmitry Osipenko
TPS65910 is a PMIC MFD device and RTC is one of its functions. The wakeup-source DT property is specified for the parent MFD device and we need to use this property for the RTC in order to allow to use RTC alarm for waking up system from suspend by default, instead of requiring user to enable wakeu

[PATCH v1 2/2] ARM: tegra: Specify tps65911 as wakeup source

2021-01-19 Thread Dmitry Osipenko
Specify TPS65911 as wakeup source on Tegra devices in order to allow its RTC to wake up system from suspend by default instead of requiring wakeup to be enabled manually via sysfs. Tested-by: Peter Geis # Ouya T30 Tested-by: Matt Merhar # Ouya T30 Signed-off-by: Dmitry Osipenko --- arch/arm/bo

[PATCH v3] software_node: Add kernel-doc comments to exported symbols

2021-01-19 Thread Daniel Scally
A number of functions which are exported via EXPORT_SYMBOL_GPL() lack any kernel-doc comments; add those in so all exported symbols are documented. Reviewed-by: Andy Shevchenko Reviewed-by: Heikki Krogerus Reviewed-by: Randy Dunlap Reviewed-by: Sakari Ailus Signed-off-by: Daniel Scally --- Ch

[PATCH v2 0/1] rpi: enable SD/Wifi on ACPI firmware

2021-01-19 Thread Jeremy Linton
The rpi4 can be booted on Linux using ACPI, this set adds the ACPI bindings to allow it to utilize the Arasan and eMMC2 controllers. v1->v2: Fix a build warning when !ACPI Some comment/change log tweaks Jeremy Linton (1): mmc: sdhci-iproc: Add ACPI bindings for the rpi drivers/mmc/hos

[PATCH v2] mmc: sdhci-iproc: Add ACPI bindings for the rpi

2021-01-19 Thread Jeremy Linton
The RPi4 has an Arasan controller it carries over from the RPi3 and a newer eMMC2 controller. Because of a couple of quirks, it seems wiser to bind these controllers to the same driver that DT is using on this platform rather than the generic sdhci_acpi driver with PNP0D40. So, BCM2847 describes t

Re: [RFC PATCH 4/8] mm: Separate fault info out of 'struct vm_fault'

2021-01-19 Thread Nick Desaulniers
On Fri, Jan 15, 2021 at 1:33 PM Linus Torvalds wrote: > > On Fri, Jan 15, 2021 at 1:23 AM Will Deacon wrote: > > > > Hmm. The feedback on the clang bug suggests that GCC is the one in the > > wrong here (although the argument is based on C11 and I haven't trawled > > through the standards to see

Re: [PATCH v3 3/5] OPP: Improve require-opps linking

2021-01-19 Thread Saravana Kannan
On Sun, Jan 17, 2021 at 11:40 PM Hsin-Yi Wang wrote: > > On Mon, Jan 18, 2021 at 3:34 PM Viresh Kumar wrote: > > > > On 18-01-21, 15:21, Hsin-Yi Wang wrote: > > > Do you still have plans to push this? I've tested on mt8183 cci with: > > > > I was never able to get Saravana to test this, if you ar

Re: [PATCH v6 04/15] phy: tegra: xusb: tegra210: Do not reset UPHY PLL

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:35PM +0800, JC Kuo wrote: > Once UPHY PLL hardware power sequencer is enabled, do not assert > reset to PEX/SATA PLLs, otherwise UPHY PLL operation will be broken. > This commit removes reset_control_assert(pcie->rst) and > reset_control_assert(sata->rst) from PEX/SATA

Re: [PATCH v2] mmc: sdhci-iproc: Add ACPI bindings for the rpi

2021-01-19 Thread Florian Fainelli
On 1/19/2021 4:04 PM, Jeremy Linton wrote: > The RPi4 has an Arasan controller it carries over > from the RPi3 and a newer eMMC2 controller. > Because of a couple of quirks, it seems wiser to bind > these controllers to the same driver that DT is using > on this platform rather than the generic

Re: [PATCH] dt-bindings: mmc: sdhci-am654: fix compatible for j7200

2021-01-19 Thread Ulf Hansson
On Fri, 15 Jan 2021 at 20:32, Grygorii Strashko wrote: > > On TI J7200 SoC the SDHCI controller compatible defined as > "ti,j7200-sdhci-8bit", "ti,j721e-sdhci-8bit" > or > "ti,j7200-sdhci-4bit", "ti,j721e-sdhci-4bit" > which causes dtbs_check warnings: > mmc@4f8: compatible: ['ti,j7200-sdhc

Re: [PATCH] mmc: sdhci-esdhc-imx: validate pinctrl before use it

2021-01-19 Thread Ulf Hansson
On Fri, 15 Jan 2021 at 03:55, Peng Fan (OSS) wrote: > > From: Peng Fan > > When imx_data->pinctrl is not a valid pointer, pinctrl_lookup_state > will trigger kernel panic. > > When we boot Dual OS on Jailhouse hypervisor, we let the 1st Linux to > configure pinmux ready for the 2nd OS, so the 2nd

Hello

2021-01-19 Thread Mrs.Aisha Al-Qaddafi
Dear Friend (Assalamu Alaikum), I came across your e-mail contact prior a private search while in need of your assistance. My name is Ayesha Gaddafi a single Mother and a Widow with three Children. I am the only biological Daughter of late Libyan (Late Colonel Muammar Gaddafi). I have investment

Re: [PATCH v3 15/18] mfd: hi6421-spmi-pmic: move driver from staging

2021-01-19 Thread Mark Brown
On Tue, Jan 19, 2021 at 11:14:20AM +0100, Mauro Carvalho Chehab wrote: > +int hi6421_spmi_pmic_read(struct hi6421_spmi_pmic *pmic, int reg) > +{ > + struct spmi_device *pdev; > + u8 read_value = 0; > + u32 ret; > + > + pdev = to_spmi_device(pmic->dev); > + if (!pdev) { > +

Re: [PATCH 1/2] s390: uv: Fix sysfs max number of VCPUs reporting

2021-01-19 Thread Claudio Imbrenda
On Tue, 19 Jan 2021 05:04:01 -0500 Janosch Frank wrote: > The number reported by the query is N-1 and I think people reading the > sysfs file would expect N instead. For users creating VMs there's no > actual difference because KVM's limit is currently below the UV's > limit. > > The naming of t

Re: [PATCH -next] mmc: core: convert comma to semicolon

2021-01-19 Thread Ulf Hansson
On Wed, 16 Dec 2020 at 14:17, Zheng Yongjun wrote: > > Replace a comma between expression statements by a semicolon. > > Signed-off-by: Zheng Yongjun Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/core/core.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) >

Re: [PATCH] mmc: sdhci-pci-gli: Finetune HS400 RX delay for GL9763E

2021-01-19 Thread Ulf Hansson
On Mon, 11 Jan 2021 at 09:22, Renius Chen wrote: > > To improve the compatibility of GL9763E with HS400 eMMC cards, > finetune the RX delay of HS400 mode. > > Signed-off-by: Renius Chen Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/sdhci-pci-gli.c | 9 + > 1 fi

Re: [PATCH v2] host: omap_hsmmc: style: Simplify bool comparison and conversion

2021-01-19 Thread Ulf Hansson
On Fri, 15 Jan 2021 at 10:51, Yang Li wrote: > > Fix the following coccicheck warning: > ./drivers/mmc/host/omap_hsmmc.c:297:6-25: WARNING: Comparison of 0/1 to > bool variable > > According to the context, vqmmc_enabled is more suitable for bool > type. > > Reported-by: Abaci Robot > Signed-off-b

Re: [PATCH v5] modules: introduce the MODULE_SCMVERSION config

2021-01-19 Thread Will McVicker
Hi Masahiro, After testing your suggestions for module_srcpath, I remembered why I needed this: +ifneq ($(realpath $(srctree)/$(KBUILD_EXTMOD) 2>/dev/null),) + module_srcpath := $(srctree)/$(KBUILD_EXTMOD) +else + module_srcpath := $(KBUILD_EXTMOD) +endif Basically KBUILD_EXTMOD actu

fs/jfs/jfs_debug.c:36:13: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-01-19 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr() date: 5 months ago config: sh-randconfig-s031-20210120 (attache

[PATCH 2/2] arm64: dts: imx8mn-beacon-som: Enable QSPI on SOM

2021-01-19 Thread Adam Ford
There is a QSPI chip connected to the FlexSPI bus. Enable it. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi index 2120e6485393..9f575184d899 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-bea

Re: [PATCH v1 0/9] mmc: sdhci-of-arasan: Add UHS-1 support for Keem Bay SOC

2021-01-19 Thread Ulf Hansson
On Thu, 14 Jan 2021 at 16:28, Muhammad Husaini Zulkifli wrote: > > Hi, > > This patch series adds Ultra High Speed(UHS-1) Bus Speed Mode Support for > Keem Bay SoC SD Card. > Summary of each patches as per below: > > Patch 1: Use of_device_get_match_data() helper to get the match-data. > Patch 2:

[PATCH 1/2] arm64: dts: imx8mn: Add fspi node

2021-01-19 Thread Adam Ford
The i.MX8M Nano has the same Flexspi controller used in the i.MX8M Mini. Add the node and disable it by default. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 3fac73779fdd..16ea50089567 100644 --- a/arch/arm64/

drivers/mtd/nand/onenand/onenand_omap2.c:385:17: sparse: sparse: incorrect type in argument 2 (different address spaces)

2021-01-19 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: 421015713b306e47af95d4d61cdfbd96d462e4cb ARM: 9017/2: Enable KASan for ARM date: 3 months ago config: arm-randconfig-s032-20210120 (attached as .config) com

Re: [PATCH net-next] sfc: reduce the number of requested xdp ev queues

2021-01-19 Thread Jakub Kicinski
On Tue, 19 Jan 2021 15:43:43 -0800 Ivan Babrou wrote: > On Thu, Dec 17, 2020 at 10:14 AM Jakub Kicinski wrote: > > On Mon, 14 Dec 2020 17:29:06 -0800 Ivan Babrou wrote: > > > Without this change the driver tries to allocate too many queues, > > > breaching the number of available msi-x interrupt

[PATCH v3 0/6] Clock and reset improvements for Tegra ALSA drivers

2021-01-19 Thread Dmitry Osipenko
This series improves the handling of clock and reset controls of NVIDA Tegra ALSA drivers. Tegra HDA and AHUB drivers aren't handling resets properly, which needs to be fixed in order to unblock other patches related to fixes of the reset controller driver since HDA/AHUB are bound to fail once rese

[PATCH v3 3/6] ALSA: hda/tegra: Remove unnecessary null-check from hda_tegra_runtime_resume()

2021-01-19 Thread Dmitry Osipenko
The "chip" can't be NULL in hda_tegra_runtime_resume() because code would crash otherwise. Let's remove the unnecessary check in order to clean up code a tad. Tested-by: Peter Geis # Ouya T30 audio works Tested-by: Matt Merhar # Ouya T30 boot-tested Suggested-by: Thierry Reding Signed-off-by: D

[PATCH v3 4/6] ASoC: tegra: ahub: Add missing resets

2021-01-19 Thread Dmitry Osipenko
AHUB driver misses D_AUDIO and APBIF resets. CPU hangs on trying to access hardware if resets aren't de-asserted. This problem is currently masked by the tegra-clk driver which implicitly de-asserts the resets when the corresponding clocks are enabled. Soon the implicit de-assertion will be gone fr

Re: [PATCH V2] RDMA: usnic: Fix misuse of sysfs_emit_at

2021-01-19 Thread Jason Gunthorpe
On Fri, Jan 15, 2021 at 04:36:50PM -0800, Joe Perches wrote: > In commit e28bf1f03b01 ("RDMA: Convert various random sprintf sysfs _show > uses to sysfs_emit") I mistakenly used len = sysfs_emit_at to overwrite > the last trailing space of potentially multiple entry output. > > Instead use a more

[PATCH v3 2/6] ALSA: hda/tegra: Reset hardware

2021-01-19 Thread Dmitry Osipenko
Reset hardware on RPM-resume in order to bring it into a predictable state. Tested-by: Peter Geis # Ouya T30 audio works Tested-by: Matt Merhar # Ouya T30 boot-tested Tested-by: Nicolas Chauvet # TK1 boot-tested Signed-off-by: Dmitry Osipenko --- sound/pci/hda/hda_tegra.c | 20 +++

[PATCH v3 6/6] ASoC: tegra: ahub: Reset hardware properly

2021-01-19 Thread Dmitry Osipenko
Assert hardware resets before clocks are enabled and then de-assert them after clocks are enabled. This brings hardware into a predictable state. Tested-by: Peter Geis # Ouya T30 audio works Tested-by: Matt Merhar # Ouya T30 boot-tested Tested-by: Dmitry Osipenko # Nexus7 T30 audio works Tested

[PATCH v3 5/6] ASoC: tegra: ahub: Use clk_bulk helpers

2021-01-19 Thread Dmitry Osipenko
Use clk_bulk helpers to make code cleaner. Tested-by: Peter Geis # Ouya T30 audio works Tested-by: Matt Merhar # Ouya T30 boot-tested Tested-by: Dmitry Osipenko # Nexus7 T30 audio works Tested-by: Nicolas Chauvet # TK1 boot-tested Acked-by: Thierry Reding Signed-off-by: Dmitry Osipenko ---

[PATCH v3 1/6] ALSA: hda/tegra: Use clk_bulk helpers

2021-01-19 Thread Dmitry Osipenko
Use clk_bulk helpers to make code cleaner. Note that this patch changed the order in which clocks are enabled to make code look nicer, but this doesn't matter in terms of hardware. Tested-by: Peter Geis # Ouya T30 audio works Tested-by: Matt Merhar # Ouya T30 boot-tested Tested-by: Nicolas Chauv

Re: [PATCH 00/20] Rid W=1 warnings from Infinibad

2021-01-19 Thread Jason Gunthorpe
On Mon, Jan 18, 2021 at 10:39:09PM +, Lee Jones wrote: > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little warnings. > > This is set 1 of either 2 or 3 sets required to fully clean-up. > > Lee Jones

[PATCH 7/7] ALSA: virtio: introduce device suspend/resume support

2021-01-19 Thread Anton Yakovlev
All running PCM substreams are stopped on device suspend and restarted on device resume. Signed-off-by: Anton Yakovlev --- sound/virtio/virtio_card.c| 54 sound/virtio/virtio_pcm.c | 40 +++ sound/virtio/virtio_pcm.h | 6 +++ sound/virtio/virtio_pcm_

[PATCH 5/7] ALSA: virtio: PCM substream operators

2021-01-19 Thread Anton Yakovlev
Introduce the operators required for the operation of substreams. Signed-off-by: Anton Yakovlev --- sound/virtio/Makefile | 3 +- sound/virtio/virtio_pcm.c | 5 +- sound/virtio/virtio_pcm.h | 2 + sound/virtio/virtio_pcm_ops.c | 509 ++ 4 fil

[PATCH 4/7] ALSA: virtio: handling control and I/O messages for the PCM device

2021-01-19 Thread Anton Yakovlev
The driver implements a message-based transport for I/O substream operations. Before the start of the substream, the hardware buffer is sliced into I/O messages, the number of which is equal to the current number of periods. The size of each message is equal to the current size of one period. I/O

[PATCH 6/7] ALSA: virtio: introduce jack support

2021-01-19 Thread Anton Yakovlev
Enumerate all available jacks and create ALSA controls. At the moment jacks have a simple implementation and can only be used to receive notifications about a plugged in/out device. Signed-off-by: Anton Yakovlev --- sound/virtio/Makefile | 2 + sound/virtio/virtio_card.c | 33 + s

[PATCH 3/7] ALSA: virtio: add virtio sound driver

2021-01-19 Thread Anton Yakovlev
Introduce skeleton of the virtio sound driver. The driver implements the virtio sound device specification, which has become part of the virtio standard. Initial initialization of the device, virtqueues and creation of an empty ALSA sound device. Also, handling DEVICE_NEEDS_RESET device status. S

[PATCH v1] gpio: tegra: Fix irq_set_affinity

2021-01-19 Thread Dmitry Osipenko
The irq_set_affinity callback should not be set if parent IRQ domain doesn't present because gpio-tegra driver callback fails in this case, causing a noisy error messages on system suspend: Disabling non-boot CPUs ... IRQ 26: no longer affine to CPU1 IRQ128: set affinity failed(-22). IRQ130: s

[PATCH 2/7] uapi: virtio_snd: add the sound device header file

2021-01-19 Thread Anton Yakovlev
The file contains the definitions for the sound device from the OASIS virtio spec. Signed-off-by: Anton Yakovlev --- MAINTAINERS | 6 + include/uapi/linux/virtio_snd.h | 361 2 files changed, 367 insertions(+) create mode 100644 include/uap

[PATCH 1/7] uapi: virtio_ids: add a sound device type ID from OASIS spec

2021-01-19 Thread Anton Yakovlev
The OASIS virtio spec defines a sound device type ID that is not present in the header yet. Signed-off-by: Anton Yakovlev --- include/uapi/linux/virtio_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h index bc1c0621f5ed..

Re: [PATCH] sh_eth: Fix power down vs. is_opened flag ordering

2021-01-19 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Mon, 18 Jan 2021 16:08:12 +0100 you wrote: > sh_eth_close() does a synchronous power down of the device before > marking it closed. Revert the order, to make sure the device is never > marked opened while suspended. > > Whi

[PATCH 0/7] ALSA: add virtio sound driver

2021-01-19 Thread Anton Yakovlev
This series implements a driver part of the virtio sound device specification v8 [1]. The driver supports PCM playback and capture substreams, jack and channel map controls. A message-based transport is used to write/read PCM frames to/from a device. The series is based (and was actually tested)

Re: [PATCH 05/13] x86: Add early TPM1.2/TPM2.0 interface support for Secure Launch

2021-01-19 Thread Daniel P. Smith
On 9/25/20 1:43 AM, Jarkko Sakkinen wrote: > On Thu, Sep 24, 2020 at 10:58:33AM -0400, Ross Philipson wrote: >> From: "Daniel P. Smith" >> >> This commit introduces an abstraction for TPM1.2 and TPM2.0 devices >> above the TPM hardware interface. >> >> Signed-off-by: Daniel P. Smith >> Signed-off

Re: [PATCH 3/3] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Grant Grundler
On Tue, Jan 19, 2021 at 9:46 PM Jakub Kicinski wrote: > > On Fri, 15 Jan 2021 21:26:23 -0800 Grant Grundler wrote: > > RTL8156 sends notifications about every 32ms. > > Only display/log notifications when something changes. > > > > This issue has been reported by others: > > https://bugs.lau

Re: [PATCH 3/3] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Grant Grundler
On Wed, Jan 20, 2021 at 12:55 AM Grant Grundler wrote: > > On Tue, Jan 19, 2021 at 9:46 PM Jakub Kicinski wrote: > > > > On Fri, 15 Jan 2021 21:26:23 -0800 Grant Grundler wrote: > > > RTL8156 sends notifications about every 32ms. > > > Only display/log notifications when something changes. > > >

Re: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

2021-01-19 Thread Mikhail Gavrilov
On Fri, 15 Jan 2021 at 03:43, Mikhail Gavrilov wrote: > In rc4, the number of warnings has dropped dramatically. No more errors "kasan slab-out-of-bounds" and no "DMA-API device driver failed to check map error". But still not fixed "sleeping function called from invalid context at include/linux/

Re: [PATCH net] net: nfc: nci: fix the wrong NCI_CORE_INIT parameters

2021-01-19 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Tue, 19 Jan 2021 05:55:22 +0900 you wrote: > From: Bongsu Jeon > > Fix the code because NCI_CORE_INIT_CMD includes two parameters in NCI2.0 > but there is no parameters in NCI1.x. > > Signed-off-by: Bongsu Jeon > > [...]

Re: [PATCH v5] pgo: add clang's Profile Guided Optimization infrastructure

2021-01-19 Thread Nick Desaulniers
On Sat, Jan 16, 2021 at 1:44 AM Bill Wendling wrote: > > From: Sami Tolvanen > > Enable the use of clang's Profile-Guided Optimization[1]. To generate a > profile, the kernel is instrumented with PGO counters, a representative > workload is run, and the raw profile data is collected from > /sys/k

[tip:x86/entry] BUILD SUCCESS 0bab9cb2d980d7c075cffb9216155f7835237f98

2021-01-19 Thread kernel test robot
-20210119 x86_64 randconfig-a006-20210119 x86_64 randconfig-a001-20210119 x86_64 randconfig-a003-20210119 x86_64 randconfig-a005-20210119 x86_64 randconfig-a002-20210119 i386 randconfig-a002-20210119 i386

sound/soc/uniphier/aio-compress.c:295:23: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-01-19 Thread kernel test robot
Hi Rich, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: ca6345de57a46ba1bd35bd15b0ceb42e05b3d71f sh: remove spurious circular inclusion from asm/smp.h date: 4 mo

Re: [PATCH 3/3] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Jakub Kicinski
On Wed, 20 Jan 2021 00:59:17 + Grant Grundler wrote: > > > Thanks for the patch, this looks like an improvement over: > > > > > > 59b4a8fa27f5 ("CDC-NCM: remove "connected" log message") > > > > > > right? Should we bring the "network connection: connected" message back? > > > > Yes, we can r

Re: [PATCH] docs: Change reference that was to removed file

2021-01-19 Thread Rob Herring
On Tue, Jan 19, 2021 at 6:01 PM Jonathan Corbet wrote: > > Milan Lakhani writes: > > [CC += Rob] > > > There were two references to > > Documentation/devicetree/booting-without-of.rst for dtb format > > information. This file has been removed, so I have changed the links to > > Documentation/devi

ov772x.c:undefined reference to `v4l2_fwnode_endpoint_alloc_parse'

2021-01-19 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e2a199f6ccdc15cf111d68d212e2fd4ce65682e commit: 8a10b4e3601eaefa4b7c8de9b62a0e15ccd4d99e media: i2c: ov772x: Parse endpoint properties date: 9 weeks ago config: ia64-randconfig-r032-20210120 (attached as

[PATCH v3] gpiolib: Bind gpio_device to a driver to enable fw_devlink=on by default

2021-01-19 Thread Saravana Kannan
There are multiple instances of GPIO device tree nodes of the form: foo { compatible = "acme,foo"; ... gpio0: gpio0@ { compatible = "acme,bar"; ... gpio-controller; }; gpio1: gpio1@ {

Re: [PATCH] KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]

2021-01-19 Thread Sean Christopherson
On Mon, Jan 18, 2021, Xu, Like wrote: > On 2021/1/16 1:30, Sean Christopherson wrote: > > On Fri, Jan 15, 2021, Like Xu wrote: > > > > diff --git a/arch/x86/kvm/vmx/pmu_intel.c b/arch/x86/kvm/vmx/pmu_intel.c > > > > index a886a47daebd..013e8d253dfa 100644 > > > > --- a/arch/x86/kvm/vmx/pmu_intel.c

[PATCH net] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Grant Grundler
RTL8156 sends notifications about every 32ms. Only display/log notifications when something changes. This issue has been reported by others: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1832472 https://lkml.org/lkml/2020/8/27/1083 ... [785962.779840] usb 1-1: new high-spee

Re: [PATCH 3/3] net: usb: cdc_ncm: don't spew notifications

2021-01-19 Thread Grant Grundler
On Wed, Jan 20, 2021 at 1:05 AM Jakub Kicinski wrote: > > On Wed, 20 Jan 2021 00:59:17 + Grant Grundler wrote: > > > > Thanks for the patch, this looks like an improvement over: > > > > > > > > 59b4a8fa27f5 ("CDC-NCM: remove "connected" log message") > > > > > > > > right? Should we bring the

Re: [PATCH net] tcp: Fix potential use-after-free due to double kfree().

2021-01-19 Thread Jakub Kicinski
On Mon, 18 Jan 2021 14:59:20 +0900 Kuniyuki Iwashima wrote: > Receiving ACK with a valid SYN cookie, cookie_v4_check() allocates struct > request_sock and then can allocate inet_rsk(req)->ireq_opt. After that, > tcp_v4_syn_recv_sock() allocates struct sock and copies ireq_opt to > inet_sk(sk)->inet

Re: [PATCH v2] f2fs: fix to keep isolation of atomic write

2021-01-19 Thread Chao Yu
On 2021/1/20 3:06, Jaegeuk Kim wrote: On 01/15, Chao Yu wrote: On 2021/1/15 5:53, Jaegeuk Kim wrote: On 12/30, Chao Yu wrote: ThreadA ThreadB - f2fs_ioc_start_atomic_write - write - f2fs_ioc_commit_atomic_write - f2fs_commit_inmem_pages - f2fs_drop_inmem_p

[PATCH v3 0/5] Tegra PMC driver fixes and improvements

2021-01-19 Thread Dmitry Osipenko
Hi, This is a continuation of [1]. I decided to factor out PMC patches into a separate series to ease reviewing and applying of the patches. This series is a prerequisite for enabling dynamic power management by Tegra drivers that are using PMC domain. [1] https://patchwork.ozlabs.org/project/lin

[PATCH v3 1/5] soc/tegra: pmc: Fix imbalanced clock disabling in error code path

2021-01-19 Thread Dmitry Osipenko
The tegra_powergate_power_up() has a typo in the error code path where it will try to disable clocks twice, fix it. In practice that error never happens, so this is a minor correction. Tested-by: Peter Geis # Ouya T30 Tested-by: Nicolas Chauvet # PAZ00 T20 and TK1 T124 Tested-by: Matt Merhar #

[PATCH v3 2/5] soc/tegra: pmc: Fix completion of power-gate toggling

2021-01-19 Thread Dmitry Osipenko
The SW-initiated power gate toggling is dropped by PMC if there is contention with a HW-initiated toggling, i.e. when one of CPU cores is gated by cpuidle driver. Software should retry the toggling after 10 microseconds on Tegra20/30 SoCs, hence add the retrying. On Tegra114+ the toggling method wa

[PATCH v3 3/5] soc/tegra: pmc: Ensure that clock rates aren't too high

2021-01-19 Thread Dmitry Osipenko
Switch all clocks of a power domain to a safe rate which is suitable for all possible voltages in order to ensure that hardware constraints aren't violated when power domain state toggles. Tested-by: Peter Geis # Ouya T30 Tested-by: Nicolas Chauvet # PAZ00 T20 and TK1 T124 Tested-by: Matt Merhar

[PATCH AUTOSEL 5.10 01/45] ASoC: Intel: haswell: Add missing pm_ops

2021-01-19 Thread Sasha Levin
From: Cezary Rojewski [ Upstream commit bb224c3e3e41d940612d4cc9573289cdbd5cb8f5 ] haswell machine board is missing pm_ops what prevents it from undergoing suspend-resume procedure successfully. Assign default snd_soc_pm_ops so this is no longer the case. Signed-off-by: Cezary Rojewski Link: h

[PATCH AUTOSEL 5.10 02/45] ASoC: rt711: mutex between calibration and power state changes

2021-01-19 Thread Sasha Levin
From: Shuming Fan [ Upstream commit 6108f990c0887d3e8f1db2d13c7012e40a061f28 ] To avoid calibration time-out, this patch adds the mutex between calibration and power state changes Signed-off-by: Shuming Fan Link: https://lore.kernel.org/r/20201217085651.24580-1-shumi...@realtek.com Signed-off

[PATCH AUTOSEL 5.10 03/45] SUNRPC: Handle TCP socket sends with kernel_sendpage() again

2021-01-19 Thread Sasha Levin
From: Chuck Lever [ Upstream commit 4a85a6a3320b4a622315d2e0ea91a1d2b013bce4 ] Daire Byrne reports a ~50% aggregrate throughput regression on his Linux NFS server after commit da1661b93bf4 ("SUNRPC: Teach server to use xprt_sock_sendmsg for socket sends"), which replaced kernel_send_page() calls

[PATCH AUTOSEL 5.10 09/45] scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

2021-01-19 Thread Sasha Levin
From: Stanley Chu [ Upstream commit 21acf4601cc63cf564c6fc1a74d81b191313c929 ] UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL is intended to skip enabling fWriteBoosterBufferFlushEn while WriteBooster is initializing. Therefore it is better to apply the checking during WriteBooster initialization only.

[PATCH AUTOSEL 5.10 07/45] dm integrity: select CRYPTO_SKCIPHER

2021-01-19 Thread Sasha Levin
From: Anthony Iliopoulos [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] The integrity target relies on skcipher for encryption/decryption, but certain kernel configurations may not enable CRYPTO_SKCIPHER, leading to compilation errors due to unresolved symbols. Explicitly select CR

[PATCH AUTOSEL 5.10 11/45] scsi: qedi: Correct max length of CHAP secret

2021-01-19 Thread Sasha Levin
From: Nilesh Javali [ Upstream commit d50c7986fbf0e2167279e110a2ed5bd8e811c660 ] The CHAP secret displayed garbage characters causing iSCSI login authentication failure. Correct the CHAP password max length. Link: https://lore.kernel.org/r/20201217105144.8055-1-njav...@marvell.com Reviewed-by:

[PATCH AUTOSEL 5.10 20/45] ALSA: hda/tegra: fix tegra-hda on tegra30 soc

2021-01-19 Thread Sasha Levin
From: Peter Geis [ Upstream commit 615d435400435876ac68c1de37e9526a9164eaec ] Currently hda on tegra30 fails to open a stream with an input/output error. For example: speaker-test -Dhw:0,3 -c 2 speaker-test 1.2.2 Playback device is hw:0,3 Stream parameters are 48000Hz, S16_LE, 2 channels Usin

[PATCH AUTOSEL 5.10 23/45] arm64: make atomic helpers __always_inline

2021-01-19 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit c35a824c31834d947fb99b0c608c1b9f922b4ba0 ] With UBSAN enabled and building with clang, there are occasionally warnings like WARNING: modpost: vmlinux.o(.text+0xc533ec): Section mismatch in reference from the function arch_atomic64_or() to the variable .ini

[PATCH AUTOSEL 5.10 43/45] libperf tests: Fail when failing to get a tracepoint id

2021-01-19 Thread Sasha Levin
From: Ian Rogers [ Upstream commit 66dd86b2a2bee129c70f7ff054d3a6a2e5f8eb20 ] Permissions are necessary to get a tracepoint id. Fail the test when the read fails. Signed-off-by: Ian Rogers Acked-by: Jiri Olsa Cc: Alexander Shishkin Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc:

[PATCH AUTOSEL 5.4 03/26] dm integrity: select CRYPTO_SKCIPHER

2021-01-19 Thread Sasha Levin
From: Anthony Iliopoulos [ Upstream commit f7b347acb5f6c29d9229bb64893d8b6a2c7949fb ] The integrity target relies on skcipher for encryption/decryption, but certain kernel configurations may not enable CRYPTO_SKCIPHER, leading to compilation errors due to unresolved symbols. Explicitly select CR

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