[RFC PATCH 0/1] perf: Handle multiple formatted AUX records

2021-01-22 Thread Suzuki K Poulose
This is an RFC patch to explore the solution to a problem we have in the CoreSight ETM/ETE PMU. CoreSight ETM trace allows instruction level tracing of Arm CPUs. The ETM generates the CPU excecution trace and pumps it into CoreSight AMBA Trace Bus and is collected by a different CoreSight componen

[RFC PATCH] perf: Handle multiple formatted AUX records

2021-01-22 Thread Suzuki K Poulose
CoreSight PMU supports aux-buffer for the ETM tracing. The trace generated by the ETM (associated with individual CPUs, like Intel PT) is captured by a separate IP (CoreSight TMC-ETR/ETF until now). The TMC-ETR applies formatting of the raw ETM trace data, as it can collect traces from multiple ET

Re: [PATCH net 0/1] net: phy: Fix interrupt mask loss on resume from hibernation

2021-01-22 Thread Heiner Kallweit
On 22.01.2021 15:35, Laurent Badel wrote: > Some PHYs such as SMSC LAN87xx clear the interrupt mask register on > software reset. Since mdio_bus_phy_restore() calls phy_init_hw() which > does a software reset of the PHY, these PHYs will lose their interrupt > mask configuration on resuming from h

Re: [PATCH 4.14 00/50] 4.14.217-rc1 review

2021-01-22 Thread Naresh Kamboju
On Fri, 22 Jan 2021 at 19:45, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.217 release. > There are 50 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH] PNP: add printf attribute to log function

2021-01-22 Thread Rafael J. Wysocki
On Mon, Dec 21, 2020 at 5:04 PM wrote: > > From: Tom Rix > > Attributing the function allows the compiler to more thoroughly > check the use of the function with -Wformat and similar flags. > > Signed-off-by: Tom Rix > --- > drivers/pnp/interface.c | 1 + > 1 file changed, 1 insertion(+) > > di

Re: [PATCH][next] drm/i915/hdcp: Fix return of value in uninitialized variable ret

2021-01-22 Thread Jani Nikula
On Fri, 22 Jan 2021, Colin King wrote: > From: Colin Ian King > > Currently when there are other connectors on the port using HDCP the > function _intel_hdcp_disable returns a garbage uninitialized value in > variable ret. I believe the intention is to return 0, so return this > literal value in

Re: [PATCH -next] pnp: pnpbios: Use DEFINE_SPINLOCK() for spinlock

2021-01-22 Thread Rafael J. Wysocki
On Mon, Dec 28, 2020 at 2:50 PM Zheng Yongjun wrote: > > spinlock can be initialized automatically with DEFINE_SPINLOCK() > rather than explicitly calling spin_lock_init(). > > Signed-off-by: Zheng Yongjun > --- > drivers/pnp/pnpbios/bioscalls.c | 3 +-- > 1 file changed, 1 insertion(+), 2 delet

[PATCH][next] drm/amdgpu: Fix masking binary not operator on two mask operations

2021-01-22 Thread Colin King
From: Colin Ian King Currently the ! operator is incorrectly being used to flip bits on mask values. Fix this by using the bit-wise ~ operator instead. Addresses-Coverity: ("Logical vs. bitwise operator") Fixes: 3c9a7b7d6e75 ("drm/amdgpu: update mmhub mgcg&ls for mmhub_v2_3") Signed-off-by: Coli

[PATCH v9 8/8] dt-bindings: thermal: tsens: Document ipq8064 bindings

2021-01-22 Thread Ansuel Smith
Document the use of bindings used for msm8960 tsens based devices. msm8960 use the same gcc regs and is set as a child of the qcom gcc. Signed-off-by: Ansuel Smith --- .../bindings/thermal/qcom-tsens.yaml | 56 --- 1 file changed, 48 insertions(+), 8 deletions(-) diff -

[PATCH v9 7/8] drivers: thermal: tsens: Add support for ipq8064-tsens

2021-01-22 Thread Ansuel Smith
Add support for tsens present in ipq806x SoCs based on generic msm8960 tsens driver. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c index dd9b41157894..586b90962605 10

[PATCH v9 6/8] drivers: thermal: tsens: Use get_temp_common for msm8960

2021-01-22 Thread Ansuel Smith
Rework calibrate function to use common function. Derive the offset from a missing hardcoded slope table and the data from the nvmem calib efuses. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 56 +-- 1 file changed, 15 insertions(+), 41 deletion

Re: [RFC PATCH v0] mm/slub: Let number of online CPUs determine the slub page order

2021-01-22 Thread Vlastimil Babka
On 1/22/21 2:05 PM, Jann Horn wrote: > On Thu, Jan 21, 2021 at 7:19 PM Vlastimil Babka wrote: >> On 1/21/21 11:01 AM, Christoph Lameter wrote: >> > On Thu, 21 Jan 2021, Bharata B Rao wrote: >> > >> >> > The problem is that calculate_order() is called a number of times >> >> > before secondaries CP

Re: [PATCH v4] nvmem: core: skip child nodes not matching binding

2021-01-22 Thread Srinivas Kandagatla
On 18/01/2021 13:24, Ahmad Fatoum wrote: The nvmem cell binding applies to all eeprom child nodes matching "^.*@[0-9a-f]+$" without taking a compatible into account. Linux drivers, like at24, are even more extensive and assume _all_ at24 eeprom child nodes to be nvmem cells since e888d445ac33

Re: [PATCH 11/13] devfreq: tegra30: Migrate to dev_pm_opp_set_opp()

2021-01-22 Thread Dmitry Osipenko
22.01.2021 09:26, Viresh Kumar пишет: > On 22-01-21, 00:36, Dmitry Osipenko wrote: >> 21.01.2021 14:17, Viresh Kumar пишет: >>> dev_pm_opp_set_bw() is getting removed and dev_pm_opp_set_opp() should >>> be used instead. Migrate to the new API. >>> >>> Signed-off-by: Viresh Kumar >>> --- >>> drive

Re: [PATCH] arm64: kprobes: Fix Uexpected kernel BRK exception at EL1

2021-01-22 Thread Qais Yousef
On 01/22/21 22:36, Masami Hiramatsu wrote: > > Further analysis showed that kcb->kprobe_status is set to > > KPROBE_REENTER when the error occurs. By teaching > > kprobe_breakpoint_ss_handler() to handle this status I can no longer > > reproduce the problem. > > Very good catch! Yes, this missed

[PATCH v8 3/4] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
KASAN provides an asynchronous mode of execution. Add reporting functionality for this mode. Cc: Dmitry Vyukov Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Andrey Konovalov Reviewed-by: Andrey Konovalov Signed-off-by: Vincenzo Frascino --- include/linux/kasan.h | 6 ++ mm/kasan/rep

[PATCH v8 2/4] kasan: Add KASAN mode kernel parameter

2021-01-22 Thread Vincenzo Frascino
Architectures supported by KASAN_HW_TAGS can provide a sync or async mode of execution. On an MTE enabled arm64 hw for example this can be identified with the synchronous or asynchronous tagging mode of execution. In synchronous mode, an exception is triggered if a tag check fault occurs. In asynch

[PATCH v8 0/4] arm64: ARMv8.5-A: MTE: Add async mode support

2021-01-22 Thread Vincenzo Frascino
This patchset implements the asynchronous mode support for ARMv8.5-A Memory Tagging Extension (MTE), which is a debugging feature that allows to detect with the help of the architecture the C and C++ programmatic memory errors like buffer overflow, use-after-free, use-after-return, etc. MTE is bui

Re: [PATCH 1/3] kvfree_rcu: Allocate a page for a single argument

2021-01-22 Thread Paul E. McKenney
On Fri, Jan 22, 2021 at 12:17:33PM +0100, Sebastian Andrzej Siewior wrote: > On 2021-01-20 13:54:03 [-0800], Paul E. McKenney wrote: > > > > +// Record ptr in a page managed by krcp, with the > > > > pre-krc_this_cpu_lock() > > > > +// state specified by flags. If can_alloc is true, the caller mu

[PATCH v8 4/4] arm64: mte: Enable async tag check fault

2021-01-22 Thread Vincenzo Frascino
MTE provides a mode that asynchronously updates the TFSR_EL1 register when a tag check exception is detected. To take advantage of this mode the kernel has to verify the status of the register at: 1. Context switching 2. Return to user/EL0 (Not required in entry from EL0 since the kernel did

[PATCH v8 1/4] arm64: mte: Add asynchronous mode support

2021-01-22 Thread Vincenzo Frascino
MTE provides an asynchronous mode for detecting tag exceptions. In particular instead of triggering a fault the arm64 core updates a register which is checked by the kernel after the asynchronous tag check fault has occurred. Add support for MTE asynchronous mode. The exception handling mechanism

[ANNOUNCE] 5.4.91-rt50

2021-01-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 5.4.91-rt50 stable release. This release is just an update to the new stable 5.4.91 version. With one RT specific update that had to be made. I had to cherry pick the following commit: locking/rwsem-rt: Add __down_read_interruptible() from v5.10-rt

Re: [PATCH 0/3] acpi: cppc_acpi: fix sparse warnings

2021-01-22 Thread Rafael J. Wysocki
On Thu, Jan 7, 2021 at 12:19 PM Ionela Voinescu wrote: > > Hi guys, > > These patches just fix some trivial sparse warnings. > > Hope they help, > Ionela. > > Ionela Voinescu (3): > acpi: cppc_acpi: remove __iomem annotation for cpc_reg's address > acpi: cppc_acpi: add __iomem annotation to ge

Re: [PATCH v5 3/5] ipmi: kcs: aspeed: Adapt to new LPC DTS layout

2021-01-22 Thread Corey Minyard
On Fri, Jan 22, 2021 at 09:55:56AM +, ChiaWei Wang wrote: > Hi Corey, > > Could you help to review this patch to kcs_bmc_aspeed.c? > It mainly fixes the register layout/offsets of Aspeed LPC controller. I am not really qualified to review this. It looks ok from a structural and style point o

Re: [PATCH 0/4] add xhci hooks for USB offload

2021-01-22 Thread Mathias Nyman
On 20.1.2021 12.04, Howard Yen wrote: > On Tue, Jan 19, 2021 at 8:47 PM Mathias Nyman wrote: >> >> On 19.1.2021 12.10, Howard Yen wrote: >>> To let the xhci driver support USB offload, add hooks for vendor to have >>> customized behavior for the initialization, memory allocation, irq work, and >>>

Re: [PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-22 Thread Marco Felsch
Hi, thanks for the patch. On 21-01-20 22:56, Alistair Francis wrote: > Enable the wacom_i2c touchscreen for the reMarkable2. > > Signed-off-by: Alistair Francis > --- > arch/arm/boot/dts/imx7d-remarkable2.dts | 41 + > arch/arm/configs/imx_v6_v7_defconfig| 1 + Tho

Re: [PATCH v1] Documentation: ACPI: add new rule for gpio-line-names

2021-01-22 Thread Rafael J. Wysocki
On Fri, Jan 8, 2021 at 5:03 PM Andy Shevchenko wrote: > > On Fri, Jan 8, 2021 at 5:28 PM Flavio Suligoi wrote: > > > > The gpio-line-names lists must respect some rules. > > > > This patch adds a new rule in documentation, to avoid > > the use of duplicate names in the same gpiochip. > > Thanks!

Re: [RFC PATCH 1/2] soundwire: add support for static port mapping

2021-01-22 Thread Pierre-Louis Bossart
On 1/22/21 1:05 AM, Srinivas Kandagatla wrote: On 21/01/2021 21:30, Pierre-Louis Bossart wrote: Am looking at intel_hw_params(). Isn't sdw_stream_add_master() called for every dai in the dai link. Yes, that's correct, but again a dai may use one or more ports. if you defined each port

[GIT PULL] ARM: at91: dt for 5.12

2021-01-22 Thread nicolas.ferre
From: Nicolas Ferre Arnd, Olof, Here is the first batch of dt changes for 5.12. As for the SoC PR, I plan to do another one by mid-next-week. Tell me if it's fine with you. Thanks, best regards, The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (202

Re: [PATCH bpf-next v5 4/4] selftests/bpf: Add a selftest for the tracing bpf_get_socket_cookie

2021-01-22 Thread Florent Revest
On Wed, Jan 20, 2021 at 8:06 PM Florent Revest wrote: > > On Wed, Jan 20, 2021 at 8:04 PM Alexei Starovoitov > wrote: > > > > On Wed, Jan 20, 2021 at 9:08 AM KP Singh wrote: > > > > > > On Tue, Jan 19, 2021 at 5:00 PM Florent Revest > > > wrote: > > > > > > > > This builds up on the existing s

Re: [RFC][PATCH 4/7] smp: Optimize send_call_function_single_ipi()

2021-01-22 Thread Paul E. McKenney
On Fri, Jan 22, 2021 at 09:31:37AM +0100, Peter Zijlstra wrote: > On Thu, Jan 21, 2021 at 04:20:12PM -0800, Paul E. McKenney wrote: > > > > --- > > > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > > > index 368749008ae8..2c8d4c3e341e 100644 > > > --- a/kernel/rcu/tree.c > > > +++ b/kernel/rc

Re: [PATCH 4.14 00/50] 4.14.217-rc1 review

2021-01-22 Thread Will Deacon
On Fri, Jan 22, 2021 at 08:43:18PM +0530, Naresh Kamboju wrote: > On Fri, 22 Jan 2021 at 20:38, Greg Kroah-Hartman > wrote: > > > > On Fri, Jan 22, 2021 at 08:32:46PM +0530, Naresh Kamboju wrote: > > > On Fri, 22 Jan 2021 at 19:45, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start

[PATCH] MAINTAINERS: Add FPGA SUBDEVICES

2021-01-22 Thread trix
From: Tom Rix Every FPGA has several subdevices in other subsystems. The new FPGA subdevices section is necessary to ensure changes to the subdevices files get reviewed within the context of the FPGA subsystem. Signed-off-by: Tom Rix --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+)

Re: rcu-torture: Internal error: Oops: 96000006

2021-01-22 Thread Paul E. McKenney
On Fri, Jan 22, 2021 at 03:21:07PM +0530, Naresh Kamboju wrote: > On Fri, 22 Jan 2021 at 03:13, Paul E. McKenney wrote: > > > > On Thu, Jan 21, 2021 at 09:31:10PM +, Will Deacon wrote: > > > On Thu, Jan 21, 2021 at 10:55:21AM -0800, Paul E. McKenney wrote: > > > > On Thu, Jan 21, 2021 at 10:37

Re: [PATCH v7 3/4] kasan: Add report for async mode

2021-01-22 Thread Vincenzo Frascino
On 1/22/21 2:42 PM, Andrey Konovalov wrote: > On Fri, Jan 22, 2021 at 3:11 PM 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 >> Cc: A

[PATCH v9 4/8] drivers: thermal: tsens: Use init_common for msm8960

2021-01-22 Thread Ansuel Smith
Use init_common and drop custom init for msm8960. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 52 +-- 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c index 3f4

[PATCH v9 5/8] drivers: thermal: tsens: Fix bug in sensor enable for msm8960

2021-01-22 Thread Ansuel Smith
It's present a hardware bug in tsens VER_0 where if sensors upper to id 6 are enabled selectively, underfined results are expected. Fix this by enabling all the remaining sensor in one step. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 19 +-- 1 file change

[PATCH] auxdisplay: ht16k33: Fix refresh rate handling

2021-01-22 Thread Geert Uytterhoeven
Drop the call to msecs_to_jiffies(), as "HZ / fbdev->refresh_rate" is already the number of jiffies to wait. Fixes: 8992da44c6805d53 ("auxdisplay: ht16k33: Driver for LED controller") Signed-off-by: Geert Uytterhoeven --- drivers/auxdisplay/ht16k33.c | 3 +-- 1 file changed, 1 insertion(+), 2 de

Re: [PATCH v5 3/5] mm: simplify parater of function memmap_init_zone()

2021-01-22 Thread David Hildenbrand
On 22.01.21 14:59, Baoquan He wrote: > As David suggested, simply passing 'struct zone *zone' is enough. We can > get all needed information from 'struct zone*' easily. > > Suggested-by: David Hildenbrand > Signed-off-by: Baoquan He > --- > arch/ia64/mm/init.c | 12 +++- > include/linux

Re: [PATCH v5 1/5] mm: fix prototype warning from kernel test robot

2021-01-22 Thread David Hildenbrand
On 22.01.21 14:59, Baoquan He wrote: > Kernel test robot calling make with 'W=1' is triggering warning like > below for memmap_init_zone() function. > > mm/page_alloc.c:6259:23: warning: no previous prototype for > 'memmap_init_zone' [-Wmissing-prototypes] > 6259 | void __meminit __weak memmap_i

Re: [PATCH v5 2/5] mm: rename memmap_init() and memmap_init_zone()

2021-01-22 Thread David Hildenbrand
On 22.01.21 14:59, Baoquan He wrote: > The current memmap_init_zone() only handles memory region inside one zone, > actually memmap_init() does the memmap init of one zone. So rename both of > them accordingly. > > Signed-off-by: Baoquan He > --- > arch/ia64/mm/init.c | 6 +++--- > include/linux

[PATCH v9 3/8] drivers: thermal: tsens: Convert msm8960 to reg_field

2021-01-22 Thread Ansuel Smith
Convert msm9860 driver to reg_field to use the init_common function. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens-8960.c | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tse

[PATCH v9 2/8] drivers: thermal: tsens: Don't hardcode sensor slope

2021-01-22 Thread Ansuel Smith
Function compute_intercept_slope hardcode the sensor slope to SLOPE_DEFAULT. Change this and use the default value only if a slope is not defined. This is needed for tsens VER_0 that has a hardcoded slope table. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 3 ++- 1 file changed

[PATCH v9 1/8] drivers: thermal: tsens: Add VER_0 tsens version

2021-01-22 Thread Ansuel Smith
VER_0 is used to describe device based on tsens version before v0.1. These device are devices based on msm8960 for example apq8064 or ipq806x. Signed-off-by: Ansuel Smith --- drivers/thermal/qcom/tsens.c | 171 +-- drivers/thermal/qcom/tsens.h | 4 +- 2 files ch

Re: [PATCH v2 00/20] objtool: vmlinux.o and CLANG LTO support

2021-01-22 Thread Josh Poimboeuf
On Thu, Jan 21, 2021 at 11:38:54PM +0100, Sedat Dilek wrote: > On Thu, Jan 21, 2021 at 10:29 PM Josh Poimboeuf wrote: > > > > v2: > > - fix commit description for why xen hypervisor page contents don't > > matter [Juergen] > > - annotate indirect jumps as safe instead of converting them to > >

Re: [PATCH 0/9] tools/nolibc: fix build issues on aarch64 after unistd cleanup

2021-01-22 Thread Paul E. McKenney
On Fri, Jan 22, 2021 at 12:25:42PM +, Mark Rutland wrote: > On Fri, Jan 22, 2021 at 04:03:26AM -0800, Paul E. McKenney wrote: > > On Thu, Jan 21, 2021 at 11:11:17AM +, Mark Rutland wrote: > > > > [ . . . ] > > > > > I've given this a spin atop v5.11-rc4, building natively on arm64 on a >

Re: [PATCH 4.14 00/50] 4.14.217-rc1 review

2021-01-22 Thread Nathan Chancellor
On Fri, Jan 22, 2021 at 03:36:04PM +, Will Deacon wrote: > On Fri, Jan 22, 2021 at 08:43:18PM +0530, Naresh Kamboju wrote: > > On Fri, 22 Jan 2021 at 20:38, Greg Kroah-Hartman > > wrote: > > > > > > On Fri, Jan 22, 2021 at 08:32:46PM +0530, Naresh Kamboju wrote: > > > > On Fri, 22 Jan 2021 at

[PATCH 5.4 18/33] mlxsw: core: Increase critical threshold for ASIC thermal zone

2021-01-22 Thread Greg Kroah-Hartman
From: Vadim Pasternak [ Upstream commit b06ca3d5a43ca2dd806f7688a17e8e7e0619a80a ] Increase critical threshold for ASIC thermal zone from 110C to 140C according to the system hardware requirements. All the supported ASICs (Spectrum-1, Spectrum-2, Spectrum-3) could be still operational with ASIC

[net-next PATCH v4 01/15] Documentation: ACPI: DSD: Document MDIO PHY

2021-01-22 Thread Calvin Johnson
Introduce ACPI mechanism to get PHYs registered on a MDIO bus and provide them to be connected to MAC. Describe properties "phy-handle" and "phy-mode". Signed-off-by: Calvin Johnson --- Changes in v4: - More cleanup Changes in v3: None Changes in v2: - Updated with more description in document

[net-next PATCH v4 06/15] of: mdio: Refactor of_get_phy_id()

2021-01-22 Thread Calvin Johnson
With the introduction of fwnode_get_phy_id(), refactor of_get_phy_id() to use fwnode equivalent. Signed-off-by: Calvin Johnson --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/mdio/of_mdio.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --g

[net-next PATCH v4 02/15] net: phy: Introduce fwnode_mdio_find_device()

2021-01-22 Thread Calvin Johnson
Define fwnode_mdio_find_device() to get a pointer to the mdio_device from fwnode passed to the function. Signed-off-by: Calvin Johnson --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/mdio/of_mdio.c | 11 +-- drivers/net/phy/phy_device.c | 23 ++

[net-next PATCH v4 09/15] device property: Introduce fwnode_get_id()

2021-01-22 Thread Calvin Johnson
Using fwnode_get_id(), get the reg property value for DT node or get the _ADR object value for ACPI node. Signed-off-by: Calvin Johnson --- Changes in v4: - Improve code structure to handle all cases Changes in v3: - Modified to retrieve reg property value for ACPI as well - Resolved compilatio

Re: [PATCH] intel_idle: remove definition of DEBUG

2021-01-22 Thread Rafael J. Wysocki
On Sat, Jan 16, 2021 at 12:58 AM wrote: > > From: Tom Rix > > Defining DEBUG should only be done in development. > So remove DEBUG. > > Signed-off-by: Tom Rix > --- > drivers/idle/intel_idle.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/idle/intel_idle.c b/d

[net-next PATCH v4 14/15] net: phylink: Refactor phylink_of_phy_connect()

2021-01-22 Thread Calvin Johnson
Refactor phylink_of_phy_connect() to use phylink_fwnode_phy_connect(). Signed-off-by: Calvin Johnson --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/net/phy/phylink.c | 39 +-- 1 file changed, 1 insertion(+), 38 deletions(-) diff --g

Re: [PATCH v2 1/6] devicetree/bindings: Initial commit of wacom, wacom-i2c

2021-01-22 Thread Marco Felsch
Hi, thnaks for the patch. On 21-01-20 22:56, Alistair Francis wrote: > Signed-off-by: Alistair Francis > --- > .../input/touchscreen/wacom,wacom-i2c.yaml| 44 +++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + This should be splitted into two patches. Regards, Ma

Re: [PATCH v2] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-22 Thread Nicolas Pitre
On Fri, 22 Jan 2021, Rafael J. Wysocki wrote: > > > +/** > > > + * pm_clk_list_unlock - counterpart to pm_clk_list_lock(). > > > + * @psd: the same pm_subsys_data instance previously passed to > > > + * pm_clk_list_lock(). > > > + */ > > > +static void pm_clk_list_unlock(struct pm_subsys_data

Re: [PATCH] diffconfig: use python3 instead of python in Shebang line

2021-01-22 Thread Joe Perches
On Fri, 2021-01-22 at 07:06 +0900, Masahiro Yamada wrote: > I use Ubuntu, where /usr/bin/python is a symlink > to /usr/bin/python3. Odd, here: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 20.10 Release:20.10 Codename: groovy $ ls /usr

[net-next PATCH v4 13/15] phylink: introduce phylink_fwnode_phy_connect()

2021-01-22 Thread Calvin Johnson
Define phylink_fwnode_phy_connect() to connect phy specified by a fwnode to a phylink instance. Signed-off-by: Calvin Johnson --- Changes in v4: - call phy_device_free() before returning Changes in v3: None Changes in v2: None drivers/net/phy/phylink.c | 56 +++

[PATCH v2 08/12] iio: buffer: add helper to get the IIO device to which a buffer belongs

2021-01-22 Thread Alexandru Ardelean
This is useful for drivers that may have a reference to an IIO buffer, to be able to get a reference back to the IIO device. Signed-off-by: Alexandru Ardelean --- drivers/iio/industrialio-buffer.c | 14 ++ include/linux/iio/buffer.h| 2 ++ 2 files changed, 16 insertions(+)

RE: [PATCH RFC v1 00/15] iommu/virtio: Nested stage support with Arm

2021-01-22 Thread Shameerali Kolothum Thodi
Hi Vivek, > -Original Message- > From: Vivek Kumar Gautam [mailto:vivek.gau...@arm.com] > Sent: 21 January 2021 17:34 > To: Auger Eric ; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; io...@lists.linux-foundation.org; > virtualizat...@lists.linux-foundation.org > Cc:

[PATCH v2 06/12] iio: buffer: re-route scan_elements via it's kobj_type

2021-01-22 Thread Alexandru Ardelean
The scan_elements attributes are solely located inside 'industrialio-buffer-sysfs.c'. In order to support more than one buffer per IIO device, we need to expand scan_elements attributes directly to IIO buffer object, and not the IIO device. This also requires that a new 'iio_buffer_attr' type be a

[PATCH v2 10/12] iio: core: wrap iio device & buffer into struct for character devices

2021-01-22 Thread Alexandru Ardelean
In order to keep backwards compatibility with the current chardev mechanism, and in order to add support for multiple buffers per IIO device, we need to pass both the IIO device & IIO buffer to the chardev. This is particularly needed for the iio_buffer_read_outer() function, where we need to pass

[PATCH v2 11/12] iio: buffer: introduce support for attaching more IIO buffers

2021-01-22 Thread Alexandru Ardelean
With this change, calling iio_device_attach_buffer() will actually attach more buffers. Right now this doesn't do any validation of whether a buffer is attached twice; maybe that can be added later (if needed). Attaching a buffer more than once should yield noticeably bad results. The first buffer

[PATCH v2 12/12] iio: buffer: add ioctl() to support opening extra buffers for IIO device

2021-01-22 Thread Alexandru Ardelean
With this change, an ioctl() call is added to open a character device for a buffer. The ioctl() will return a 0 FD for the first buffer, as that FD for buffer0 is the same FD as the one used for this ioctl(). For any other extra buffer, this ioctl() will return an anon inode FD that would access a

[PATCH v3 0/2] Make it possible to reserve memory on 64bit platform

2021-01-22 Thread Wesley Zhao
I was trying to reserve some memory to save logs incase that Android panic or hang and then I can read the logs from QNX side from the memory reserved before on the Qualcomm 8155 hypervisor platform, and I find the "reserve=" parameter only support 32bit,so I made some change and send these patc

[PATCH v2 09/12] iio: re-route all buffer attributes through new buffer kobj_type

2021-01-22 Thread Alexandru Ardelean
Now that the iio_buffer_set_attrs() has been removed, we can be sure that no accidents can happen with drivers that try to provide extra buffer attributes that expand to iio_dev objects. So, we can convert all remaining buffer attributes to expand to iio_buffer objects. These will look a bit weird

[PATCH v3 2/2] resource: Make it possible to reserve memory on 64bit platform

2021-01-22 Thread Wesley Zhao
For now "reserve=" is limitied to 32bit,not available on 64bit platform,so we change the get_option() to get_option_ull(added in patch: commit 4b6bfe96265e ("lib/cmdline: add new function get_option_ull()")) Signed-off-by: Wesley Zhao --- kernel/resource.c | 6 +++--- 1 file changed, 3 insertion

[PATCH v2 07/12] iio: buffer: re-route core buffer attributes via it's new kobj_type

2021-01-22 Thread Alexandru Ardelean
For the buffer attributes that are present inside the IIO core buffer logic we can re-route them to expand the attribute into iio_buffer objects. The rest, will still expand to device_attributes. Signed-off-by: Alexandru Ardelean --- drivers/iio/industrialio-buffer.c | 113 +

Re: [PATCH v2] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-22 Thread Rafael J. Wysocki
On Fri, Jan 22, 2021 at 4:48 PM Naresh Kamboju wrote: > > On Fri, 22 Jan 2021 at 20:39, Rafael J. Wysocki wrote: > > > > On Thu, Jan 21, 2021 at 8:01 PM Rafael J. Wysocki wrote: > > > > > > On Thu, Jan 21, 2021 at 6:23 PM Nicolas Pitre wrote: > > > > > > > > The clock API splits its interface i

Re: [PATCH v3 net-next 1/1] Allow user to set metric on default route learned via Router Advertisement.

2021-01-22 Thread David Ahern
On 1/19/21 2:29 PM, Praveen Chaudhary wrote: > For IPv4, default route is learned via DHCPv4 and user is allowed to change > metric using config etc/network/interfaces. But for IPv6, default route can > be learned via RA, for which, currently a fixed metric value 1024 is used. > > Ideally, user sh

Re: [PATCH v2 2/6] input/touchscreen: Add device tree support to wacom_i2c

2021-01-22 Thread Marco Felsch
On 21-01-20 22:56, Alistair Francis wrote: > Allow the wacom-i2c device to be exposed via device tree. You did a lot more than exposing. > Signed-off-by: Alistair Francis > --- > .../input/touchscreen/wacom,wacom-i2c.yaml | 4 > drivers/input/touchscreen/wacom_i2c.c| 16

Re: [PATCH 4.14 00/50] 4.14.217-rc1 review

2021-01-22 Thread Greg Kroah-Hartman
On Fri, Jan 22, 2021 at 08:50:43PM +0530, Naresh Kamboju wrote: > On Fri, 22 Jan 2021 at 19:45, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 4.14.217 release. > > There are 50 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH v2] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-22 Thread Nicolas Pitre
On Fri, 22 Jan 2021, Rafael J. Wysocki wrote: > On Fri, Jan 22, 2021 at 4:48 PM Naresh Kamboju > wrote: > > > > On Fri, 22 Jan 2021 at 20:39, Rafael J. Wysocki wrote: > > > > > > On Thu, Jan 21, 2021 at 8:01 PM Rafael J. Wysocki > > > wrote: > > > > > > > > On Thu, Jan 21, 2021 at 6:23 PM Nico

Re: [PATCH v3] regulator: Make regulator_sync_voltage() usable by coupled regulators

2021-01-22 Thread Dmitry Osipenko
22.01.2021 16:40, Mark Brown пишет: > On Fri, Jan 22, 2021 at 01:16:49AM +0300, Dmitry Osipenko wrote: > >> +/* balance only if there are regulators coupled */ >> +if (rdev->coupling_desc.n_coupled > 1) { >> +ret = regulator_balance_voltage(rdev, PM_SUSPEND_ON); >> +

[PATCH] auxdisplay: Fix duplicate CHARLCD config symbol

2021-01-22 Thread Geert Uytterhoeven
A second CHARLCD config symbol was added instead of moving the existing one. Fix this by removing the old one. Fixes: 718e05ed92ecac0d ("auxdisplay: Introduce hd44780_common.[ch]") Signed-off-by: Geert Uytterhoeven --- drivers/auxdisplay/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --g

Re: [PATCH v2] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-22 Thread Nicolas Pitre
On Fri, 22 Jan 2021, Nicolas Pitre wrote: > On Fri, 22 Jan 2021, Rafael J. Wysocki wrote: > > > On Fri, Jan 22, 2021 at 4:48 PM Naresh Kamboju > > wrote: > > > > > > On Fri, 22 Jan 2021 at 20:39, Rafael J. Wysocki wrote: > > > > > > > > On Thu, Jan 21, 2021 at 8:01 PM Rafael J. Wysocki > > >

Re: [RFC][PATCH 00/25] Network fs helper library & fscache kiocb API

2021-01-22 Thread J. Bruce Fields
On Thu, Jan 21, 2021 at 08:08:24PM +, David Howells wrote: > J. Bruce Fields wrote: > > So, I'm still confused: there must be some case where we know fscache > > actually works reliably and doesn't corrupt your data, right? > > Using ext2/3, for example. I don't know under what circumstances

[PATCH v5 00/18] Refactor generic_file_buffered_read

2021-01-22 Thread Matthew Wilcox (Oracle)
This is a combination of Christoph's work to refactor generic_file_buffered_read() and some of my large-page support which was disrupted by Kent's refactoring of generic_file_buffered_read. v5: - Rebase on next-20210122 (new conflict due to typo fix) - Folded in Reviewed-bys v4: -

Re: [PATCH v2] PM / clk: make PM clock layer compatible with clocks that must sleep

2021-01-22 Thread Rafael J. Wysocki
On Fri, Jan 22, 2021 at 4:59 PM Nicolas Pitre wrote: > > On Fri, 22 Jan 2021, Rafael J. Wysocki wrote: > > > On Fri, Jan 22, 2021 at 4:48 PM Naresh Kamboju > > wrote: > > > > > > On Fri, 22 Jan 2021 at 20:39, Rafael J. Wysocki wrote: > > > > > > > > On Thu, Jan 21, 2021 at 8:01 PM Rafael J. Wyso

[PATCH v5 02/18] mm/filemap: Remove dynamically allocated array from filemap_read

2021-01-22 Thread Matthew Wilcox (Oracle)
Increasing the batch size runs into diminishing returns. It's probably better to make, eg, three calls to filemap_get_pages() than it is to call into kmalloc(). Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Christoph Hellwig Reviewed-by: Miaohe Lin --- mm/filemap.c | 15 ++-

Re: [PATCH v2 3/6] touchscreen/wacom_i2c: Add support for distance and tilt x/y

2021-01-22 Thread Marco Felsch
Hi, thanks for the patch. Please align all your patch-subjects belonging to the driver to: "Input: wacom_i2c - ..." On 21-01-20 22:56, Alistair Francis wrote: > This is based on the out of tree rM2 driver. > > Signed-off-by: Alistair Francis > --- > drivers/input/touchscreen/wacom_i2c.c | 25 +

[PATCH v5 01/18] mm/filemap: Rename generic_file_buffered_read subfunctions

2021-01-22 Thread Matthew Wilcox (Oracle)
The recent split of generic_file_buffered_read() created some very long function names which are hard to distinguish from each other. Rename as follows: generic_file_buffered_read_readpage -> filemap_read_page generic_file_buffered_read_pagenotuptodate -> filemap_update_page generic_file_buffered_

Re: [PATCH 1/2] ecryptfs: fix uid translation for setxattr on security.capability

2021-01-22 Thread Tyler Hicks
On 2021-01-20 08:52:27, Miklos Szeredi wrote: > On Tue, Jan 19, 2021 at 10:11 PM Eric W. Biederman > wrote: > > > > Miklos Szeredi writes: > > > > > Prior to commit 7c03e2cda4a5 ("vfs: move cap_convert_nscap() call into > > > vfs_setxattr()") the translation of nscap->rootid did not take stacked

[PATCH v5 04/18] mm/filemap: Use head pages in generic_file_buffered_read

2021-01-22 Thread Matthew Wilcox (Oracle)
Add filemap_get_read_batch() which returns the head pages which represent a contiguous array of bytes in the file. It also stops when encountering a page marked as Readahead or !Uptodate (but does return that page) so it can be handled appropriately by filemap_get_pages(). That lets us remove the

[PATCH v5 05/18] mm/filemap: Pass a sleep state to put_and_wait_on_page_locked

2021-01-22 Thread Matthew Wilcox (Oracle)
This is prep work for the next patch, but I think at least one of the current callers would prefer a killable sleep to an uninterruptible one. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Overstreet Reviewed-by: Christoph Hellwig --- include/linux/pagemap.h | 3 +-- mm/filemap.c

[GIT PULL] Ceph fixes for 5.11-rc5

2021-01-22 Thread Ilya Dryomov
Hi Linus, The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62: Linux 5.11-rc2 (2021-01-03 15:55:30 -0800) are available in the Git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-5.11-rc5 for you to fetch changes up to 9d5ae6f3c50a6f718b6d4be3c7

Re: [RFC PATCH v2] net: bridge: igmp: Extend IGMP query to be per vlan

2021-01-22 Thread Joachim Wiberg
On Mon, Jan 18, 2021 at 13:53, Nikolay Aleksandrov wrote: > On 16/01/2021 17:39, Joachim Wiberg wrote: >> We have discussed at length at work if an IGMP snooping implementation >> really belongs in the bridge, or if it's better suited as a user space >> daemon? Similar to what was decided for RST

[PATCH v5 06/18] mm/filemap: Support readpage splitting a page

2021-01-22 Thread Matthew Wilcox (Oracle)
For page splitting to succeed, the thread asking to split the page has to be the only one with a reference to the page. Calling wait_on_page_locked() while holding a reference to the page will effectively prevent this from happening with sufficient threads waiting on the same page. Use put_and_wa

Re: [PATCH 1/2] dt-bindings/phy: ingenic: Add compatibles for?? JZ4760(B) SoCs

2021-01-22 Thread Rob Herring
On Fri, Jan 22, 2021 at 02:42:28PM +, Paul Cercueil wrote: > Hi Rob, > > Le ven. 22 janv. 2021 à 8:35, Rob Herring a écrit : > > On Wed, Jan 20, 2021 at 5:59 AM Paul Cercueil > > wrote: > > > > > > Add the ingenic,jz4760-phy and ingenic,jz4760b-phy compatible > > > strings, > > > and make

[PATCH v5 07/18] mm/filemap: Inline __wait_on_page_locked_async into caller

2021-01-22 Thread Matthew Wilcox (Oracle)
The previous patch removed wait_on_page_locked_async(), so inline __wait_on_page_locked_async into __lock_page_async(). Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Overstreet Reviewed-by: Christoph Hellwig --- mm/filemap.c | 53 ++--

[PATCH v5 08/18] mm/filemap: Don't call ->readpage if IOCB_WAITQ is set

2021-01-22 Thread Matthew Wilcox (Oracle)
The readpage operation can block in many (most?) filesystems, so we should punt to a work queue instead of calling it. This was the last caller of lock_page_for_iocb(), so remove it. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Overstreet Reviewed-by: Christoph Hellwig --- mm/file

Re: [RFC][PATCH 00/25] Network fs helper library & fscache kiocb API

2021-01-22 Thread David Howells
J. Bruce Fields wrote: > > J. Bruce Fields wrote: > > > So, I'm still confused: there must be some case where we know fscache > > > actually works reliably and doesn't corrupt your data, right? > > > > Using ext2/3, for example. I don't know under what circumstances xfs, ext4 > > and btrfs mig

[PATCH 4.4 00/29] 4.4.253-rc2 review

2021-01-22 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.253 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun, 24 Jan 2021 16:08:14 +. Anything rec

Re: [PATCH v4 3/3] kasan: Make addr_has_metadata() return true for valid addresses

2021-01-22 Thread Andrey Konovalov
On Fri, Jan 22, 2021 at 4:57 PM Vincenzo Frascino wrote: > > Currently, addr_has_metadata() returns true for every address. > An invalid address (e.g. NULL) passed to the function when, > KASAN_HW_TAGS is enabled, leads to a kernel panic. > > Make addr_has_metadata() return true for valid addresse

[PATCH 4.14 00/48] 4.14.217-rc2 review

2021-01-22 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.217 release. There are 48 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun, 24 Jan 2021 16:08:17 +. Anything re

[PATCH v5 10/18] mm/filemap: Change filemap_create_page calling conventions

2021-01-22 Thread Matthew Wilcox (Oracle)
By moving the iocb flag checks to the caller, we can pass the file and the page index instead of the iocb. It never needed the iter. By passing the pagevec, we can return an errno (or AOP_TRUNCATED_PAGE) instead of an ERR_PTR. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Overstreet

[PATCH 4.9 00/33] 4.9.253-rc2 review

2021-01-22 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.253 release. There are 33 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun, 24 Jan 2021 16:08:20 +. Anything rec

[PATCH v5 11/18] mm/filemap: Convert filemap_update_page to return an errno

2021-01-22 Thread Matthew Wilcox (Oracle)
Use AOP_TRUNCATED_PAGE to indicate that no error occurred, but the page we looked up is no longer valid. In this case, the reference to the page will have been removed; if we hit any other error, the caller will release the reference. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Over

RE: [EXTERNAL] Re: [PATCH net 0/1] net: phy: Fix interrupt mask loss on resume from hibernation

2021-01-22 Thread Badel, Laurent
> From: Heiner Kallweit > Sent: Friday, January 22, 2021 4:20 PM > The (optional) software reset is done via soft_reset callback. > So if the PHY in question needs special treatment after a soft reset, > why not add it to the soft_reset callback? Thank you very much for the fast reply. This mak

[PATCH v5 12/18] mm/filemap: Move the iocb checks into filemap_update_page

2021-01-22 Thread Matthew Wilcox (Oracle)
We don't need to give up when a non-blocking request sees a !Uptodate page. We may be able to satisfy the read from a partially-uptodate page. Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Kent Overstreet Reviewed-by: Christoph Hellwig --- mm/filemap.c | 24 ++-- 1 fi

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