Re: [PATCH 04/13] irqchip: Add driver for Loongson-3 I/O interrupt controller

2019-08-28 Thread Marc Zyngier
On 28/08/2019 16:31, Jiaxun Yang wrote: > > On 2019/8/28 下午2:59, Marc Zyngier wrote: >> On Wed, 28 Aug 2019 08:27:05 +0800 >> Jiaxun Yang wrote: >> >>> On 2019/8/28 上午12:45, Marc Zyngier wrote: On 27/08/2019 09:52, Jiaxun Yang wrote: > + chained_irq_enter(chip, desc); > + > +

Re: Latest kernel version no NOT reflecting on kernel.org

2019-08-28 Thread Konstantin Ryabitsev
On Wed, Aug 28, 2019 at 05:13:53PM +0200, Greg KH wrote: On Wed, Aug 28, 2019 at 07:27:53PM +0530, Bhaskar Chowdhury wrote: Am I the only one, who is not seeing it getting reflected on kernel.org??? Well, I have tried it 2 different browsers.cleared caches several times(heck) .3

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Peter Zijlstra
On Wed, Aug 28, 2019 at 11:30:34AM -0400, Phil Auld wrote: > On Tue, Aug 27, 2019 at 11:50:35PM +0200 Peter Zijlstra wrote: > > And given MDS, I'm still not entirely convinced it all makes sense. If > > it were just L1TF, then yes, but now... > > I was thinking MDS is really the reason for this.

Re: [PATCH v2] MAINTAINERS: add entry for LICENSES and SPDX stuff

2019-08-28 Thread Darrick J. Wong
On Tue, Aug 27, 2019 at 09:53:10PM +0200, Greg Kroah-Hartman wrote: > Thomas and I seem to have become the "unofficial" maintainers for these > files and questions about SPDX things. So let's make it official. > > Reported-by: "Darrick J. Wong" > Cc: Thomas Gleixner > Signed-off-by: Greg

Re: [PATCH] ASoC: fsl_ssi: Fix clock control issue in master mode

2019-08-28 Thread Fabio Estevam
Hi Shengjiu, On Wed, Aug 28, 2019 at 2:21 AM Shengjiu Wang wrote: > > The test case is > arecord -Dhw:0 -d 10 -f S16_LE -r 48000 -c 2 temp.wav & > aplay -Dhw:0 -d 30 -f S16_LE -r 48000 -c 2 test.wav > > There will be error after end of arecord: > aplay: pcm_write:2051: write error: Input/output

Re: [PATCH 1/2] kbuild: refactor scripts/Makefile.extrawarn

2019-08-28 Thread Sedat Dilek
Something like that... [PATCH 1/2] kbuild: Improve extrawarn documentation [PATCH 2/2] kbuild: Rename extrawarn Kconfig to KBUILD_EXTRA_CC_CHECKS - Sedat - From 1275ec0f1d31c4ac57b73b318bdc45151d99e8dc Mon Sep 17 00:00:00 2001 From: Sedat Dilek Date: Wed, 28 Aug 2019 16:27:13 +0200 Subject:

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Tim Chen
On 8/27/19 2:50 PM, Peter Zijlstra wrote: > On Tue, Aug 27, 2019 at 10:14:17PM +0100, Matthew Garrett wrote: >> Apple have provided a sysctl that allows applications to indicate that >> specific threads should make use of core isolation while allowing >> the rest of the system to make use of

Re: [PATCH] modpost: add guid_t type definition

2019-08-28 Thread Masahiro Yamada
On Tue, Aug 27, 2019 at 8:14 PM Heikki Krogerus wrote: > > Since guid_t is the recommended data type for UUIDs in > kernel (and I guess uuid_le is meant to be ultimately > replaced with it), it should be made available here as > well. > > Signed-off-by: Heikki Krogerus > --- Applied to

Re: [PATCH] modpost: add NOFAIL to strndup

2019-08-28 Thread Masahiro Yamada
On Tue, Aug 27, 2019 at 9:20 PM Denis Efremov wrote: > > Add NOFAIL check for the strndup call, because the function > allocates memory and can return NULL. All calls to strdup in > modpost are checked with NOFAIL. > > Signed-off-by: Denis Efremov > --- Applied to linux-kbuild. Thanks. >

Re: [PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
On Wed, 2019-08-28 at 09:53 -0600, shuah wrote: > On 8/28/19 9:14 AM, Mimi Zohar wrote: > > In addition to the PE/COFF and IMA xattr signatures, the kexec kernel > > image can be signed with an appended signature, using the same > > scripts/sign-file tool that is used to sign kernel modules. > >

Re: [PATCH v2] vfio/type1: avoid redundant PageReserved checking

2019-08-28 Thread Alex Williamson
On Wed, 28 Aug 2019 12:28:04 +0800 Ben Luo wrote: > currently, if the page is not a tail of compound page, it will be > checked twice for the same thing. > > Signed-off-by: Ben Luo > --- > drivers/vfio/vfio_iommu_type1.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff

Re: [GIT pull] x86/urgent for 5.3-rc5

2019-08-28 Thread David Sterba
On Wed, Aug 28, 2019 at 05:20:41PM +0200, David Sterba wrote: > On Tue, Aug 27, 2019 at 07:39:55PM +0200, Borislav Petkov wrote: > > @@ -42,5 +43,24 @@ void x86_init_rdrand(struct cpuinfo_x86 *c) > > return; > > } > > } > > + > > + /* > > +* Stupid

Re: [PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread shuah
On 8/28/19 9:14 AM, Mimi Zohar wrote: In addition to the PE/COFF and IMA xattr signatures, the kexec kernel image can be signed with an appended signature, using the same scripts/sign-file tool that is used to sign kernel modules. This patch adds support for detecting a kernel image signed with

Re: [PATCH v2] kunit: fix failure to build without printk

2019-08-28 Thread Randy Dunlap
On 8/28/19 2:31 AM, Brendan Higgins wrote: > Previously KUnit assumed that printk would always be present, which is > not a valid assumption to make. Fix that by removing call to > vprintk_emit, and calling printk directly. > > Reported-by: Randy Dunlap > Link: >

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 10:47:18AM -0500, Dan Rue wrote: > On Wed, Aug 28, 2019 at 05:16:08PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > > > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > > > wrote: > > > > > > > > This is the start

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-28 Thread Paul E. McKenney
On Wed, Aug 28, 2019 at 09:59:38AM -0400, Joel Fernandes wrote: > On Wed, Aug 28, 2019 at 03:14:33PM +0200, Sebastian Andrzej Siewior wrote: > > On 2019-08-28 05:54:26 [-0700], Paul E. McKenney wrote: > > > On Wed, Aug 28, 2019 at 11:27:39AM +0200, Sebastian Andrzej Siewior wrote: > > > > On

Re: linux-next: Tree for Aug 27 (objtool)

2019-08-28 Thread Josh Poimboeuf
On Tue, Aug 27, 2019 at 12:05:42PM -0700, Randy Dunlap wrote: > On 8/27/19 8:59 AM, Josh Poimboeuf wrote: > > On Tue, Aug 27, 2019 at 08:40:07AM -0700, Randy Dunlap wrote: > >> On 8/27/19 2:05 AM, Stephen Rothwell wrote: > >>> Hi all, > >>> > >>> Changes since 20190826: > >>> > >> > >> on x86_64:

Re: [patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Thomas Gleixner
On Wed, 28 Aug 2019, Dave Hansen wrote: > On 8/28/19 7:24 AM, Thomas Gleixner wrote: > > From: Song Liu > > > > pti_clone_pmds() assumes that the supplied address is either: > > > > - properly PUD/PMD aligned > > or > > - the address is actually mapped which means that independent > >of

Re: [PATCH RT v2 2/3] sched: migrate_enable: Use sleeping_lock to indicate involuntary sleep

2019-08-28 Thread Paul E. McKenney
On Wed, Aug 28, 2019 at 03:14:33PM +0200, Sebastian Andrzej Siewior wrote: > On 2019-08-28 05:54:26 [-0700], Paul E. McKenney wrote: > > On Wed, Aug 28, 2019 at 11:27:39AM +0200, Sebastian Andrzej Siewior wrote: > > > On 2019-08-27 08:53:06 [-0700], Paul E. McKenney wrote: > > > > Am I

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-28 Thread Thomas Gleixner
Woody, On Wed, 28 Aug 2019, Woody Suwalski wrote: > I have tried to "bisect" the config changes, and builds working/not > working between > rc3-rc4-rc5, and come out with the same frustrating result, that > building a "clean" kernel is not producing the same behavoir as > incremental building

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Dan Rue
On Wed, Aug 28, 2019 at 05:16:08PM +0200, Greg Kroah-Hartman wrote: > On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > > wrote: > > > > > > This is the start of the stable review cycle for the 5.2.11 release. > > > There are

Re: [patch 2/2] x86/mm/pti: Do not invoke PTI functions when PTI is disabled

2019-08-28 Thread Dave Hansen
On 8/28/19 7:24 AM, Thomas Gleixner wrote: > Neither function should be called when PTI is runtime disabled. Make the > invocation conditional. Thanks for sending that out. My impressions from a look through it matched your changelog. Reviewed-by: Dave Hansen

Re: [patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Dave Hansen
On 8/28/19 7:24 AM, Thomas Gleixner wrote: > From: Song Liu > > pti_clone_pmds() assumes that the supplied address is either: > > - properly PUD/PMD aligned > or > - the address is actually mapped which means that independent >of the mapping level (PUD/PMD/PTE) the next higher mapping >

Re: [PATCH v2 14/15] drivers: thermal: tsens: Create function to return sign-extended temperature

2019-08-28 Thread Stephen Boyd
Quoting Amit Kucheria (2019-08-28 03:35:28) > (Resending, replied only to Stephen by mistake) > > On Wed, Aug 28, 2019 at 6:08 AM Stephen Boyd wrote: > > > > Quoting Amit Kucheria (2019-08-27 05:14:10) > > > @@ -310,6 +328,10 @@ int __init init_common(struct tsens_priv *priv) > > >              

RE: [PATCH v1 net-next] net: phy: mdio_bus: make mdiobus_scan also cover PHY that only talks C45

2019-08-28 Thread Ong, Boon Leong
>On Tue, Aug 27, 2019 at 03:23:34PM +, Voon, Weifeng wrote: >> > > > Make mdiobus_scan() to try harder to look for any PHY that only >> > talks C45. >> > > If you are not using Device Tree or ACPI, and you are letting the MDIO >> > > bus be scanned, it sounds like there should be a way for you

Re: [PATCH 2/5] misc: fastrpc: Don't reference rpmsg_device after remove

2019-08-28 Thread Stephen Boyd
Quoting Srinivas Kandagatla (2019-08-23 03:06:19) > From: Bjorn Andersson > > As fastrpc_rpmsg_remove() returns the rpdev of the channel context is no > longer a valid object, so ensure to update the channel context to no > longer reference the old object and guard in the invoke code path >

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 5:28 PM Arnd Bergmann wrote: > On Wed, Aug 28, 2019 at 5:22 PM Josh Poimboeuf wrote: > > On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > > > > > > When CONFIG_KASAN is set, clang decides to use memset() to set > > > the first two struct members in this

Re: [PATCH V1 6/6] USB: serial: f81232: Add gpiolib to GPIO device

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:16AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81534A series contains 3 GPIOs per UART and The max GPIOs > is 12x3 = 36 GPIOs. How does this relate to the GPIOs used for transceiver setup? Are these really general purpose? Side note: Please explain the

Re: [PATCH v2] checkpatch: check for nested unlikely calls

2019-08-28 Thread Denis Efremov
On 8/28/19 4:32 PM, Denis Efremov wrote: > IS_ERR, IS_ERR_OR_NULL, IS_ERR_VALUE already contain unlikely optimization > internally. Thus, there is no point in calling these functions under > likely/unlikely. It looks like this rule could be extended with this list: CHECK_DATA_CORRUPTION

RE: [PATCH v2 1/2] dt-bindings: phy: intel-sdxc-phy: Add YAML schema for LGM SDXC PHY

2019-08-28 Thread Langer, Thomas
Hi Vadivel, > +... > diff --git a/Documentation/devicetree/bindings/phy/intel,syscon.yaml > b/Documentation/devicetree/bindings/phy/intel,syscon.yaml > new file mode 100644 > index ..d0b78805e49f > --- /dev/null > +++ b/Documentation/devicetree/bindings/phy/intel,syscon.yaml > @@ -0,0

Re: Why the edge-triggered mode doesn't work for epoll file descriptor?

2019-08-28 Thread Heiher
Hello, Thank you reply. On Mon, Aug 26, 2019 at 2:22 PM Eric Wong wrote: > > Heiher wrote: > > Hello, > > > > I've added a pipe file descriptor (fd1) to an epoll (fd3) with > > EPOLLOUT in edge-triggered mode, and then added the fd3 to another > > epoll (fd4) with EPOLLIN in edge-triggered

Re: [PATCH 04/13] irqchip: Add driver for Loongson-3 I/O interrupt controller

2019-08-28 Thread Jiaxun Yang
On 2019/8/28 下午2:59, Marc Zyngier wrote: On Wed, 28 Aug 2019 08:27:05 +0800 Jiaxun Yang wrote: On 2019/8/28 上午12:45, Marc Zyngier wrote: On 27/08/2019 09:52, Jiaxun Yang wrote: + chained_irq_enter(chip, desc); + + pending = readl(priv->intc_base + LS3_REG_INTC_EN_STATUS) & +

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 07:47:35AM -0700, kan.li...@linux.intel.com wrote: > diff --git a/arch/x86/events/core.c b/arch/x86/events/core.c > index 54534ff00940..1ae23db5c2d7 100644 > --- a/arch/x86/events/core.c > +++ b/arch/x86/events/core.c > @@ -76,6 +76,8 @@ u64 x86_perf_event_update(struct

Re: [RESEND PATCH V3 3/8] perf/x86/intel: Support hardware TopDown metrics

2019-08-28 Thread Peter Zijlstra
On Mon, Aug 26, 2019 at 07:47:35AM -0700, kan.li...@linux.intel.com wrote: > Groups > == > > To avoid reading the METRICS register multiple times, the metrics and > slots value can only be updated by the first slots/metrics event in a > group. All active slots and metrics events will be

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-08-28 Thread Phil Auld
On Tue, Aug 27, 2019 at 11:50:35PM +0200 Peter Zijlstra wrote: > On Tue, Aug 27, 2019 at 10:14:17PM +0100, Matthew Garrett wrote: > > Apple have provided a sysctl that allows applications to indicate that > > specific threads should make use of core isolation while allowing > > the rest of the

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 5:22 PM Josh Poimboeuf wrote: > On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > > On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > > > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > > > wrote: > > I figured this one

Re: [PATCH v3 1/5] leds: lm3532: Fix brightness control for i2c mode

2019-08-28 Thread Dan Murphy
Jacek On 8/27/19 4:14 PM, Jacek Anaszewski wrote: Dan, On 8/27/19 2:44 PM, Dan Murphy wrote: Tony On 8/27/19 7:18 AM, Pavel Machek wrote: On Mon 2019-08-26 15:44:37, Tony Lindgren wrote: * Pavel Machek [190826 22:14]: On Mon 2019-08-26 14:58:22, Tony Lindgren wrote: Hi, * Dan Murphy

Re: [PATCH 06/15] sched,cfs: use explicit cfs_rq of parent se helper

2019-08-28 Thread Rik van Riel
On Wed, 2019-08-28 at 15:53 +0200, Vincent Guittot wrote: > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > Use an explicit "cfs_rq of parent sched_entity" helper in a few > > strategic places, where cfs_rq_of(se) may no longer point at the > > The only case is the sched_entity of a task

Re: [GIT PULL v1 0/4] stm class/intel_th: Fixes for v5.3

2019-08-28 Thread Alexander Shishkin
Alexander Shishkin writes: > Hi Greg, > > These are the fixes that I have for v5.3. One is an actual bugfix that's > copied to stable, one SPDX header fix and two new PCI IDs, copied to > stable as well. Signed tag below, individual patches follow. Please > consider applying or pulling. Thanks!

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 05:13:59PM +0200, Arnd Bergmann wrote: > On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > > wrote: > I figured this one out as well: > > > http://paste.ubuntu.com/p/XjdDsypRxX/ > >

Re: [PATCH v2 2/2] uacce: add uacce driver

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 09:27:56PM +0800, Zhangfei Gao wrote: > +struct uacce { > + const char *drv_name; > + const char *algs; > + const char *api_ver; > + unsigned int flags; > + unsigned long qf_pg_start[UACCE_QFRT_MAX]; > + struct uacce_ops *ops; > + struct device

[PATCH v2] leds: ti-lmu-common: Fix coccinelle issue in TI LMU

2019-08-28 Thread Dan Murphy
Fix the coccinelle issues found in the TI LMU common code drivers/leds/leds-ti-lmu-common.c:97:20-29: WARNING: Unsigned expression compared with zero: ramp_down < 0 drivers/leds/leds-ti-lmu-common.c:97:5-12: WARNING: Unsigned expression compared with zero: ramp_up < 0 Fixes: f717460ba4d7

Re: [linux-next][BUG][driver/scsi/lpfc][10541f] Kernel panics when booting next kernel on my Power 9 box

2019-08-28 Thread James Smart
On 8/27/2019 10:02 PM, Abdul Haleem wrote: Greetings, linux-next kernel 5.3.0-rc1 failed to boot with kernel Oops on Power 9 box I see a recent changes to lpfc code was from commit 10541f03 scsi: lpfc: Update lpfc version to 12.4.0.0 Recent boot logs: [..snip..] see

Re: [PATCH v2] ext4: use percpu_counters for extent_status cache hits/misses

2019-08-28 Thread Theodore Y. Ts'o
On Wed, Aug 28, 2019 at 05:19:17PM +0800, Shaokun Zhang wrote: > From: Yang Guo > > @es_stats_cache_hits and @es_stats_cache_misses are accessed frequently in > ext4_es_lookup_extent function, it would influence the ext4 read/write > performance in NUMA system. Let's optimize it using

[PATCH v5 2/2] tty: add rpmsg driver

2019-08-28 Thread Arnaud Pouliquen
This driver exposes a standard tty interface on top of the rpmsg framework through a rpmsg service. This driver supports multi-instances, offering a /dev/ttyRPMSGx entry per rpmsg endpoint. Signed-off-by: Arnaud Pouliquen --- V4 to V5 : - suppress the use of the first byte of the message to

[PATCH v5 1/2] rpmsg: core: add API to get message length

2019-08-28 Thread Arnaud Pouliquen
Return the rpmsg buffer size for sending message, so rpmsg users can split a long message in several sub rpmsg buffers. Signed-off-by: Arnaud Pouliquen --- V4 to V5 : - rename rpmsg_get_buf_payload_size to rpmsg_get_mtu drivers/rpmsg/rpmsg_core.c | 21 +

Re: [GIT pull] x86/urgent for 5.3-rc5

2019-08-28 Thread David Sterba
On Tue, Aug 27, 2019 at 07:39:55PM +0200, Borislav Petkov wrote: > @@ -42,5 +43,24 @@ void x86_init_rdrand(struct cpuinfo_x86 *c) > return; > } > } > + > + /* > + * Stupid sanity-check whether RDRAND does *actually* generate > + * some at

Re: [PATCH] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
On Wed, 2019-08-28 at 08:45 -0600, shuah wrote: > Hi Mimi, > > On 8/28/19 6:39 AM, Mimi Zohar wrote: > > Detect and allow appended signatures. > > > > Can you please add a couple of more sentences on the feature > and what happens without it? I know this is a test for the > feature, however, it

[PATCH v5 0/2] TTY: add rpmsg tty driver

2019-08-28 Thread Arnaud Pouliquen
This patch set introduces a TTY console on top of the RPMsg framework which enables the following use cases: - Provide a console to communicate easily with the remote processor application. - Provide an interface to get the remote processor log traces without ring buffer limitation. - Ease the

Re: [PATCH V2 4/6] PCI: tegra: Add support to enable slot regulators

2019-08-28 Thread Andrew Murray
On Wed, Aug 28, 2019 at 06:45:03PM +0530, Vidya Sagar wrote: > Add support to get regulator information of 3.3V and 12V supplies of a PCIe > slot from the respective controller's device-tree node and enable those > supplies. This is required in platforms like p2972- where the supplies > to x16

Re: [PATCH v2 11/15] svm: Temporary deactivate AVIC during ExtINT handling

2019-08-28 Thread Suthikulpanit, Suravee
Alex, On 8/19/19 5:35 AM, Alexander Graf wrote: > > > On 15.08.19 18:25, Suthikulpanit, Suravee wrote: >> AMD AVIC does not support ExtINT. Therefore, AVIC must be temporary >> deactivated and fall back to using legacy interrupt injection via vINTR >> and interrupt window. >> >> Signed-off-by:

Re: Kernel 5.3.x, 5.2.2+: VMware player suspend on 64/32 bit guests

2019-08-28 Thread Woody Suwalski
I have tried to "bisect" the config changes, and builds working/not working between rc3-rc4-rc5, and come out with the same frustrating result, that building a "clean" kernel is not producing the same behavoir as incremental building while bisecting. For some reason even after getting to the same

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 01:09:21PM -0600, shuah wrote: > On 8/27/19 1:48 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Tue, Aug 27, 2019 at 10:25:50AM -0700, Guenter Roeck wrote: > On Tue, Aug 27, 2019 at 09:48:48AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH V1 4/6] USB: serial: f81232: Add tx_empty function

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:14AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Add tx_empty() function for F81232 & F81534A series. > > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > drivers/usb/serial/f81232.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git

Re: [PATCH 1/4] fs: always build llseek.

2019-08-28 Thread Christoph Hellwig
On Tue, Aug 27, 2019 at 10:21:06PM +0200, Michal Suchanek wrote: > 64bit !COMPAT does not build because the llseek syscall is in the tables. Well, this will bloat thinkgs like 64-bit RISC-V for no good reason. Please introduce a WANT_LSEEK like symbol that ppc64 can select instead.

Re: [PATCH 5.2 000/162] 5.2.11-stable review

2019-08-28 Thread Greg Kroah-Hartman
On Wed, Aug 28, 2019 at 10:30:09AM +0530, Naresh Kamboju wrote: > On Tue, 27 Aug 2019 at 13:30, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.2.11 release. > > There are 162 patches in this series, all will be posted as a response > > to this one. If

Re: Patch "x86/pm: Introduce quirk framework to save/restore extra MSR registers around suspend/resume" has been added to the 4.4-stable tree

2019-08-28 Thread Greg KH
On Wed, Aug 28, 2019 at 07:13:23AM -0400, Sasha Levin wrote: > On Wed, Aug 28, 2019 at 11:11:55AM +0200, Greg KH wrote: > > On Wed, Aug 28, 2019 at 05:00:44PM +0800, Yu Chen wrote: > > > On Wed, Aug 28, 2019 at 10:43:51AM +0200, Greg KH wrote: > > > > On Wed, Aug 28, 2019 at 12:12:39AM -0400,

Re: [PATCH 0/2] drm/meson: add resume/suspend hooks

2019-08-28 Thread Neil Armstrong
On 28/08/2019 17:12, Kevin Hilman wrote: > Neil Armstrong writes: > >> On 27/08/2019 21:17, Kevin Hilman wrote: >>> Neil Armstrong writes: >>> This serie adds the resume/suspend hooks in the Amlogic Meson VPU main driver and the DW-HDMI Glue driver to correctly save state and

Re: Latest kernel version no NOT reflecting on kernel.org

2019-08-28 Thread Greg KH
On Wed, Aug 28, 2019 at 07:27:53PM +0530, Bhaskar Chowdhury wrote: > Am I the only one, who is not seeing it getting reflected on > kernel.org??? > > Well, I have tried it 2 different browsers.cleared caches several > times(heck) .3 different devices .and importantly 3 different >

Re: [PATCH] xfs: Use WARN_ON rather than BUG() for bailout mount-operation

2019-08-28 Thread Darrick J. Wong
On Wed, Aug 28, 2019 at 03:47:49PM +0900, Austin Kim wrote: > If the CONFIG_BUG is enabled, BUG() is executed and then system is crashed. > However, the bailout for mount is no longer proceeding. > > For this reason, using WARN_ON rather than BUG() could prevent this situation. > --- >

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Arnd Bergmann
On Wed, Aug 28, 2019 at 11:00 AM Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built Linux > wrote: I figured this one out as well: > http://paste.ubuntu.com/p/XjdDsypRxX/ > 0x5BA1B7A1:arch/x86/ia32/ia32_signal.o: warning: objtool: >

[PATCH v1] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread Mimi Zohar
In addition to the PE/COFF and IMA xattr signatures, the kexec kernel image can be signed with an appended signature, using the same scripts/sign-file tool that is used to sign kernel modules. This patch adds support for detecting a kernel image signed with an appended signature and updates the

Re: [PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-28 Thread Jerome Brunet
On Wed 28 Aug 2019 at 08:05, Kevin Hilman wrote: > Jerome Brunet writes: > >> On Tue 27 Aug 2019 at 16:42, Kevin Hilman wrote: >> >>> Jerome Brunet writes: >>> This patchset adds the dedicated reset of the tdm formatters which have been added on the g12a SoC family. Using these help

Re: next-20190826 - objtool fails to build.

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 12:15:15AM -0400, Valdis Klētnieks wrote: > OK. I'm mystified. next-20190806 built fine. -0818 and -0826 died a > glorious death indeed. All 3 were build using the same Fedora Rawhide 9.1.1 > compiler (installed on July 30). 'git log -- tools/objtool' comes up empty. >

Re: [PATCH v1 1/2] clk: intel: Add CGU clock driver for a new SoC

2019-08-28 Thread Andy Shevchenko
On Wed, Aug 28, 2019 at 03:00:17PM +0800, Rahul Tanwar wrote: > From: rtanwar > > Clock Generation Unit(CGU) is a new clock controller IP of a forthcoming > Intel network processor SoC. It provides programming interfaces to control > & configure all CPU & peripheral clocks. Add common clock

Re: /proc/vmcore and wrong PAGE_OFFSET

2019-08-28 Thread Donald Buczek
On 8/20/19 11:21 PM, Donald Buczek wrote: Dear Linux folks, I'm investigating a problem, that the crash utility fails to work with our crash dumps:     buczek@kreios:/mnt$ crash vmlinux crash.vmcore     crash 7.2.6     Copyright (C) 2002-2019  Red Hat, Inc.     Copyright (C) 2004, 2005,

Re: [PATCH V2 3/6] PCI: tegra: Add support to configure sideband pins

2019-08-28 Thread Andrew Murray
On Wed, Aug 28, 2019 at 06:45:02PM +0530, Vidya Sagar wrote: > Add support to configure sideband signal pins when information is present > in respective controller's device-tree node. > > Signed-off-by: Vidya Sagar > --- > V2: > * Addressed review comment from Andrew Murray > * Handled failure

Re: cleanup the walk_page_range interface v2

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:19:52PM +0200, Christoph Hellwig wrote: > Hi all, > > this series is based on a patch from Linus to split the callbacks > passed to walk_page_range and walk_page_vma into a separate structure > that can be marked const, with various cleanups from me on top. > > This

Re: [PATCH v2 0/2] ASoC: meson: axg-tdm-formatter: add g12a reset

2019-08-28 Thread Kevin Hilman
Jerome Brunet writes: > This patchset add the possibility to provide a reset to the tdm formatter. > Such reset is available on the g12a SoC family and helps solve a random > channel output shift when using more than one output lane. > > Changes since v1 [0]: > - Rebased on kevin's tree Queued

Re: [PATCH 2/3] pagewalk: separate function pointers from iterator data

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:19:54PM +0200, Christoph Hellwig wrote: > @@ -2546,7 +2542,7 @@ int s390_enable_sie(void) > mm->context.has_pgste = 1; > /* split thp mappings and disable thp for future mappings */ > thp_split_mm(mm); > - zap_zero_pages(mm); > +

Re: [PATCH 0/2] arm64: dts: meson: g12a: add tdm resets

2019-08-28 Thread Kevin Hilman
Jerome Brunet writes: > On Tue 27 Aug 2019 at 16:42, Kevin Hilman wrote: > >> Jerome Brunet writes: >> >>> This patchset adds the dedicated reset of the tdm formatters which >>> have been added on the g12a SoC family. Using these help with the channel >>> mapping when the formatter uses more

Re: [PATCH -v2 0/5] Further sanitize INTEL_FAM6 naming

2019-08-28 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Aug 28, 2019 at 11:33:01AM +0200, Peter Zijlstra wrote: > > On Tue, Aug 27, 2019 at 11:51:35PM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 27, 2019 at 08:44:23PM +, Luck, Tony wrote: > > > > > I'm reposting because the version Ingo applied and partially

Re: [PATCH 03/15] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-08-28 Thread Vincent Guittot
On Wed, 28 Aug 2019 at 16:48, Rik van Riel wrote: > > On Wed, 2019-08-28 at 15:50 +0200, Vincent Guittot wrote: > > Hi Rik, > > > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > > The runnable_load magic is used to quickly propagate information > > > about > > > runnable tasks up the

Re: [PATCH V1 3/6] USB: serial: f81232: Add generator for F81534A

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:13AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81534A series is contains 1 HUB / 1 GPIO device / n UARTs, > but the UART is default disable and need enabled by GPIO device(2c42/16F8). > When F81534A plug to host, we can only see 1 HUB & 1 GPIO device, add >

KASAN: slab-out-of-bounds Write in usb_hcd_poll_rh_status

2019-08-28 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a55aa89a Linux 5.3-rc6 git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12899ca260 kernel config: https://syzkaller.appspot.com/x/.config?x=2a6a2b9826fdadf9 dashboard link:

[RFC] ARM: omap3: Enable HWMODS for HW Random Number Generator

2019-08-28 Thread Adam Ford
The datasheet for the AM3517 shows the RNG is connected to L4. It shows the module address for the RNG is 0x480A, and it matches the omap2.dtsi description. Since the driver can support omap2 and omap4, it seems reasonable to assume the omap3 would use the same core for the RNG. This RFC,

Re: [PATCH V1 2/6] USB: serial: f81232: Force F81534A with RS232 mode

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:12AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Force F81534A series UARTs with RS232 mode in port_probe(). Please expand on why you need this here. > Signed-off-by: Ji-Ze Hong (Peter Hong) > --- > drivers/usb/serial/f81232.c | 15 +++ > 1 file changed,

Re: [PATCH V1 1/6] USB: serial: f81232: Add F81534A support

2019-08-28 Thread Johan Hovold
On Thu, Jun 06, 2019 at 10:54:11AM +0800, Ji-Ze Hong (Peter Hong) wrote: > The Fintek F81532A/534A/535/536 is USB-to-2/4/8/12 serial ports device. > It's most same with F81232, the UART device is difference as follow: > 1. TX/RX bulk size is 128/512bytes > 2. RX bulk layout change: >

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Wed, Aug 28, 2019 at 11:48:58AM -0300, Marcelo Tosatti wrote: > On Tue, Aug 27, 2019 at 08:43:13AM +0800, Wanpeng Li wrote: > > > > kvm adaptive halt-polling will compete with > > > > vhost-kthreads, however, poll in guest unaware other runnable tasks in > > > > the host which will defeat

Re: objtool warning "uses BP as a scratch register" with clang-9

2019-08-28 Thread Josh Poimboeuf
On Wed, Aug 28, 2019 at 11:00:04AM +0200, Arnd Bergmann wrote: > On Tue, Aug 27, 2019 at 11:22 PM 'Nick Desaulniers' via Clang Built > Linux wrote: > > On Tue, Aug 27, 2019 at 12:47 PM Arnd Bergmann wrote: > > > On Tue, Aug 27, 2019 at 9:23 PM Josh Poimboeuf > > > wrote: > > > > On Tue, Aug

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Tue, Aug 27, 2019 at 08:43:13AM +0800, Wanpeng Li wrote: > > > kvm adaptive halt-polling will compete with > > > vhost-kthreads, however, poll in guest unaware other runnable tasks in > > > the host which will defeat vhost-kthreads. > > > > It depends on how much work vhost-kthreads needs to

Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature

2019-08-28 Thread Tejun Heo
On Wed, Aug 28, 2019 at 04:31:23PM +0900, Namhyung Kim wrote: > @@ -958,6 +958,7 @@ struct perf_sample_data { > u64 stack_user_size; > > u64 phys_addr; > + u64 cgroup; Ditto, please use fhandle

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:47:28PM +0200, Christoph Hellwig wrote: > On Wed, Aug 28, 2019 at 02:40:25PM +, Jason Gunthorpe wrote: > > EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); > > > > elixir suggest this is not called outside mm/ either? > > Yes, it seems like that one should go

Re: [PATCH 1/9] perf/core: Add PERF_RECORD_CGROUP event

2019-08-28 Thread Tejun Heo
Hello, Namhyung. On Wed, Aug 28, 2019 at 04:31:22PM +0900, Namhyung Kim wrote: > + * struct { > + * struct perf_event_headerheader; > + * u64 ino; > + * u64 path_len; > + * char

Re: [PATCH 03/15] sched,fair: redefine runnable_load_avg as the sum of task_h_load

2019-08-28 Thread Rik van Riel
On Wed, 2019-08-28 at 15:50 +0200, Vincent Guittot wrote: > Hi Rik, > > On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > The runnable_load magic is used to quickly propagate information > > about > > runnable tasks up the hierarchy of runqueues. The runnable_load_avg > > is > > mostly used

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Christoph Hellwig
On Wed, Aug 28, 2019 at 02:40:25PM +, Jason Gunthorpe wrote: > EXPORT_SYMBOL_GPL(__mmu_notifier_invalidate_range); > > elixir suggest this is not called outside mm/ either? Yes, it seems like that one should go away as well.

Re: [v2 PATCH -mm] mm: account deferred split THPs into MemAvailable

2019-08-28 Thread Kirill A. Shutemov
On Wed, Aug 28, 2019 at 02:12:53PM +, Michal Hocko wrote: > On Wed 28-08-19 17:03:29, Kirill A. Shutemov wrote: > > On Wed, Aug 28, 2019 at 09:57:08AM +0200, Michal Hocko wrote: > > > On Tue 27-08-19 10:06:20, Yang Shi wrote: > > > > > > > > > > > > On 8/27/19 5:59 AM, Kirill A. Shutemov

Re: [PATCH] sefltest/ima: support appended signatures (modsig)

2019-08-28 Thread shuah
Hi Mimi, On 8/28/19 6:39 AM, Mimi Zohar wrote: Detect and allow appended signatures. Can you please add a couple of more sentences on the feature and what happens without it? I know this is a test for the feature, however, it will be useful for users and testers to know more about this test

Re: Alps touchpad generates IRQ storm after S3

2019-08-28 Thread Kai-Heng Feng
Hi Mario, at 21:25, wrote: KH, Just make sure I understand details. Commit "HID: i2c-hid: Don't reset device upon system resume If you revert this it's fixed on this system? Yes. Once reset is used instead of the issue is gone. In that commit you had mentioned if this causes

Re: [PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 20:57:48 +1000 Nicholas Piggin wrote: > Michal Suchanek's on August 28, 2019 8:30 pm: > > With endian switch disabled by default the ppc64le compat supports > > ppc32le only which is something next to nobody has binaries for. > > > > Less code means less bugs so drop the

Re: [PATCH] mm: remove the __mmu_notifier_invalidate_range_start/end exports

2019-08-28 Thread Jason Gunthorpe
On Wed, Aug 28, 2019 at 04:21:09PM +0200, Christoph Hellwig wrote: > Bo modular code uses these, which makes a lot of sense given the > wrappers around them are only called by core mm code. /Bo/No/ > Also remove the recently added __mmu_notifier_invalidate_range_start_map > export for which the

Re: [PATCH] csky: use generic free_initrd_mem()

2019-08-28 Thread Mike Rapoport
Hi, On Wed, Aug 28, 2019 at 10:12:52PM +0800, Guo Ren wrote: > Acked-by: Guo Ren Do you mind taking it via csky tree? > On Wed, Aug 28, 2019 at 9:35 PM Mike Rapoport wrote: > > > > The csky implementation of free_initrd_mem() is an open-coded version of > > free_reserved_area() without

Re: [PATCH] cpuidle-haltpoll: Enable kvm guest polling when dedicated physical CPUs are available

2019-08-28 Thread Marcelo Tosatti
On Wed, Aug 28, 2019 at 10:45:44AM +0200, Rafael J. Wysocki wrote: > On Wed, Aug 28, 2019 at 10:34 AM Wanpeng Li wrote: > > > > On Tue, 27 Aug 2019 at 08:43, Wanpeng Li wrote: > > > > > > Cc Michael S. Tsirkin, > > > On Tue, 27 Aug 2019 at 04:42, Marcelo Tosatti wrote: > > > > > > > > On Tue,

Re: [PATCH v2 0/4] Disable compat cruft on ppc64le v2

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 13:08:48 + Christophe Leroy wrote: > On 08/28/2019 10:30 AM, Michal Suchanek wrote: > > With endian switch disabled by default the ppc64le compat supports > > ppc32le only which is something next to nobody has binaries for. > > > > Less code means less bugs so drop the

Re: [PATCH 2/2] perf top: Fix event group with more than two events

2019-08-28 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 28, 2019 at 08:15:55AM +0900, Namhyung Kim escreveu: > The event group feature links relevant hist entries among events so > that they can be displayed together. During the link process, each > hist entry in non-leader events is connected to a hist entry in the > leader event. This

[patch 2/2] x86/mm/pti: Do not invoke PTI functions when PTI is disabled

2019-08-28 Thread Thomas Gleixner
When PTI is disabled at boot time either because the CPU is not affected or PTI has been disabled on the command line, the boot code still calls into pti_finalize() which then unconditionally invokes: pti_clone_entry_text() pti_clone_kernel_text() pti_clone_kernel_text() was called

[patch 0/2] x86/mm/pti: Robustness updates

2019-08-28 Thread Thomas Gleixner
Following up on the discussions around the patch Song submitted to 'cure' a iTLB related performance regression, I picked up Song's patch which makes clone_page_tables() more robust by handling unaligned addresses proper and added one which prevents calling into the PTI code when PTI is enabled

[patch 1/2] x86/mm/pti: Handle unaligned address gracefully in pti_clone_pagetable()

2019-08-28 Thread Thomas Gleixner
From: Song Liu pti_clone_pmds() assumes that the supplied address is either: - properly PUD/PMD aligned or - the address is actually mapped which means that independent of the mapping level (PUD/PMD/PTE) the next higher mapping exist. If that's not the case the unaligned address can be

Re: [PATCH v2 3/4] powerpc/64: make buildable without CONFIG_COMPAT

2019-08-28 Thread Michal Suchánek
On Wed, 28 Aug 2019 14:49:16 +0200 Christophe Leroy wrote: > Le 28/08/2019 à 12:30, Michal Suchanek a écrit : > > There are numerous references to 32bit functions in generic and 64bit > > code so ifdef them out. > > As far as possible, avoid opting things out with ifdefs. Ref >

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