Re: [PATCH v2 22/24] vdpa_sim: fix endian-ness of config space

2020-08-05 Thread Michael S. Tsirkin
On Wed, Aug 05, 2020 at 02:21:07PM +0800, Jason Wang wrote: > > On 2020/8/4 上午5:00, Michael S. Tsirkin wrote: > > VDPA sim accesses config space as native endian - this is > > wrong since it's a modern device and actually uses LE. > > > > It only supports modern guests so we could punt and > >

Re: [PATCH RFC] sched/fair: simplfy the work when reweighting entity

2020-08-05 Thread Dietmar Eggemann
On 04/08/2020 09:12, Jiang Biao wrote: > If a se is on_rq when reweighting entity, all we need should be > updating the load of cfs_rq, other dequeue/enqueue works could be > redundant, such as, > * account_numa_dequeue/account_numa_enqueue > * list_del/list_add from/into cfs_tasks > *

Re: [PATCH V13] printk: Add monotonic, boottime, and realtime timestamps

2020-08-05 Thread Prarit Bhargava
On 8/5/20 10:04 AM, Petr Mladek wrote: > On Wed 2020-07-29 08:22:36, Prarit Bhargava wrote: >> Chunyan Zhang wrote: >>> From: Prarit Bhargava >>> >>> printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock >>> timestamp to printk messages. The local hardware clock loses

Re: [PATCH] net: dev: Add API to check net_dev readiness

2020-08-05 Thread Ilia Lin
My comments inline. Thanks, Ilia Lin On Tue, Aug 4, 2020 at 10:24 PM Andrew Lunn wrote: > > On Tue, Aug 04, 2020 at 08:47:18PM +0300, Ilia Lin wrote: > > Hi Andrew and David, > > Hi Ilia > > Please don't top post. > > > > > Thank you for your comments! > > > > The client driver is still work in

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-05 Thread Marco Elver
On Wed, 5 Aug 2020 at 16:17, wrote: > > On Wed, Aug 05, 2020 at 04:12:37PM +0200, pet...@infradead.org wrote: > > On Wed, Aug 05, 2020 at 03:59:40PM +0200, Marco Elver wrote: > > > On Wed, Aug 05, 2020 at 03:42PM +0200, pet...@infradead.org wrote: > > > > > > Shouldn't we __always_inline those?

Re: [GIT PULL] iomap: new code for 5.9-rc1

2020-08-05 Thread Andreas Gruenbacher
Hi Darrick, On Wed, Aug 5, 2020 at 5:40 PM Darrick J. Wong wrote: > > Andreas Gruenbacher (1): > iomap: Make sure iomap_end is called after iomap_begin that commit (d1b4f507d71de) contains the following garbage in the commit

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

2020-08-05 Thread Eli Cohen
On Wed, Aug 05, 2020 at 08:48:52AM -0400, Michael S. Tsirkin wrote: > > > > Did you merge this?: > > git pull git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git > > mlx5-next > > > I can only merge this tree if no one else will. Linus does not like > getting same patches through

[PATCHv4 2/4] Input: EXC3000: add EXC80H60 and EXC80H84 support

2020-08-05 Thread Sebastian Reichel
This adds support for EXC80H60 and EXCH84 controllers, which use a different event type id and have two extra bits for the resolution (so the maximum is 16K instead of 4K). Signed-off-by: Sebastian Reichel --- .../input/touchscreen/eeti,exc3000.yaml | 5 +-

[v1] drm/msm/dpu: Fix reservation failures in modeset

2020-08-05 Thread Kalyan Thota
In TEST_ONLY commit, rm global_state will duplicate the object and request for new reservations, once they pass then the new state will be swapped with the old and will be available for the Atomic Commit. This patch fixes some of missing links in the resource reservation sequence mentioned above.

Re: [PATCH] dmaengine: ti: k3-udma-glue: Fix parameters for rx ring pair request

2020-08-05 Thread Vinod Koul
On 05-08-20, 14:27, Peter Ujfalusi wrote: > The original commit mixed up the forward and completion ring IDs for the > rx flow configuration. Acked-By: Vinod Koul > > Fixes: 4927b1ab2047 ("dmaengine: ti: k3-udma: Switch to > k3_ringacc_request_rings_pair") > Signed-off-by: Peter Ujfalusi >

Re: [(resend) PATCH v3: {linux-4.14.y} ] dm cache: submit writethrough writes in parallel to origin and cache

2020-08-05 Thread Greg KH
On Tue, Aug 04, 2020 at 02:20:38PM -0400, Mike Snitzer wrote: > On Tue, Aug 04 2020 at 8:47am -0400, > Greg KH wrote: > > > On Tue, Aug 04, 2020 at 07:33:05AM -0500, John Donnelly wrote: > > > From: Mike Snitzer > > > > > > Discontinue issuing writethrough write IO in series to the origin and

Re: [GIT PULL] iomap: new code for 5.9-rc1

2020-08-05 Thread Darrick J. Wong
On Wed, Aug 05, 2020 at 05:54:31PM +0200, Andreas Gruenbacher wrote: > Hi Darrick, > > On Wed, Aug 5, 2020 at 5:40 PM Darrick J. Wong wrote: > > > > Andreas Gruenbacher (1): > > iomap: Make sure iomap_end is called after

[PATCH 5.4 1/9] random32: update the net random state on interrupt and activity

2020-08-05 Thread Greg Kroah-Hartman
From: Willy Tarreau commit f227e3ec3b5cad859ad15666874405e8c1bbc1d4 upstream. This modifies the first 32 bits out of the 128 bits of a random CPU's net_rand_state on interrupt or CPU activity to complicate remote observations that could lead to guessing the network RNG's internal state. Note

Re: [PATCH] spi: stm32: clear only asserted irq flags on interrupt

2020-08-05 Thread Mark Brown
On Tue, 4 Aug 2020 21:51:36 +0200, Tobias Schramm wrote: > Previously the stm32h7 interrupt thread cleared all non-masked interrupts. > If an interrupt was to occur during the handling of another interrupt its > flag would be unset, resulting in a lost interrupt. > This patches fixes the issue by

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

2020-08-05 Thread Rafael J. Wysocki
On Wed, Aug 5, 2020 at 5:38 PM Srinivas Pandruvada wrote: > > On Wed, 2020-08-05 at 11:34 +0200, Rafael J. Wysocki wrote: > > Hi Doug, > > > > On Tue, Aug 4, 2020 at 7:07 PM Doug Smythies > > wrote: > > > Hi Rafael, > > > > > > > [...] > > > Note that the active mode performance scaling

[PATCH v2] kprobes: fix NULL pointer dereference at kprobe_ftrace_handler

2020-08-05 Thread Muchun Song
We found a case of kernel panic on our server. The stack trace is as follows(omit some irrelevant information): BUG: kernel NULL pointer dereference, address: 0080 RIP: 0010:kprobe_ftrace_handler+0x5e/0xe0 RSP: 0018:b512c6550998 EFLAGS: 00010282 RAX: RBX:

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

2020-08-05 Thread Tyler Hicks
On 2020-08-05 09:07:48, Lakshmi Ramasubramanian wrote: > 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

Re: [PATCH] media: ov5640: Correct Bit Div register in clock tree diagram

2020-08-05 Thread Jacopo Mondi
Hi Paul, On Mon, Aug 03, 2020 at 11:06:58AM +0200, Paul Kocialkowski wrote: > Although the code is correct and doing the right thing, the clock diagram > showed the wrong register for the bit divider, which had me doubting the > understanding of the tree. Fix this to avoid doubts in the future.

DRBG CAVS test error

2020-08-05 Thread Bhat, Jayalakshmi Manjunath
Hi All I am executing DRBG CAVS test, using drbg_nopr_hmac_sha512. Below is the code snippet. test_data.testentropy = drbg_string_fill(, drbg_st->entropy_nonce_input, drbg_st->entropy_nonce_len); drbg_string_fill(, drbg_st->personalization_string, iv_struct->personalization_string_len); ret

[PATCH 4.14 3/8] ARM: percpu.h: fix build error

2020-08-05 Thread Greg Kroah-Hartman
From: Grygorii Strashko commit aa54ea903abb02303bf55855fb51e3fcee135d70 upstream. Fix build error for the case: defined(CONFIG_SMP) && !defined(CONFIG_CPU_V6) config: keystone_defconfig CC arch/arm/kernel/signal.o In file included from ../include/linux/random.h:14,

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

2020-08-05 Thread Lakshmi Ramasubramanian
On 8/5/20 9:14 AM, Tyler Hicks wrote: On 2020-08-05 09:07:48, Lakshmi Ramasubramanian wrote: 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

Re: [PATCH 3/4] i3c: master: svc: Add Silvaco I3C master driver

2020-08-05 Thread Nicolas Pitre
On Tue, 4 Aug 2020, Conor Culhane wrote: > Miquel is passing 0 as the delay_us argument. Good point. > Is this still a concern? Not in that case. Nicolas

Re: [PATCH v4 11/17] module: Call security_kernel_post_load_data()

2020-08-05 Thread Jessica Yu
+++ Kees Cook [29/07/20 10:58 -0700]: Now that there is an API for checking loaded contents for modules loaded without a file, call into the LSM hooks. Cc: Jessica Yu Signed-off-by: Kees Cook Acked-by: Jessica Yu

Re: [PATCH 4/4] vhost: vdpa: report iova range

2020-08-05 Thread Michael S. Tsirkin
On Wed, Jun 17, 2020 at 11:29:47AM +0800, Jason Wang wrote: > This patch introduces a new ioctl for vhost-vdpa device that can > report the iova range by the device. For device that depends on > platform IOMMU, we fetch the iova range via DOMAIN_ATTR_GEOMETRY. For > devices that has its own DMA

[PATCH 5.4 5/9] random32: move the pseudo-random 32-bit definitions to prandom.h

2020-08-05 Thread Greg Kroah-Hartman
From: Linus Torvalds commit c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a upstream. The addition of percpu.h to the list of includes in random.h revealed some circular dependencies on arm64 and possibly other platforms. This include was added solely for the pseudo-random definitions, which have

[PATCH 5.7 6/6] [PATCH] arm64: Workaround circular dependency in pointer_auth.h

2020-08-05 Thread Greg Kroah-Hartman
From: Marc Zyngier With the backport of f227e3ec3b5c ("random32: update the net random state on interrupt and activity") and its associated fixes, the arm64 build explodes early: In file included from ../include/linux/smp.h:67, from ../include/linux/percpu.h:7,

Re: [PATCH -next] dmaengine: iop-adma: Fix -Wint-to-pointer-cast build warning

2020-08-05 Thread Vinod Koul
On 03-08-20, 22:10, YueHaibing wrote: > drivers/dma/iop-adma.c:447:13: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > drivers/dma/iop-adma.c:449:4: warning: cast from pointer to integer of > different size [-Wpointer-to-int-cast] >

Re: [PATCH 15/20] arm64: dts: renesas: r8a774e1: Add audio support

2020-08-05 Thread Geert Uytterhoeven
On Thu, Jul 16, 2020 at 7:20 PM Lad Prabhakar wrote: > Add sound support for the RZ/G2H SoC (a.k.a. R8A774E1). > > 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 15/18] spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate

2020-08-05 Thread Mark Brown
On Wed, Aug 05, 2020 at 09:02:10AM +0200, Alain Volmat wrote: > From: Amelie Delaunay > > Fix spi->clk_rate when it is odd to the nearest lowest even value because > minimum SPI divider is 2. This is a fix too. signature.asc Description: PGP signature

Re: [PATCH 16/18] spi: stm32: always perform registers configuration prior to transfer

2020-08-05 Thread Mark Brown
On Wed, Aug 05, 2020 at 09:02:11AM +0200, Alain Volmat wrote: > SPI registers content may have been lost upon suspend/resume sequence. > So, always compute and apply the necessary configuration in > stm32_spi_transfer_one_setup routine. This also. signature.asc Description: PGP signature

Re: [PATCH][next] dmaengine: Use fallthrough pseudo-keyword

2020-08-05 Thread Vinod Koul
On 27-07-20, 15:34, Gustavo A. R. Silva wrote: > diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c > index 2c508ee672b9..9b69716172a4 100644 > --- a/drivers/dma/pl330.c > +++ b/drivers/dma/pl330.c > @@ -1061,16 +1061,16 @@ static bool _start(struct pl330_thread *thrd) > > if

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

2020-08-05 Thread Tyler Hicks
On 2020-08-05 09:21:24, Lakshmi Ramasubramanian wrote: > On 8/5/20 9:14 AM, Tyler Hicks wrote: > > On 2020-08-05 09:07:48, Lakshmi Ramasubramanian wrote: > > > 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

Re: [LTP] [PATCH] selftests: vdso: hash entry size on alpha, s390x is 8 bytes

2020-08-05 Thread Jan Stancek
- Original Message - > Hi! > As much as it's worth the changes looks good to me. > > @Jan: I guess that we can as well fix this in LTP first then we can try > to get the kernel version fixed... Fine by me, I'll give it couple more days then push it. I did repost it with original

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

2020-08-05 Thread wsa
> > The other thing would be to convert the PXA driver and see if our > > generic support can help their advanced use case or if we are missing > > something. Codrin, do you have maybe time and interest to do that? That > > would be awesome! > > Naturally, these would be the next steps. I can do

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 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: > > > On 8/4/20 11:25 PM, Mimi Zohar wrote: > > > > > > > Hi Lakshmi, > > > > > > > > There's still a number of other patch

[PATCH] s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP

2020-08-05 Thread Krzysztof Kozlowski
The VFIO_AP uses ap_driver_register() (and deregister) functions implemented in ap_bus.c (compiled into ap.o). However the ap.o will be built only if CONFIG_ZCRYPT is selected. This was not visible before commit e93a1695d7fb ("iommu: Enable compile testing for some of drivers") because the

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

2020-08-05 Thread Srinivas Pandruvada
On Wed, 2020-08-05 at 11:34 +0200, Rafael J. Wysocki wrote: > Hi Doug, > > On Tue, Aug 4, 2020 at 7:07 PM Doug Smythies > wrote: > > Hi Rafael, > > > > [...] > Note that the active mode performance scaling algorithm (which is not > the same as the performance cpufreq governor) sets the EPP to

Re: [PATCH v8 08/10] gpu: host1x: mipi: Keep MIPI clock enabled till calibration is done

2020-08-05 Thread Sowjanya Komatineni
On 8/5/20 7:19 AM, Dmitry Osipenko wrote: 05.08.2020 17:05, Dmitry Osipenko пишет: 05.08.2020 16:46, Thierry Reding пишет: On Mon, Aug 03, 2020 at 08:42:24AM -0700, Sowjanya Komatineni wrote: With the split of MIPI calibration into tegra_mipi_calibrate() and tegra_mipi_wait(), MIPI clock is

Re: [GIT PULL] iomap: new code for 5.9-rc1

2020-08-05 Thread Darrick J. Wong
On Wed, Aug 05, 2020 at 09:23:49AM -0700, Darrick J. Wong wrote: > On Wed, Aug 05, 2020 at 05:54:31PM +0200, Andreas Gruenbacher wrote: > > Hi Darrick, > > > > On Wed, Aug 5, 2020 at 5:40 PM Darrick J. Wong wrote: > > > > > >

Re: WARNING: refcount bug in l2cap_global_chan_by_psm

2020-08-05 Thread syzbot
syzbot has bisected this issue to: commit 3c1e300966d7edc380e405b3ab70b6e3c813a121 Author: Mauro Carvalho Chehab Date: Tue Oct 18 19:44:12 2016 + [media] si4713: don't break long lines bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=108f400290 start commit:

[PATCH 5.4 8/9] selftests: bpf: Fix detach from sockmap tests

2020-08-05 Thread Greg Kroah-Hartman
From: Lorenz Bauer commit f43cb0d672aa8eb09bfdb779de5900c040487d1d upstream. Fix sockmap tests which rely on old bpf_prog_dispatch behaviour. In the first case, the tests check that detaching without giving a program succeeds. Since these are not the desired semantics, invert the condition. In

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

2020-08-05 Thread Bjorn Helgaas
[update Linus's address, drop Qi's (bounced)] On Wed, Aug 05, 2020 at 10:23:31AM -0500, Bjorn Helgaas wrote: > [+cc Tomoya, Linus, Qi, Ben from e9bc8fa5df1c] > > 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

Re: Re: Minor RST rant

2020-08-05 Thread peterz
On Wed, Aug 05, 2020 at 04:49:50PM +0200, Vegard Nossum wrote: > FWIW, I *really* like how the extra markup renders in a browser, and I > don't think I'm the only one. The thing is, I write code in a text editor, not a browser. When a header file says: read Documentation/foo I do 'gf' and that

Re: [PATCH v3 18/38] mlxbf-tmfifo: sparse tags for config access

2020-08-05 Thread Andy Shevchenko
On Wed, Aug 5, 2020 at 4:44 PM Michael S. Tsirkin wrote: > > mlxbf-tmfifo accesses config space using native types - > which works for it since the legacy virtio native types. > > This will break if it ever needs to support modern virtio, > so with new tags previously introduced for virtio net

[PATCH 4.14 1/8] Revert "scsi: libsas: direct call probe and destruct"

2020-08-05 Thread Greg Kroah-Hartman
From: Greg Kroah-Hartman This reverts commit 3a156abd24346a3188eb7e88cf86386a409e0d02 which is commit 0558f33c06bb910e2879e355192227a8e8f0219d upstream. John writes: This patch was one of a series from Jason to fix this WARN issue, below:

[GIT PULL] iomap: new code for 5.9-rc1

2020-08-05 Thread Darrick J. Wong
Hi Linus, Please pull these new changes to the iomap code for 5.9. The most notable changes are: 1) iomap no longer invalidate the page cache when performing a direct read, since doing so is unnecessary and the old directio code doesn't do that either. 2) iomap embraced the use of returning

[PATCH 4.14 8/8] ARM: 8702/1: head-common.S: Clear lr before jumping to start_kernel()

2020-08-05 Thread Greg Kroah-Hartman
From: Geert Uytterhoeven commit 59b6359dd92d18f5dc04b14a4c926fa08ab66f7c upstream. If CONFIG_DEBUG_LOCK_ALLOC=y, the kernel log is spammed with a few hundred identical messages: unwind: Unknown symbol address c0800300 unwind: Index not found c0800300 c0800300 is the return address

[PATCH 4.14 6/8] random32: move the pseudo-random 32-bit definitions to prandom.h

2020-08-05 Thread Greg Kroah-Hartman
From: Linus Torvalds commit c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a upstream. The addition of percpu.h to the list of includes in random.h revealed some circular dependencies on arm64 and possibly other platforms. This include was added solely for the pseudo-random definitions, which have

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

2020-08-05 Thread Stephen Smalley
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: > > > > On 8/4/20 11:25 PM, Mimi Zohar wrote: > > > > > > > > > Hi

Re: [External] linux-next: build warning after merge of the ftrace tree

2020-08-05 Thread Steven Rostedt
On Wed, 5 Aug 2020 12:53:39 +0800 Muchun Song wrote: > On Wed, Aug 5, 2020 at 12:21 PM Stephen Rothwell > wrote: > > > > Hi all, > > > > After merging the ftrace tree, today's linux-next build (powerpc > > ppc64_defconfig) produced this warning: > > > > kernel/kprobes.c: In function

Re: [PATCH V13] printk: Add monotonic, boottime, and realtime timestamps

2020-08-05 Thread Petr Mladek
On Wed 2020-07-29 08:22:36, Prarit Bhargava wrote: > Chunyan Zhang wrote: > > From: Prarit Bhargava > > > > printk.time=1/CONFIG_PRINTK_TIME=1 adds a unmodified local hardware clock > > timestamp to printk messages. The local hardware clock loses time each > > day making it difficult to

[PATCH 4.19 1/6] random32: update the net random state on interrupt and activity

2020-08-05 Thread Greg Kroah-Hartman
From: Willy Tarreau commit f227e3ec3b5cad859ad15666874405e8c1bbc1d4 upstream. This modifies the first 32 bits out of the 128 bits of a random CPU's net_rand_state on interrupt or CPU activity to complicate remote observations that could lead to guessing the network RNG's internal state. Note

Re: [PATCH 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2020-08-05 Thread Dan Carpenter
Hi Dan, url: https://github.com/0day-ci/linux/commits/Dan-Murphy/dt-bindings-power-Add-the-bq25790-dt-bindings/20200730-225910 base: https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next config: x86_64-randconfig-m001-20200731 (attached as .config) compiler:

Re: [PATCH v2] tty: serial: fsl_lpuart.c: prevent a bad shift operation

2020-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2020 at 12:09:34PM +, Vabhav Sharma (OSS) wrote: > > > > -Original Message- > > From: Greg Kroah-Hartman > > Sent: Wednesday, July 29, 2020 9:34 PM > > To: B K Karthik > > Cc: Jiri Slaby ; linux-ser...@vger.kernel.org; linux- > > ker...@vger.kernel.org; Vabhav

[PATCH 4.19 4/6] random32: remove net_rand_state from the latent entropy gcc plugin

2020-08-05 Thread Greg Kroah-Hartman
From: Linus Torvalds commit 83bdc7275e6206f560d247be856bceba3e1ed8f2 upstream. It turns out that the plugin right now ends up being really unhappy about the change from 'static' to 'extern' storage that happened in commit f227e3ec3b5c ("random32: update the net random state on interrupt and

[PATCH 4.14 5/8] random32: remove net_rand_state from the latent entropy gcc plugin

2020-08-05 Thread Greg Kroah-Hartman
From: Linus Torvalds commit 83bdc7275e6206f560d247be856bceba3e1ed8f2 upstream. It turns out that the plugin right now ends up being really unhappy about the change from 'static' to 'extern' storage that happened in commit f227e3ec3b5c ("random32: update the net random state on interrupt and

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

2020-08-05 Thread Bjorn Helgaas
[+cc Tomoya, Linus, Qi, Ben from e9bc8fa5df1c] 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

Re: [PATCH][next] drm/amdgpu: fix spelling mistake "paramter" -> "parameter"

2020-08-05 Thread Alex Deucher
On Wed, Aug 5, 2020 at 8:15 AM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a dev_warn message. Fix it. > > Signed-off-by: Colin Ian King Applied. Thanks! Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH 4.14 2/8] random32: update the net random state on interrupt and activity

2020-08-05 Thread Greg Kroah-Hartman
From: Willy Tarreau commit f227e3ec3b5cad859ad15666874405e8c1bbc1d4 upstream. This modifies the first 32 bits out of the 128 bits of a random CPU's net_rand_state on interrupt or CPU activity to complicate remote observations that could lead to guessing the network RNG's internal state. Note

[PATCH 5.7 1/6] random32: update the net random state on interrupt and activity

2020-08-05 Thread Greg Kroah-Hartman
From: Willy Tarreau commit f227e3ec3b5cad859ad15666874405e8c1bbc1d4 upstream. This modifies the first 32 bits out of the 128 bits of a random CPU's net_rand_state on interrupt or CPU activity to complicate remote observations that could lead to guessing the network RNG's internal state. Note

Re: [PATCH 2/3] irqchip: mstar: msc313-intc interrupt controller driver

2020-08-05 Thread Marc Zyngier
[+ Mark-PK Tsai] Hi Daniel, On 2020-08-05 12:00, Daniel Palmer wrote: Add a driver for the two peripheral interrupt controllers in MStar MSC313 and other MStar/Sigmastar Armv7 SoCs. Supports both the "IRQ" and "FIQ" controllers that forward interrupts from the various IP blocks inside the SoC

drivers/net/ethernet/pensando/ionic/ionic_ethtool.c:250:51: warning: Clarify calculation precedence for '&' and

2020-08-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 2324d50d051ec0f14a548e78554fb02513d6dcef commit: 4d03e00a21409f63668349ae4123f5707d9a28cf ionic: Add initial ethtool support date: 11 months ago compiler: ia64-linux-gcc (GCC) 9.3.0 If you fix the issue,

[PATCH 5.4 3/9] random: fix circular include dependency on arm64 after addition of percpu.h

2020-08-05 Thread Greg Kroah-Hartman
From: Willy Tarreau commit 1c9df907da83812e4f33b59d3d142c864d9da57f upstream. Daniel Díaz and Kees Cook independently reported that commit f227e3ec3b5c ("random32: update the net random state on interrupt and activity") broke arm64 due to a circular dependency on include files since the

Re: [PATCH] drm/amdgpu: fix spelling mistake "Falied" -> "Failed"

2020-08-05 Thread Alex Deucher
On Wed, Aug 5, 2020 at 7:35 AM Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a DRM_ERROR message. Fix it. > > Signed-off-by: Colin Ian King This is already fixed. Alex > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 +- > 1 file changed, 1 insertion(+), 1

[PATCH 4.14 7/8] ext4: fix direct I/O read error

2020-08-05 Thread Greg Kroah-Hartman
From: Jiang Ying This patch is used to fix ext4 direct I/O read error when the read size is not aligned with block size. Then, I will use a test to explain the error. (1) Make a file that is not aligned with block size: $dd if=/dev/zero of=./test.jar bs=1000 count=3 (2) I wrote a

[RFC 8/9] Introduce kvm module parameter global_tdp to turn on the direct build EPT mode

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Currently global_tdp is only supported on intel X86 system with ept supported, and it will turn off the smm mode when enable global_tdp. Signed-off-by: Yulei Zhang --- arch/x86/include/asm/kvm_host.h | 4 arch/x86/kvm/mmu/mmu.c | 5 - arch/x86/kvm/x86.c

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

2020-08-05 Thread Tyler Hicks
On 2020-08-05 10:27:43, 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: > > > > >

Re: [PATCHv2 2/2] hwrng: optee: fix wait use case

2020-08-05 Thread Jorge Ramirez-Ortiz, Foundries
On 23/07/20, Jorge Ramirez-Ortiz wrote: > The current code waits for data to be available before attempting a > second read. However the second read would not be executed as the > while loop exits. > > This fix does not wait if all data has been read and reads a second > time if only partial data

Re: [PATCH v3 06/38] virtio_blk: correct tags for config space fields

2020-08-05 Thread Stefano Garzarella
On Wed, Aug 05, 2020 at 09:43:30AM -0400, Michael S. Tsirkin wrote: > Tag config space fields as having virtio endian-ness. > > Signed-off-by: Michael S. Tsirkin > Reviewed-by: Cornelia Huck > --- > include/uapi/linux/virtio_blk.h | 26 +- > 1 file changed, 13

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

2020-08-05 Thread Michael S. Tsirkin
On Wed, Aug 05, 2020 at 04:01:58PM +0300, Eli Cohen wrote: > On Wed, Aug 05, 2020 at 08:48:52AM -0400, Michael S. Tsirkin wrote: > > > > > > Did you merge this?: > > > git pull git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux.git > > > mlx5-next > > > > > > I can only merge this

Re: linux-next: build failure after merge of the net-next tree

2020-08-05 Thread Stefano Brivio
On Wed, 5 Aug 2020 22:31:21 +1000 Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (s390 defconfig) > failed like this: > > net/ipv4/ip_tunnel_core.c:335:2: error: implicit declaration of function > 'csum_ipv6_magic'

Re: [PATCH 08/10] media: uapi: h264: Clean slice invariants syntax elements

2020-08-05 Thread Ezequiel Garcia
Hi Tomasz, On Tue, 2020-08-04 at 15:35 +0200, Tomasz Figa wrote: > On Mon, Jul 27, 2020 at 9:43 PM Nicolas Dufresne > wrote: > > Le lundi 27 juillet 2020 à 20:10 +0200, Tomasz Figa a écrit : > > > On Mon, Jul 27, 2020 at 6:18 PM Ezequiel Garcia > > > wrote: > > > > On Mon, 2020-07-27 at 16:52

Re: [PATCH 2/3] KVM: x86: introduce KVM_MEM_PCI_HOLE memory

2020-08-05 Thread Andrew Jones
On Tue, Jul 28, 2020 at 04:37:40PM +0200, Vitaly Kuznetsov wrote: > PCIe config space can (depending on the configuration) be quite big but > usually is sparsely populated. Guest may scan it by accessing individual > device's page which, when device is missing, is supposed to have 'pci > hole'

Re: [PATCH v4] ext4: fix direct I/O read error

2020-08-05 Thread Greg KH
On Wed, Aug 05, 2020 at 10:51:07AM +0200, Jan Kara wrote: > Note to stable tree maintainers (summary from the rather long changelog): > This is a non-upstream patch. It will not go upstream because the problem > there has been fixed by converting ext4 to use iomap infrastructure. > However that

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

2020-08-05 Thread Christophe Leroy
Hi, On 08/05/2020 02:03 PM, Segher Boessenkool wrote: Hi! On Wed, Aug 05, 2020 at 07:09:23AM +, Christophe Leroy wrote: +/* + * powerpc specific delta calculation. + * + * This variant removes the masking of the subtraction because the + * clocksource mask of all VDSO capable clocksources

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

2020-08-05 Thread kernel test robot
Hi Tomer, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/Tomer-Samara/staging-wfx-refactor-to-avoid-duplication-at-hif_tx-c/20200805-165649 base: https://git.kernel.org/pub/scm/linux

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:2353:21: sparse: sparse: incorrect type in initializer (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-s031-20200805 (attached

Re: [GIT PULL 0/5] ARM: SoC: changes for v5.9

2020-08-05 Thread Konrad Dybcio
> I did not know how popular PinePhone is. Does it currently have useful > battery life? It basically sells out in a few days after a new batch is up :D You might want to join some pine64 irc/matrix/telegram channels. Currently, as far as I'm aware (I haven't got one), it can survive a full day

[RFC 5/9] Modify the page fault path to meet the direct build EPT requirement

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Refine the fast page fault code so that it can be used in either normal ept mode or direct build EPT mode. Signed-off-by: Yulei Zhang --- arch/x86/kvm/mmu/mmu.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git

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

2020-08-05 Thread daniel
On Wed, Aug 05, 2020 at 06:03:15PM +0800, Huang Jiachai wrote: > 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

[RFC PATCH 1/2] cpufreq: qcom: Add Krait Cache Scaling support

2020-08-05 Thread Ansuel Smith
Qcom Krait CPUs use the generic cpufreq-dt driver and doesn't actually scale the Cache frequency when the CPU frequency is changed. This companion driver register with the cpu notifier and scale the Cache based on the max Freq across all core as the CPU cache is shared across all of them. If

[RFC 6/9] Apply the direct build EPT according to the memory slots change

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Construct the direct build ept when guest memory slots have been changed, and issue mmu_reload request to update the CR3 so that guest could use the pre-constructed EPT without page fault. Signed-off-by: Yulei Zhang --- arch/mips/kvm/mips.c | 13 +

[PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-05 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.7.14 release. There are 7 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 19:59:06 +. Anything

[PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-05 Thread Marco Elver
Add missing noinstr to arch_local*() helpers, as they may be called from noinstr code. On a KCSAN config with CONFIG_PARAVIRT=y, syzbot stumbled across corrupt IRQ trace state, with lockdep_assert_irqs_enabled() failing spuriously. When enabling CONFIG_DEBUG_LOCKDEP=y, we get a warning about

[PATCH 2/3] irqchip: mstar: msc313-intc interrupt controller driver

2020-08-05 Thread Daniel Palmer
Add a driver for the two peripheral interrupt controllers in MStar MSC313 and other MStar/Sigmastar Armv7 SoCs. Supports both the "IRQ" and "FIQ" controllers that forward interrupts from the various IP blocks inside the SoC to the ARM GIC. They are basically the same thing except for one

[rcu:dev.2020.07.24b] BUILD SUCCESS 304e23263bcbd11f1172ba03989be60beb8382c1

2020-08-05 Thread kernel test robot
allnoconfig powerpc defconfig i386 randconfig-a005-20200805 i386 randconfig-a004-20200805 i386 randconfig-a001-20200805 i386 randconfig-a003-20200805 i386 randconfig-a002-20200805 i386

Re: Aw: Re: Re: Re: [PATCH v4 6/6] arm: dts: mt7623: add display subsystem related device nodes

2020-08-05 Thread David Woodhouse
On Wed, 2020-08-05 at 10:49 +0200, Frank Wunderlich wrote: > > Gesendet: Mittwoch, 05. August 2020 um 10:36 Uhr > > Von: "David Woodhouse" > > > mt7623.dtsi => mt7623n.dtsi => mt7623n-bananapi-bpi-r2.dts > > > mt7623.dtsi => mt7623a.dtsi => mt7623a-unielec-u7623.dts (not > > > existing yet, > > >

[PATCH 2/2] net: tls: allow MSG_CMSG_COMPAT in sendmsg

2020-08-05 Thread Rouven Czerwinski
The MSG_CMSG_COMPAT flag is valid if the system has CONFIG_COMPAT enabled and a 32bit userspace. Signed-off-by: Rouven Czerwinski --- net/tls/tls_sw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c index 24f64bc0de18..a332ae123bda

Re: [PATCH] io_uring: Fix NULL pointer dereference in loop_rw_iter()

2020-08-05 Thread Jens Axboe
On 8/5/20 5:02 AM, Guoyu Huang wrote: > loop_rw_iter() does not check whether the file has a read or > write function. This can lead to NULL pointer dereference > when the user passes in a file descriptor that does not have > read or write function. > > The crash log looks like this: > > [

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 10:18 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 Wed, Aug 05,

Re: [PATCH] mm/memcg: remove useless check on page->mem_cgroup

2020-08-05 Thread Alex Shi
在 2020/8/5 下午8:28, Alex Shi 写道: > The last patch has a problem on define. this version could fix it. > > BTW, I see some !memcg happens when MEMCG compilered but disabled by > cgroup_disable > > > [ 94.657666] ---[ end trace f1f34bfc3b32ed2f ]--- > [ 95.138995] anon flags:

Re: [PATCH][next] greybus: Use fallthrough pseudo-keyword

2020-08-05 Thread Alex Elder
On 7/28/20 5:37 PM, Alex Elder wrote: > On 7/27/20 1:32 PM, Gustavo A. R. Silva wrote: >> Replace the existing /* fall through */ comments and its variants with >> the new pseudo-keyword macro fallthrough[1]. >> >> [1] >>

Re: [PATCH 5.7 0/6] 5.7.14-rc1 review

2020-08-05 Thread Greg Kroah-Hartman
On Wed, Aug 05, 2020 at 12:45:25PM -0700, Linus Torvalds wrote: > On Wed, Aug 5, 2020 at 12:24 PM Guenter Roeck wrote: > > > > On 8/5/20 11:37 AM, Linus Torvalds wrote: > > > > > > Because the trivial fix would be something like the appended, which is > > > the right thing to do anyway. > > > >

[RFC 7/9] Add migration support when using direct build EPT

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Make migration available in direct build ept mode whether pml enabled or not. Signed-off-by: Yulei Zhang --- arch/x86/include/asm/kvm_host.h | 2 + arch/x86/kvm/mmu/mmu.c | 153 +++- arch/x86/kvm/x86.c | 44 + 3

Re: [PATCH 2/2] ARM: dts: omap3: Add cpu trips and cooling map for omap34/36 families

2020-08-05 Thread Adam Ford
On Mon, Oct 7, 2019 at 5:06 PM Adam Ford wrote: > > The OMAP3530, OMAP3630, and DM3730 all show thresholds of 90C and 105C > depending on commercial or industrial temperature ratings. > > This patch expands the thermal information to include the limits of 90 > and 105C for alert and critical. It

Re: [PATCH v3 3/6] mm: introduce memfd_secret system call to create "secret" memory areas

2020-08-05 Thread Randy Dunlap
On 8/4/20 2:50 AM, Mike Rapoport wrote: > diff --git a/mm/Kconfig b/mm/Kconfig > index f2104cc0d35c..8378175e72a4 100644 > --- a/mm/Kconfig > +++ b/mm/Kconfig > @@ -872,4 +872,8 @@ config ARCH_HAS_HUGEPD > config MAPPING_DIRTY_HELPERS > bool > > +config SECRETMEM > +def_bool

[PATCH] io_uring: Fix NULL pointer dereference in loop_rw_iter()

2020-08-05 Thread Guoyu Huang
loop_rw_iter() does not check whether the file has a read or write function. This can lead to NULL pointer dereference when the user passes in a file descriptor that does not have read or write function. The crash log looks like this: [ 99.834071] BUG: kernel NULL pointer dereference, address:

Re: [PATCH 13/17] watch_queue: Implement mount topology and attribute change notifications [ver #5]

2020-08-05 Thread Miklos Szeredi
On Wed, Aug 5, 2020 at 1:36 PM Ian Kent wrote: > > I can see in the kernel code that an error is returned if the message > buffer is full when trying to add a message, I just can't see where > to get it in the libmount code. > > That's not really a communication protocol problem. > > Still I

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-05 Thread peterz
On Wed, Aug 05, 2020 at 04:12:37PM +0200, pet...@infradead.org wrote: > On Wed, Aug 05, 2020 at 03:59:40PM +0200, Marco Elver wrote: > > On Wed, Aug 05, 2020 at 03:42PM +0200, pet...@infradead.org wrote: > > > > Shouldn't we __always_inline those? They're going to be really small. > > > > I can

Re: [PATCH] soc: qmi: allow user to set handle wq to hiprio

2020-08-05 Thread Alex Elder
On 8/2/20 8:14 AM, 王文虎 wrote: > >>> Currently the qmi_handle is initialized single threaded and strictly >>> ordered with the active set to 1. This is pretty simple and safe but >>> sometimes ineffency. So it is better to allow user to decide whether >>> a high priority workqueue should be used.

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