[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

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 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

[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:

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

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)

[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 ---

[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 ---

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

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

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

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 >

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 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

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

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) { > +

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] 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

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:

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 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

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

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

[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

[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

[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 ---

[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 ---

[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

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

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

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 > ---

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,

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; > > >

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

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

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

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

[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

[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

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

[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

[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

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

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

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 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 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

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

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

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]

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 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

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

[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

Re: [PATCH] bcache: consider the fragmentation when update the writeback rate

2021-01-19 Thread Coly Li
On 1/19/21 8:56 PM, Dongdong Tao wrote: > From: dongdong tao > > Current way to calculate the writeback rate only considered the > dirty sectors, this usually works fine when the fragmentation > is not high, but it will give us unreasonable small rate when > we are under a situation that very

[PATCH 1/2] net: wireless: intel: iwlwifi: mvm: tt: Replace 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 etc. Replace thermal_notify_framework with thermal_zone_device_update as the later is more

[PATCH net v2] net: mscc: ocelot: Fix multicast to the CPU port

2021-01-19 Thread Alban Bedel
Multicast entries in the MAC table use the high bits of the MAC address to encode the ports that should get the packets. But this port mask does not work for the CPU port, to receive these packets on the CPU port the MAC_CPU_COPY flag must be set. Because of this IPv6 was effectively not working

[PATCH 0/2] thermal: Replace thermal_notify_framework with thermal_zone_device_update

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, running through the list of trip points and setting the next trip point etc. Since the later is a more thorough version of

Re: [PATCH v6 15/15] xhci: tegra: Enable ELPG for runtime/system PM

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:46PM +0800, JC Kuo wrote: > This commit implements the complete programming sequence for ELPG > entry and exit. > > 1. At ELPG entry, invokes tegra_xusb_padctl_enable_phy_sleepwalk() > and tegra_xusb_padctl_enable_phy_wake() to configure XUSB PADCTL >

Re: [PATCH v6 14/15] usb: host: xhci-tegra: Unlink power domain devices

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:45PM +0800, JC Kuo wrote: > This commit unlinks xhci-tegra platform device with SS/host power > domain devices. Reasons for this change is - at ELPG entry, PHY > sleepwalk and wake configuration need to be done before powering > down SS/host partitions, and PHY need

Re: [PATCH v6 02/15] clk: tegra: Don't enable PLLE HW sequencer at init

2021-01-19 Thread Thierry Reding
On Tue, Jan 19, 2021 at 04:55:33PM +0800, JC Kuo wrote: > PLLE hardware power sequencer references PEX/SATA UPHY PLL hardware > power sequencers' output to enable/disable PLLE. PLLE hardware power > sequencer has to be enabled only after PEX/SATA UPHY PLL's sequencers > are enabled. > >

[PATCH v3] lib: add basic KUnit test for lib/math

2021-01-19 Thread Daniel Latypov
Add basic test coverage for files that don't require any config options: * gcd.c * lcm.c * int_sqrt.c * reciprocal_div.c (Ignored int_pow.c since it's a simple textbook algorithm.) These tests aren't particularly interesting, but they * provide short and simple examples of parameterized tests *

Re: [STABLE BACKPORT 4.4.y, 4.9.y and 4.14.y] compiler.h: Raise minimum version of GCC to 5.1 for arm64

2021-01-19 Thread Nathan Chancellor
On Tue, Jan 19, 2021 at 02:15:43PM -0800, Nick Desaulniers wrote: > On Mon, Jan 18, 2021 at 5:54 AM Will Deacon wrote: > > > > commit dca5244d2f5b94f1809f0c02a549edf41ccd5493 upstream. > > > > GCC versions >= 4.9 and < 5.1 have been shown to emit memory references > > beyond the stack pointer,

Re: [PATCH v2] lib: add basic KUnit test for lib/math

2021-01-19 Thread Daniel Latypov
On Mon, Jan 18, 2021 at 2:36 AM Andy Shevchenko wrote: > > On Thu, Jan 14, 2021 at 10:27:00AM -0800, Daniel Latypov wrote: > > Add basic test coverage for files that don't require any config options: > > * gcd.c > > * lcm.c > > * int_sqrt.c > > * reciprocal_div.c > > (Ignored int_pow.c since it's

Re: [PATCH v6 1/2] dt-bindings: iio: accel: Add bmi088 accelerometer bindings

2021-01-19 Thread Rob Herring
On Tue, 19 Jan 2021 13:46:21 +0100, Mike Looijmans wrote: > This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, > the accelerometer part. > > Signed-off-by: Mike Looijmans > > --- > > Changes in v6: > I't been almost a year since the last commit, sorry... > Fixed the yaml

Re: [PATCH 2/2] media: dt-bindings: media: venus: Add sdm660 DT schema

2021-01-19 Thread AngeloGioacchino Del Regno
Il 20/01/21 00:17, Rob Herring ha scritto: On Fri, Jan 15, 2021 at 07:52:52PM +0100, AngeloGioacchino Del Regno wrote: Add new qcom,sdm660-venus DT binding schema. Signed-off-by: AngeloGioacchino Del Regno --- .../bindings/media/qcom,sdm660-venus.yaml | 164 ++ 1 file

Re: [PATCH 2/2] media: dt-bindings: media: venus: Add sdm660 DT schema

2021-01-19 Thread Rob Herring
On Fri, Jan 15, 2021 at 07:52:52PM +0100, AngeloGioacchino Del Regno wrote: > Add new qcom,sdm660-venus DT binding schema. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/media/qcom,sdm660-venus.yaml | 164 ++ > 1 file changed, 164 insertions(+) >

Greetings,

2021-01-19 Thread Mrs. Nefi Setu
-- I'm Mrs. Nefi Setu, did you Receive the (FUND), that was paid to you? please, do not hesitate to Let me know with your full name:.. for immediate verification notice, Thanks, Mrs. Nefi Setu, Foreign Remittance Director Sincerely Yours, Respectfully, Mr Bill T Winters, Group Chief Executive

Re: [PATCH 2/2] usb typec: tcpci: mt6360: Add vbus supply into dt-binding description

2021-01-19 Thread Rob Herring
On Fri, Jan 15, 2021 at 10:13:21PM +0800, cy_huang wrote: > From: ChiYuan Huang > > Add external vbus source into dt-binding description. > > Signed-off-by: ChiYuan Huang > --- > Documentation/devicetree/bindings/usb/mediatek,mt6360-tcpc.yaml | 7 +++ > 1 file changed, 7 insertions(+) >

Re: [PATCH] nvme: fix handling mapping failure

2021-01-19 Thread Marc Orr
On Tue, Jan 19, 2021 at 10:00 AM Christoph Hellwig wrote: > > On Tue, Jan 19, 2021 at 09:53:36AM -0800, Marc Orr wrote: > > This patch ensures that when `nvme_map_data()` fails to map the > > addresses in a scatter/gather list: > > > > * The addresses are not incorrectly unmapped. The underlying

Re: [PATCH v4 1/2] arm: lib: xor-neon: remove unnecessary GCC < 4.6 warning

2021-01-19 Thread Nick Desaulniers
On Tue, Jan 19, 2021 at 2:04 PM Nick Desaulniers wrote: > > On Tue, Jan 19, 2021 at 1:35 PM Arnd Bergmann wrote: > > > > On Tue, Jan 19, 2021 at 10:18 PM 'Nick Desaulniers' via Clang Built > > Linux wrote: > > > > > > On Tue, Jan 19, 2021 at 5:17 AM Adrian Ratiu > > > wrote: > > > > diff

[PATCH 2/4] scsi: ufs: Add exception event definitions

2021-01-19 Thread Adrian Hunter
For readability and completeness, add exception event definitions. Signed-off-by: Adrian Hunter --- drivers/scsi/ufs/ufs.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h index 09c7cc8a678d..5d4a2740a159 100644 ---

[PATCH 1/4] scsi: ufs: Add exception event tracepoint

2021-01-19 Thread Adrian Hunter
Currently, exception event status can be read from wExceptionEventStatus attribute (sysfs file attributes/exception_event_status under the UFS host controller device directory). Polling that attribute to track UFS exception events is impractical, so add a tracepoint to track exception events for

[PATCH 0/4] scsi: ufs-debugfs: Add UFS Exception Event reporting

2021-01-19 Thread Adrian Hunter
Hi Here are patches to add a tracepoint for UFS Exception Events and to allow users to enable specific exception events without affecting the driver's use of exception events. Adrian Hunter (4): scsi: ufs: Add exception event tracepoint scsi: ufs: Add exception event definitions

Re: [PATCH 1/4] perf tools: Allow to enable/disable events via control file

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 27, 2020 at 12:20:35AM +0100, Jiri Olsa escreveu: > Adding new control events to enable/disable specific event. > The interface string for control file are: > > 'enable ' > 'disable ' > > when received the command, perf will scan the current evlist > for and if found it's

[PATCH v4 22/21] regulator: hi6421v600-regulator: use some regmap helpers

2021-01-19 Thread Mauro Carvalho Chehab
Now that the driver was ported to use regmap, let's use some help functions in order to simplify the code a little bit. Suggested-by: Mark Brown Signed-off-by: Mauro Carvalho Chehab --- drivers/regulator/hi6421v600-regulator.c | 45 ++-- 1 file changed, 3 insertions(+), 42

Re: [PATCH v4 19/21] regulator: hi6421v600-regulator: move it from staging

2021-01-19 Thread Mauro Carvalho Chehab
Em Tue, 19 Jan 2021 16:19:50 + Mark Brown escreveu: > On Tue, Jan 19, 2021 at 05:10:45PM +0100, Mauro Carvalho Chehab wrote: > > > +static int hi6421_spmi_regulator_get_voltage_sel(struct regulator_dev > > *rdev) > > +{ > > > +static int hi6421_spmi_regulator_set_voltage_sel(struct

[PATCH 4/4] scsi: ufs-debugfs: Add user-defined exception event rate limiting

2021-01-19 Thread Adrian Hunter
An enabled user-specified exception event that does not clear quickly will repeatedly cause the handler to run. That could unduly disturb the driver behaviour being tested or debugged. To prevent that add debugfs file exception_event_rate_limit_ms. When a exception event happens, it is disabled,

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

2021-01-19 Thread Jim Mattson
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 'nopcid'. Gmail mangles long lines, so please see the

Re: [RFC PATCH 00/37] block: introduce bio_init_fields()

2021-01-19 Thread Mike Snitzer
On Tue, Jan 19 2021 at 12:05am -0500, Chaitanya Kulkarni wrote: > Hi, > > This is a *compile only RFC* which adds a generic helper to initialize > the various fields of the bio that is repeated all the places in > file-systems, block layer, and drivers. > > The new helper allows callers to

Re: [PATCH v4 3/5] kasan: Add report for async mode

2021-01-19 Thread Vincenzo Frascino
On 1/19/21 1:04 PM, Catalin Marinas wrote: > On Mon, Jan 18, 2021 at 06:30:31PM +, Vincenzo Frascino wrote: >> KASAN provides an asynchronous mode of execution. >> >> Add reporting functionality for this mode. >> >> Cc: Dmitry Vyukov >> Cc: Andrey Ryabinin >> Cc: Alexander Potapenko >>

[PATCH v2] dmabuf: Add the capability to expose DMA-BUF stats in sysfs

2021-01-19 Thread Hridya Valsaraju
This patch allows statistics to be enabled for each DMA-BUF in sysfs by enabling the config CONFIG_DMABUF_SYSFS_STATS. The following stats will be exposed by the interface: /sys/kernel/dmabuf/buffers//exporter_name /sys/kernel/dmabuf/buffers//size /sys/kernel/dmabuf/buffers//attachments//device

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

2021-01-19 Thread Vincent Guittot
On Tue, 19 Jan 2021 at 14:54, Valentin Schneider wrote: > > 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

[PATCH] arch/arm/mm/mmu.c: Remove duplicate header

2021-01-19 Thread Hailong liu
From: Hailong Liu Remove asm/fixmap.h which is included more than once. Signed-off-by: Hailong Liu --- arch/arm/mm/mmu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index c06ebfbc48c4..a25b660c3017 100644 --- a/arch/arm/mm/mmu.c +++

Re: [PATCH RFC 07/30] mm/swap: Introduce the idea of special swap ptes

2021-01-19 Thread Peter Xu
On Mon, Jan 18, 2021 at 03:40:13PM -0400, Jason Gunthorpe wrote: > Does the stuff in hmm.c need updating too? > > if (!pte_present(pte)) { > swp_entry_t entry = pte_to_swp_entry(pte); This idea should be cross-tree, so yes.. even if I'm not 100% sure whether HMM would be

Re: mmotm 2021-01-19-13-36 uploaded (ZONE_DEVICE)

2021-01-19 Thread Randy Dunlap
On 1/19/21 1:37 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2021-01-19-13-36 has been uploaded to > >https://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > https://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my

[PATCH] arm64: kernel: Make IPI_WAKEUP under control of CONFIG_ARM64_ACPI_PARKING_PROTOCOL

2021-01-19 Thread Chen Jun
since commit 5e89c55e4ed81d7abb1ce8828db35fa389dc0e90 ("arm64: kernel: implement ACPI parking protocol") On arm64, IPI 6 will be wasted without setting CONFIG_ARM64_ACPI_PARKING_PROTOCOL. Signed-off-by: Chen Jun --- arch/arm64/kernel/smp.c | 4 1 file changed, 4 insertions(+) diff --git

Re: [PATCH bpf-next v2 2/3] virtio-net: support IFF_TX_SKB_NO_LINEAR

2021-01-19 Thread Alexander Lobakin
From: Xuan Zhuo Date: Tue, 19 Jan 2021 17:45:11 +0800 > Virtio net supports the case where the skb linear space is empty, so add > priv_flags. > > Signed-off-by: Xuan Zhuo > --- > drivers/net/virtio_net.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH v3 04/12] opp: Add dev_pm_opp_sync_regulators()

2021-01-19 Thread Dmitry Osipenko
19.01.2021 07:58, Viresh Kumar пишет: > On 18-01-21, 21:35, Dmitry Osipenko wrote: >> 18.01.2021 11:20, Viresh Kumar пишет: +int dev_pm_opp_sync_regulators(struct device *dev) +{ + struct opp_table *opp_table; + struct regulator *reg; + int i, ret = 0; + + /*

Re: [PATCHv4 0/4] perf tools: Allow to enable/disable events via control pipe

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 27, 2020 at 12:20:34AM +0100, Jiri Olsa escreveu: > hi, > adding support to enable/disable specific events via control > file via following commands: > > # echo 'enable sched:sched_process_fork' > control > # echo 'disabled sched:sched_process_fork' > control > > v4 changes:

Re: [PATCH] resource: Remove unneeded semicolon

2021-01-19 Thread Rafael J. Wysocki
On 1/18/2021 2:50 AM, Chengyang Fan wrote: Remove a superfluous semicolon after function definition. Signed-off-by: Chengyang Fan --- include/linux/ioport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/ioport.h b/include/linux/ioport.h index

Re: [PATCH v4 4/5] arm64: mte: Enable async tag check fault

2021-01-19 Thread Catalin Marinas
On Mon, Jan 18, 2021 at 06:30:32PM +, Vincenzo Frascino wrote: > static void update_sctlr_el1_tcf0(u64 tcf0) > { > /* ISB required for the kernel uaccess routines */ > @@ -235,6 +273,15 @@ void mte_thread_switch(struct task_struct *next) > /* avoid expensive SCTLR_EL1 accesses if

Re: [RFC v3 2/2] vfio/platform: msi: add Broadcom platform devices

2021-01-19 Thread Alex Williamson
On Fri, 15 Jan 2021 10:24:33 +0100 Auger Eric wrote: > Hi Vikas, > On 1/15/21 7:35 AM, Vikas Gupta wrote: > > Hi Eric, > > > > On Tue, Jan 12, 2021 at 2:52 PM Auger Eric wrote: > >> > >> Hi Vikas, > >> > >> On 12/14/20 6:45 PM, Vikas Gupta wrote: > >>> Add msi support for Broadcom platform

Re: [PATCH v2 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-19 Thread Alessandrelli, Daniele
Hi Rob, Thanks for your review. On Mon, 2021-01-11 at 13:24 -0600, Rob Herring wrote: > On Fri, Jan 08, 2021 at 01:25:32PM -0800, mgr...@linux.intel.com > wrote: > > From: Paul Murphy > > > > Add DT bindings documentation for the Keem Bay VPU IPC driver. > > > > Cc: Rob Herring > > Cc:

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter wrote: > > > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > > the region") /dev/kmem zaps ptes when the kernel requests exclusive > > acccess to an iomem region.

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 19, 2021 at 12:48:19AM +, Song Liu escreveu: > > On Jan 18, 2021, at 11:38 AM, Arnaldo Carvalho de Melo > > wrote: > We are looking at two issues: > 1. Cannot recursively attach; > 2. prog FD 3 doesn't have valid btf. > #1 was caused by the verifier disallowing attaching

Re: [PATCH v4 1/2] drivers/misc: sysgenid: add system generation id driver

2021-01-19 Thread Randy Dunlap
Hi-- On 1/12/21 4:15 AM, Adrian Catangiu wrote: > - Background and problem > > --- > Documentation/misc-devices/sysgenid.rst | 240 + > drivers/misc/Kconfig| 16 ++ > drivers/misc/Makefile | 1 + > drivers/misc/sysgenid.c

Re: [PATCH v7 12/17] PCI: Revoke mappings like devmem

2021-01-19 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 3:32 PM Greg Kroah-Hartman wrote: > > On Tue, Jan 19, 2021 at 09:17:55AM +0100, Daniel Vetter wrote: > > On Fri, Nov 27, 2020 at 5:42 PM Daniel Vetter > > wrote: > > > > > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > > > the region") /dev/kmem

Re: [PATCH v2 6/7] platform: x86: Add intel_skl_int3472 driver

2021-01-19 Thread Andy Shevchenko
On Tue, Jan 19, 2021 at 06:36:31PM +0200, Laurent Pinchart wrote: > On Tue, Jan 19, 2021 at 11:33:58AM +0200, Andy Shevchenko wrote: > > On Tue, Jan 19, 2021 at 12:11:40AM +, Daniel Scally wrote: > > > On 18/01/2021 21:19, Daniel Scally wrote: ... > > See my previous reply. TL;DR: you have

Re: [PATCH v7 3/3] perf-stat: enable counting events for BPF programs

2021-01-19 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 19, 2021 at 09:54:50PM +, Song Liu escreveu: > > > > On Jan 19, 2021, at 8:31 AM, Arnaldo Carvalho de Melo > > wrote: > > > > Em Tue, Jan 19, 2021 at 11:42:49AM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Tue, Jan 19, 2021 at 11:31:44AM -0300, Arnaldo Carvalho de Melo >

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