Re: [PATCH 4.19 00/39] 4.19.163-rc1 review

2020-12-10 Thread Naresh Kamboju
On Thu, 10 Dec 2020 at 20:05, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.163 release. > There are 39 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: [RFC 18/18] power: supply: max17040: Do not enforce (incorrect) interrupt trigger type

2020-12-10 Thread Krzysztof Kozlowski
On Thu, Dec 10, 2020 at 11:16:00PM +0100, Sebastian Reichel wrote: > (I shortened the Cc) > > Hi, > > On Thu, Dec 10, 2020 at 10:25:34PM +0100, Krzysztof Kozlowski wrote: > > [...] > > index d956c67d5155..f737de0470de 100644 > > --- a/drivers/power/supply/max17040_battery.c > > +++

Re: [RFC 18/18] power: supply: max17040: Do not enforce (incorrect) interrupt trigger type

2020-12-10 Thread Krzysztof Kozlowski
On Thu, Dec 10, 2020 at 10:25:34PM +0100, Krzysztof Kozlowski wrote: > Interrupt line can be configured on different hardware in different way, > even inverted. Therefore driver should not enforce specific trigger > type - edge falling - but instead rely on Devicetree to configure it. > > The

Re: [PATCH] x86/apic/vector: Fix ordering in vector assignment

2020-12-10 Thread Ming Lei
On Thu, Dec 10, 2020 at 09:18:22PM +0100, Thomas Gleixner wrote: > Prarit reported that depending on the affinity setting the > > ' irq $N: Affinity broken due to vector space exhaustion.' > > message is showing up in dmesg, but the vector space on the CPUs in the > affinity mask is definitely

Re: [PATCH v17 3/3] bus: mhi: Add userspace client interface driver

2020-12-10 Thread Greg KH
On Thu, Dec 10, 2020 at 11:04:11PM -0800, Hemant Kumar wrote: > This MHI client driver allows userspace clients to transfer > raw data between MHI device and host using standard file operations. > Driver instantiates UCI device object which is associated to device > file node. UCI device object

[GIT PULL] devfreq next for v5.11

2020-12-10 Thread Chanwoo Choi
Dear Rafael, This is devfreq-next pull request for v5.11-rc1. I add detailed description of this pull request on the following tag. Please pull devfreq with following updates. - tag name : devfreq-next-for-5.11 Best Regards, Chanwoo Choi The following changes since commit

Re: [PATCH RESEND v8 4/4] input: elants: support 0x66 reply opcode for reporting touches

2020-12-10 Thread Dmitry Torokhov
On Fri, Dec 11, 2020 at 07:53:57AM +0100, Michał Mirosław wrote: > From: Dmitry Osipenko > > eKTF3624 touchscreen firmware uses two variants of the reply opcodes for > reporting touch events: one is 0x63 (used by older firmware) and other is > 0x66 (used by newer firmware). The 0x66 variant is

Re: [PATCH] tty: serial: meson: enable console as module

2020-12-10 Thread Greg Kroah-Hartman
On Thu, Dec 10, 2020 at 04:57:44PM -0800, Kevin Hilman wrote: > Enable serial driver to be built as a module. To do so, init the > console support on driver/module load instead of using > console_initcall(). > > Signed-off-by: Kevin Hilman > --- > Yes, I'm well aware that having the serial

Re: [PATCH v4 1/7] mm: memcontrol: fix NR_ANON_THPS accounting in charge moving

2020-12-10 Thread Pankaj Gupta
> The unit of NR_ANON_THPS is HPAGE_PMD_NR already. So it should inc/dec > by one rather than nr_pages. > > Fixes: 468c398233da ("mm: memcontrol: switch to native NR_ANON_THPS counter") > Signed-off-by: Muchun Song > Acked-by: Michal Hocko > Acked-by: Johannes Weiner > Reviewed-by: Roman

Re: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread 'Greg Kroah-Hartman'
On Fri, Dec 11, 2020 at 06:37:52AM +, József Horváth wrote: > On Fri, Dec 11, 2020 at 07:20:41AM +0100, 'Greg Kroah-Hartman' wrote: > > On Fri, Dec 11, 2020 at 06:09:43AM +, József Horváth wrote: > > > On Fri, Dec 11, 2020 at 06:50:58AM +0100, 'Greg Kroah-Hartman' wrote: > > > > On Thu,

Re: [PATCH RESEND v8 2/4] input: elants: support old touch report format

2020-12-10 Thread Dmitry Torokhov
Hi Michał, On Fri, Dec 11, 2020 at 07:53:56AM +0100, Michał Mirosław wrote: > @@ -998,17 +1011,18 @@ static irqreturn_t elants_i2c_irq(int irq, void *_dev) > } > > report_len = ts->buf[FW_HDR_LENGTH] / report_count; > - if

Re: [PATCH] init: fix msleep() is not accurate

2020-12-10 Thread Dominik Brodowski
Am Fri, Dec 11, 2020 at 11:24:12AM +0800 schrieb Yejune Deng: > See Documentation/timers/timers-howto.rst, msleep() is not > for (1ms - 20ms),use usleep_range() instead. While technically correct, this branch is only taken if the "rootwait" kernel parameter is passed -- and as the kernel is

linux-next: manual merge of the userns tree with the tip tree

2020-12-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the userns tree got a conflict in: kernel/events/core.c between commit: 78af4dc949da ("perf: Break deadlock involving exec_update_mutex") from the tip tree and commit: f7cfd871ae0c ("exec: Transform exec_update_mutex into a rw_semaphore") from the

[PATCH] kunit: Print test statistics on failure

2020-12-10 Thread David Gow
When a number of tests fail, it can be useful to get higher-level statistics of how many tests are failing (or how many parameters are failing in parameterised tests), and in what cases or suites. This is already done by some non-KUnit tests, so add support for automatically generating these for

Re: [PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-12-10 Thread Dmitry Torokhov
Hi Michał, On Fri, Dec 11, 2020 at 07:53:56AM +0100, Michał Mirosław wrote: > + > + if (!phy_x || !phy_y) { > + dev_warn(>dev, > + "invalid size data: %d x %d mm\n", > + phy_x, phy_y); > + return 0; Given we are not treating

Re: [PATCH RESEND net-next 1/2] dpaa2-eth: send a scatter-gather FD instead of realloc-ing

2020-12-10 Thread Jon Nettleton
On Thu, Dec 10, 2020 at 7:08 PM Ioana Ciornei wrote: > > [Added also the netdev mailing list, I haven't heard of linux-netdev > before but kept it] > > On Thu, Dec 10, 2020 at 05:31:56PM +, Daniel Thompson wrote: > > Hi Ioana > > Hi Daniel, > > > > > On Mon, Jun 29, 2020 at 06:47:11PM +,

[PATCH v1] usb: typec: tcpm: Update vbus_vsafe0v on init

2020-12-10 Thread Badhri Jagan Sridharan
During init, vbus_vsafe0v does not get updated till the first connect as a sink. This causes TCPM to be stuck in SRC_ATTACH_WAIT state while booting with a sink (For instance: a headset) connected. [1.429168] Start toggling [1.439907] CC1: 0 -> 0, CC2: 0 -> 0 [state TOGGLING, polarity 0,

[PATCH 2/2] Input: elantech - Some module tp of tracpoint report has a smbus protocol error.

2020-12-10 Thread jingle.wu
1. Add the conditional expression to distinguish different patterns regarding 0, 1, 2. 2. Add the function to get or set more bytes from register 3. Get and correct the device informations including ic_type, module id from different pattern. 4. Add the function to change the report id 0x5F of

[PATCH 1/2] Input: elan_i2c - Add new trackpoint report type 0x5F.

2020-12-10 Thread jingle.wu
The 0x5F is new trackpoint report type of some module. Signed-off-by: Jingle Wu --- drivers/input/mouse/elan_i2c.h | 6 ++ drivers/input/mouse/elan_i2c_core.c | 5 + drivers/input/mouse/elan_i2c_smbus.c | 8 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 2/2] blk-iocost: Use alloc_percpu_gfp() to simplify the code

2020-12-10 Thread Baolin Wang
Hi Tejun, Hello, On Thu, Dec 10, 2020 at 06:56:45PM +0800, Baolin Wang wrote: Use alloc_percpu_gfp() with __GFP_ZERO flag, which can remove some explicit initialization code. __GFP_ZERO is implicit for percpu allocations and local[64]_t's initial states aren't guaranteed to be all zeros on

[GIT PULL] clk fixes for v5.10-rc7

2020-12-10 Thread Stephen Boyd
The following changes since commit c277ca155d2f0028a5c79708426d3f79b54a5fc1: clk: imx8m: fix bus critical clk registration (2020-11-04 17:13:12 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to

[PATCH] usb: typec: tcpci: Enable bleed discharge when auto discharge is enabled

2020-12-10 Thread Badhri Jagan Sridharan
Auto discharge circuits kick in only when vbus decays and reaches VBUS_SINK_DISCONNECT_THRESHOLD threshold. Enable bleed discharge to discharge vbus to VBUS_SINK_DISCONNECT_THRESHOLD upon disconnect. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/typec/tcpm/tcpci.c | 2 ++ 1 file

Re: [PATCH RESEND v8 1/4] input: elants: document some registers and values

2020-12-10 Thread Dmitry Torokhov
On Fri, Dec 11, 2020 at 07:53:56AM +0100, Michał Mirosław wrote: > Add information found in downstream kernels, to make the code less > magic. > > Signed-off-by: Michał Mirosław > Reviewed-by: Dmitry Osipenko > Tested-by: Dmitry Osipenko Applied, thank you. -- Dmitry

[PATCH] fs/proc: make pde_get() return nothing

2020-12-10 Thread Hui Su
we don't need pde_get()'s return value, so make pde_get() return nothing Signed-off-by: Hui Su --- fs/proc/internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/proc/internal.h b/fs/proc/internal.h index 917cc85e3466..0abbd93a4a08 100644 --- a/fs/proc/internal.h

Re: [PATCH v2 5/5] clk: qcom: gcc: Add clock driver for SM8350

2020-12-10 Thread Stephen Boyd
Quoting Vinod Koul (2020-12-10 21:43:49) > On 10-12-20, 12:43, Stephen Boyd wrote: > > > +static struct clk_branch gcc_camera_ahb_clk = { > > > + .halt_reg = 0x26004, > > > + .halt_check = BRANCH_HALT_DELAY, > > > + .hwcg_reg = 0x26004, > > > + .hwcg_bit = 1, > > > +

[PATCH] Input: cyapa - do not call input_device_enabled from power mode handler

2020-12-10 Thread Dmitry Torokhov
Input device's user counter is supposed to be accessed only while holding input->mutex. Commit d69f0a43c677 ("Input: use input_device_enabled()") recently switched cyapa to using the dedicated API and it uncovered the fact that cyapa driver violated this constraint. This patch removes checks

Re: [PATCH v2 4/5] clk: qcom: clk-alpha-pll: Add support for Lucid 5LPE PLL

2020-12-10 Thread Stephen Boyd
Quoting Vinod Koul (2020-12-10 21:02:57) > On 10-12-20, 12:36, Stephen Boyd wrote: > > > + > > > + return regmap_update_bits(pll->clkr.regmap, PLL_USER_CTL(pll), > > > + (BIT(pll->width) - 1) << > > > pll->post_div_shift, > > > > Use GENMASK? > > Looks like

Re: [PATCH v2 3/3] pinctrl: qcom: Clear possible pending irq when remuxing GPIOs

2020-12-10 Thread Maulik Shah
Hi Doug, On 12/10/2020 6:13 AM, Doug Anderson wrote: Hi, On Tue, Dec 8, 2020 at 9:54 PM Maulik Shah wrote: but as long as its IRQ is in disabled/masked state it doesn't matter. ...but there's no requirement that someone would need to disable/mask an interrupt while switching the muxing, is

Re: [PATCH net-next 3/7] net: hns3: add support for forwarding packet to queues of specified TC when flow director rule hit

2020-12-10 Thread tanhuazhong
On 2020/12/11 4:46, Saeed Mahameed wrote: On Thu, 2020-12-10 at 20:24 +0800, tanhuazhong wrote: On 2020/12/10 13:40, Saeed Mahameed wrote: On Thu, 2020-12-10 at 11:42 +0800, Huazhong Tan wrote: From: Jian Shen For some new device, it supports forwarding packet to queues of specified TC

[PATCH v17 0/3] userspace MHI client interface driver

2020-12-10 Thread Hemant Kumar
This patch series adds support for UCI driver. UCI driver enables userspace clients to communicate to external MHI devices like modem. UCI driver probe creates standard character device file nodes for userspace clients to perform open, read, write, poll and release file operations. These file

[PATCH v17 1/3] bus: mhi: core: Move MHI_MAX_MTU to external header file

2020-12-10 Thread Hemant Kumar
Currently this macro is defined in internal MHI header as a TRE length mask. Moving it to external header allows MHI client drivers to set this upper bound for the transmit buffer size. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo Reviewed-by: Manivannan Sadhasivam ---

[PATCH v17 2/3] docs: Add documentation for userspace client interface

2020-12-10 Thread Hemant Kumar
MHI userspace client driver is creating device file node for user application to perform file operations. File operations are handled by MHI core driver. Currently QMI MHI channel is supported by this driver. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo --- Documentation/mhi/index.rst

[PATCH v17 3/3] bus: mhi: Add userspace client interface driver

2020-12-10 Thread Hemant Kumar
This MHI client driver allows userspace clients to transfer raw data between MHI device and host using standard file operations. Driver instantiates UCI device object which is associated to device file node. UCI device object instantiates UCI channel object when device file node is opened. UCI

[PATCH] x86/kprobes: Fix optprobe to detect padding int3 correctly

2020-12-10 Thread Masami Hiramatsu
Fix optprobe to detect padding int3 correctly. Since commit 7705dc855797 ("x86/vmlinux: Use INT3 instead of NOP for linker fill bytes") changed the padding bytes between functions from nop to int3, when optprobe decodes a target function it finds int3 and gives up the jump optimization. Instead

[PATCH] drm/hisilicon: Add the CONFIG_PM_SLEEP

2020-12-10 Thread Tian Tao
add the CONFIG_PM_SLEEP to isolate the function of resume and suspend. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

Re: [PATCH v3 sl-b 1/6] mm: Add mem_dump_obj() to print source of memory block

2020-12-10 Thread Joonsoo Kim
On Thu, Dec 10, 2020 at 07:42:27PM -0800, Paul E. McKenney wrote: > On Thu, Dec 10, 2020 at 07:33:59PM -0800, Paul E. McKenney wrote: > > On Fri, Dec 11, 2020 at 11:22:10AM +0900, Joonsoo Kim wrote: > > > On Thu, Dec 10, 2020 at 05:19:58PM -0800, paul...@kernel.org wrote: > > > > From: "Paul E.

Re: [PATCH net-next 2/7] net: hns3: add support for tc mqprio offload

2020-12-10 Thread tanhuazhong
On 2020/12/11 4:24, Saeed Mahameed wrote: On Thu, 2020-12-10 at 20:27 +0800, tanhuazhong wrote: On 2020/12/10 12:50, Saeed Mahameed wrote: On Thu, 2020-12-10 at 11:42 +0800, Huazhong Tan wrote: From: Jian Shen Currently, the HNS3 driver only supports offload for tc number and prio_tc.

[PATCH] nvmet: fix mismatched serial

2020-12-10 Thread zhenwei pi
Target side uses 'bin2hex' to convert u64 serial number to a hex string, saving serial number as be64 to keep right byte order. Test on x86 server, config '0123456789abcdef' to 'attr_serial' on target side, and run 'nvme id-ctrl /dev/nvme0' on initiator side, then we can get the same SN string.

Re: [PATCH v3 sl-b 1/6] mm: Add mem_dump_obj() to print source of memory block

2020-12-10 Thread Joonsoo Kim
On Thu, Dec 10, 2020 at 07:33:59PM -0800, Paul E. McKenney wrote: > On Fri, Dec 11, 2020 at 11:22:10AM +0900, Joonsoo Kim wrote: > > On Thu, Dec 10, 2020 at 05:19:58PM -0800, paul...@kernel.org wrote: > > > From: "Paul E. McKenney" > > > > > > There are kernel facilities such as per-CPU

[PATCH] fs: ext4: remove unnecessary wbc parameter from ext4_bio_write_page

2020-12-10 Thread chenlei0x
From: Lei Chen ext4_bio_write_page does not need wbc parameter, since its parameter io contains the io_wbc field. The io::io_wbc is initialized by ext4_io_submit_init which is called in ext4_writepages and ext4_writepage functions prior to ext4_bio_write_page. Therefor, when ext4_bio_write_page

[PATCH RESEND v8 1/4] input: elants: document some registers and values

2020-12-10 Thread Michał Mirosław
Add information found in downstream kernels, to make the code less magic. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git

[PATCH RESEND v8 4/4] input: elants: support 0x66 reply opcode for reporting touches

2020-12-10 Thread Michał Mirosław
From: Dmitry Osipenko eKTF3624 touchscreen firmware uses two variants of the reply opcodes for reporting touch events: one is 0x63 (used by older firmware) and other is 0x66 (used by newer firmware). The 0x66 variant is equal to 0x63 of eKTH3500, while 0x63 needs small adjustment of the touch

[PATCH RESEND v8 3/4] input: elants: read touchscreen size for EKTF3624

2020-12-10 Thread Michał Mirosław
EKTF3624 as present in Asus TF300T tablet has touchscreen size encoded in different registers. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 84 -- 1 file changed, 79 insertions(+), 5

[PATCH RESEND v8 2/4] input: elants: support old touch report format

2020-12-10 Thread Michał Mirosław
Support ELAN touchpad sensor with older firmware as found on eg. Asus Transformer Pads. Signed-off-by: Michał Mirosław Reviewed-by: Dmitry Osipenko Tested-by: Dmitry Osipenko --- drivers/input/touchscreen/elants_i2c.c | 36 ++ 1 file changed, 25 insertions(+), 11

[PATCH RESEND v8 0/4] input: elants: Support Asus TF300T and Nexus 7 touchscreens

2020-12-10 Thread Michał Mirosław
This series cleans up the driver a bit and implements changes needed to support EKTF3624-based touchscreen used in Asus TF300T, Google Nexus 7 and similar Tegra3-based tablets. --- v2: extended with Dmitry's patches (replaced v1 patches 3 and 4) v3: rebased for v5.7-rc1 v4: rebased onto v5.7-rc2+

Re: [PATCH] mt76: Fixed kernel test robot warning

2020-12-10 Thread Souptick Joarder
On Thu, Dec 10, 2020 at 12:46 PM Kalle Valo wrote: > > Souptick Joarder writes: > > > Kernel test robot throws below warning -> > > > >drivers/net/wireless/mediatek/mt76/tx.c: In function > > 'mt76_txq_schedule': > >>> drivers/net/wireless/mediatek/mt76/tx.c:499:21: warning: variable 'q' >

Re: [PATCH 1/7] vfio: iommu_type1: Clear added dirty bit when unwind pin

2020-12-10 Thread zhukeqian
On 2020/12/11 3:16, Alex Williamson wrote: > On Thu, 10 Dec 2020 15:34:19 +0800 > Keqian Zhu wrote: > >> Currently we do not clear added dirty bit of bitmap when unwind >> pin, so if pin failed at halfway, we set unnecessary dirty bit >> in bitmap. Clearing added dirty bit when unwind pin,

Re: [PATCH] arm64: topology: Drop the useless update to per-cpu cycles

2020-12-10 Thread Viresh Kumar
On 10-12-20, 11:17, Viresh Kumar wrote: > The previous call to update_freq_counters_refs() has already updated the > per-cpu variables, don't overwrite them with the same value again. > > Fixes: 4b9cf23c179a ("arm64: wrap and generalise counter read functions") > Signed-off-by: Viresh Kumar >

Re: [PATCH 5.4 00/54] 5.4.83-rc2 review

2020-12-10 Thread Naresh Kamboju
On Thu, 10 Dec 2020 at 22:17, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.83 release. > There are 54 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: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread József Horváth
On Fri, Dec 11, 2020 at 07:20:41AM +0100, 'Greg Kroah-Hartman' wrote: > On Fri, Dec 11, 2020 at 06:09:43AM +, József Horváth wrote: > > On Fri, Dec 11, 2020 at 06:50:58AM +0100, 'Greg Kroah-Hartman' wrote: > > > On Thu, Dec 10, 2020 at 07:46:25PM +, József Horváth wrote: > > > > On Thu,

Re: [PATCH 5/5] USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition

2020-12-10 Thread Greg Kroah-Hartman
On Thu, Dec 10, 2020 at 08:47:04PM -0800, Badhri Jagan Sridharan wrote: > Hi Greg, > > I have a patch ready to enable BLEED_DISCHARGE in tcpci code. > I will send that in once you merge this patch to usb-next. Feel free to send that now, no need to wait :) thanks, greg k-h

Re: [PATCH -next] input/rmi4: simplify the return expression of rmi_driver_of_probe()

2020-12-10 Thread Dmitry Torokhov
On Thu, Dec 10, 2020 at 10:00:24PM +0800, Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun > --- > drivers/input/rmi4/rmi_driver.c | 8 +--- > 1 file changed, 1 insertion(+), 7 deletions(-) > > diff --git a/drivers/input/rmi4/rmi_driver.c

Re: [PATCH v2 0/3] Release allocated periodic bandwidth data from reset_bandwidth()

2020-12-10 Thread Ikjoon Jang
On Fri, Dec 11, 2020 at 9:53 AM Chunfeng Yun wrote: > > On Thu, 2020-12-10 at 18:47 +0800, Ikjoon Jang wrote: > > xhci-mtk releases allocated TT bandwidth data only when whole > > endpoints of a device are dropped as there're only {add|drop}_endpoint() > > hooks are defined. This patchset adds

[PATCH v4 5/5] crypto: hisilicon/hpre - add 'CURVE25519' algorithm

2020-12-10 Thread Meng Yu
1. Add 'CURVE25519' curve parameter definition to 'include/crypto/ecc_curve_defs.h'; 2. Enable 'CURVE25519' algorithm in Kunpeng 930. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reported-by: kernel test robot --- drivers/crypto/hisilicon/Kconfig| 1 +

[PATCH v4 4/5] crypto: hisilicon/hpre - add 'ECDH' algorithm

2020-12-10 Thread Meng Yu
1. Add some new 'ECDH' curve parameter definitions to 'include/crypto/ecc_curve_defs.h', and reorder ECC 'Curves IDs' in 'include/crypto/ecdh.h'; 2. Enable 'ECDH' algorithm in Kunpeng 930. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- crypto/ecc.c| 4

[PATCH v4 2/5] crypto: hisilicon/hpre - add algorithm type

2020-12-10 Thread Meng Yu
Algorithm type is brought in to get hardware HPRE queue to support different algorithms. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 10 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 12 ++--

[PATCH v4 1/5] crypto: hisilicon/hpre - add some updates to adapt to Kunpeng 930

2020-12-10 Thread Meng Yu
From: Hui Tang HPRE of Kunpeng 930 is updated on cluster numbers and configurations of Kunpeng 920 HPRE, so we try to update this driver to make it running okay on both chips. Signed-off-by: Hui Tang Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h

[PATCH v4 3/5] crypto: expose elliptic curve parameters as Crypto APIs

2020-12-10 Thread Meng Yu
Move elliptic curves definition to 'include/crypto/ecc_curve_defs.h', so all can use it, Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- crypto/ecc.c| 1 - crypto/ecc.h| 37 + crypto/ecc_curve_defs.h | 57

[PATCH v4 0/5] add ECDH and CURVE25519 algorithms support for Kunpeng 930

2020-12-10 Thread Meng Yu
1. Move elliptic curve parameter definitions out to "include/crypto"; 2. Add some new elliptic curve parameters definitions, and reorder ECC 'Curves IDs'; 3. Add ECDH and CURVE25519 algorithms support for Kunpeng 930. These patches depend on: [v2,1/6] crypto: hisilicon/hpre - add version adapt

Re: [PATCH -next] input/touchscreen: simplify the return expression of mxt_send_bootloader_cmd()

2020-12-10 Thread Dmitry Torokhov
On Thu, Dec 10, 2020 at 09:59:43PM +0800, Zheng Yongjun wrote: > Simplify the return expression. > > Signed-off-by: Zheng Yongjun Applied, thank you. -- Dmitry

Re: [PATCH v2 3/3] usb: xhci-mtk: fix unreleased bandwidth data

2020-12-10 Thread Ikjoon Jang
On Thu, Dec 10, 2020 at 6:57 PM Greg Kroah-Hartman wrote: > > On Thu, Dec 10, 2020 at 06:47:47PM +0800, Ikjoon Jang wrote: > > xhci-mtk has hooks on add_endpoint() and drop_endpoint() from xhci > > to handle its own sw bandwidth managements and stores bandwidth data > > into internal table every

[PATCHv6 net-next 0/3] Add devlink and devlink health reporters to

2020-12-10 Thread George Cherian
Add basic devlink and devlink health reporters. Devlink health reporters are added for NPA block. Address Jakub's comment to add devlink support for error reporting. https://www.spinics.net/lists/netdev/msg670712.html For now, I have dropped the NIX block health reporters. This series attempts

[PATCHv6 net-next 1/3] octeontx2-af: Add devlink suppoort to af driver

2020-12-10 Thread George Cherian
Add devlink support to AF driver. Basic devlink support is added. Currently info_get is the only supported devlink ops. devlink ouptput looks like this # devlink dev pci/0002:01:00.0 # devlink dev info pci/0002:01:00.0: driver octeontx2-af # Signed-off-by: Sunil Kovvuri Goutham

[PATCH 2/3] octeontx2-af: Add devlink health reporters for NPA

2020-12-10 Thread George Cherian
Add health reporters for RVU NPA block. NPA Health reporters handle following HW event groups - GENERAL events - ERROR events - RAS events - RVU event Output: #devlink health pci/0002:01:00.0: reporter hw_npa_intr state healthy error 0 recover 0 grace_period 0 auto_recover true

[PATCH 3/3] docs: octeontx2: Add Documentation for NPA health reporters

2020-12-10 Thread George Cherian
Add Documentation for devlink health reporters for NPA block. Signed-off-by: George Cherian --- .../ethernet/marvell/octeontx2.rst| 50 +++ 1 file changed, 50 insertions(+) diff --git a/Documentation/networking/device_drivers/ethernet/marvell/octeontx2.rst

Re: [net PATCH] tcp: Mark fastopen SYN packet as lost when receiving ICMP_TOOBIG/ICMP_FRAG_NEEDED

2020-12-10 Thread Eric Dumazet
On Fri, Dec 11, 2020 at 2:55 AM Alexander Duyck wrote: > > From: Alexander Duyck > > In the case of a fastopen SYN there are cases where it may trigger either a > ICMP_TOOBIG message in the case of IPv6 or a fragmentation request in the > case of IPv4. This results in the socket stalling for a

Re: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread 'Greg Kroah-Hartman'
On Fri, Dec 11, 2020 at 06:09:43AM +, József Horváth wrote: > On Fri, Dec 11, 2020 at 06:50:58AM +0100, 'Greg Kroah-Hartman' wrote: > > On Thu, Dec 10, 2020 at 07:46:25PM +, József Horváth wrote: > > > On Thu, Dec 10, 2020 at 08:03:22PM +0100, 'Greg Kroah-Hartman' wrote: > > > > On Thu,

Re: [patch 27/30] xen/events: Only force affinity mask for percpu interrupts

2020-12-10 Thread Jürgen Groß
On 11.12.20 00:20, boris.ostrov...@oracle.com wrote: On 12/10/20 2:26 PM, Thomas Gleixner wrote: All event channel setups bind the interrupt on CPU0 or the target CPU for percpu interrupts and overwrite the affinity mask with the corresponding cpumask. That does not make sense. The XEN

Re: [PATCH v3] dt-bindings: usb: Add new compatible string for AM64 SoC

2020-12-10 Thread Aswath Govindraju
Hi Rob, On 11/12/20 9:07 am, Rob Herring wrote: > On Thu, Dec 10, 2020 at 12:24:50PM +0530, Aswath Govindraju wrote: >> Add compatible string in j721e-usb binding file as the same USB subsystem >> is present in AM64. >> >> Signed-off-by: Aswath Govindraju >> Acked-by: Roger Quadros >> --- >> >>

Re: [PATCH v2] perf script: Fix overrun issue for dynamically-allocated pmu type number

2020-12-10 Thread Adrian Hunter
On 9/12/20 2:58 am, Jin Yao wrote: > When unpacking the event which is from dynamic pmu, the array > output[OUTPUT_TYPE_MAX] may be overrun. For example, type number of > SKL uncore_imc is 10, but OUTPUT_TYPE_MAX is 7 now (OUTPUT_TYPE_MAX = > PERF_TYPE_MAX + 1). > > /* In builtin-script.c */ >

Re: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread József Horváth
On Fri, Dec 11, 2020 at 06:50:58AM +0100, 'Greg Kroah-Hartman' wrote: > On Thu, Dec 10, 2020 at 07:46:25PM +, József Horváth wrote: > > On Thu, Dec 10, 2020 at 08:03:22PM +0100, 'Greg Kroah-Hartman' wrote: > > > On Thu, Dec 10, 2020 at 05:04:46PM +, József Horváth wrote: > > > > This is a

Re: [PATCH RFC] f2fs: compress: add compress_flag in struct f2fs_comp_option

2020-12-10 Thread Chao Yu
On 2020/12/11 1:23, Jaegeuk Kim wrote: On 12/10, Chao Yu wrote: Add a extra field compress_flag to get/set more compress option from/to compressed inode. Signed-off-by: Chao Yu --- Daeho, Jaegeuk, Could you please check whether we could add this new field to struct f2fs_comp_option? so we

[PATCH v4] dt-bindings: usb: Add new compatible string for AM64 SoC

2020-12-10 Thread Aswath Govindraju
Add compatible string in j721e-usb binding file as the same USB subsystem is present in AM64. Signed-off-by: Aswath Govindraju --- Changes since v3: - used enum instead of anyOf. Changes since v2: - added changes done over the versions. Changes since v1: - replaced the '\t' at the beginning

Re: [PATCH] input: keyboard: imx_keypad: add COMPILE_TEST support

2020-12-10 Thread Dmitry Torokhov
On Mon, Mar 02, 2020 at 04:26:13PM +0800, Anson Huang wrote: > Add COMPILE_TEST support to imx_keypad driver for better compile > testing coverage. > > Signed-off-by: Anson Huang Applied, thank you. -- Dmitry

Re: [PATCH] input: rmi4: rmi_spi: Use new structure for SPI transfer delays

2020-12-10 Thread Dmitry Torokhov
On Thu, Feb 27, 2020 at 03:03:36PM +0200, Sergiu Cuciurean wrote: > In a recent change to the SPI subsystem [1], a new `delay` struct was added > to replace the `delay_usecs`. This change replaces the current > `delay_usecs` with `delay` for this driver. > > The `spi_transfer_delay_exec()`

Re: [PATCH] input: keyboard: applespi: Use new structure for SPI transfer delays

2020-12-10 Thread Dmitry Torokhov
On Thu, Feb 27, 2020 at 02:45:34PM +0200, Sergiu Cuciurean wrote: > In a recent change to the SPI subsystem [1], a new `delay` struct was added > to replace the `delay_usecs`. This change replaces the current > `delay_usecs` with `delay` for this driver. > > The `spi_transfer_delay_exec()`

Re: [PATCH v3] mmc: sdhci-msm: Warn about overclocking SD/MMC

2020-12-10 Thread Adrian Hunter
On 10/12/20 11:27 pm, Douglas Anderson wrote: > As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use > floor ops for sdcc clks"), most clocks handled by the Qualcomm clock > drivers are rounded _up_ by default instead of down. We should make > sure SD/MMC clocks are always rounded

Re: [PATCH v2] input: touchscreen: ad7877: Use new structure for SPI transfer delays

2020-12-10 Thread Dmitry Torokhov
On Fri, Feb 28, 2020 at 12:45:08PM +0200, Sergiu Cuciurean wrote: > In a recent change to the SPI subsystem [1], a new `delay` struct was added > to replace the `delay_usecs`. This change replaces the current > `delay_usecs` with `delay` for this driver. > > The `spi_transfer_delay_exec()`

Re: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread 'Greg Kroah-Hartman'
On Thu, Dec 10, 2020 at 07:46:25PM +, József Horváth wrote: > On Thu, Dec 10, 2020 at 08:03:22PM +0100, 'Greg Kroah-Hartman' wrote: > > On Thu, Dec 10, 2020 at 05:04:46PM +, József Horváth wrote: > > > This is a serial port driver for > > > Silicon Labs Si4455 Sub-GHz transciver. > > > >

RE: [PATCH] ath10k: Remove voltage regulator votes during wifi disable

2020-12-10 Thread Rakesh Pillai
> -Original Message- > From: Brian Norris > Sent: Thursday, December 10, 2020 11:44 PM > To: Rakesh Pillai > Cc: ath10k ; linux-wireless wirel...@vger.kernel.org>; Linux Kernel ; > Doug Anderson ; kua...@chromium.org; > Youghandhar Chintala > Subject: Re: [PATCH] ath10k: Remove

Re: [PATCH v2 5/5] clk: qcom: gcc: Add clock driver for SM8350

2020-12-10 Thread Vinod Koul
On 10-12-20, 12:43, Stephen Boyd wrote: > Quoting Vinod Koul (2020-12-07 22:47:02) > > +config SM_GCC_8350 > > + tristate "SM8350 Global Clock Controller" > > + select QCOM_GDSC > > + help > > + Support for the global clock controller on SM8350 devices. > > + Say

Re: [PATCH v2] Serial: silabs si4455 serial driver

2020-12-10 Thread Jiri Slaby
On 10. 12. 20, 20:46, József Horváth wrote: Implement the basic serial driver first, and then we can talk about "custom" configurations and the like, using the correct apis. Without the SI4455_IOC_SEZC call, the driver can't configure the Si4455 and not working at all. The cofiguration for

Re: [PATCH 5.9 00/75] 5.9.14-rc1 review

2020-12-10 Thread Naresh Kamboju
On Thu, 10 Dec 2020 at 20:08, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.9.14 release. > There are 75 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: [PATCH] genksyms: Ignore module scoped _Static_assert()

2020-12-10 Thread Andrew Morton
On Thu, 10 Dec 2020 17:25:30 +0100 Marco Elver wrote: > On Thu, 10 Dec 2020 at 14:29, Miguel Ojeda > wrote: > > On Thu, Dec 10, 2020 at 11:35 AM Marco Elver wrote: > > > > > > It looks like there's no clear MAINTAINER for this. :-/ > > > It'd still be good to fix this for 5.11. > > > > Richard

Re: x86/ioapic: Cleanup the timer_works() irqflags mess

2020-12-10 Thread Jürgen Groß
On 10.12.20 21:15, Thomas Gleixner wrote: Mark tripped over the creative irqflags handling in the IO-APIC timer delivery check which ends up doing: local_irq_save(flags); local_irq_enable(); local_irq_restore(flags); which triggered a new consistency check he's

Re: [PATCH v2 4/5] clk: qcom: clk-alpha-pll: Add support for Lucid 5LPE PLL

2020-12-10 Thread Vinod Koul
On 10-12-20, 12:36, Stephen Boyd wrote: > Quoting Vinod Koul (2020-12-07 22:47:01) > > diff --git a/drivers/clk/qcom/clk-alpha-pll.c > > b/drivers/clk/qcom/clk-alpha-pll.c > > index 564431130a76..6a399663d564 100644 > > --- a/drivers/clk/qcom/clk-alpha-pll.c > > +++

linux-next: build failure after merge of the keys tree

2020-12-10 Thread Stephen Rothwell
Hi all, After merging the keys tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from include/linux/cred.h:13, from security/integrity/ima/ima_mok.c:12: security/integrity/ima/ima_mok.c: In function 'ima_mok_init':

Re: [PATCH 5/5] USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition

2020-12-10 Thread Badhri Jagan Sridharan
Hi Greg, I have a patch ready to enable BLEED_DISCHARGE in tcpci code. I will send that in once you merge this patch to usb-next. Thanks, Badhri On Thu, Dec 10, 2020 at 10:56 AM Badhri Jagan Sridharan wrote: > > Hi Guenter, > > Yes I will send a follow up patch to update tcpci_maxim.c. > >

Re: [stable] ext4 fscrypt_get_encryption_info() circular locking dependency

2020-12-10 Thread Sergey Senozhatsky
On (20/12/11 13:08), Sergey Senozhatsky wrote: > > > > How interested are you in having this fixed? Did you encounter an actual > > deadlock or just the lockdep report? > Got one more. fscrypt_get_encryption_info() again, but from ext4_lookup(). [ 162.840909] kswapd0/80 is trying to acquire

[RFC PATCH] pinctrl: add helper to expose pinctrl state in debugfs

2020-12-10 Thread Drew Fustini
BeagleBoard.org [0] currently uses an out-of-tree driver called bone-pinmux-helper [1] developed by Pantelis Antoniou [2] back in 2013. The driver assists users of our BeagleBone and PocketBeagle boards in rapid prototyping by allowing them to change at run-time between defined set of pinctrl

Re: [PATCH v2 3/5] dt-bindings: clock: Add SM8350 GCC clock bindings

2020-12-10 Thread Vinod Koul
On 10-12-20, 12:31, Stephen Boyd wrote: > Quoting Vinod Koul (2020-12-09 22:11:59) > > On 09-12-20, 22:01, Rob Herring wrote: > > > On Tue, Dec 08, 2020 at 12:17:00PM +0530, Vinod Koul wrote: > > > > > > +required: > > > > + - compatible > > > > + - clocks > > > > + - clock-names > > > > + -

[PATCH v4 6/7] mm: memcontrol: convert NR_FILE_PMDMAPPED account to pages

2020-12-10 Thread Muchun Song
The unit of NR_FILE_PMDMAPPED is HPAGE_PMD_NR. Convert NR_FILE_PMDMAPPED account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c| 3 +-- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 3 ++- mm/rmap.c | 6 -- 4 files changed, 8 insertions(+), 6

[PATCH v4 7/7] mm: memcontrol: make the slab calculation consistent

2020-12-10 Thread Muchun Song
Although the ratio of the slab is one, we also should read the ratio from the related memory_stats instead of hard-coding. And the local variable of size is already the value of slab_unreclaimable. So we do not need to read again. We can drop the ratio in struct memory_stat. This can make the

[PATCHv2] selftests: test_vxlan_under_vrf: mute unnecessary error message

2020-12-10 Thread Po-Hsu Lin
The cleanup function in this script that tries to delete hv-1 / hv-2 vm-1 / vm-2 netns will generate some uncessary error messages: Cannot remove namespace file "/run/netns/hv-2": No such file or directory Cannot remove namespace file "/run/netns/vm-1": No such file or directory Cannot remove

[PATCH v4 4/7] mm: memcontrol: convert NR_SHMEM_THPS account to pages

2020-12-10 Thread Muchun Song
The unit of NR_SHMEM_THPS is HPAGE_PMD_NR. Convert NR_SHMEM_THPS account to pages Signed-off-by: Muchun Song --- drivers/base/node.c| 3 +-- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 3 ++- mm/filemap.c | 2 +- mm/huge_memory.c | 3 ++- mm/khugepaged.c

[PATCH v4 3/7] mm: memcontrol: convert NR_FILE_THPS account to pages

2020-12-10 Thread Muchun Song
The unit of NR_FILE_THPS is HPAGE_PMD_NR. Converrt NR_FILE_THPS account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c| 3 +-- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 3 ++- mm/filemap.c | 2 +- mm/huge_memory.c | 3 ++- mm/khugepaged.c|

[PATCH v4 5/7] mm: memcontrol: convert NR_SHMEM_PMDMAPPED account to pages

2020-12-10 Thread Muchun Song
The unit of NR_SHMEM_PMDMAPPED is HPAGE_PMD_NR. Convert NR_SHMEM_PMDMAPPED account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c| 3 +-- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 3 ++- mm/page_alloc.c| 3 +-- mm/rmap.c | 6 -- 5 files

[PATCH v4 2/7] mm: memcontrol: convert NR_ANON_THPS account to pages

2020-12-10 Thread Muchun Song
The unit of NR_ANON_THPS is HPAGE_PMD_NR. Convert the NR_ANON_THPS account to pages. Signed-off-by: Muchun Song --- drivers/base/node.c| 15 +-- fs/proc/meminfo.c | 2 +- include/linux/mmzone.h | 9 + mm/huge_memory.c | 3 ++- mm/memcontrol.c| 20

[PATCH v4 0/7] Convert all THP vmstat counters to pages

2020-12-10 Thread Muchun Song
Hi, This patch series is aimed to convert all THP vmstat counters to pages. The unit of some vmstat counters are pages, some are bytes, some are HPAGE_PMD_NR, and some are KiB. When we want to expose these vmstat counters to the userspace, we have to know the unit of the vmstat counters is which

[PATCH v4 1/7] mm: memcontrol: fix NR_ANON_THPS accounting in charge moving

2020-12-10 Thread Muchun Song
The unit of NR_ANON_THPS is HPAGE_PMD_NR already. So it should inc/dec by one rather than nr_pages. Fixes: 468c398233da ("mm: memcontrol: switch to native NR_ANON_THPS counter") Signed-off-by: Muchun Song Acked-by: Michal Hocko Acked-by: Johannes Weiner Reviewed-by: Roman Gushchin ---

  1   2   3   4   5   6   7   8   9   10   >