Re: [PATCH V4 linux-next 00/12] VDPA support for Mellanox ConnectX devices

2020-08-05 Thread Michael S. Tsirkin
On Tue, Aug 04, 2020 at 07:20:36PM +0300, Eli Cohen wrote: > Hi Michael, > please note that this series depends on mlx5 core device driver patches > in mlx5-next branch in > git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git. > > git pull git://git.kernel.org/pub/scm/linux/kernel/git

RE: [PATCH v3 2/4] fpga: dfl: map feature mmio resources in their own feature drivers

2020-08-05 Thread Wu, Hao
> Subject: [PATCH v3 2/4] fpga: dfl: map feature mmio resources in their own > feature drivers > > This patch makes preparation for modularization of DFL sub feature > drivers. > > Currently, if we need to support a new DFL sub feature, an entry should > be added to fme/port_feature_drvs[] in dfl

sound/core/hwdep.c:265:29: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4da9f3302615f4191814f826054846bf843e24fa commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: sh-randconfig-s031-20200805 (attached

Re: [PATCH v6 0/4] LSM: Measure security module data

2020-08-05 Thread Casey Schaufler
On 8/4/2020 6:14 PM, Lakshmi Ramasubramanian wrote: > On 8/4/20 6:04 PM, Casey Schaufler wrote: >> On 8/4/2020 5:43 PM, Lakshmi Ramasubramanian wrote: >>> Critical data structures of security modules are currently not measured. >>> Therefore an attestation service, for instance, would not be able t

[PATCH 1/2] soc: qcom: aoss: Don't wait for IRQ if we might be in suspend/resume noirq

2020-08-05 Thread Douglas Anderson
Running suspend/resume tests on a sc7180-based board with a modem I found that both system suspend and system resume would hang for 1 second. These messages indicate where: genpd genpd:0:408.remoteproc: calling genpd_suspend_noirq+0x0/0x2c @ 18659, parent: none genpd genpd:0:408.remo

[PATCH 4.19 0/6] 4.19.138-rc1 review

2020-08-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.19.138 release. There are 6 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 Fri, 07 Aug 2020 15:34:53 +. Anything rec

Re: [PATCH v6 0/4] LSM: Measure security module data

2020-08-05 Thread Lakshmi Ramasubramanian
On 8/5/20 8:45 AM, Tyler Hicks wrote: On 2020-08-05 08:36:40, Casey Schaufler wrote: On 8/4/2020 6:14 PM, Lakshmi Ramasubramanian wrote: On 8/4/20 6:04 PM, Casey Schaufler wrote: On 8/4/2020 5:43 PM, Lakshmi Ramasubramanian wrote: Critical data structures of security modules are currently not

Re: [PATCH v6 1/4] IMA: Add func to measure LSM state and policy

2020-08-05 Thread Mimi Zohar
On Wed, 2020-08-05 at 10:27 -0400, Stephen Smalley wrote: > On Wed, Aug 5, 2020 at 9:20 AM Mimi Zohar wrote: > > On Wed, 2020-08-05 at 09:03 -0400, Stephen Smalley wrote: > > > On Wed, Aug 5, 2020 at 8:57 AM Mimi Zohar wrote: > > > > On Wed, 2020-08-05 at 08:46 -0400, Stephen Smalley wrote: > > >

[PATCHv4 0/4] EXC3000 Updates

2020-08-05 Thread Sebastian Reichel
Hi, This is PATCHv3 of the EXC80Hxx support patchset. Changes since [PATCHv3]: - reorder last two patches - register 'fw_version' and 'model' sysfs files in i2c device's sysfs node instead of input device - Add Reviewed-by from Enric - Add Rob Herring and DT mailinglist - Drop probe_new A

BUG: unable to handle kernel paging request in lock_sock_nested

2020-08-05 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:ac3a0c84 Merge git://git.kernel.org/pub/scm/linux/kernel/g.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=141a4c1a90 kernel config: https://syzkaller.appspot.com/x/.config?x=c0cfcf935bcc94d2 dashboar

Re: [PATCH 08/18] fsinfo: Allow mount topology and propagation info to be retrieved [ver #21]

2020-08-05 Thread David Howells
Miklos Szeredi wrote: > > + __u32 shared_group_id;/* Shared: mount group ID */ > > + __u32 dependent_source_id;/* Dependent: source mount group ID */ > > + __u32 dependent_clone_of_id; /* Dependent: ID of mount this was > > cloned from */ > > Another set of ID's that ar

Re: [PATCH v8 5/8] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-08-05 Thread Segher Boessenkool
Hi! On Wed, Aug 05, 2020 at 04:24:16PM +1000, Michael Ellerman wrote: > Christophe Leroy writes: > > Indeed, 32-bit doesn't have a redzone, so I believe it needs a stack > > frame whenever it has anything to same. > > Yeah OK that would explain it. > > > Here is what I have in libc.so: > > > >

[PULL 00/10] xtensa updates for v5.9

2020-08-05 Thread Max Filippov
the Git repository at: git://github.com/jcmvbkbc/linux-xtensa.git tags/xtensa-20200805 for you to fetch changes up to a0fc1436f1f4f84e93144480bf30e0c958d135b6: xtensa: add missing exclusive access state management (2020-07-31 14:15:57 -0700

[kbuild] drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c:120:2: warning: Local variable ret shadows outer variable

2020-08-05 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2324d50d051ec0f14a548e78554fb02513d6dcef commit: 02ed76b6da0710a9d24f36a4a9800a68d7edb9a7 drivers: drm: panel: Add ASUS TM5P5 NT35596 panel driver If you fix the issue, kindly add following tag as appropria

Re: [PATCH v10 2/5] powerpc/vdso: Prepare for switching VDSO to generic C implementation.

2020-08-05 Thread Segher Boessenkool
Hi! On Wed, Aug 05, 2020 at 07:09:23AM +, Christophe Leroy wrote: > Provide vdso_shift_ns(), as the generic x >> s gives the following > bad result: > > 18: 35 25 ff e0 addic. r9,r5,-32 > 1c: 41 80 00 10 blt 2c > 20: 7c 64 4c 30 srw r4,r3,r9 > 24: 38 60 00 00

RE: [PATCH 04/20] dlb2: add device ioctl layer and first 4 ioctls

2020-08-05 Thread Eads, Gage
> -Original Message- > From: gregkh > Sent: Wednesday, August 5, 2020 1:46 AM > To: Eads, Gage > Cc: Arnd Bergmann ; linux-kernel@vger.kernel.org; > Karlsson, Magnus ; Topel, Bjorn > > Subject: Re: [PATCH 04/20] dlb2: add device ioctl layer and first 4 ioctls > > On Tue, Aug 04, 2020

[PATCH net-next] ip_tunnel_core: Fix build for archs without _HAVE_ARCH_IPV6_CSUM

2020-08-05 Thread Stefano Brivio
On architectures defining _HAVE_ARCH_IPV6_CSUM, we get csum_ipv6_magic() defined by means of arch checksum.h headers. On other architectures, we actually need to include net/ip6_checksum.h to be able to use it. Without this include, building with defconfig breaks at least for s390. Reported-by: S

Re: [PATCH v2 12/17] arch, drivers: replace for_each_membock() with for_each_mem_range()

2020-08-05 Thread Thomas Bogendoerfer
On Sun, Aug 02, 2020 at 07:35:56PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > There are several occurrences of the following pattern: > > for_each_memblock(memory, reg) { > start = __pfn_to_phys(memblock_region_memory_base_pfn(reg); > end = __pfn_to_p

Re: [PATCH v6 0/4] LSM: Measure security module data

2020-08-05 Thread Tyler Hicks
On 2020-08-05 08:36:40, Casey Schaufler wrote: > On 8/4/2020 6:14 PM, Lakshmi Ramasubramanian wrote: > > On 8/4/20 6:04 PM, Casey Schaufler wrote: > >> On 8/4/2020 5:43 PM, Lakshmi Ramasubramanian wrote: > >>> Critical data structures of security modules are currently not measured. > >>> Therefore

Re: [PATCH v6 0/4] LSM: Measure security module data

2020-08-05 Thread Mimi Zohar
On Tue, 2020-08-04 at 17:43 -0700, Lakshmi Ramasubramanian wrote: > Critical data structures of security modules are currently not measured. > Therefore an attestation service, for instance, would not be able to > attest whether the security modules are always operating with the policies > and conf

[PATCH v2] powerpc/drmem: Don't compute the NUMA node for each LMB

2020-08-05 Thread Laurent Dufour
All the LMB from the same set of ibm,dynamic-memory-v2 property are sharing the same NUMA node. Don't compute that node for each one. Tested on a system with 1022 LMBs spread on 4 NUMA nodes, only 4 calls to lmb_set_nid() have been made instead of 1022. This should prevent some soft lockups when

Re: [PATCH 06/18] fsinfo: Add a uniquifier ID to struct mount [ver #21]

2020-08-05 Thread David Howells
Miklos Szeredi wrote: > idr_alloc_cyclic() seems to be a good template for doing the lower > 32bit allocation, and we can add code to increment the high 32bit on > wraparound. > > Lots of code uses idr_alloc_cyclic() so I guess it shouldn't be too > bad in terms of memory use or performance. It

Re: [PATCHv2 net-next] dropwatch: Support monitoring of dropped frames

2020-08-05 Thread Neil Horman
On Tue, Aug 04, 2020 at 04:14:14PM -0700, David Miller wrote: > From: izabela.bakoll...@gmail.com > Date: Tue, 4 Aug 2020 18:09:08 +0200 > > > @@ -1315,6 +1334,53 @@ static int net_dm_cmd_trace(struct sk_buff *skb, > > return -EOPNOTSUPP; > > } > > > > +static int net_dm_interface_start(st

Re: [PATCH 11/18] spi: stm32: fix fifo threshold level in case of short transfer

2020-08-05 Thread Mark Brown
On Wed, Aug 05, 2020 at 09:02:06AM +0200, Alain Volmat wrote: > From: Amelie Delaunay > > When transfer is shorter than half of the fifo, set the data packet size > up to transfer size instead of up to half of the fifo. > Check also that threshold is set at least to 1 data frame. This looks like

Re: [PATCH 10/20] arm64: dts: renesas: r8a774e1: Add USB3.0 device nodes

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Add usb3.0 phy, host and function device nodes on RZ/G2H SoC dtsi. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s,

Re: [PATCH 10/18] spi: stm32: wait for completion in transfer_one()

2020-08-05 Thread Mark Brown
On Wed, Aug 05, 2020 at 09:02:05AM +0200, Alain Volmat wrote: > We could make transfer_one() blocking till the end of the transfer > and bypass the wait/timeout mechanism in spi_transfer_one_message(). > But if for some reason, we never get either an error (OVR, SUSP) event > or end of transfer (E

Re: [PATCH 04/20] arm64: dts: renesas: r8a774e1: Add SATA controller node

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Add the SATA controller node to the RZ/G2H SoC specific dtsi. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s,

Re: [PATCH 13/20] arm64: dts: renesas: r8a774e1: Add USB-DMAC and HSUSB device nodes

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:19 PM Lad Prabhakar wrote: > Add usb dmac and hsusb device nodes to the RZ/G2H SoC dtsi. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel for v5.10. Gr{oetje,eeting}s,

Re: [PATCH v2 17/17] memblock: use separate iterators for memory and reserved regions

2020-08-05 Thread Thomas Bogendoerfer
On Sun, Aug 02, 2020 at 07:36:01PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > for_each_memblock() is used to iterate over memblock.memory in > a few places that use data from memblock_region rather than the memory > ranges. > > Introduce separate for_each_mem_region() and for_each_res

Re: Tests failed for linux.git:master

2020-08-05 Thread Nikolai Kondrashov
On 8/5/20 2:55 PM, staging.kernelci.org bot wrote: > REVISION > > Status > ✅ > Repo > URL: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > branch: master > Discovered > by: 4da9f3302615f4191814f826054846bf843e2

Re: [PATCH v2] media: rcar-vin: Add support to select data pins for YCbCr422-8bit input

2020-08-05 Thread Laurent Pinchart
Hi Geert, On Wed, Aug 05, 2020 at 10:43:25AM +0200, Geert Uytterhoeven wrote: > On Wed, Aug 5, 2020 at 10:01 AM Lad, Prabhakar wrote: > > On Tue, Aug 4, 2020 at 4:32 PM Geert Uytterhoeven wrote: > >> On Tue, Aug 4, 2020 at 5:12 PM Lad, Prabhakar wrote: > >>> On Tue, Aug 4, 2020 at 11:17 AM Geert U

Re: [PATCH] drm/virtio: fix memory leak in virtio_gpu_cleanup_object()

2020-08-05 Thread 何鑫
Xin He 于2020年7月22日周三 下午1:19写道: > > Before setting shmem->pages to NULL, kfree() should > be called. > > Signed-off-by: Xin He > Reviewed-by: Qi Liu > --- > drivers/gpu/drm/virtio/virtgpu_object.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/virtio/virtgpu_object.c >

Re: [PATCH v2 1/2] pinctrl: sh-pfc: r8a7790: Add USB1 PWEN pin and group

2020-08-05 Thread Geert Uytterhoeven
On Fri, Jul 17, 2020 at 7:00 PM Lad Prabhakar wrote: > > Add USB1 PWEN pin and group for USB1 interface. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in sh-pfc-for-v5.10. Gr{oetje,eeting}s, Geert -- Geert U

Re: [PATCH v2 2/2] ARM: dts: r8a7742-iwg21d-q7: Enable HSUSB, USB2.0 and xHCI

2020-08-05 Thread Geert Uytterhoeven
On Fri, Jul 17, 2020 at 7:00 PM Lad Prabhakar wrote: > Enable support for HSUSB, USB2.0 and xHCI on iWave RZ/G1H carrier board. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > > Reviewed-by: Biju Das Reviewed-by: Geert Uytterhoeven i.e. will queue in renesas-devel f

Re: [RFC] saturate check_*_overflow() output?

2020-08-05 Thread Rasmus Villemoes
On 04/08/2020 21.23, Kees Cook wrote: > On Tue, Aug 04, 2020 at 08:11:45AM +0200, Rasmus Villemoes wrote: >> What we might do, to deal with the "caller fails to check the result", >> is to add a >> >> static inline bool __must_check must_check_overflow(bool b) { return >> unlikely(b); } >> >> and

Re: [PATCH] staging: wfx: refactor to avoid duplication at hif_tx.c

2020-08-05 Thread Tomer Samara
On Wed, Aug 05, 2020 at 11:04:25AM +0200, Greg KH wrote: > On Wed, Aug 05, 2020 at 11:56:08AM +0300, Tomer Samara wrote: > > Add functions wfx_full_send(), wfx_full_send_no_reply_async(), > > wfx_full_send_no_reply() and wfx_full_send_no_reply_free() > > which works as follow: > > wfx_full_send() -

Re: [PATCH 02/18] spi: stm32-spi: defer probe for reset

2020-08-05 Thread Mark Brown
On Wed, Aug 05, 2020 at 09:01:57AM +0200, Alain Volmat wrote: > - rst = devm_reset_control_get_exclusive(&pdev->dev, NULL); > - if (!IS_ERR(rst)) { > + rst = devm_reset_control_get_optional_exclusive(&pdev->dev, NULL); > + if (rst) { > + if (IS_ERR(rst)) { > +

Re: [PATCH] powerpc/drmem: Don't compute the NUMA node for each LMB

2020-08-05 Thread kernel test robot
'--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Laurent-Dufour/powerpc-drmem-Don-t-compute-the-NUMA-node-for-each-LMB/20200805-173213 base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next confi

Re: Re: [PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-08-05 Thread Codrin.Ciubotariu
On 05.08.2020 11:52, w...@kernel.org wrote: > Codrin, everyone > >> This patch series was previously sent as a RFC. Significant changes >> since RFC: >> - "recovery" pinctrl state marked as deprecared in bindings; >> - move to "gpio" pinctrl state done after the call to prepare_recovery() >>ca

Re: [PATCH v2 4/7] cpufreq: report whether cpufreq supports Frequency Invariance (FI)

2020-08-05 Thread Ionela Voinescu
On Tuesday 04 Aug 2020 at 12:16:56 (+0530), Viresh Kumar wrote: > On 03-08-20, 16:24, Ionela Voinescu wrote: > > Right, cpufreq_register_driver() should check that at least one of them > > is present > > > (although currently cpufreq_register_driver() will return > > -EINVAL if .fast_switch() alon

[PATCH] omapfb: fix spelling mistake "propert" -> "property"

2020-08-05 Thread Colin King
From: Colin Ian King There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King --- drivers/video/fbdev/omap2/omapfb/dss/venc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/omap2/omapfb/dss/venc.c b/drivers/video/fbdev/oma

Re: [PATCH 1/2] riscv: ptrace: Use the correct API for `fcsr' access

2020-08-05 Thread Maciej W. Rozycki
On Wed, 5 Aug 2020, Al Viro wrote: > > I'm not sure I understand what you're saying, but given that branch replaces > > all of this I guess it's best to just do nothing on our end here? > > It doesn't replace ->put() (for now); it _does_ replace ->get() and AFAICS the > replacement is much saner:

[PATCH] scipts/tags.sh: Add custom sort order

2020-08-05 Thread peterz
One long standing annoyance I have with using vim-tags is that our tags file is not properly sorted. That is, the sorting exhuberant Ctags does is only on the tag itself. The problem with that is that, for example, the tag 'mutex' appears a mere 505 times, 492 of those are structure members. How

Re: [PATCH] habanalabs: Fix a loop in gaudi_extract_ecc_info()

2020-08-05 Thread Oded Gabbay
On Wed, Aug 5, 2020 at 12:51 PM Dan Carpenter wrote: > > The condition was reversed. It should have been less than instead of > greater than. The result is that we never enter the loop. > > Fixes: fcc6a4e60678 ("habanalabs: Extract ECC information from FW") > Signed-off-by: Dan Carpenter > ---

Re: [PATCH] USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter

2020-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2020 at 12:05:57PM +0200, Patrick Riphagen wrote: > The device added has an FTDI chip inside. > The device is used to connect Xsens USB Motion Trackers. > > Signed-off-by: Patrick Riphagen > --- > drivers/usb/serial/ftdi_sio.c | 1 + > drivers/usb/serial/ftdi_sio_ids.h | 1 +

[PATCH] USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter

2020-08-05 Thread Patrick Riphagen
The device added has an FTDI chip inside. The device is used to connect Xsens USB Motion Trackers. Signed-off-by: Patrick Riphagen --- drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio_ids.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/usb/serial/ftdi_sio.c b/

Re: [PATCH] drm: sysfs: Add to get current mode

2020-08-05 Thread Huang Jiachai
Hi Daniel 在 2020/8/5 17:36, Daniel Vetter 写道: On Wed, Aug 5, 2020 at 10:37 AM Sandy Huang wrote: add this node to get the current true mode. Signed-off-by: Sandy Huang Uh what's this for? Since it's sysfs, I guess there's something parsing this, which means we'd kinda need to have that piec

pinctrl: sx150x bug

2020-08-05 Thread Martin DEVERA
Hello, I encountered bug in SX1502 expander driver in 5.7.7. Here is relevant DTS part: compatible = "semtech,sx1502q"; gpio4_cfg_pins: gpio2-cfg {     pins = "gpio5";     output-high;     }; And part of OOPS: [    0.673996] [] (gpiochip_get_data) from

[PATCH v2] RAS/CEC: Fix cec_init prototype

2020-08-05 Thread Luca Stefani
* late_initcall expects a function that returns an integer -> Update the function signature to match. Fixes: 9554bfe403nd ("x86/mce: Convert the CEC to use the MCE notifier") Signed-off-by: Luca Stefani --- drivers/ras/cec.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff

[PATCH] HID: roccat: add bounds checking in kone_sysfs_write_settings()

2020-08-05 Thread Dan Carpenter
In the original code we didn't check if the new value for "settings->startup_profile" was within bounds that could possibly result in an out of bounds array acccess. What we did was we checked if we could write the data to the firmware and it's possibly the firmware checks these values but there i

Re: [PATCH v4] sched: Provide USF for the portable equipment.

2020-08-05 Thread Qais Yousef
On 08/05/20 03:33, Dongdong Yang wrote: > Appreciate Qais for your above comments. I believe the clamp is very good for > terminal devices per pid or cgroup setting. I really hope it works for the > extended scenario, "screen off", although it has a potential side effect on > "screen on" response b

Re: [PATCH 5.7 000/121] 5.7.13-rc2 review

2020-08-05 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 10:23:06PM +0100, Marc Zyngier wrote: > On 2020-08-04 19:33, Linus Torvalds wrote: > > On Tue, Aug 4, 2020 at 1:21 AM Greg Kroah-Hartman > > wrote: > > > > > > So Linus's tree is also broken here. > > > > No, there's 835d1c3a9879 ("arm64: Drop unnecessary include from > >

Re: [PATCH 4.14 01/51] scsi: libsas: direct call probe and destruct

2020-08-05 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2020 at 01:57:14PM +0100, John Garry wrote: > On 03/08/2020 13:19, Greg Kroah-Hartman wrote: > > From: Jason Yan > > > > [ Upstream commit 0558f33c06bb910e2879e355192227a8e8f0219d ] > > > > Hi Greg, > > This patch was one of a series from Jason to fix this WARN issue, below: >

[PATCH] habanalabs: Fix a loop in gaudi_extract_ecc_info()

2020-08-05 Thread Dan Carpenter
The condition was reversed. It should have been less than instead of greater than. The result is that we never enter the loop. Fixes: fcc6a4e60678 ("habanalabs: Extract ECC information from FW") Signed-off-by: Dan Carpenter --- drivers/misc/habanalabs/gaudi/gaudi.c | 2 +- 1 file changed, 1 in

Re: Linux 5.7.13

2020-08-05 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 401d58b35e61..b77b4332a41a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 7 -SUBLEVEL = 12 +SUBLEVEL = 13 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/boot/dts/armada-

Re: [PATCH] mmc: sdhci_am654: Add workaround for card detect debounce timer

2020-08-05 Thread Adrian Hunter
On 5/08/20 11:22 am, Faiz Abbas wrote: > Hi Adrian, > > On 05/08/20 1:44 pm, Adrian Hunter wrote: >> On 30/07/20 2:41 am, Faiz Abbas wrote: >>> There is a one time delay because of a card detect debounce timer in the >>> controller IP. This timer runs as soon as power is applied to the module >>>

Linux 5.7.13

2020-08-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.13 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Linux 5.4.56

2020-08-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.56 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v3] block: check queue's limits.discard_granularity in __blkdev_issue_discard()

2020-08-05 Thread Coly Li
On 2020/8/5 17:22, Jinpu Wang wrote: > Hi Coly, > > one question below: > Coly Li 于2020年8月5日周三 上午8:36写道: >> >> If create a loop device with a backing NVMe SSD, current loop device >> driver doesn't correctly set its queue's limits.discard_granularity and >> leaves it as 0. If a discard request a

Linux 4.19.137

2020-08-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.137 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.19.137

2020-08-05 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index a76c159bb605..edf1799c08d2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 136 +SUBLEVEL = 137 EXTRAVERSION = NAME = "People's Front" diff --git a/arch/arm/kernel/hw_breakpo

Re: Linux 5.4.56

2020-08-05 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 072fe0eaa740..c33fb4eebd4d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 55 +SUBLEVEL = 56 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git a/arch/arm/boot/dts/armada-

Re: Linux 4.14.192

2020-08-05 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index e31c1ce12895..60570fad811e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 191 +SUBLEVEL = 192 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm/kernel/hw_breakpoint

Linux 4.14.192

2020-08-05 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.192 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

[PATCH v2 5/7] perf tools: Add support to store time of day in CTF data conversion

2020-08-05 Thread Jiri Olsa
Adding support to convert and store time of day in CTF data conversion for 'perf data convert' subcommand. The perf.data used for conversion needs to have clock data information - must be recorded with -k/--clockid option). New --tod option is added to 'perf data convert' subcommand to convert da

[PATCH v2 4/7] perf tools: Move clockid_res_ns under clock struct

2020-08-05 Thread Jiri Olsa
Moving clockid_res_ns under clock struct, so we have clock related stuff in one place. Signed-off-by: Jiri Olsa --- tools/perf/builtin-record.c | 6 +++--- tools/perf/util/env.h | 2 +- tools/perf/util/header.c| 8 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a

[PATCH v2 6/7] perf script: Change enum perf_output_field values to be 64 bits

2020-08-05 Thread Jiri Olsa
So it's possible to add new values. I did not find any place where the enum values are passed through some number type, so it's safe to make this change. Signed-off-by: Jiri Olsa --- tools/perf/builtin-script.c | 64 ++--- 1 file changed, 32 insertions(+), 32 dele

Re: [PATCH 5.7 000/116] 5.7.13-rc3 review

2020-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2020 at 11:32:56AM +0530, Naresh Kamboju wrote: > On Tue, 4 Aug 2020 at 14:24, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 116 patches in this series, all will be posted as a response > > to this one. If an

Re: [PATCH v6 0/4] Dedicated CLINT timer driver

2020-08-05 Thread Anup Patel
On Wed, Aug 5, 2020 at 7:17 AM Palmer Dabbelt wrote: > > On Fri, 24 Jul 2020 00:18:18 PDT (-0700), Anup Patel wrote: > > The current RISC-V timer driver is convoluted and implements two > > distinct timers: > > 1. S-mode timer: This is for Linux RISC-V S-mode with MMU. The > > clocksource is

[PATCH v2 7/7] perf script: Add tod field to display time of day

2020-08-05 Thread Jiri Olsa
Adding tod field to display time of day column with time of date (wallclock) time. # perf record -k CLOCK_MONOTONIC kill kill: not enough arguments [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.033 MB perf.data (8 samples) ] # perf script

Re: [PATCH] drm: sysfs: Add to get current mode

2020-08-05 Thread Daniel Vetter
On Wed, Aug 5, 2020 at 10:37 AM Sandy Huang wrote: > > add this node to get the current true mode. > > Signed-off-by: Sandy Huang Uh what's this for? Since it's sysfs, I guess there's something parsing this, which means we'd kinda need to have that piece too. If it's just for debugging purposes

Re: [PATCH v6] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-08-05 Thread Rafael J. Wysocki
Hi Doug, On Tue, Aug 4, 2020 at 7:07 PM Doug Smythies wrote: > > Hi Rafael, > > I was just writing you about V5 when this V6 came. > > On 2020.08.04 08:11 Rafael J. Wysocki wrote: > ... > > This is on top of the material already in the mainline. > > Oh, should have read that part better, > but di

[PATCH v2 2/7] perf tools: Add clockid_name function

2020-08-05 Thread Jiri Olsa
Adding clockid_name function to get the clock name based on its clockid. It will be used in following changes. Signed-off-by: Jiri Olsa --- tools/perf/util/clockid.c | 11 +++ tools/perf/util/clockid.h | 2 ++ 2 files changed, 13 insertions(+) diff --git a/tools/perf/util/clockid.c b/t

Re: [PATCH 5.7 000/116] 5.7.13-rc3 review

2020-08-05 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 02:21:31PM -0600, Shuah Khan wrote: > On 8/4/20 2:53 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 116 patches in this series, all will be posted as a response > > to this one. If anyone has any issues w

[PATCH v2 3/7] perf tools: Store clock references for -k/--clockid option

2020-08-05 Thread Jiri Olsa
Adding new CLOCK_DATA feature that stores reference times when -k/--clockid option is specified. It contains clock id and its reference time together with wall clock time taken at the 'same time', both values are in nanoseconds. The format of data is as below: struct { u32 version; /*

[PATCH v2 0/7] perf tools: Add wallclock time conversion support

2020-08-05 Thread Jiri Olsa
hi, this patchset is based on changes made by David Ahern long time ago. The perf code moved a lot since then, but the idea is the same. The patchset is adding the ability to display TOD/wallclock timestamp in 'perf script' output and in 'perf data convert --to-ctf' subcommand, so the converted CT

Re: [PATCH 5.7 000/116] 5.7.13-rc3 review

2020-08-05 Thread Greg Kroah-Hartman
On Tue, Aug 04, 2020 at 12:24:18PM -0700, Guenter Roeck wrote: > On Tue, Aug 04, 2020 at 10:53:53AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.13 release. > > There are 116 patches in this series, all will be posted as a response > > to this one.

[PATCH v2 1/7] perf tools: Move parse_clockid into clockid object

2020-08-05 Thread Jiri Olsa
Move parse_clockid and all needed clcckid related stuff into clockid object. We are going to add clockid_name function in following change, so it's better it's placed in separated object and not in builtin-record.c. No functional change is intended. Signed-off-by: Jiri Olsa --- tools/perf/built

Re: [PATCH] i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

2020-08-05 Thread wsa
On Tue, Jun 16, 2020 at 07:41:30PM -0400, Jeffrey Lin wrote: > Value of /sys/devices/platform/lis3lv02d/position when > Horizontal: (36,-108,-1152) > Left elevated: (-432,-126,-1062) > Front elevated: (36,594,-936) > Upside down:(-126,-252,1098) > > Signed-off-by: Jeffrey

Re: [net v3] drivers/net/wan/lapbether: Use needed_headroom instead of hard_header_len

2020-08-05 Thread Willem de Bruijn
On Wed, Aug 5, 2020 at 10:57 AM Xie He wrote: > > On Tue, Aug 4, 2020 at 10:23 PM Martin Schiller wrote: > > > > > Adding skb_cow before these skb_push calls would indeed help > > > preventing kernel panics, but that might not be the essential issue > > > here, and it might also prevent us from d

Re: [PATCH v2 17/17] memblock: use separate iterators for memory and reserved regions

2020-08-05 Thread Baoquan He
On 08/02/20 at 07:36pm, Mike Rapoport wrote: > From: Mike Rapoport > > for_each_memblock() is used to iterate over memblock.memory in > a few places that use data from memblock_region rather than the memory > ranges. > > Introduce separate for_each_mem_region() and for_each_reserved_mem_region()

[PATCH] powerpc/drmem: Don't compute the NUMA node for each LMB

2020-08-05 Thread Laurent Dufour
All the LMB from the same set of ibm,dynamic-memory-v2 property are sharing the same NUMA node. Don't compute that node for each one. Tested on a system with 1022 LMBs spread on 4 NUMA nodes, only 4 calls to lmb_set_nid() have been made instead of 1022. This should prevent some soft lockups when

drivers/hwmon/pc87427.c:188:9: sparse: sparse: cast removes address space '__iomem' of expression

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4da9f3302615f4191814f826054846bf843e24fa commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: riscv-randconfig-s032-20200805

Re: [PATCH] i2c: bcm2835: Replace HTTP links with HTTPS ones

2020-08-05 Thread wsa
On Fri, Jul 17, 2020 at 08:52:47PM +0200, Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If doesn

fs/pstore/ram_core.c:542:36: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4da9f3302615f4191814f826054846bf843e24fa commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: arc-randconfig-s032-20200805 (attached

Re: [PATCH for v5.9] i2c: Replace HTTP links with HTTPS ones

2020-08-05 Thread Wolfram Sang
> Yes, I've chosen "the easy way" of git commit --amend: > Editing the patch file. > I this a problem? Usually, yes. It can easily create inconsitencies which make me as a maintainer suspicious. signature.asc Description: PGP signature

Re: [PATCH v3] block: check queue's limits.discard_granularity in __blkdev_issue_discard()

2020-08-05 Thread Jinpu Wang
Hi Coly, one question below: Coly Li 于2020年8月5日周三 上午8:36写道: > > If create a loop device with a backing NVMe SSD, current loop device > driver doesn't correctly set its queue's limits.discard_granularity and > leaves it as 0. If a discard request at LBA 0 on this loop device, in > __blkdev_issue_

Re: [PATCH] i2c: iproc: fix race between client unreg and isr

2020-08-05 Thread Wolfram Sang
On Mon, Jul 27, 2020 at 01:43:40PM -0700, Ray Jui wrote: > > > On 7/27/2020 1:26 PM, Wolfram Sang wrote: > > On Mon, Jul 27, 2020 at 08:13:46PM +0200, Wolfram Sang wrote: > >> > >>> Can you confirm that even if we have irq pending at the i2c IP core > >>> level, as long as we execute Step 2. belo

Re: [PATCH v1] i2c: eg20t: use generic power management

2020-08-05 Thread Wolfram Sang
On Mon, Jul 20, 2020 at 07:30:32PM +0530, Vaibhav Gupta wrote: > Drivers using legacy PM have to manage PCI states and device's PM states > themselves. They also need to take care of configuration registers. > > With improved and powerful support of generic PM, PCI Core takes care of > above menti

Re: [PATCH v2 2/3] ext4: limit the length of per-inode prealloc list

2020-08-05 Thread brookxu
Add more... , As we expected, the running time of the test process is reduced significantly. Running time on unrepaired kernel: [root@TENCENT64 ~]# time taskset 0x01 ./sparse /data1/sparce.dat real    0m2.051s user    0m0.008s sys    0m2.026s Running time on repaired kernel: [root@TENCENT64 ~]# t

[PATCH v6 13/18] nitro_enclaves: Add logic for terminating an enclave

2020-08-05 Thread Andra Paraschiv
An enclave is associated with an fd that is returned after the enclave creation logic is completed. This enclave fd is further used to setup enclave resources. Once the enclave needs to be terminated, the enclave fd is closed. Add logic for enclave termination, that is mapped to the enclave fd rel

[PATCH v6 14/18] nitro_enclaves: Add Kconfig for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * Add arch dependency for Arm / x86. v3 -> v4 * Add PCI and SMP dependencies. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Kconfig to m

[PATCH v6 15/18] nitro_enclaves: Add Makefile for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv Reviewed-by: Alexander Graf --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * No changes. v2 -> v3 * Remove the GPL additional wording as SPDX-License-Identifier is already in place. v1 -> v2 * Update path to Makefile to match the dr

RE: [PATCH v3 1/4] fpga: dfl: change data type of feature id to u16

2020-08-05 Thread Wu, Hao
> Subject: [PATCH v3 1/4] fpga: dfl: change data type of feature id to u16 > > The feature id is stored in a 12 bit field in DFH. So a u16 variable is > enough for feature id. > > This patch changes all feature id related places to fit u16. > > Signed-off-by: Xu Yilun > Reviewed-by: Tom Rix A

[PATCH v6 17/18] nitro_enclaves: Add overview documentation

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * Update doc type from .txt to .rst. * Update documentation based on the changes from v4. v2 -> v3 * No changes. v1 -> v2 * New in v2. --- Documentation/nitro_enclaves/ne_overview.rst | 8

[PATCH v6 16/18] nitro_enclaves: Add sample for ioctl interface usage

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Alexandru Vasile Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * Remove "rc" mentioning when printing errno string. * Remove the ioctl to query API version. * Include usage info for NUMA-aware hugetlb configuration. * Update documentation to kernel-doc format. * Add logic

[PATCH v2] ACPI / APEI: do memory failure on the physical address reported by ARM processor error section

2020-08-05 Thread Xiaofei Tan
After the commit 8fcc4ae6faf8 ("arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work") applied, user-mode SEA is preferentially processed by APEI. Do memory failure to recover. But there are some problems: 1) The function apei_claim_sea() has processed an CPER, does not mean that me

[PATCH v6 18/18] MAINTAINERS: Add entry for the Nitro Enclaves driver

2020-08-05 Thread Andra Paraschiv
Signed-off-by: Andra Paraschiv --- Changelog v5 -> v6 * No changes. v4 -> v5 * No changes. v3 -> v4 * No changes. v2 -> v3 * Update file entries to be in alphabetical order. v1 -> v2 * No changes. --- MAINTAINERS | 13 + 1 file changed, 13 insertions(+) diff --git a/MAINTAI

[PATCH v6 10/18] nitro_enclaves: Add logic for getting the enclave image load info

2020-08-05 Thread Andra Paraschiv
Before setting the memory regions for the enclave, the enclave image needs to be placed in memory. After the memory regions are set, this memory cannot be used anymore by the VM, being carved out. Add ioctl command logic to get the offset in enclave memory where to place the enclave image. Then th

[PATCH v6 12/18] nitro_enclaves: Add logic for starting an enclave

2020-08-05 Thread Andra Paraschiv
After all the enclave resources are set, the enclave is ready for beginning to run. Add ioctl command logic for starting an enclave after all its resources, memory regions and CPUs, have been set. The enclave start information includes the local channel addressing - vsock CID - and the flags asso

<    4   5   6   7   8   9   10   11   >