[PATCH 11/15] input: touchscreen: wm97xx-core: Provide missing description for 'status'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/wm97xx-core.c:204: warning: Function parameter or member 'status' not described in 'wm97xx_set_gpio' Cc: Dmitry Torokhov Cc: Liam Girdwood Cc: Ian Molton Cc: Andrew Zabolotny Cc: Russell King Cc: patc...@opensource.

Re: [PATCH v3 11/11] KVM: VMX: Track root HPA instead of EPTP for paravirt Hyper-V TLB flush

2020-11-12 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Track the address of the top-level EPT struct, a.k.a. the root HPA, > instead of the EPTP itself for Hyper-V's paravirt TLB flush. The > paravirt API takes only the address, not the full EPTP, and in theory > tracking the EPTP could lead to false negatives, e.g. if

Re: [RFC PATCH v2 10/10] firmware: arm_scmi: Add virtio transport

2020-11-12 Thread Peter Hilber
On 10.11.20 22:32, Cristian Marussi wrote: > Hi Peter/Igor, > > I went through this series while trying to grasp a bit more of all the > virtio inner workings and needs and I'll leave a few detailed comments > down below. > > In short at first, I think I can say that there are a couple of places

Re: [patch V3 10/37] ARM: highmem: Switch to generic kmap atomic

2020-11-12 Thread Thomas Gleixner
Marek, On Thu, Nov 12 2020 at 09:10, Marek Szyprowski wrote: > On 03.11.2020 10:27, Thomas Gleixner wrote: > > I can do more tests to help fixing this issue. Just let me know what to do. Just sent out the fix before I saw your report. https://lore.kernel.org/r/87y2j6n8mj@nanos.tec.linut

[PATCH 10/15] input: touchscreen: surface3_spi: Fix naming issue with 'surface3_spi_get_gpio_config's header

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/surface3_spi.c: In function ‘surface3_spi_process_touch’: drivers/input/touchscreen/surface3_spi.c:97:6: warning: variable ‘timestamp’ set but not used [-Wunused-but-set-variable] drivers/input/touchscreen/surface3_spi

[PATCH 09/15] input: misc: wm831x-on: Source file headers are not good candidates for kernel-doc

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/misc/wm831x-on.c:30: warning: cannot understand function prototype: 'struct wm831x_on ' Cc: Dmitry Torokhov Cc: Mark Brown Cc: patc...@opensource.cirrus.com Cc: linux-in...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/in

[PATCH 08/15] input: touchscreen: surface3_spi: Remove set but unused variable 'timestamp'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/surface3_spi.c: In function ‘surface3_spi_process_touch’: drivers/input/touchscreen/surface3_spi.c:97:6: warning: variable ‘timestamp’ set but not used [-Wunused-but-set-variable] Cc: Dmitry Torokhov Cc: Henrik Rydber

[PATCH 07/15] input: touchscreen: usbtouchscreen: Remove unused variable 'ret'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/usbtouchscreen.c: In function ‘nexio_read_data’: drivers/input/touchscreen/usbtouchscreen.c:1052:50: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Dmitry Torokhov Cc: Henrik Rydberg Cc: Jame

[PATCH 05/15] input: touchscreen: imx6ul_tsc: Remove set but unused variable 'value'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/imx6ul_tsc.c: In function ‘adc_irq_fn’: drivers/input/touchscreen/imx6ul_tsc.c:307:6: warning: variable ‘value’ set but not used [-Wunused-but-set-variable] Cc: Dmitry Torokhov Cc: Shawn Guo Cc: Sascha Hauer Cc: Peng

[PATCH 04/15] input: touchscreen: goodix: Provide some missing function parameter descriptions

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/goodix.c:569: warning: Function parameter or member 'len' not described in 'goodix_check_cfg' drivers/input/touchscreen/goodix.c:587: warning: Function parameter or member 'len' not described in 'goodix_send_cfg' drive

[PATCH 02/15] input: keyboard: samsung-keypad: Remove set but unused variable 'var'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/keyboard/samsung-keypad.c: In function ‘samsung_keypad_irq’: drivers/input/keyboard/samsung-keypad.c:149:15: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] Cc: Dmitry Torokhov Cc: Joonyoung Shim Cc: Donghwa

[PATCH 01/15] input: joystick: xpad: Demote non-conformant kernel-doc header

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'xpad' not described in 'xpad_send_led_command' drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'command' not described in 'xpad_send_led_command

Re: [PATCH V3] clk: hisilicon: refine hi3620_mmc_clk_init() and fix memory leak issues

2020-11-12 Thread Dongjiu Geng
add Markus On 2020/11/13 3:22, Dongjiu Geng wrote: > Refine hi3620_mmc_clk_init() to use of_clk_add_hw_provider() > instead of of_clk_add_provider(), the called function hisi_register_clk_mmc() > returns 'clk_hw *' to adapt to this change. Also free memory mapping and > free hw_data if clock init

[PATCH] mm/highmem: Take kmap_high_get() properly into account

2020-11-12 Thread Thomas Gleixner
kunmap_local() warns when the virtual address to unmap is below PAGE_OFFSET. This is correct except for the case that the mapping was obtained via kmap_high_get() because the PKMAP addresses are right below PAGE_OFFSET. Cure it by skipping the WARN_ON() when the unmap was handled by kunmap_high().

[PATCH v2 4/4] tty: serial: pmac_zilog: Remove unused disposable variable 'garbage'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/tty/serial/pmac_zilog.h:365:58: warning: variable ‘garbage’ set but not used [-Wunused-but-set-variable] Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linux-ser...@vger.k

Re: [PATCH v3 10/11] KVM: VMX: Skip additional Hyper-V TLB EPTP flushes if one fails

2020-11-12 Thread Vitaly Kuznetsov
Sean Christopherson writes: > Skip additional EPTP flushes if one fails when processing EPTPs for > Hyper-V's paravirt TLB flushing. If _any_ flush fails, KVM falls back > to a full global flush, i.e. additional flushes are unnecessary (and > will likely fail anyways). > > Continue processing th

Re: [patch V3 10/37] ARM: highmem: Switch to generic kmap atomic

2020-11-12 Thread Sebastian Andrzej Siewior
On 2020-11-12 09:10:34 [+0100], Marek Szyprowski wrote: > I can do more tests to help fixing this issue. Just let me know what to do. -> https://lkml.kernel.org/r/87y2j6n8mj@nanos.tec.linutronix.de Sebastian

[PATCH v2 3/4] powerpc: asm: hvconsole: Move 'hvc_vio_init_early's prototype to shared location

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/tty/hvc/hvc_vio.c:385:13: warning: no previous prototype for ‘hvc_vio_init_early’ [-Wmissing-prototypes] 385 | void __init hvc_vio_init_early(void) | ^~ Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerra

Re: [RFC 02/11] coresight: etm-perf: Allow an event to use different sinks

2020-11-12 Thread Suzuki K Poulose
On 11/12/20 10:37 AM, Linu Cherian wrote: Hi Suzuki, On Thu, Nov 12, 2020 at 2:51 PM Suzuki K Poulose wrote: Hi Linu, Please could you test this slightly modified version and give us a Tested-by tag if you are happy with the results ? Suzuki On 11/10/20 12:45 PM, Anshuman Khandual wrote:

[PATCH net] net: dsa: lantiq_gswip: add missed clk_disable_unprepare() in gswip_gphy_fw_load()

2020-11-12 Thread Zhang Changzhong
Fix missing clk_disable_unprepare() before return from gswip_gphy_fw_load() in the error handling case. Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/dsa/lantiq_gswip.c | 6 +- 1 file change

[PATCH 1/3] net: mac80211: use core API for updating TX stats

2020-11-12 Thread Lev Stipakov
Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added function "dev_sw_netstats_tx_add()" to update net device per-cpu TX stats. Use this function instead of ieee80211_tx_stats(). Signed-off-by: Lev Stipakov --- net/mac80211/tx.c | 16 +++- 1 file changed, 3 inser

[PATCH 2/3] net: openvswitch: use core API for updating TX stats

2020-11-12 Thread Lev Stipakov
Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added function "dev_sw_netstats_tx_add()" to update net device per-cpu TX stats. Use this function instead of own code. While on it, replace "len" variable with "skb->len". Signed-off-by: Lev Stipakov --- net/openvswitch/vport-i

[PATCH] sched/fair: Fix overutilized update in enqueue_task_fair()

2020-11-12 Thread Quentin Perret
enqueue_task_fair() attempts to skip the overutilized update for new tasks as their util_avg is not accurate yet. However, the flag we check to do so is overwritten earlier on in the function, which makes the condition pretty much a nop. Fix this by saving the flag early on. Fixes: 2802bf3cd936 (

Re: [PATCH 1/2] xfs: show the dax option in mount options.

2020-11-12 Thread Michal Suchánek
On Thu, Nov 12, 2020 at 12:49:52PM +1100, Dave Chinner wrote: > On Wed, Nov 11, 2020 at 11:28:48AM +0100, Michal Suchánek wrote: > > On Tue, Nov 10, 2020 at 08:08:23AM +1100, Dave Chinner wrote: > > > On Mon, Nov 09, 2020 at 09:27:05PM +0100, Michal Suchánek wrote: > > > > On Mon, Nov 09, 2020 at 1

Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non-Transparent Bridge

2020-11-12 Thread Kishon Vijay Abraham I
Hi Sherry, On 11/11/20 8:19 am, Sherry Sun wrote: > Hi Kishon, > >> Subject: Re: [PATCH v7 15/18] NTB: Add support for EPF PCI-Express Non- >> Transparent Bridge >> >> Hi Sherry, Arnd, >> >> On 10/11/20 8:29 pm, Arnd Bergmann wrote: >>> On Tue, Nov 10, 2020 at 3:20 PM Kishon Vijay Abraham I >> w

Re: [PATCH 05/25] soc: rockchip: io-domain: Remove incorrect and incomplete comment header

2020-11-12 Thread Heiko Stübner
Am Donnerstag, 12. November 2020, 11:33:44 CET schrieb Lee Jones: > On Tue, 03 Nov 2020, Lee Jones wrote: > > > Fixes the following W=1 kernel build warning(s): > > > > drivers/soc/rockchip/io-domain.c:57: warning: Cannot understand * > > @supplies: voltage settings matching the register bits.

[PATCH 3/3] net: xfrm: use core API for updating TX stats

2020-11-12 Thread Lev Stipakov
Commit d3fd65484c781 ("net: core: add dev_sw_netstats_tx_add") has added function "dev_sw_netstats_tx_add()" to update net device per-cpu TX stats. Use this function instead of own code. Signed-off-by: Lev Stipakov --- net/xfrm/xfrm_interface.c | 7 +-- 1 file changed, 1 insertion(+), 6 del

[PATCH] net: ethernet: ti: cpsw: fix cpts irq after suspend

2020-11-12 Thread Grygorii Strashko
Depending on the SoC/platform the CPSW can completely lose context after a suspend/resume cycle, including CPSW wrapper (WR) which will cause reset of WR_C0_MISC_EN register, so CPTS IRQ will became disabled. Fix it by moving CPTS IRQ enabling in cpsw_ndo_open() where CPTS is actually started. Fi

Re: [Resend][PATCH] drivers/thermal: cleanup coding style a bit

2020-11-12 Thread Daniel Lezcano
On 10/11/2020 09:10, Bernard wrote: > Function thermal_add_hwmon_sysfs, hwmon will be NULL when > new_hwmon_device = 0, so there is no need to check, kfree will > handle NULL point. > > Signed-off-by: Bernard Zhao > --- Applied, thanks -- Linaro.org │ Open source sof

Re: [PATCH 00/25] Rid W=1 warnings in SoC

2020-11-12 Thread Heiko Stuebner
On Tue, 3 Nov 2020 15:28:13 +, 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. > > Lee Jones (25): > soc: bcm: brcmstb: pm: pm-arm: Provide prototype for > brcmstb

[PATCH] lib: vsprintf: Avoid 32-bit truncation in vsscanf number parsing

2020-11-12 Thread Richard Fitzgerald
Number conversion in vsscanf converts a whole string of digits and then extracts the field width part from the converted value. The maximum run of digits is limited by overflow. Conversion was using either simple_strto[u]l or simple_strto[u]ll based on the 'L' qualifier. This created a difference i

Re: [PATCH 1/2] arm64: cpufeature: Add GIC CPUIF v4.1 detection

2020-11-12 Thread Marc Zyngier
On 2020-11-11 16:28, Lorenzo Pieralisi wrote: GIC v4.1 introduced changes to the GIC CPU interface; systems that integrate CPUs that do not support GIC v4.1 features (as reported in the ID_AA64PFR0_EL1.GIC bitfield) and a GIC v4.1 controller must disable in software virtual SGIs support since t

Re: drivers/mtd/maps/physmap-bt1-rom.c:78:18: sparse: sparse: cast removes address space '__iomem' of expression

2020-11-12 Thread Serge Semin
On Thu, Nov 12, 2020 at 09:27:15AM +0100, Miquel Raynal wrote: > Hi Sergey, > > Serge Semin wrote on Wed, 11 Nov > 2020 22:22:59 +0300: > > > On Tue, Nov 10, 2020 at 04:35:56PM +0100, Miquel Raynal wrote: > > > Hi Serge, > > > > > > Serge Semin wrote on Tue, 10 Nov > > > 2020 14:38:27 +0300: >

[PATCH v1] dt-bindings: touchscreen: add touchscreen-read-duration-us and touchscreen-settling-time-us properties

2020-11-12 Thread Oleksij Rempel
According to the TI application bulletin [1] we deal with two generic mechanisms which would affect the precision of provided input events: |TOUCH SCREEN SETTLING TIME | |When the touch panel is pressed or touched, there are |two mechanisms that will affect the voltage level at the contact point

Re: [PATCH 09/15] input: misc: wm831x-on: Source file headers are not good candidates for kernel-doc

2020-11-12 Thread Richard Fitzgerald
On 12/11/2020 11:01, Lee Jones wrote: Fixes the following W=1 kernel build warning(s): drivers/input/misc/wm831x-on.c:30: warning: cannot understand function prototype: 'struct wm831x_on ' Cc: Dmitry Torokhov Cc: Mark Brown Cc: patc...@opensource.cirrus.com Cc: linux-in...@vger.kernel.org

Re: [Resend][PATCH] drivers/thermal: fix potential memleak in error branch

2020-11-12 Thread Daniel Lezcano
On 10/11/2020 09:10, Bernard wrote: > Function __thermal_cooling_device_register, when device_register > failed, cdev is not free after error value return, this may > bring in potential memleak. > > Signed-off-by: Bernard Zhao > --- > drivers/thermal/thermal_core.c | 1 + > 1 file changed, 1 ins

[PATCH net] net: phy: smsc: add missed clk_disable_unprepare in smsc_phy_probe()

2020-11-12 Thread Zhang Changzhong
Add the missing clk_disable_unprepare() before return from smsc_phy_probe() in the error handling case. Fixes: bedd8d78aba3 ("net: phy: smsc: LAN8710/20: add phy refclk in support") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/phy/smsc.c | 4 +++- 1 file changed, 3 in

Re: [PATCH 2/2] mm,thp,shm: limit gfp mask to no more than specified

2020-11-12 Thread Michal Hocko
[Cc Chris for i915 and Andray] On Thu 05-11-20 14:15:08, Rik van Riel wrote: > Matthew Wilcox pointed out that the i915 driver opportunistically > allocates tmpfs memory, but will happily reclaim some of its > pool if no memory is available. It would be good to explicitly mention the requested gf

Re: [PATCH 11/15] input: touchscreen: wm97xx-core: Provide missing description for 'status'

2020-11-12 Thread Richard Fitzgerald
On 12/11/2020 11:02, Lee Jones wrote: Fixes the following W=1 kernel build warning(s): drivers/input/touchscreen/wm97xx-core.c:204: warning: Function parameter or member 'status' not described in 'wm97xx_set_gpio' Cc: Dmitry Torokhov Cc: Liam Girdwood Cc: Ian Molton Cc: Andrew Zabolotny

Re: [PATCH v2] thermal/drivers/cpufreq_cooling: Update cpufreq_state only if state has changed

2020-11-12 Thread Daniel Lezcano
On 06/11/2020 10:22, zhuguangqin...@gmail.com wrote: > From: Zhuguangqing > > If state has not changed successfully and we updated cpufreq_state, > next time when the new state is equal to cpufreq_state (not changed > successfully last time), we will return directly and miss a > freq_qos_update_r

Re: [PATCH v21 14/19] mm/lru: introduce TestClearPageLRU

2020-11-12 Thread Vlastimil Babka
On 11/12/20 3:03 AM, Hugh Dickins wrote: On Wed, 11 Nov 2020, Vlastimil Babka wrote: On 11/5/20 9:55 AM, Alex Shi wrote: > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1542,7 +1542,7 @@ unsigned int reclaim_clean_pages_from_list(struct > zone *zone, >*/ > int __isolate_lru_page(struct page

Re: [PATCH v2 05/17] clocksource/hyperv: use MSR-based access if running as root

2020-11-12 Thread Wei Liu
On Thu, Nov 12, 2020 at 10:56:17AM +0100, Daniel Lezcano wrote: > On 05/11/2020 17:58, Wei Liu wrote: > > Signed-off-by: Wei Liu > > --- > > I would like to apply this patch but the changelog is too short (one line). > > Please add a small paragraph (no need to resend just answer here, I will >

Re: [PATCH v21 15/19] mm/compaction: do page isolation first in compaction

2020-11-12 Thread Vlastimil Babka
On 11/12/20 3:28 AM, Hugh Dickins wrote: On Wed, 11 Nov 2020, Vlastimil Babka wrote: On 11/5/20 9:55 AM, Alex Shi wrote: > @@ -979,10 +995,6 @@ static bool too_many_isolated(pg_data_t *pgdat) >goto isolate_abort; >} > -

[PATCH] ceph: downgrade warning from mdsmap decode to debug

2020-11-12 Thread Luis Henriques
While the MDS cluster is unstable and changing state the client may get mdsmap updates that will trigger warnings: [144692.478400] ceph: mdsmap_decode got incorrect state(up:standby-replay) [144697.489552] ceph: mdsmap_decode got incorrect state(up:standby-replay) [144697.489580] ceph: mdsma

Re: [PATCH] reboot: Fix variable assignments in type_store

2020-11-12 Thread Matteo Croce
On Thu, Nov 12, 2020 at 4:50 AM Nathan Chancellor wrote: > > Clang warns: > > kernel/reboot.c:707:17: warning: implicit conversion from enumeration > type 'enum reboot_type' to different enumeration type 'enum reboot_mode' > [-Wenum-conversion] > reboot_mode = BOOT_TRIPLE; >

Re: [PATCH] PCI: altera-msi: Remove irq handler and data in one go

2020-11-12 Thread Thomas Gleixner
On Wed, Nov 11 2020 at 16:16, Bjorn Helgaas wrote: > On Wed, Nov 11, 2020 at 10:43:55PM +0100, Martin Kaiser wrote: >> This function uses the error status from irq_set_handler_data(). >> irq_set_chained_handler_and_data() returns no such error status. Is it >> ok to drop the error handling? > > I'm

Re: [PATCH] thermal: intel_pch_thermal: Add PCI ids for Lewisburg PCH.

2020-11-12 Thread Daniel Lezcano
On 28/10/2020 21:21, Andres Freund wrote: > Hi, > > On 2020-01-16 11:41:34 -0800, Srinivas Pandruvada wrote: >> On Thu, 2020-01-16 at 10:42 -0800, Andres Freund wrote: >>> Hi, >>> >>> On 2020-01-16 05:53:13 -0800, Srinivas Pandruvada wrote: On Wed, 2020-01-15 at 10:44 -0800, Andres Freund wro

Re: [PATCH] thermal: ti-soc-thermal: Disable the CPU PM notifier for OMAP4430

2020-11-12 Thread Daniel Lezcano
On 03/11/2020 07:42, Peter Ujfalusi wrote: > Eduardo, Keerthy, > > On 29/10/2020 12.51, Tony Lindgren wrote: >> * Peter Ujfalusi [201029 10:03]: >>> Disabling the notifier fixes the random shutdowns on OMAP4430 (ES2.0 and >>> ES2.1) >>> but it does not cause any issues on OMAP4460 (PandaES) or O

[PATCH v3 2/4] iommu/iova: Avoid double-negatives in magazine helpers

2020-11-12 Thread John Garry
A similar crash to the following could be observed if initial CPU rcache magazine allocations fail in init_iova_rcaches(): Unable to handle kernel NULL pointer dereference at virtual address Mem abort info: ESR = 0x9604 EC = 0x25: DABT (current EL), IL = 32 bits SET

[PATCH v3 4/4] iommu: avoid taking iova_rbtree_lock twice

2020-11-12 Thread John Garry
From: Cong Wang Both find_iova() and __free_iova() take iova_rbtree_lock, there is no reason to take and release it twice inside free_iova(). Fold them into one critical section by calling the unlock versions instead. Signed-off-by: Cong Wang Reviewed-by: Robin Murphy Signed-off-by: John Garr

[PATCH v3 1/4] iommu/iova: Add free_all_cpu_cached_iovas()

2020-11-12 Thread John Garry
Add a helper function to free the CPU rcache for all online CPUs. There also exists a function of the same name in drivers/iommu/intel/iommu.c, but the parameters are different, and there should be no conflict. Signed-off-by: John Garry --- drivers/iommu/iova.c | 13 + 1 file change

[PATCH net] net: ethernet: mtk-star-emac: fix error return code in mtk_star_enable()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/mediatek/mtk_star_emac.c | 1 + 1

[PATCH v3 0/4] iommu/iova: Solve longterm IOVA issue

2020-11-12 Thread John Garry
This series contains a patch to solve the longterm IOVA issue which leizhen originally tried to address at [0]. A sieved kernel log is at the following, showing periodic dumps of IOVA sizes, per CPU and per depot bin, per IOVA size granule: https://raw.githubusercontent.com/hisilicon/kernel-dev/to

[PATCH v3 3/4] iommu/iova: Flush CPU rcache for when a depot fills

2020-11-12 Thread John Garry
Leizhen reported some time ago that IOVA performance may degrade over time [0], but unfortunately his solution to fix this problem was not given attention. To summarize, the issue is that as time goes by, the CPU rcache and depot rcache continue to grow. As such, IOVA RB tree access time also cont

Re: [PATCH 1/4] drivers core: Introduce CPU type sysfs interface

2020-11-12 Thread Greg Kroah-Hartman
On Thu, Nov 12, 2020 at 12:21:43PM +0100, Brice Goglin wrote: > > Le 12/11/2020 à 11:49, Greg Kroah-Hartman a écrit : > > On Thu, Nov 12, 2020 at 10:10:57AM +0100, Brice Goglin wrote: > >> Le 12/11/2020 à 07:42, Greg Kroah-Hartman a écrit : > >>> On Thu, Nov 12, 2020 at 07:19:48AM +0100, Brice Gog

Re: [PATCH] thermal: intel_pch_thermal: Add PCI ids for Lewisburg PCH.

2020-11-12 Thread Daniel Lezcano
On 28/10/2020 21:21, Andres Freund wrote: > Hi, > > On 2020-01-16 11:41:34 -0800, Srinivas Pandruvada wrote: >> On Thu, 2020-01-16 at 10:42 -0800, Andres Freund wrote: >>> Hi, >>> >>> On 2020-01-16 05:53:13 -0800, Srinivas Pandruvada wrote: On Wed, 2020-01-15 at 10:44 -0800, Andres Freund wro

Re: [PATCH 2/2] ARM: omap2plus_defconfig: Enable OMAP3_THERMAL

2020-11-12 Thread Adam Ford
On Fri, Oct 16, 2020 at 11:19 AM Adam Ford wrote: > > On Fri, Sep 11, 2020 at 7:32 AM Adam Ford wrote: > > > > With the additional power management options enabled, > > this patch enables OMAP3_THERMAL by default. > > > > Signed-off-by: Adam Ford > > --- > > V3: No change > > V2: No change > >

Re: [PATCH] ARM: tegra: Populate OPP table for Tegra20 Ventana

2020-11-12 Thread Jon Hunter
On 12/11/2020 10:51, Dmitry Osipenko wrote: ... > If you don't see a message in KMSG saying "bringing vdd_cpu to > 100uV", then should be good. The bootlog shows ... [2.271768] tps6586x 3-0034: Found TPS658621C/D, VERSIONCRC is 2c [2.280320] vdd_sys: supplied by vdd_5v0 [2.2

Re: [PATCH] docs: thermal: time_in_state is displayed in msec and not usertime

2020-11-12 Thread Daniel Lezcano
On 10/11/2020 11:43, Viresh Kumar wrote: > The sysfs stats for cooling devices shows the time_in_state in msec, > remove the unwanted usertime comment. > > Signed-off-by: Viresh Kumar > --- Applied, thanks -- Linaro.org │ Open source software for ARM SoCs Follow Lina

Re: [PATCH v2 11/20] kasan: add and integrate kasan boot parameters

2020-11-12 Thread Catalin Marinas
On Tue, Nov 10, 2020 at 11:20:15PM +0100, Andrey Konovalov wrote: > Hardware tag-based KASAN mode is intended to eventually be used in > production as a security mitigation. Therefore there's a need for finer > control over KASAN features and for an existence of a kill switch. > > This change adds

Re: [PATCH V9 1/4] perf/core: Add PERF_SAMPLE_DATA_PAGE_SIZE

2020-11-12 Thread Peter Zijlstra
On Thu, Nov 12, 2020 at 10:53:58AM +0100, Peter Zijlstra wrote: > You just don't like it because you want me to be purely page-table > based. How's something like this then? I failed to untangle Power's many MMUs though :/ --- arch/arm64/include/asm/pgtable.h| 3 ++ arch/sparc/include/asm/

[PATCH net] iavf: fix error return code in iavf_init_get_resources()

2020-11-12 Thread Zhang Changzhong
Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Fixes: b66c7bc1cd4d ("iavf: Refactor init state machine") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/net/ethernet/intel/iavf/iavf_main.c | 3 ++- 1 file ch

[PATCH] Documentation: scheduler: fix outdated information on arch SD flags and sched_domain

2020-11-12 Thread Barry Song
This document seems to be out of date for many, many years. Even it has misspelled from the first day. ARCH_HASH_SCHED_TUNE should be ARCH_HAS_SCHED_TUNE ARCH_HASH_SCHED_DOMAIN should be ARCH_HAS_SCHED_DOMAIN But since v2.6.14, kernel completely deleted the relevant code and even arch_init_sched_d

Re: [PATCH] mm/highmem: Take kmap_high_get() properly into account

2020-11-12 Thread Marek Szyprowski
Hi Thomas, On 12.11.2020 11:59, Thomas Gleixner wrote: > kunmap_local() warns when the virtual address to unmap is below > PAGE_OFFSET. This is correct except for the case that the mapping was > obtained via kmap_high_get() because the PKMAP addresses are right below > PAGE_OFFSET. > > Cure it by

Re: [PATCH v2 16/17] x86/ioapic: export a few functions and data structures via io_apic.h

2020-11-12 Thread Wei Liu
On Thu, Nov 05, 2020 at 04:58:13PM +, Wei Liu wrote: > We are about to implement an irqchip for IO-APIC when Linux runs as root > on Microsoft Hypervisor. At the same time we would like to reuse > existing code as much as possible. > > Move mp_chip_data to io_apic.h and make a few helper funct

Re: [PATCH v2 05/17] clocksource/hyperv: use MSR-based access if running as root

2020-11-12 Thread Daniel Lezcano
On 12/11/2020 12:24, Wei Liu wrote: > On Thu, Nov 12, 2020 at 10:56:17AM +0100, Daniel Lezcano wrote: >> On 05/11/2020 17:58, Wei Liu wrote: >>> Signed-off-by: Wei Liu Acked-by: Daniel Lezcano >>> --- >> >> I would like to apply this patch but the changelog is too short (one line). >> >> Please

Re: [PATCH 3/3 v5] livepatch: Use the default ftrace_ops instead of REGS when ARGS is available

2020-11-12 Thread Peter Zijlstra
On Thu, Nov 12, 2020 at 09:21:44AM +0100, Peter Zijlstra wrote: > Also, do you want something like: > > unsigned long ftrace_regs_get_register(struct ftrace_regs *regs, unsigned int > offset) > { I forgot the full regs case: if (regs->regs.cs) return regs_get_register(re

Re: [PATCH v2 02/17] x86/hyperv: detect if Linux is the root partition

2020-11-12 Thread Wei Liu
On Fri, Nov 06, 2020 at 03:16:07AM +0800, kernel test robot wrote: > Hi Wei, > > I love your patch! Yet something to improve: > > [auto build test ERROR on tip/x86/core] > [also build test ERROR on asm-generic/master iommu/next tip/timers/core > pci/next linus/master v5.10-rc2 next-20201105] > [

Re: [PATCH v2 05/17] clocksource/hyperv: use MSR-based access if running as root

2020-11-12 Thread Wei Liu
On Thu, Nov 12, 2020 at 12:40:53PM +0100, Daniel Lezcano wrote: > On 12/11/2020 12:24, Wei Liu wrote: > > On Thu, Nov 12, 2020 at 10:56:17AM +0100, Daniel Lezcano wrote: > >> On 05/11/2020 17:58, Wei Liu wrote: > >>> Signed-off-by: Wei Liu > > Acked-by: Daniel Lezcano Thanks Daniel. Wei.

Re: [PATCH v5 0/2] dt-bindings: timer: renesas: tmu: Document r8a774e1 and

2020-11-12 Thread Daniel Lezcano
On 10/11/2020 17:20, Geert Uytterhoeven wrote: > Hi Daniel, Thomas, > > This patch series picks up missing Device Tree binding updates for the > Renesas Timer Unit (TMU), and converts the bindings to json-schema. > > Thanks for applying! > > Geert Uytterhoeven (1): > dt-bindings: timer:

Re: [PATCH V4] dt-bindings: soc: imx: Add binding doc for spba bus

2020-11-12 Thread Adam Ford
On Wed, Nov 11, 2020 at 2:18 PM Rob Herring wrote: > > On Wed, 11 Nov 2020 09:25:23 -0600, Adam Ford wrote: > > Add binding doc for fsl,spba-bus. > > > > Signed-off-by: Adam Ford > > --- > > make dt_binding_check showed no errors if I did this right. > > > > V4: Remove an accidental makefile cha

Re: [PATCH] RDMA/core: Fix error return code in _ib_modify_qp()

2020-11-12 Thread Leon Romanovsky
On Thu, Nov 12, 2020 at 05:06:26PM +0800, Chen Zhou wrote: > Fix to return a negative error code from the error handling case > instead of 0 in function _ib_modify_qp(), as done elsewhere in this > function. > > Fixes: 51aab12631dd ("RDMA/core: Get xmit slave for LAG") > Reported-by: Hulk Robot >

Re: [PATCH v2 02/17] x86/hyperv: detect if Linux is the root partition

2020-11-12 Thread Wei Liu
On Thu, Nov 12, 2020 at 11:42:15AM +, Wei Liu wrote: > On Fri, Nov 06, 2020 at 03:16:07AM +0800, kernel test robot wrote: > > Hi Wei, > > > > I love your patch! Yet something to improve: > > > > [auto build test ERROR on tip/x86/core] > > [also build test ERROR on asm-generic/master iommu/nex

Re: [PATCH v1] spi: fix client driver breakages when using GPIO descriptors

2020-11-12 Thread Charles Keepax
On Wed, Nov 11, 2020 at 11:24:14AM -0500, Sven Van Asbroeck wrote: > On Wed, Nov 11, 2020 at 10:48 AM Mark Brown wrote: > > > > Applied to > > > >https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next > > Thank you ! > > Now that our minds are still focused on this subject,

[PATCH] Input: add new touchpad driver for Zinitix IC

2020-11-12 Thread KwangDeok Son
Add new touchpad driver for Zinitix IC Supports five fingers multi-touch and firmware updates. It communicates with the device via an I2C bus. Signed-off-by : KwangDeok Son diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig index d8b6a5dab190..effd1b019b02 100644 --- a/driver

Re: [PATCH] vfio iommu type1: Improve vfio_iommu_type1_pin_pages performance

2020-11-12 Thread xuxiaoyang (C)
On 2020/11/11 23:56, Alex Williamson wrote: > On Tue, 10 Nov 2020 21:42:33 +0800 > "xuxiaoyang (C)" wrote: > >> vfio_iommu_type1_pin_pages is very inefficient because >> it is processed page by page when calling vfio_pin_page_external. >> Added contiguous_vaddr_get_pfn to process continuous pages

Re: [PATCH net] net: ethernet: mtk-star-emac: fix error return code in mtk_star_enable()

2020-11-12 Thread Bartosz Golaszewski
On Thu, Nov 12, 2020 at 12:33 PM Zhang Changzhong wrote: > > Fix to return a negative error code from the error handling > case instead of 0, as done elsewhere in this function. > > Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver") > Reported-by: Hulk Robot > Signed-off-by: Zhang C

Re: [PATCH v2] Input: touchscreen: ads7846.c: Fix race that causes missing releases

2020-11-12 Thread Oleksij Rempel
On Wed, Nov 11, 2020 at 11:07:40AM -0800, Dmitry Torokhov wrote: > Hi Oleksij, > > On Tue, Oct 27, 2020 at 11:54:16AM +0100, Oleksij Rempel wrote: > > From: David Jander > > > > If touchscreen is released while busy reading HWMON device, the release > > can be missed. The IRQ thread is not start

[PATCH] net: ethernet: mtk-star-emac: return ok when xmit drops

2020-11-12 Thread Vincent Stehlé
The ndo_start_xmit() method must return NETDEV_TX_OK if the DMA mapping fails, after freeing the socket buffer. Fix the mtk_star_netdev_start_xmit() function accordingly. Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driver") Signed-off-by: Vincent Stehlé Cc: David S. Miller Cc: Bartos

Re: [PATCH] net: ethernet: mtk-star-emac: return ok when xmit drops

2020-11-12 Thread Bartosz Golaszewski
On Thu, Nov 12, 2020 at 12:35 PM Vincent Stehlé wrote: > > The ndo_start_xmit() method must return NETDEV_TX_OK if the DMA mapping > fails, after freeing the socket buffer. > Fix the mtk_star_netdev_start_xmit() function accordingly. > > Fixes: 8c7bd5a454ff ("net: ethernet: mtk-star-emac: new driv

[PATCH v6 4/5] ARM: dts: exynos: Add Ethernet to Artik 5 board

2020-11-12 Thread Łukasz Stelmach
Add node for ax88796c ethernet chip. Signed-off-by: Łukasz Stelmach --- arch/arm/boot/dts/exynos3250-artik5-eval.dts | 29 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos3250-artik5-eval.dts b/arch/arm/boot/dts/exynos3250-artik5-eval.dts index 20446a

[PATCH v6 0/5] AX88796C SPI Ethernet Adapter

2020-11-12 Thread Łukasz Stelmach
This is a driver for AX88796C Ethernet Adapter connected in SPI mode as found on ARTIK5 evaluation board. The driver has been ported from a v3.10.9 vendor kernel for ARTIK5 board. Changes in v6: - fixed typos in Kconfig - checked argument value in ax88796c_set_tunable - updated tags in commi

[PATCH v6 3/5] net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver

2020-11-12 Thread Łukasz Stelmach
ASIX AX88796[1] is a versatile ethernet adapter chip, that can be connected to a CPU with a 8/16-bit bus or with an SPI. This driver supports SPI connection. The driver has been ported from the vendor kernel for ARTIK5[2] boards. Several changes were made to adapt it to the current kernel which in

Re: [PATCH v6 0/5] AX88796C SPI Ethernet Adapter

2020-11-12 Thread Krzysztof Kozlowski
On Thu, 12 Nov 2020 at 12:51, Łukasz Stelmach wrote: > > This is a driver for AX88796C Ethernet Adapter connected in SPI mode as > found on ARTIK5 evaluation board. The driver has been ported from a > v3.10.9 vendor kernel for ARTIK5 board. > > Changes in v6: > - fixed typos in Kconfig > - che

Re: [PATCH v2 20/23] mtd: nand: raw: sunxi_nand: Document 'sunxi_nfc's 'caps' member

2020-11-12 Thread Chen-Yu Tsai
On Sat, Nov 7, 2020 at 5:37 AM Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > drivers/mtd/nand/raw/sunxi_nand.c:250: warning: Function parameter or member > 'caps' not described in 'sunxi_nfc' > > Cc: Miquel Raynal > Cc: Richard Weinberger > Cc: Vignesh Raghavendra

Re: [PATCH v5 8/8] rpmsg: Turn name service into a stand alone driver

2020-11-12 Thread Guennadi Liakhovetski
Hi Arnaud, On Thu, Nov 12, 2020 at 11:17:54AM +0100, Arnaud POULIQUEN wrote: > Hi Guennadi, > > On 11/11/20 3:49 PM, Guennadi Liakhovetski wrote: > > Hi Arnaud, [snip] > > From: Guennadi Liakhovetski > > Subject: [PATCH] fixup! rpmsg: Turn name service into a stand alone driver > > > > Link n

[PATCH v6 5/5] ARM: defconfig: Enable ax88796c driver

2020-11-12 Thread Łukasz Stelmach
Enable ax88796c driver for the ethernet chip on Exynos3250-based ARTIK5 boards. Signed-off-by: Łukasz Stelmach --- arch/arm/configs/exynos_defconfig | 2 ++ arch/arm/configs/multi_v7_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/

[PATCH v6 1/5] dt-bindings: vendor-prefixes: Add asix prefix

2020-11-12 Thread Łukasz Stelmach
Add the prefix for ASIX Electronics Corporation. Signed-off-by: Łukasz Stelmach Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefi

Re: [PATCH v2 11/20] kasan: add and integrate kasan boot parameters

2020-11-12 Thread Marco Elver
On Thu, 12 Nov 2020 at 12:35, Catalin Marinas wrote: > > On Tue, Nov 10, 2020 at 11:20:15PM +0100, Andrey Konovalov wrote: > > Hardware tag-based KASAN mode is intended to eventually be used in > > production as a security mitigation. Therefore there's a need for finer > > control over KASAN featu

[PATCH v6 2/5] dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter

2020-11-12 Thread Łukasz Stelmach
Add bindings for AX88796C SPI Ethernet Adapter. Signed-off-by: Łukasz Stelmach Reviewed-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../bindings/net/asix,ax88796c.yaml | 73 +++ 1 file changed, 73 insertions(+) create mode 100644 Documentation/devicetree/bindin

Re: [PATCH v2 07/17] x86/hyperv: extract partition ID from Microsoft Hypervisor if necessary

2020-11-12 Thread Wei Liu
On Fri, Nov 06, 2020 at 04:07:33AM +0800, kernel test robot wrote: > Hi Wei, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on tip/x86/core] > [also build test WARNING on asm-generic/master iommu/next tip/timers/core > pci/next linus/master v5.10-rc2 next-20201

[PATCH 5/5] media: uapi: move H264 stateless controls out of staging

2020-11-12 Thread Ezequiel Garcia
The H264 stateless control class is ready to be part of the stable uAPI. The control IDs and types are re-numbered and moved to a newly created stateless control class, and a new documentation section is created. Signed-off-by: Ezequiel Garcia --- .../userspace-api/media/v4l/common.rst|

Re: [PATCH 24/24] perf record: Add --buildid-mmap option to enable mmap's build id

2020-11-12 Thread Jiri Olsa
On Wed, Nov 11, 2020 at 09:00:46AM -0800, Andi Kleen wrote: > On Mon, Nov 09, 2020 at 10:54:15PM +0100, Jiri Olsa wrote: > > Adding --buildid-mmap option to enable build id in mmap2 events. > > It will only work if there's kernel support for that and it disables > > build id cache (implies --no-bui

[PATCH 2/5] media: cedrus: h264: Support profile control

2020-11-12 Thread Ezequiel Garcia
Cedrus supports H.264 profiles from Baseline to High, except for the Extended profile. Expose the V4L2_CID_MPEG_VIDEO_H264_PROFILE so that userspace can query the driver for the list of supported profiles. Signed-off-by: Ezequiel Garcia --- drivers/staging/media/sunxi/cedrus/cedrus.c | 12 +

[PATCH 1/5] media: rkvdec: h264: Support profile and level controls

2020-11-12 Thread Ezequiel Garcia
From: Jonas Karlman The Rockchip Video Decoder used in RK3399 supports H.264 profiles from Baseline to High 4:2:2 up to Level 5.1, except for the Extended profile. Expose the V4L2_CID_MPEG_VIDEO_H264_PROFILE and the V4L2_CID_MPEG_VIDEO_H264_LEVEL control, so that userspace can query the driver f

[PATCH 0/5] Stateless H.264 de-staging

2020-11-12 Thread Ezequiel Garcia
Now that H.264 stateless controls are solid, we can get it out of staging. Following some guidelines from Hans, this series creates a new stateless control class for the stable codec controls to land. This is compile-tested for now, and I'm sending it just to check if the approach looks good, or

[PATCH 3/5] media: Rename stateful codec control macros

2020-11-12 Thread Ezequiel Garcia
For historical reasons, stateful codec controls are named as {}_MPEG_{}. While we can't at this point sanely change all control IDs (such as V4L2_CID_MPEG_VIDEO_VP8_FRAME_HEADER), we can least change the more meaningful macros such as classes macros. Signed-off-by: Ezequiel Garcia --- .../usersp

[PATCH 4/5] media: Clean stateless control includes

2020-11-12 Thread Ezequiel Garcia
Avoid including h264-ctrls.h, vp8-ctrls.h, etc, and instead just include v4l2-ctrls.h which does the right thing. This is in preparation for moving the stateless controls out of staging, which will mean removing some of these headers. Signed-off-by: Ezequiel Garcia --- drivers/staging/media/han

[PATCH 2/3] soc: sifive: beu: Add support for SiFive Bus Error Unit

2020-11-12 Thread Yash Shah
Add driver support for Bus Error Unit present in SiFive's FU740 chip. Currently the driver reports erroneous events only using Platform-level interrupts. The support for reporting events using hart-local interrupts can be added in future. Signed-off-by: Yash Shah --- drivers/soc/sifive/Kconfig

[PATCH 3/3] EDAC/sifive: Add support for SiFive BEU in SiFive platform EDAC

2020-11-12 Thread Yash Shah
Register for ECC error events from SiFive BEU in SiFive platform EDAC driver. Signed-off-by: Yash Shah --- drivers/edac/Kconfig | 2 +- drivers/edac/sifive_edac.c | 13 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfi

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