Re: [PATCH v8 3/4] phy: Add Sparx5 ethernet serdes PHY driver

2020-12-03 Thread Alexandre Belloni
Hi Russell, On 03/12/2020 22:52:33+, Russell King - ARM Linux admin wrote: > You still have not Cc'd me on your patches. Please can you either: > > 1) use get_maintainer.pl to find out whom you should be sending >your patches to > or > 2) include me in your cc for this patch set as

[PATCH v2 4/5] dt-bindings: interconnect: Add Qualcomm MSM8939 DT bindings

2020-12-03 Thread Jun Nie
The Qualcomm MSM8939 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand. Signed-off-by: Jun Nie Reviewed-by: Rob Herring --- .../bindings/interconnect/qcom,rpm.yaml | 4 + .../dt-bindings/interconnect/qcom,msm8939.h | 105

Re: [RFC v2 2/2] [MOCKUP] sched/mm: Lightweight lazy mm refcounting

2020-12-03 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 4, 2020 3:26 pm: > This is a mockup. It's designed to illustrate the algorithm and how the > code might be structured. There are several things blatantly wrong with > it: > > The coding stype is not up to kernel standards. I have prototypes

[PATCH v2 5/5] interconnect: qcom: Add MSM8939 interconnect provider driver

2020-12-03 Thread Jun Nie
Add driver for the Qualcomm interconnect buses found in MSM8939 based platforms. The topology consists of four NoCs that are controlled by a remote processor that collects the aggregated bandwidth for each master-slave pairs. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/Kconfig | 9

[PATCH v2 3/5] dt-bindings: interconnect: single yaml file for RPM interconnect drivers

2020-12-03 Thread Jun Nie
MSM8916 and QCS404 bindings are almost identical, so combine them into one. This will make it easier to add interconnect bindings for more SoC with RPM. Signed-off-by: Jun Nie Reviewed-by: Rob Herring --- .../bindings/interconnect/qcom,qcs404.yaml| 77 ---

[PATCH v2 2/5] interconnect: qcom: qcs404: use shared code

2020-12-03 Thread Jun Nie
Use shared code for aggregate functionalities and probe function to remove duplicated code. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/qcs404.c | 242 + 1 file changed, 8 insertions(+), 234 deletions(-) diff --git a/drivers/interconnect/qcom/qcs404.c

[PATCH v2 1/5] interconnect: qcom: Consolidate interconnect RPM support

2020-12-03 Thread Jun Nie
Add RPM based interconnect driver implements the set and aggregate functionalities that translates bandwidth requests into RPM messages. These modules provide a common set of functionalities for all Qualcomm RPM based interconnect providers and should help reduce code duplication when adding new

[PATCH v2 0/5] Consolidate RPM interconnect and support to MSM8939

2020-12-03 Thread Jun Nie
This patch set split shared RPM based interconnect operation code and add support to MSM8939 interconnect. Changes vs V1: - Rebase to latest icc code. - Remove unnecessary comment and info. - Fix some format issues. Jun Nie (5): interconnect: qcom: Consolidate interconnect RPM support

Re: [PATCH v2 0/2] Adds support to capture module's SCM version

2020-12-03 Thread Christoph Hellwig
I think your decription still shows absolutely no benefit for the kernel, so I'not sure why anyone would want to waste time on this.

[PATCH v2 3/3] arm64: dts: ti: k3-j721e-main: Remove "syscon" nodes added for pcieX_ctrl

2020-12-03 Thread Kishon Vijay Abraham I
Remove "syscon" nodes added for pcieX_ctrl and have the PCIe node point to the parent with an offset argument. This change is as discussed in [1] [1] -> http://lore.kernel.org/r/cal_jsqkiuco76bo1goepwm1tusjwoty_bry2hfsgtevmqtr...@mail.gmail.com Fixes: 4e5833884f66 ("arm64: dts: ti:

[PATCH v2 2/3] PCI: j721e: Get offset within "syscon" from "ti,syscon-pcie-ctrl" phandle arg

2020-12-03 Thread Kishon Vijay Abraham I
Get "syscon" pcie_ctrl offset from the argument of "ti,syscon-pcie-ctrl" phandle. Previously a subnode to "syscon" node was added which has the exact memory mapped address of pcie_ctrl but now the offset of pcie_ctrl within "syscon" is now being passed as argument to "ti,syscon-pcie-ctrl" phandle.

[PATCH v2 1/3] dt-bindings: pci: ti,j721e: Fix "ti,syscon-pcie-ctrl" to take argument

2020-12-03 Thread Kishon Vijay Abraham I
Fix binding documentation of "ti,syscon-pcie-ctrl" to take phandle with argument. The argument is the register offset within "syscon" used to configure PCIe controller. This change is as discussed in [1] [1] ->

[PATCH v2 0/3] PCI: J721E: Fix Broken DT w.r.t SYSCON DT

2020-12-03 Thread Kishon Vijay Abraham I
Previously a subnode to syscon node was added which has the exact memory mapped address of pcie_ctrl but based on review comment provided by Rob [1], the offset is now being passed as argument to "ti,syscon-pcie-ctrl" phandle. This series has both driver change and DT change. The driver change

[tip:master] BUILD SUCCESS 9dc242493c6ebbea55c354b7dbce7edfc1b5a75c

2020-12-03 Thread kernel test robot
-20201204 i386 randconfig-a006-20201204 i386 randconfig-a003-20201204 i386 randconfig-a014-20201203 i386 randconfig-a013-20201203 i386 randconfig-a011-20201203 i386 randconfig-a015-20201203 i386

Re: [PATCH v3 19/19] vdpa: split vdpasim to core and net modules

2020-12-03 Thread Stefano Garzarella
On Thu, Dec 03, 2020 at 09:25:52AM -0800, Randy Dunlap wrote: Hi, On 12/3/20 9:05 AM, Stefano Garzarella wrote: diff --git a/drivers/vdpa/Kconfig b/drivers/vdpa/Kconfig index 2c892e890b9e..b0f91ad8eb47 100644 --- a/drivers/vdpa/Kconfig +++ b/drivers/vdpa/Kconfig @@ -9,15 +9,20 @@ menuconfig

Re: [PATCH 5/6] ARM: dts: mmp2-olpc-xo-1-75: explicitly add #address-cells=<0> for slave mode

2020-12-03 Thread Leizhen (ThunderTown)
Hi everybody: Can somebody apply this patch? When I do any YAML dtbs_check on arm, below Warnings always reported. arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): /soc/apb@d400/spi@d4037000: incorrect #address-cells for SPI bus also defined at

[PATCH] scsi: fnic: fix error return code in fnic_probe()

2020-12-03 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: 5df6d737dd4b ("[SCSI] fnic: Add new Cisco PCI-Express FCoE HBA") Reported-by: Hulk Robot Signed-off-by: Zhang Changzhong --- drivers/scsi/fnic/fnic_main.c | 1 + 1 file

Re: [f2fs-dev] [PATCH v6] f2fs: compress: support compress level

2020-12-03 Thread Gao Xiang
Hi Chao, On Fri, Dec 04, 2020 at 03:09:20PM +0800, Chao Yu wrote: > On 2020/12/4 8:31, Gao Xiang wrote: > > could make more sense), could you leave some CR numbers about these > > algorithms on typical datasets (enwik9, silisia.tar or else.) with 16k > > cluster size? > > Just from a quick test

[PATCH 4/4] phy: freescale: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-03 Thread Liu Ying
i.MX8qxp SoC embeds a Mixel MIPI DPHY + LVDS PHY combo which supports either a MIPI DSI display or a LVDS display. The PHY mode is controlled by SCU firmware and the driver would call a SCU firmware function to configure the PHY mode. The single LVDS PHY has 4 data lanes to support a LVDS

[PATCH 3/4] dt-bindings: phy: mixel: mipi-dsi-phy: Add Mixel combo PHY support for i.MX8qxp

2020-12-03 Thread Liu Ying
Add support for Mixel MIPI DPHY + LVDS PHY combo IP as found on Freescale i.MX8qxp SoC. Cc: Guido Günther Cc: Kishon Vijay Abraham I Cc: Vinod Koul Cc: Rob Herring Cc: NXP Linux Team Signed-off-by: Liu Ying --- Documentation/devicetree/bindings/phy/mixel,mipi-dsi-phy.txt | 8 +++- 1

[PATCH 2/4] phy: Add LVDS configuration options

2020-12-03 Thread Liu Ying
This patch allows LVDS PHYs to be configured through the generic functions and through a custom structure added to the generic union. The parameters added here are based on common LVDS PHY implementation practices. The set of parameters should cover all potential users. Cc: Kishon Vijay Abraham

[PATCH 1/4] drm/bridge: nwl-dsi: Set PHY mode in nwl_dsi_enable()

2020-12-03 Thread Liu Ying
The Northwest Logic MIPI DSI host controller embedded in i.MX8qxp works with a Mixel MIPI DPHY + LVDS PHY combo to support either a MIPI DSI display or a LVDS display. So, this patch calls phy_set_mode() from nwl_dsi_enable() to set PHY mode to MIPI DPHY explicitly. Cc: Guido Günther Cc: Robert

[PATCH 0/4] phy: phy-fsl-imx8-mipi-dphy: Add i.MX8qxp LVDS PHY mode support

2020-12-03 Thread Liu Ying
Hi, This series adds i.MX8qxp LVDS PHY mode support for the Mixel PHY in the Freescale i.MX8qxp SoC. The Mixel PHY is MIPI DPHY + LVDS PHY combo, which can works in either MIPI DPHY mode or LVDS PHY mode. The PHY mode is controlled by i.MX8qxp SCU firmware. The PHY driver would call a SCU

[PATCH] i2c: mlxbf: Fix an error pointer vs NULL check

2020-12-03 Thread Xu Wang
In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Xu Wang --- drivers/i2c/busses/i2c-mlxbf.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [RFC PATCH 5/9] cxl/mem: Find device capabilities

2020-12-03 Thread Dan Williams
On Tue, Nov 10, 2020 at 9:44 PM Ben Widawsky wrote: > > CXL devices contain an array of capabilities that describe the > interactions software can interact with the device, or firmware running > on the device. A CXL compliant device must implement the device status > and the mailbox capability. A

Re: [v4,2/3] PCI: mediatek: Add new generation controller support

2020-12-03 Thread Lukas Wunner
On Mon, Nov 30, 2020 at 11:30:05AM -0600, Bjorn Helgaas wrote: > On Mon, Nov 23, 2020 at 02:45:13PM +0800, Jianjun Wang wrote: > > On Thu, 2020-11-19 at 14:28 -0600, Bjorn Helgaas wrote: > > > > +static int mtk_pcie_setup(struct mtk_pcie_port *port) > > > > +{ [...] > > > > + /* Try link up

Re: [PATCH v2 1/2] clocksource: arm_arch_timer: Use stable count reader in erratum sne

2020-12-03 Thread zhukeqian
Hi Marc, On 2020/12/3 22:58, Marc Zyngier wrote: > On 2020-08-18 04:28, Keqian Zhu wrote: >> In commit 0ea415390cd3 ("clocksource/arm_arch_timer: Use >> arch_timer_read_counter >> to access stable counters"), we separate stable and normal count reader to >> omit >> unnecessary overhead on

Re: [RFC PATCH 5/9] cxl/mem: Find device capabilities

2020-12-03 Thread Dan Williams
On Wed, Nov 25, 2020 at 10:06 PM Jon Masters wrote: > > On 11/11/20 12:43 AM, Ben Widawsky wrote: > > > + case CXL_CAPABILITIES_CAP_ID_SECONDARY_MAILBOX: > > + dev_dbg(>pdev->dev, > > +"found UNSUPPORTED Secondary Mailbox > >

[PATCH v3 1/2] clocksource: arm_arch_timer: Use stable count reader in erratum sne

2020-12-03 Thread Keqian Zhu
In commit 0ea415390cd3 ("clocksource/arm_arch_timer: Use arch_timer_read_counter to access stable counters"), we separate stable and normal count reader to omit unnecessary overhead on systems that have no timer erratum. However, in erratum_set_next_event_tval_generic(), count reader becomes

[PATCH v3 2/2] clocksource: arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI

2020-12-03 Thread Keqian Zhu
ARM virtual counter supports event stream, it can only trigger an event when the trigger bit (the value of CNTKCTL_EL1.EVNTI) of CNTVCT_EL0 changes, so the actual period of event stream is 2^(cntkctl_evnti + 1). For example, when the trigger bit is 0, then virtual counter trigger an event for

[PATCH v3 0/2] clocksource: arm_arch_timer: Some fixes

2020-12-03 Thread Keqian Zhu
change log: v3: - Address Marc's comments. - Reform arch_timer_configure_evtstream. v2: - Do not revert commit 0ea415390cd3, fix it instead. - Correct the tags of second patch. Keqian Zhu (2): clocksource: arm_arch_timer: Use stable count reader in erratum sne clocksource:

[PATCH] Documentation: fix multiple typos found in the admin-guide subdirectory

2020-12-03 Thread Andrew Klychkov
Fix thirty five typos in dm-integrity.rst, dm-raid.rst, dm-zoned.rst, verity.rst, writecache.rst, tsx_async_abort.rst, md.rst, bttv.rst, dvb_references.rst, frontend-cardlist.rst, gspca-cardlist.rst, ipu3.rst, remote-controller.rst, mm/index.rst, numaperf.rst, userfaultfd.rst, module-signing.rst,

Re: [RFC 1/2] perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES event

2020-12-03 Thread Namhyung Kim
On Thu, Dec 3, 2020 at 9:20 PM Peter Zijlstra wrote: > > On Wed, Dec 02, 2020 at 11:28:28AM -0800, Andi Kleen wrote: > > > + prev_cgrp = task_css_check(prev, perf_event_cgrp_id, 1)->cgroup; > > > + next_cgrp = task_css_check(next, perf_event_cgrp_id, 1)->cgroup; > > > + > > > + if

Re: [RFC PATCH 3/9] cxl/mem: Add a driver for the type-3 mailbox

2020-12-03 Thread Dan Williams
On Thu, Dec 3, 2020 at 11:22 PM Dan Williams wrote: > > On Tue, Nov 17, 2020 at 6:50 AM Jonathan Cameron > wrote: > > > > On Tue, 10 Nov 2020 21:43:50 -0800 > > Ben Widawsky wrote: > > > > > From: Dan Williams > > > > > > The CXL.mem protocol allows a device to act as a provider of "System > >

[PATCH v2] f2fs: fix race of pending_pages in decompression

2020-12-03 Thread Daeho Jeong
From: Daeho Jeong I found out f2fs_free_dic() is invoked in a wrong timing, but f2fs_verify_bio() still needed the dic info and it triggered the below kernel panic. It has been caused by the race condition of pending_pages value between decompression and verity logic, when the same compression

Re: [RFC 1/2] perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES event

2020-12-03 Thread Namhyung Kim
On Thu, Dec 3, 2020 at 4:45 PM Peter Zijlstra wrote: > > On Thu, Dec 03, 2020 at 11:10:30AM +0900, Namhyung Kim wrote: > > On Thu, Dec 3, 2020 at 1:19 AM Peter Zijlstra wrote: > > > > > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h > > > index 9a38f579bc76..5eb284819ee5

Re: [PATCH] tty: Remove dead termiox code

2020-12-03 Thread Jiri Slaby
On 03. 12. 20, 3:03, Jann Horn wrote: set_termiox() and the TCGETX handler bail out with -EINVAL immediately if ->termiox is NULL, but there are no code paths that can set ->termiox to a non-NULL pointer; and no such code paths seem to have existed since the termiox mechanism was introduced back

Re: [RFC PATCH 3/9] cxl/mem: Add a driver for the type-3 mailbox

2020-12-03 Thread Dan Williams
On Tue, Nov 17, 2020 at 6:50 AM Jonathan Cameron wrote: > > On Tue, 10 Nov 2020 21:43:50 -0800 > Ben Widawsky wrote: > > > From: Dan Williams > > > > The CXL.mem protocol allows a device to act as a provider of "System > > RAM" and/or "Persistent Memory" that is fully coherent as if the memory

REQUEST.

2020-12-03 Thread Angela Campbell
I am sorry for interrupting your day, with due respect trust and humility, I write to you this proposal, which I believe would be of great interest to you. I am looking for a reliable and capable partner that will assist my family and I to transfer funds to his personal or company account for

Re: [PATCH v7 1/4] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2020-12-03 Thread EastL
sorry for the delayed response. On Tue, 2020-08-18 at 10:47 -0600, Rob Herring wrote: > On Tue, Aug 18, 2020 at 11:03:51AM +0800, EastL Lee wrote: > > Document the devicetree bindings for MediaTek Command-Queue DMA controller > > which could be found on MT6779 SoC or other similar Mediatek SoCs.

Re: [PATCH] crypto: remove trailing semicolon in macro definition

2020-12-03 Thread Herbert Xu
On Fri, Nov 27, 2020 at 08:23:45AM -0800, t...@redhat.com wrote: > From: Tom Rix > > The macro use will already have a semicolon. > > Signed-off-by: Tom Rix > --- > crypto/seed.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page:

Re: [PATCH V2 3/3] perf: Optimize sched_task() in a context switch

2020-12-03 Thread Namhyung Kim
Hi Peter, On Wed, Dec 2, 2020 at 2:29 AM Peter Zijlstra wrote: > > On Mon, Nov 30, 2020 at 11:38:42AM -0800, kan.li...@linux.intel.com wrote: > > From: Kan Liang > > > > Some calls to sched_task() in a context switch can be avoided. For > > example, large PEBS only requires flushing the buffer

[PATCH V3 7/7] remoteproc: imx_proc: enable virtio/mailbox

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan Use virtio/mailbox to build connection between Remote Proccessors and Linux. Add work queue to handle incoming messages. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 133 - 1 file changed, 130

[PATCH V3 5/7] remoteproc: imx_rproc: add i.MX specific parse fw hook

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan The hook is used to parse memory-regions and load resource table from the address the remote processor published. Signed-off-by: Peng Fan Reviewed-by: Richard Zhu Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 93 ++ 1 file

[PATCH V3 6/7] remoteproc: imx_rproc: support i.MX8MQ/M

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan Add i.MX8MQ dev/sys addr map and configuration data structure i.MX8MM share i.MX8MQ settings. Reviewed-by: Richard Zhu Signed-off-by: Peng Fan Reviewed-by: Mathieu Poirier --- drivers/remoteproc/imx_rproc.c | 40 ++ 1 file changed, 40

[PATCH V3 4/7] remoteproc: imx_rproc: use devm_ioremap

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan We might need to map an region multiple times, becaue the region might be shared between remote processors, such i.MX8QM with dual M4 cores. So use devm_ioremap, not devm_ioremap_resource. Reviewed-by: Oleksij Rempel Reviewed-by: Richard Zhu Signed-off-by: Peng Fan ---

[PATCH V3 3/7] remoteproc: imx_rproc: correct err message

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan It is using devm_ioremap, so not devm_ioremap_resource. Correct the error message and print out sa/size. Acked-by: Richard Zhu Reviewed-by: Mathieu Poirier Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH V3 1/7] remoteproc: elf: support platform specific memory hook

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan To arm64, "dc zva, dst" is used in memset. Per ARM DDI 0487A.j, chapter C5.3.8 DC ZVA, Data Cache Zero by VA, "If the memory region being zeroed is any type of Device memory, this instruction can give an alignment fault which is prioritized in the same way as other alignment

[PATCH V3 2/7] remoteproc: imx_rproc: add elf memory hooks

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan Add elf memory hooks according to elf_mem_hook setting in the platform configuration dcfg. Acked-by: Richard Zhu Signed-off-by: Peng Fan --- drivers/remoteproc/imx_rproc.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/remoteproc/imx_rproc.c

[PATCH V3 0/7] remoteproc: imx_rproc: support iMX8MQ/M

2020-12-03 Thread Peng Fan (OSS)
From: Peng Fan V3: Since I was quite busy in the past days, V3 is late Rebased on Linux-next Add R-b tags 1/7: Add R-b tag of Mathieu, add comments 4/7: Typo fix 5/7: Add R-b tag of Mathieu, drop index Per Mathieu's comments 6/7: Add R-b tag of Mathieu 7/7: Add comment for vqid << 16,

Re: [f2fs-dev] [PATCH v6] f2fs: compress: support compress level

2020-12-03 Thread Chao Yu
On 2020/12/4 8:31, Gao Xiang wrote: could make more sense), could you leave some CR numbers about these algorithms on typical datasets (enwik9, silisia.tar or else.) with 16k cluster size? Just from a quick test with enwik9 on vm: Original blocks:244382 lz4

[PATCH 2/2] arm64: dts: allwinner: a100: Add CPU Operating Performance Points table

2020-12-03 Thread Shuosheng Huang
Add an Operating Performance Points table for the CPU cores to enable Dynamic Voltage & Frequency Scaling on the A100. Signed-off-by: Shuosheng Huang --- .../allwinner/sun50i-a100-allwinner-perf1.dts | 5 ++ .../dts/allwinner/sun50i-a100-cpu-opp.dtsi| 90 +++

[PATCH 1/2] cpufreq: sun50i: add a100 cpufreq support

2020-12-03 Thread Shuosheng Huang
Let's add cpufreq nvmem based for allwinner a100 soc. It's similar to h6, let us use efuse_xlate to extract the differentiated part. Signed-off-by: Shuosheng Huang --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + drivers/cpufreq/sun50i-cpufreq-nvmem.c | 81 -- 2 files

Re: [PATCH bpf-next v3 13/14] bpf: Add tests for new BPF atomic operations

2020-12-03 Thread Yonghong Song
On 12/3/20 8:02 AM, Brendan Jackman wrote: This relies on the work done by Yonghong Song in https://reviews.llvm.org/D72184 Note the use of a define called ENABLE_ATOMICS_TESTS: this is used to: - Avoid breaking the build for people on old versions of Clang - Avoid needing separate

Re: [RFC v2 1/2] [NEEDS HELP] x86/mm: Handle unlazying membarrier core sync in the arch code

2020-12-03 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 4, 2020 3:26 pm: > The core scheduler isn't a great place for > membarrier_mm_sync_core_before_usermode() -- the core scheduler doesn't > actually know whether we are lazy. With the old code, if a CPU is > running a membarrier-registered task,

Re: [PATCH 0/5] crypto: hisilicon - add some new algorithms

2020-12-03 Thread Herbert Xu
On Thu, Nov 26, 2020 at 10:18:01AM +0800, Longfang Liu wrote: > As the new Kunpeng930 supports some new algorithms, > the driver needs to be updated > > Longfang Liu (4): > crypto: hisilicon/sec - add new type of sqe for Kunpeng930 > crypto: hisilicon/sec - add new skcipher mode for SEC >

Re: [PATCH v2 2/2] clocksource: arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI

2020-12-03 Thread zhukeqian
Hi Marc, On 2020/12/3 22:57, Marc Zyngier wrote: > On 2020-08-18 04:28, Keqian Zhu wrote: >> ARM virtual counter supports event stream, it can only trigger an event >> when the trigger bit (the value of CNTKCTL_EL1.EVNTI) of CNTVCT_EL0 changes, >> so the actual period of event stream is

Re: [PATCH 2/5] crypto: hisilicon/sec - add new type of sqe for Kunpeng930

2020-12-03 Thread Herbert Xu
On Thu, Nov 26, 2020 at 10:18:03AM +0800, Longfang Liu wrote: > > diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.h > b/drivers/crypto/hisilicon/sec2/sec_crypto.h > index 0e933e7..712176b 100644 > --- a/drivers/crypto/hisilicon/sec2/sec_crypto.h > +++

[PATCH] (fixed after review) Documentation: fix typos found in admin-guide subdirectory

2020-12-03 Thread Andrew Klychkov
Fixed twelve typos in cppc_sysfs.rst, binderfs.rst, paride.rst, zram.rst, bug-hunting.rst, introduction.rst, usage.rst, dm-crypt.rst Reviewed-by: Jonathan Corbet Reviewed-by: Randy Dunlap Signed-off-by: Andrew Klychkov --- Documentation/admin-guide/acpi/cppc_sysfs.rst| 4 ++--

Re: [f2fs-dev] [PATCH] f2fs: fix race of pending_pages in decompression

2020-12-03 Thread Daeho Jeong
Thanks for the explanation about verity. I got your point. Thanks~ 2020년 12월 4일 (금) 오후 2:18, Eric Biggers 님이 작성: > > On Fri, Dec 04, 2020 at 02:00:34PM +0900, Daeho Jeong wrote: > > I think I don't understand how verity works. > > Right after verity is enabled on a file, is the verity logic

Re: [PATCH 0/5] tty: add flag to suppress ready signalling on open

2020-12-03 Thread Jiri Slaby
On 02. 12. 20, 12:48, Johan Hovold wrote: but I question the usefulness of doing so, as it is a chicken and egg problem: one needs to open the tty device in order to do termios ioctls on it, and if that initial open triggers DTR/RTS hardware actions, then the end user is still screwed. If Johan

Re: [PATCH] implements ecdsa 256, 384 and 521 alghorithm in akcipher model; change pcks7 and x509 to load certificates with ecdsa; increment testmgr to test ecdsa algo and finally allows signature and

2020-12-03 Thread Herbert Xu
On Wed, Nov 25, 2020 at 11:03:08PM -0300, Saulo Alessandre wrote: > From: Saulo Alessandre > > Signed-off-by: Saulo Alessandre > --- > Documentation/admin-guide/module-signing.rst | 10 + > crypto/Kconfig | 12 + > crypto/Makefile |

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2020-12-03 Thread Davidlohr Bueso
On Mon, 16 Apr 2018, Sebastian Andrzej Siewior wrote: On 2018-03-08 10:57:39 [+0100], To Mauro Carvalho Chehab wrote: On 2018-02-27 14:39:34 [-0300], Mauro Carvalho Chehab wrote: > Hi Sebastian, Hi Mauro, > Sorry for taking some time to test it, has been busy those days... :) > Anyway, I

[PATCH] arm64: dts: rockchip: rk3328: Fix UART pull-ups

2020-12-03 Thread Chen-Yu Tsai
From: Chen-Yu Tsai For UARTs, the local pull-ups should be on the RX pin, not the TX pin. UARTs transmit active-low, so a disconnected RX pin should be pulled high instead of left floating to prevent noise being interpreted as transmissions. This gets rid of bogus sysrq events when the UART

Re: high number of dropped packets/rx_missed_errors from 4.17 kernel

2020-12-03 Thread Andrei Popa
Hi, I’ve applied your patch on kernel 4.17.0 and dropped packets and rx_missed_errors are still present, through they are increasing at a lower rate. root@shaper:~# ./test rx_missed_errors: 2135 RX errors 0 dropped 2155 overruns 0 frame 0 sleeping 60 seconds

Re: [PATCH bpf-next v3 10/14] bpf: Add bitwise atomic instructions

2020-12-03 Thread Yonghong Song
On 12/3/20 8:02 AM, Brendan Jackman wrote: This adds instructions for atomic[64]_[fetch_]and atomic[64]_[fetch_]or atomic[64]_[fetch_]xor All these operations are isomorphic enough to implement with the same verifier, interpreter, and x86 JIT code, hence being a single commit. The main

[PATCH v4 3/3] docs: make reporting-bugs.rst obsolete

2020-12-03 Thread Thorsten Leemhuis
Make various places which point to Documentation/admin-guide/reporting-bugs.rst point to Documentation/admin-guide/reporting-issues.rst instead. That document is brand new and as of now is not completely finished. But even at this stage it's a lot more helpful and accurate than reporting-bugs.rst.

[PATCH v4 1/3] LICENSES: Add the CC-BY-4.0 license

2020-12-03 Thread Thorsten Leemhuis
Add the full text of the CC-BY-4.0 license to the kernel tree as well as the required tags for reference and tooling. The license text was copied directly from the following url, but for clarification a 'Creative Commons' was added before 'Attribution 4.0 International' in the first line:

[PATCH v4 2/3] docs: Add a new text describing how to report bugs

2020-12-03 Thread Thorsten Leemhuis
Add a mostly finished document describing how to report issues with the Linux kernel to its developers. It is designed to be a lot more straight forward and easier to follow than the current text about this (Documentation/admin-guide/reporting-bugs.rst); at the same time the new text should be

[PATCH v4 0/3] New documentation text describing how to report issues (aka "reporting-bugs rewritten")

2020-12-03 Thread Thorsten Leemhuis
This series adds a new and mostly finished document describing how to report issues with the Linux kernel to its developers. It is designed to be a lot more straight forward and yet more detailed than the current text about this (Documentation/admin-guide/reporting-bugs.rst). The new text still

Re: [PATCH next v2 3/3] printk: remove logbuf_lock, add syslog_lock

2020-12-03 Thread Sergey Senozhatsky
On (20/12/01 21:59), John Ogness wrote: > > +#ifdef CONFIG_PRINTK_NMI > +#define NUM_RECURSION_CTX 2 > +#else > +#define NUM_RECURSION_CTX 1 > +#endif > + > +struct printk_recursion { > + charcount[NUM_RECURSION_CTX]; > +}; > + > +static DEFINE_PER_CPU(struct printk_recursion,

Re: [PATCH][next] wilc1000: remove redundant assignment to pointer vif

2020-12-03 Thread Ajay.Kathat
On 03/12/20 11:13 pm, Colin King wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > From: Colin Ian King > > The assignment to pointer vif is redundant as the assigned value > is never read, hence it can be removed. > >

[PATCH v2] ASoC: amd: change clk_get() to devm_clk_get() and add missed checks

2020-12-03 Thread Chuhong Yuan
cz_da7219_init() does not check the return values of clk_get(), while da7219_clk_enable() calls clk_set_rate() to dereference the pointers. Add checks to fix the problems. Also, change clk_get() to devm_clk_get() to avoid data leak after failures. Fixes: bb24a31ed584 ("ASoC: AMD: Configure wclk

Re: [PATCH] powerpc/mm: Don't see NULL pointer dereference as a KUAP fault

2020-12-03 Thread Christophe Leroy
Le 03/12/2020 à 12:55, Michael Ellerman a écrit : Christophe Leroy writes: Sometimes, NULL pointer dereferences are expected. Even when they are accidental they are unlikely an exploit attempt because the first page is never mapped. The first page can be mapped if mmap_min_addr is 0.

Re: [PATCH bpf-next v3 09/14] bpf: Pull out a macro for interpreting atomic ALU operations

2020-12-03 Thread Yonghong Song
On 12/3/20 8:02 AM, Brendan Jackman wrote: Since the atomic operations that are added in subsequent commits are all isomorphic with BPF_ADD, pull out a macro to avoid the interpreter becoming dominated by lines of atomic-related code. Note that this sacrificies interpreter performance

[PATCH] USB: dummy-hcd: Fix uninitialized array use in init()

2020-12-03 Thread Bui Quang Minh
This error path err_add_pdata: for (i = 0; i < mod_data.num; i++) kfree(dum[i]); can be triggered when not all dum's elements are initialized. Fix this by initializing all dum's elements to NULL. Signed-off-by: Bui Quang Minh ---

Re: media: i2c: add OV02A10 image sensor driver

2020-12-03 Thread Tomasz Figa
On Fri, Dec 4, 2020 at 11:47 AM Dongchun Zhu wrote: > > Hi Andy, > > On Thu, 2020-12-03 at 20:10 +0200, Andy Shevchenko wrote: > > On Thu, Dec 3, 2020 at 8:03 PM Colin Ian King > > wrote: > > > > > Static analysis on linux-next with Coverity has detected an issue with > > > the following

RE: [PATCH Xilinx Alveo 7/8] fpga: xrt: Alveo management physical function driver

2020-12-03 Thread Sonal Santan
Hello Moritz, > -Original Message- > From: Moritz Fischer > Sent: Tuesday, December 1, 2020 12:52 > To: Sonal Santan > Cc: linux-kernel@vger.kernel.org; linux-f...@vger.kernel.org; Max Zhen ; Lizhi Hou ; Michal > Simek ; Stefano Stabellini ; devicet...@vger.kernel.org > Subject: Re:

[PATCH 1/8] Documentation: HID: hid-alps editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hid-alps.rst: - fix grammar - fix punctuation spacing Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/hid/hid-alps.rst |4 ++-- 1 file

[PATCH 7/8] Documentation: HID: hid-transport editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hid-transport.rst: - s/responsible of/responsible for/ - fix grammar & punctuation Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: David Herrmann Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org ---

[PATCH 5/8] Documentation: HID: hidraw editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hidraw.rst: - use "hidraw" consistently except at the beginning of a sentence - add archive.org URL for signal11.us since the latter seems to be MIA - use a list for 2 URLs so that they don't run together Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc:

[PATCH 8/8] Documentation: HID: uhid editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hid-alps.rst: - correct a file name (.txt -> .rst) - use less hyphenation when not needed - fix grammar & punctuation - fix article adjectives - fix typos/spellos - use HID instead of hid consistently Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin

[PATCH 6/8] Documentation: HID: hid-sensor editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hid-sensor.rst: - use HID consistently instead of hid - drop a duplicate word - change article adjective an -> a - fix grammar & punctuation - spell out RW -> read-write - hyphenate multi-word adjectives Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Jonathan

[PATCH 4/8] Documentation: HID: intel-ish-hid editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to intel-ish-hid.rst: - fix grammar, verb tense, punctutation, and word phrasing - fix spellos - hyphenate multi-word adjectives - collapse 2 spaces to one space in the middle of sentences - use "I2C" instead of lower-case letters (as Linux I2C does) - change space

[PATCH 2/8] Documentation: HID: amd-sfh-hid editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to amd-sfh-hid.rst: - fix punctuation - use HID instead of hid consistently - fix grammar, verb tense Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: linux-in...@vger.kernel.org Cc: linux-...@vger.kernel.org Cc:

[PATCH 0/8] Documentation: HID: edit/correct all files

2020-12-03 Thread Randy Dunlap
Make editing corrections to all files in Documentation/hid/. Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: Jonathan Cameron Cc: Srinivas Pandruvada Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org [PATCH 1/8] Documentation: HID:

[PATCH 3/8] Documentation: HID: hiddev editing & corrections

2020-12-03 Thread Randy Dunlap
Do basic editing & correction to hiddev.rst: - use HID instead of hid consistently - add hyphenation of multi-word adjectives - drop a duplicate word - unhyphenate "a priori" Signed-off-by: Randy Dunlap Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Cc: Jonathan

RE: [PATCH] drm/amdgpu: fix debugfs creation/removal, again

2020-12-03 Thread Zhou1, Tao
[AMD Public Use] Reviewed-by: Tao Zhou > -Original Message- > From: Arnd Bergmann > Sent: Friday, December 4, 2020 7:07 AM > To: Deucher, Alexander ; Koenig, Christian > ; David Airlie ; Daniel Vetter > ; Li, Dennis ; Zhou1, Tao > ; Chen, Guchun > Cc: Arnd Bergmann ; Zhang, Hawking >

Re: [PATCH next v2 1/3] printk: inline log_output(),log_store() in vprintk_store()

2020-12-03 Thread Sergey Senozhatsky
On (20/12/03 17:31), John Ogness wrote: [..] > >> + if (!prb_reserve(, prb, )) { > >> + /* truncate the message if it is too long for empty buffer */ > >> + truncate_msg(_len, _msg_len); > >> + > >> + prb_rec_init_wr(, text_len + trunc_msg_len); > >> + if

[PATCH v2 2/2] perf-stat: enable counting events for BPF programs

2020-12-03 Thread Song Liu
Introduce perf-stat -b option, which counts events for BPF programs, like: [root@localhost ~]# ~/perf stat -e ref-cycles,cycles -b 254 -I 1000 1.487903822115,200 ref-cycles 1.487903822 86,012 cycles 2.489147029 80,560 ref-cycles

[PATCH v2 1/2] perf: support build BPF skeletons with perf

2020-12-03 Thread Song Liu
BPF programs are useful in perf to profile BPF programs. BPF skeleton is by far the easiest way to write BPF tools. Enable building BPF skeletons in util/bpf_skel. A dummy bpf skeleton is added. More bpf skeletons will be added for different use cases. Signed-off-by: Song Liu ---

[PATCH v2 0/2] Introduce perf-stat -b for BPF programs

2020-12-03 Thread Song Liu
This set introduces perf-stat -b option to count events for BPF programs. This is similar to bpftool-prog-profile. But perf-stat makes it much more flexible. Changes PATCH v1 => PATCH v2: 1. Various fixes in Makefiles. (Jiri) 2. Fix an build warning/error with gcc-10. (Jiri) Changes RFC v2

Re: [PATCH v2 1/2] KVM: arm64: Some fixes of PV-time interface document

2020-12-03 Thread zhukeqian
On 2020/12/3 23:04, Marc Zyngier wrote: > On 2020-08-17 12:07, Keqian Zhu wrote: >> Rename PV_FEATURES to PV_TIME_FEATURES. >> >> Signed-off-by: Keqian Zhu >> Reviewed-by: Andrew Jones >> Reviewed-by: Steven Price >> --- >> Documentation/virt/kvm/arm/pvtime.rst | 6 +++--- >> 1 file

[PATCH] x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled

2020-12-03 Thread Xiaochen Shen
MBA software controller (mba_sc) is a feedback loop which periodically reads MBM counters and tries to restrict the bandwidth below a user specified bandwidth. It tags along MBM counter overflow handler to do the updates with 1s interval in mbm_update() and update_mba_bw(). The purpose of

[PATCH v3] bcache: fix panic due to cache_set is null

2020-12-03 Thread Yi Li
bcache_device_detach will release the cache_set after hotunplug cache disk. Here is how the issue happens. 1) cached_dev_free do cancel_writeback_rate_update_dwork without bch_register_lock. 2) Wirting the writeback_percent by sysfs with bch_register_lock will insert a writeback_rate_update

Re: [PATCH v2] mm: Don't fault around userfaultfd-registered regions on reads

2020-12-03 Thread Hugh Dickins
On Thu, 3 Dec 2020, Andrea Arcangeli wrote: > On Thu, Dec 03, 2020 at 09:30:51PM -0500, Peter Xu wrote: > > I'm just afraid there's no space left for a migration entry, because > > migration > > entries fills in the pfn information into swp offset field rather than a > > real > > offset (please

Re: [PATCH v1 bpf-next 06/11] bpf: Introduce two attach types for BPF_PROG_TYPE_SK_REUSEPORT.

2020-12-03 Thread Martin KaFai Lau
On Thu, Dec 03, 2020 at 11:16:08PM +0900, Kuniyuki Iwashima wrote: > From: Martin KaFai Lau > Date: Wed, 2 Dec 2020 20:24:02 -0800 > > On Wed, Dec 02, 2020 at 11:19:02AM -0800, Martin KaFai Lau wrote: > > > On Tue, Dec 01, 2020 at 06:04:50PM -0800, Andrii Nakryiko wrote: > > > > On Tue, Dec

Re: [PATCH 1/3] kunit: tool: surface and address more typing issues

2020-12-03 Thread David Gow
On Fri, Dec 4, 2020 at 3:41 AM Daniel Latypov wrote: > > The authors of this tool were more familiar with a different > type-checker, https://github.com/google/pytype. > > That's open source, but mypy seems more prevalent (and runs faster). > And unlike pytype, mypy doesn't try to infer types so

[PATCH v2] HID: sony: Add support for tilt on guitar hero guitars

2020-12-03 Thread sanjay . govind9
From: Sanjay Govind This commit adds support for tilt on Standard Guitar Hero PS3 Guitars, and GH3 PC Guitars, mapping it to ABS_RY. Note that GH3 PC Guitars are identical, only they use different VID and PIDs. Also note that vendor id 0x12ba is used by a variety of different rhythm

linux-next: manual merge of the kvm-arm tree with the arm64 tree

2020-12-03 Thread Stephen Rothwell
mit: 9c322020286c ("arm64: Extract parts of el2_setup into a macro") from the kvm-arm tree. I have no idea how to fix this up, so I just used the kvm-arm tree from next-20201203 instead for today. -- Cheers, Stephen Rothwell pgpWAI91LmXiM.pgp Description: OpenPGP digital signature

  1   2   3   4   5   6   7   8   9   10   >