Re: [PATCH v7 03/15] sched/core: uclamp: Add system default clamps

2019-03-15 Thread Patrick Bellasi
On 13-Mar 21:10, Peter Zijlstra wrote: > On Wed, Mar 13, 2019 at 05:09:40PM +, Patrick Bellasi wrote: > > > Yes, that should be possible... will look into splitting this out in > > v8 to have something like: > > > > ---8<--- > > struct uclamp_req { > > /* Clamp value "requested" by a

Re: [PATCH v5 1/7] s390: ap: kvm: add PQAP interception for AQIC

2019-03-15 Thread Cornelia Huck
On Fri, 15 Mar 2019 14:26:34 +0100 Pierre Morel wrote: > Conclusion: we must handle this in userland, it will have the benefit > to keep old behavior when there is no callback. > OLD QEMU will not see change as they will not set aqic facility > NEW QEMU will handle this correctly. > > In this

[PATCH] platform/x86: touchscreen_dmi: Add info for Myria MY8307 2-in-1

2019-03-15 Thread Gabriel Lazar
Add touchscreen platform data for the Myrya MY8307 2-in-1 laptop. Signed-off-by: Gabriel Lazar --- drivers/platform/x86/touchscreen_dmi.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c

RE: [PATCH 2/2] ARM: imx: mach-imx7ulp: warn when imx_soc_device_init fail

2019-03-15 Thread Aisheng Dong
[...] > > > Follow other i.MX6/7 machince code to check return value of > > > imx_soc_device_init and warn when fail. > > > > > > Also drop of_platform_default_populate, because > > > "arch_initcall_sync(of_platform_default_populate_init);" could be > > > used to populate the device tree. > > > >

RE: [PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate

2019-03-15 Thread Aisheng Dong
[...] > > Originally devices are registered in arch_initcall. Now it will be a > > bit later in arch_initcall_sync and this may cause a bit risk if the > > code under the default_populate want to access the device service provided > by early probe. > > > > Probably it's more safe to leave as it

Re: [RFC] simple_lmk: Introduce Simple Low Memory Killer for Android

2019-03-15 Thread Joel Fernandes
On Thu, Mar 14, 2019 at 09:36:43PM -0700, Daniel Colascione wrote: [snip] > > If you can solve this with an ebpf program, I > > strongly suggest you do that instead. > > Regarding process death notification: I will absolutely not support > putting aBPF and perf trace events on the critical path

Re: [PATCH] rcu: Allow to eliminate softirq processing from rcutree

2019-03-15 Thread Steven Rostedt
On Fri, 15 Mar 2019 12:11:30 +0100 Sebastian Andrzej Siewior wrote: > +static void rcu_cpu_kthread_park(unsigned int cpu) > +{ Should we add one of the trace_rcu_.. trace events here? -- Steve > + per_cpu(rcu_cpu_kthread_status, cpu) = RCU_KTHREAD_OFFCPU; > +} > +

Re: [PATCH v1 0/3] perf: Support a new coresum event qualifier

2019-03-15 Thread Jiri Olsa
On Sat, Mar 16, 2019 at 12:04:13AM +0800, Jin Yao wrote: > The coresum event qualifier which sums up the event counts for both > hardware threads in a core. For example, > > perf stat -e cpu/event=0,umask=0x3,coresum=1/,cpu/event=0,umask=0x3/ > > In this example, we count the event 'ref-cycles'

Re: [PATCH v1 2/3] perf stat: Support coresum event qualifier

2019-03-15 Thread Jiri Olsa
On Sat, Mar 16, 2019 at 12:04:15AM +0800, Jin Yao wrote: SNIP > +static void print_counter_aggrdata(struct perf_stat_config *config, > +struct perf_evsel *counter, int s, > +char *prefix, bool metric_only, > +

RE: [PATCH] dt-bindings: clock: imx8mq: Fix numbering overlaps and gaps

2019-03-15 Thread Aisheng Dong
> From: Stephen Boyd [mailto:sb...@kernel.org] > > Quoting Patrick Wildt (2019-03-12 00:36:54) > > On Fri, Mar 08, 2019 at 07:29:05AM -0800, Stephen Boyd wrote: > > > It's mostly about making sure that any existing dtbs don't have > > > their numbers shifted around. So hopefully any overlapping >

Re: [PATCH] sched/fair: Limit sched_cfs_period_timer loop to avoid hard lockup

2019-03-15 Thread Phil Auld
On Fri, Mar 15, 2019 at 11:11:50AM +0100 Peter Zijlstra wrote: > On Wed, Mar 13, 2019 at 11:08:26AM -0400, Phil Auld wrote: > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 310d0637fe4b..90cc67bbf592 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@

Re: [PATCH v5 2/7] s390: ap: new vfio_ap_queue structure

2019-03-15 Thread Pierre Morel
On 15/03/2019 11:33, Cornelia Huck wrote: On Wed, 13 Mar 2019 17:04:59 +0100 Pierre Morel wrote: diff --git a/drivers/s390/crypto/vfio_ap_drv.c b/drivers/s390/crypto/vfio_ap_drv.c index e9824c3..df6f21a 100644 --- a/drivers/s390/crypto/vfio_ap_drv.c +++ b/drivers/s390/crypto/vfio_ap_drv.c @@

Re: [PATCH v5 1/7] s390: ap: kvm: add PQAP interception for AQIC

2019-03-15 Thread Pierre Morel
On 15/03/2019 11:20, Cornelia Huck wrote: On Wed, 13 Mar 2019 17:04:58 +0100 Pierre Morel wrote: +/* + * handle_pqap: Handling pqap interception + * @vcpu: the vcpu having issue the pqap instruction + * + * We now support PQAP/AQIC instructions and we need to correctly + * answer the guest

[PATCH v3] perf annotate/report: Remove hist__account_cycles from callback

2019-03-15 Thread Jin Yao
The hist__account_cycles is executed when the hist_iter__branch_callback is called. But it looks it's not necessary. In hist__account_cycles, it already walks on all branch entries. This patch moves the hist__account_cycles out of callback, now the data processing is much faster than before.

Re: [PATCH v2] perf annotate/report: Remove hist__account_cycles from callback

2019-03-15 Thread Jin, Yao
On 3/15/2019 8:54 PM, Jiri Olsa wrote: On Fri, Mar 15, 2019 at 09:46:01PM +0800, Jin Yao wrote: The hist__account_cycles is executed when the hist_iter__branch_callback is called. But it looks it's not necessary. In hist__account_cycles, it already walks on all branch entries. This patch

Staging status of speakup

2019-03-15 Thread Okash Khawaja
Hi, We have made progress on the items in TODO file of speakup driver in staging directory and wanted to get some clarity on the remaining items. Below is a summary of status of each item along with the quotes from TODO file. 1. "The first issue has to do with the way speakup communicates with

RE: [PATCH 2/2] ARM: imx: mach-imx7ulp: warn when imx_soc_device_init fail

2019-03-15 Thread Peng Fan
> -Original Message- > From: Aisheng Dong > Sent: 2019年3月15日 18:22 > To: Peng Fan ; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > dl-linux-imx ; Anson Huang ; > a...@arndb.de; linux-arm-ker...@lists.infradead.org; >

Re: fs_context-related oops in mainline

2019-03-15 Thread Dominik Brodowski
On Fri, Mar 15, 2019 at 12:18:13PM +, Al Viro wrote: > On Fri, Mar 15, 2019 at 12:50:02PM +0100, Dominik Brodowski wrote: > > On Fri, Mar 15, 2019 at 11:44:45AM +, David Howells wrote: > > > Dominik Brodowski wrote: > > > > > > > [0.839322] RIP: 0010:sysfs_init_fs_context+0x82/0xd0 >

Re: [PATCH 4/5] lib/list_sort: Simplify and remove MAX_LIST_LENGTH_BITS

2019-03-15 Thread Geert Uytterhoeven
Hi George, On Fri, Mar 15, 2019 at 11:23 AM George Spelvin wrote: > On Fri, 15 Mar 2019 at 09:20:58 +0100, Geert Uytterhoeven wrote: > > On Fri, Mar 15, 2019 at 5:33 AM George Spelvin wrote: > >> On Thu, 14 Mar 2019 at 11:10:41 +0200, Andy Shevchenko wrote: > >>> On Tue, Mar 05, 2019 at

RE: [PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate

2019-03-15 Thread Peng Fan
Hi Aisheng, > -Original Message- > From: Aisheng Dong > Sent: 2019年3月15日 18:17 > To: Peng Fan ; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com; > dl-linux-imx ; Anson Huang ; > a...@arndb.de; linux-arm-ker...@lists.infradead.org; >

Re: [PATCH v2] perf annotate/report: Remove hist__account_cycles from callback

2019-03-15 Thread Jiri Olsa
On Fri, Mar 15, 2019 at 09:46:01PM +0800, Jin Yao wrote: > The hist__account_cycles is executed when the hist_iter__branch_callback > is called. But it looks it's not necessary. In hist__account_cycles, it > already walks on all branch entries. > > This patch moves the hist__account_cycles out of

Re: [PATCH] mm: Fix __dump_page when mapping->host is not set

2019-03-15 Thread Michal Hocko
[Cc Jack and Hugh - the full patch is http://lkml.kernel.org/r/20190315121826.23609-1-osalva...@suse.de] On Fri 15-03-19 13:18:26, Oscar Salvador wrote: > While debugging something, I added a dump_page() into do_swap_page(), > and I got the splat from below. > The issue happens when

RE: [PATCH 2/2] cifs: don't use __constant_cpu_to_le32()

2019-03-15 Thread David Laight
From: Sergey Senozhatsky > > cpu_to_le32() is capable enough to detect __builtin_constant_p() > and to use an appropriate compile time ___constant_swahb32() > function. > > So we can use cpu_to_le32() instead of __constant_cpu_to_le32(). Unless any code tries to use them as case statement

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-15 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 02:43:07PM +0530, Viresh Kumar wrote: > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > index 3fae23834069..cff8779fc0d2 100644 > --- a/arch/x86/kernel/tsc.c > +++ b/arch/x86/kernel/tsc.c > @@ -956,28 +956,38 @@ static int time_cpufreq_notifier(struct

Re: [PATCH v8 00/12] perf: enable compression of record mode trace to save storage space

2019-03-15 Thread Jiri Olsa
On Thu, Mar 14, 2019 at 02:26:23PM +0300, Alexey Budankov wrote: > > The patch set implements runtime trace compression (-z option) in > record mode and trace auto decompression in report and inject modes. > Streaming Zstd API [1] is used for compression and decompression of > data that come

[RESEND PATCH] Make Fujitsu Erratum 010001 patch can be applied on A64FX v1r0

2019-03-15 Thread Okamoto, Takayuki
I resend the patch due to whitespace munging. > -Original Message- > From: James Morse > Sent: Wednesday, February 27, 2019 3:44 AM > To: james.mo...@arm.com; linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org; Catalin Marinas > ; Mark Rutland ; Will > Deacon ;

[PATCH] mm: Fix __dump_page when mapping->host is not set

2019-03-15 Thread Oscar Salvador
While debugging something, I added a dump_page() into do_swap_page(), and I got the splat from below. The issue happens when dereferencing mapping->host in __dump_page(): ... else if (mapping) { pr_warn("%ps ", mapping->a_ops); if (mapping->host->i_dentry.first) {

Re: fs_context-related oops in mainline

2019-03-15 Thread Al Viro
On Fri, Mar 15, 2019 at 12:50:02PM +0100, Dominik Brodowski wrote: > On Fri, Mar 15, 2019 at 11:44:45AM +, David Howells wrote: > > Dominik Brodowski wrote: > > > > > [0.839322] RIP: 0010:sysfs_init_fs_context+0x82/0xd0 > > > > Could you load your kernel into gdb and then do: > > > >

[tip:perf/urgent] perf/x86: Fixup typo in stub functions

2019-03-15 Thread tip-bot for Peter Zijlstra
Commit-ID: f764c58b7faa26f5714e6907f892abc2bc0de4f8 Gitweb: https://git.kernel.org/tip/f764c58b7faa26f5714e6907f892abc2bc0de4f8 Author: Peter Zijlstra AuthorDate: Fri, 15 Mar 2019 09:14:10 +0100 Committer: Ingo Molnar CommitDate: Fri, 15 Mar 2019 13:12:42 +0100 perf/x86: Fixup typo in

[PATCH] perf tools: Move precise_ip detection into perf_evsel__open

2019-03-15 Thread Jiri Olsa
On Thu, Mar 14, 2019 at 08:49:11AM -0700, Andi Kleen wrote: > > > Still seems like a hack. Even though I don't know of a case that > > > would break now. But it would be better to have the precise probing > > > in the open retry loop, instead of trying to reinvent it here. > > > > how about

Re: disabling secondary CPU hangs / system fails to suspend with kernel 4.19+

2019-03-15 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 12:41:00PM +0100, Thomas Müller wrote: > > What .config do you have? > The one packaged by Fedora. I've attached the one for 4.20.15 as reference. Thanks, I'll have a poke, see what, if anything, is different from the kernels I ran. > > And what, if anything do you see

Re: [RFC PATCH 2/2] x86/perf/amd: Resolve NMI latency issues when multiple PMCs are active

2019-03-15 Thread Peter Zijlstra
On Mon, Mar 11, 2019 at 04:48:51PM +, Lendacky, Thomas wrote: > @@ -467,6 +470,45 @@ static void amd_pmu_wait_on_overflow(int idx, u64 config) > } > } > > +/* > + * Because of NMI latency, if multiple PMC counters are active we need to > take > + * into account that multiple PMC

Re: [PATCH v9 0/2] PWM support for HiFive Unleashed

2019-03-15 Thread Yash Shah
On Tue, Mar 12, 2019 at 3:44 PM Andreas Schwab wrote: > > On Mär 12 2019, Yash Shah wrote: > > > This patch series adds a PWM driver and DT documentation > > for HiFive Unleashed board. The patches are mostly based on > > Wesley's patch. > > Heartbeat trigger still doesn't work for me. You need

Re: fs_context-related oops in mainline

2019-03-15 Thread Dominik Brodowski
On Fri, Mar 15, 2019 at 11:44:45AM +, David Howells wrote: > Dominik Brodowski wrote: > > > [0.839322] RIP: 0010:sysfs_init_fs_context+0x82/0xd0 > > Could you load your kernel into gdb and then do: > > i li *sysfs_init_fs_context+0x82 Doesn't seem necessary as per my mail to Al

Re: fs_context-related oops in mainline

2019-03-15 Thread Dominik Brodowski
On Fri, Mar 15, 2019 at 11:34:47AM +, Al Viro wrote: > On Fri, Mar 15, 2019 at 08:43:07AM +0100, Dominik Brodowski wrote: > > David, Al, > > > > commit 23bf1b6be9c2 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") > > seems to have introduced a bug; at least that's the commit I

Re: fs_context-related oops in mainline

2019-03-15 Thread David Howells
Dominik Brodowski wrote: > [0.839322] RIP: 0010:sysfs_init_fs_context+0x82/0xd0 Could you load your kernel into gdb and then do: i li *sysfs_init_fs_context+0x82 David

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Re: [PATCH] dt-bindings: Add YAML description for Allwinner boards

2019-03-15 Thread Chen-Yu Tsai
On Fri, Mar 15, 2019 at 5:37 PM Maxime Ripard wrote: > > We've never had a board compatibles documentation for the Allwinner boards > so far. > > Let's create a json-schema for them. > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/arm/sunxi.yaml| 792 ++

Re: fs_context-related oops in mainline

2019-03-15 Thread Al Viro
On Fri, Mar 15, 2019 at 08:43:07AM +0100, Dominik Brodowski wrote: > David, Al, > > commit 23bf1b6be9c2 ("kernfs, sysfs, cgroup, intel_rdt: Support fs_context") > seems to have introduced a bug; at least that's the commit I bisected the > following oops down to: > This occurs while trying to

[tip:perf/urgent] perf/x86/intel: Fix memory corruption

2019-03-15 Thread tip-bot for Peter Zijlstra
Commit-ID: ede271b059463731cbd6dffe55ffd70d7dbe8392 Gitweb: https://git.kernel.org/tip/ede271b059463731cbd6dffe55ffd70d7dbe8392 Author: Peter Zijlstra AuthorDate: Thu, 14 Mar 2019 14:01:14 +0100 Committer: Thomas Gleixner CommitDate: Fri, 15 Mar 2019 12:22:51 +0100 perf/x86/intel: Fix

[PATCH 2/2] staging: iio: adc: ad7192: Convert platform data to DT properties

2019-03-15 Thread Mircea Caprioru
This patch will remove platform data members and replace them with device tree properties. These properties will be subject to further modifications and probably replaced with other functionalities at some point in time. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 33

[PATCH 1/2] staging: iio: adc: ad7192: Use DT clock binding

2019-03-15 Thread Mircea Caprioru
This patch replaces the platform data clock select member with DT clock binding. Through the DT the external clock binding is specified. If this is not provided then the device will use the internal clock source. With the external clock binding there is the option to use a clock or a crystal as

Re: [PATCH v2] ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286

2019-03-15 Thread Takashi Iwai
On Fri, 15 Mar 2019 10:51:09 +0100, Jian-Hong Pan wrote: > > Some Acer AIO desktops like Veriton Z6860G, Z4860G and Z4660G cannot > record sound from headset MIC. This patch adds the > ALC286_FIXUP_ACER_AIO_HEADSET_MIC quirk to fix this issue. > > Signed-off-by: Jian-Hong Pan > --- > v2:

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

[PATCH 1/2] staging: iio: adc: ad7192: Fix identation

2019-03-15 Thread Mircea Caprioru
This patch fixes the odd indentation inside function ad7192_calibrate_all. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c index

[PATCH 2/2] staging: iio: adc: ad7192: Report error directly in ad7192_setup

2019-03-15 Thread Mircea Caprioru
This patch removes the goto out statement thus ensuring that an error is report as soon as it occurs. This gives more information and improves readability. Signed-off-by: Mircea Caprioru --- drivers/staging/iio/adc/ad7192.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-)

[PATCH] rcu: Allow to eliminate softirq processing from rcutree

2019-03-15 Thread Sebastian Andrzej Siewior
From: "Paul E. McKenney" Running RCU out of softirq is a problem for some workloads that would like to manage RCU core processing independently of other softirq work, for example, setting kthread priority. This commit therefore introduces the `rcunosoftirq' option which moves the RCU core work

[PATCH] ceph: Fix a memory leak in ci->i_head_snapc

2019-03-15 Thread Luis Henriques
I'm occasionally seeing a kmemleak warning in xfstest generic/013: unreferenced object 0x8881fccca940 (size 32): comm "kworker/0:1", pid 12, jiffies 4295005883 (age 130.648s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00

Opportunistic S0ix blocked by e1000e when ethernet is in use

2019-03-15 Thread Kai-Heng Feng
Hi Jeffrey, There are several platforms that uses e1000e can’t enter Opportunistic S0ix (PC10) when the ethernet has a link partner. This behavior also exits in out-of-tree e1000e driver 3.4.2.1, but seems like 3.4.2.3 fixes the issue. A quick diff between the two versions shows that

RE: [PATCH V4 3/4] arm64: dts: freescale: imx8qxp: enable scu general irq channel

2019-03-15 Thread Aisheng Dong
> From: Anson Huang > > On i.MX8QXP, SCU uses MU1 general interrupt channel #3 to notify user for > IRQs of RTC alarm, thermal alarm and WDOG etc., mailbox RX doorbell mode is > used for this function, this patch adds support for it. > > Signed-off-by: Anson Huang > --- > Changes since V3: >

Re: WARN ON at kernel/sched/deadline.c task_non_contending

2019-03-15 Thread luca abeni
Hi, On Fri, 15 Mar 2019 08:43:00 +0800 "chengjian (D)" wrote: [...] > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > index 6a73e41a2016..43901fa3f269 100644 > > --- a/kernel/sched/deadline.c > > +++ b/kernel/sched/deadline.c > > @@ -252,7 +252,6 @@ static void

RE: [PATCH V4 2/4] firmware: imx: enable imx scu general irq function

2019-03-15 Thread Aisheng Dong
> From: Anson Huang > > The System Controller Firmware (SCFW) controls RTC, thermal and WDOG etc., > these resources' interrupt function are managed by SCU. When any IRQ > pending, SCU will notify Linux via MU general interrupt channel #3, and Linux > kernel needs to call SCU APIs to get IRQ

[PULL REQUEST] i2c for 5.1

2019-03-15 Thread Wolfram Sang
Linus, I2C has a set of driver bugfixes and an improvement for a core helper which would be nice to have in your tree before rc1. Please pull. Thanks, Wolfram The following changes since commit ea295481b6e313b4ea3ca2720ffcafd6005b5643: Merge tag 'xarray-5.1-rc1' of

Re: [RFC PATCH] printk: Introduce "store now but print later" prefix.

2019-03-15 Thread Tetsuo Handa
On 2019/03/07 3:24, Tetsuo Handa wrote: > On 2019/03/06 19:04, Petr Mladek wrote: > I'm planning to allow any shared functions which can be called from e.g. > warn_alloc(), out_of_memory(), SysRq-t by allowing such shared functions > to accept loglevel argument. Calvin Owens is proposing "printk:

Re: [RFC PATCH 1/2] x86/perf/amd: Resolve race condition when disabling PMC

2019-03-15 Thread Peter Zijlstra
On Mon, Mar 11, 2019 at 04:48:44PM +, Lendacky, Thomas wrote: > On AMD processors, the detection of an overflowed counter in the NMI > handler relies on the current value of the counter. So, for example, to > check for overflow on a 48 bit counter, bit 47 is checked to see if it > is 1 (not

RE: [PATCH V4 1/4] dt-bindings: fsl: scu: add general interrupt support

2019-03-15 Thread Aisheng Dong
> From: Anson Huang > > Add scu general interrupt function support. > > Signed-off-by: Anson Huang > Reviewed-by: Rob Herring Reviewed-by: Dong Aisheng Regards Dong Aisheng

Re: [PATCH] sched/fair: Limit sched_cfs_period_timer loop to avoid hard lockup

2019-03-15 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 11:11:50AM +0100, Peter Zijlstra wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index ea74d43924b2..b71557be6b42 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -4885,6 +4885,8 @@ static enum hrtimer_restart >

Re: [PATCH v5 2/7] s390: ap: new vfio_ap_queue structure

2019-03-15 Thread Cornelia Huck
On Wed, 13 Mar 2019 17:04:59 +0100 Pierre Morel wrote: > diff --git a/drivers/s390/crypto/vfio_ap_drv.c > b/drivers/s390/crypto/vfio_ap_drv.c > index e9824c3..df6f21a 100644 > --- a/drivers/s390/crypto/vfio_ap_drv.c > +++ b/drivers/s390/crypto/vfio_ap_drv.c > @@ -40,14 +40,42 @@ static struct

[GIT PULL] sound fixes for 5.1-rc1

2019-03-15 Thread Takashi Iwai
Linus, please pull sound fixes for v5.1-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-fix-5.1-rc1 The topmost commit is da484d00f020af3dd7cfcc6c4b69a7f856832883 sound fixes for 5.1-rc1

Re: [PATCH 4/5] lib/list_sort: Simplify and remove MAX_LIST_LENGTH_BITS

2019-03-15 Thread George Spelvin
On Fri, 15 Mar 2019 at 09:20:58 +0100, Geert Uytterhoeven wrote: > On Fri, Mar 15, 2019 at 5:33 AM George Spelvin wrote: >> On Thu, 14 Mar 2019 at 11:10:41 +0200, Andy Shevchenko wrote: >>> On Tue, Mar 05, 2019 at 03:06:44AM +, George Spelvin wrote: +for (bit = 1; count &

RE: [PATCH] arm64: dts: imx8qxp: fix mbox-cells

2019-03-15 Thread Aisheng Dong
> From: Peng Fan > > Subject: [PATCH] arm64: dts: imx8qxp: fix mbox-cells > > Currently lsio_mu1 is used by Linux Kernel with mbox-cells as 2, but actually > mu0-4 could be used to communicate with SCU. So fix the mbox-cells. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Dong

RE: [PATCH] arm64: dts: imx8qxp: add lsio_mu2 node

2019-03-15 Thread Aisheng Dong
> From: Peng Fan > > Add lsio_mu2 node which could be used communicate with SCU. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Dong Aisheng > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 8 > 1 file changed, 8 insertions(+) > > diff --git

Re: [RFC PATCH] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

2019-03-15 Thread Julien Grall
On 15/03/2019 10:06, Dave Martin wrote: On Thu, Mar 14, 2019 at 06:07:19PM +, Julien Grall wrote: Hi Sebastian, On 3/4/19 5:25 PM, Sebastian Andrzej Siewior wrote: [...] It would increase the softirq latency but the question is how bad would it be. It would continue once the SIMD

RE: [PATCH 2/2] ARM: imx: mach-imx7ulp: warn when imx_soc_device_init fail

2019-03-15 Thread Aisheng Dong
> From: Peng Fan > > [PATCH 2/2] ARM: imx: mach-imx7ulp: warn when imx_soc_device_init fail ARM: imx: imx7ulp: ... > Follow other i.MX6/7 machince code to check return value of > imx_soc_device_init and warn when fail. > > Also drop of_platform_default_populate, because >

Re: [PATCH v5 1/7] s390: ap: kvm: add PQAP interception for AQIC

2019-03-15 Thread Cornelia Huck
On Wed, 13 Mar 2019 17:04:58 +0100 Pierre Morel wrote: > +/* > + * handle_pqap: Handling pqap interception > + * @vcpu: the vcpu having issue the pqap instruction > + * > + * We now support PQAP/AQIC instructions and we need to correctly > + * answer the guest even if no dedicated driver's hook

RE: [PATCH 1/2] ARM: imx: drop uneccessary of_platform_default_populate

2019-03-15 Thread Aisheng Dong
> From: Peng Fan > > "arch_initcall_sync(of_platform_default_populate_init);" could be used to > populate the device tree, there is no need to call > of_platform_default_populate > in machine code. > > Tested on i.MX6Q-SDB i.MX6SL-EVK i.MX6UL-EVK board. > > Signed-off-by: Peng Fan > --- >

Re: [PATCH] sched/fair: Limit sched_cfs_period_timer loop to avoid hard lockup

2019-03-15 Thread Peter Zijlstra
On Wed, Mar 13, 2019 at 11:08:26AM -0400, Phil Auld wrote: > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 310d0637fe4b..90cc67bbf592 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -4859,19 +4859,51 @@ static enum hrtimer_restart >

Re: Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-15 Thread Pankaj Suryawanshi
[ cc Aneesh kumar, Anshuman, Hillf, Vlastimil] From: Pankaj Suryawanshi Sent: 15 March 2019 11:35:05 To: Kirill Tkhai; Michal Hocko Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org Subject: Re: Re: [External] Re: vmscan: Reclaim unevictable pages [ cc linux-mm ]

[PATCH] Respond:add support for SUNIX Multi-I/O board

2019-03-15 Thread Morris Ku
Hi Enrico, Thanks for review, my replies are inline: Signed-off-by: Morris Ku --- +From 5b1c4c8f7d91661a27c88b980c42b768e4cb7606 Mon Sep 17 00:00:00 2001 +From: Morris Ku +Date: Tue, 26 Feb 2019 17:11:48 +0800 +Subject: [PATCH 6/6] add support for SUNIX Multi-I/O board + + + + +> diff --git

[RESEND PATCH v1] moduleparam: Save information about built-in modules in separate file

2019-03-15 Thread Alexey Gladkov
Problem: When a kernel module is compiled as a separate module, some important information about the kernel module is available via .modinfo section of the module. In contrast, when the kernel module is compiled into the kernel, that information is not available. Information about built-in

[PATCH] Make Fujitsu Erratum 010001 patch can be applied on A64FX v1r0

2019-03-15 Thread Okamoto, Takayuki
Hi guys, > -Original Message- > From: James Morse > Sent: Wednesday, February 27, 2019 3:44 AM > To: james.mo...@arm.com; linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org; Catalin Marinas > ; Mark Rutland ; Will > Deacon ; Zhang, Lei > Subject: [PATCH v5] arm64:

Memory-compaction not working on Atmel SAMA5 ARM platform, kernel v4.14 and v4.20

2019-03-15 Thread Michael Haben
Hello all, Memory-compaction is not working for me on an Atmel SAMA5D2 SoC with 128Mbyte of RAM, on kernel versions 4.14.73. 4.14.88 and 4.20.0 Using "cat /proc/buddyinfo" to observe the state of memory fragmentation, and "echo 1 > /proc/sys/vm/compact_memory" to (try to) trigger

Re: [RFC PATCH] arm64/fpsimd: Don't disable softirq when touching FPSIMD/SVE state

2019-03-15 Thread Dave Martin
On Thu, Mar 14, 2019 at 06:07:19PM +, Julien Grall wrote: > Hi Sebastian, > > On 3/4/19 5:25 PM, Sebastian Andrzej Siewior wrote: [...] > >It would increase the softirq latency but the question is how bad would > >it be. It would continue once the SIMD section is done. > > On Arm, the

[PATCH] Respond:add support for SUNIX Multi-I/O board

2019-03-15 Thread Morris Ku
Hi Enrico, Thanks for review, my replies are inline: Signed-off-by: Morris Ku --- +From 5b1c4c8f7d91661a27c88b980c42b768e4cb7606 Mon Sep 17 00:00:00 2001 +From: Morris Ku +Date: Tue, 26 Feb 2019 17:11:48 +0800 +Subject: [PATCH 6/6] add support for SUNIX Multi-I/O board + + + + +> diff --git

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Re: [PATCH v2 6/8] clk: Allow parents to be specified without string names

2019-03-15 Thread Jerome Brunet
On Tue, 2019-02-26 at 14:34 -0800, Stephen Boyd wrote: > The common clk framework is lacking in ability to describe the clk > topology without specifying strings for every possible parent-child > link. There are a few drawbacks to the current approach: > > 1) String comparisons are used for

[PATCH v2] ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286

2019-03-15 Thread Jian-Hong Pan
Some Acer AIO desktops like Veriton Z6860G, Z4860G and Z4660G cannot record sound from headset MIC. This patch adds the ALC286_FIXUP_ACER_AIO_HEADSET_MIC quirk to fix this issue. Signed-off-by: Jian-Hong Pan --- v2: According to Realtek's suggestion, change the COEF 0x4f from 0xd429 to

High Latency of CMA allocation

2019-03-15 Thread Pankaj Suryawanshi
Hello, I am facing issue of high latency in CMA allocation of large size buffer . I am frequently allocating/deallocation CMA memory, but latency of allocation is very high. Below are the stat for allocation/deallocation latency issue. (389120 kB), latency 29997 us (389120 kB), latency

Re: [PATCH] EDAC, {skx|i10nm}_edac: Fix randconfig build error

2019-03-15 Thread Borislav Petkov
On Thu, Mar 14, 2019 at 02:59:52PM -0700, Luck, Tony wrote: > I made a patch based on option #3. Rough steps were: > > $ cat skx_common.c >> skx_common.h That doesn't look real clean to me. So we have fsl_ddr_edac.c which gets linked in in two drivers and I think you could librarize that

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

Verifica tu cuenta

2019-03-15 Thread Administracion de cuentas
Web Admin Notificación de correo electrónico Este mensaje se envía desde nuestro centro de mensajería de Web Admin a todos los propietarios de nuestras cuentas de correo electrónico. Estamos eliminando el acceso a todos nuestros clientes de correo web, su cuenta de correo electrónico se

[PATCH] dt-bindings: Add YAML description for Allwinner boards

2019-03-15 Thread Maxime Ripard
We've never had a board compatibles documentation for the Allwinner boards so far. Let's create a json-schema for them. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/arm/sunxi.yaml| 792 ++ 1 file changed, 792 insertions(+) create mode 100644

Re: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-15 Thread Uwe Kleine-König
On Fri, Mar 15, 2019 at 12:46:51AM +, Anson Huang wrote: > i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) > inside, add TPM PWM driver support. > > Signed-off-by: Anson Huang > --- > Changes since V3: > - use "PWM_IMX_" as macro definition prefix and "pwm_imx_" as

[PATCH] nvmem: core: Set no-read-write provider to avoid userspace read/write

2019-03-15 Thread Gaurav Kohli
Current nvmem framework allows user space to read all register space populated by nvmem binary file, In case we don't want to expose value of registers to userspace and only want kernel space to read cell value from nvmem_cell_read_u32. To protect the same, Add no-read-write property to prevent

Re: [RFC PATCH 0/3] Add support of busfreq

2019-03-15 Thread Alexandre Bailon
Hi Aisheng On 3/15/19 3:39 AM, Aisheng Dong wrote: +Jacky and Leonard, Ranjani Hi Alexandre, From: Alexandre Bailon [mailto:abai...@baylibre.com] This series implements busfreq, a framework used in MXP's tree to scale the interconnect and dram frequencies. In the vendor tree, device's

Re: [PATCH 2/2] Revert "x86/hpet: Reduce HPET counter read contention"

2019-03-15 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 10:25:29AM +0100, Peter Zijlstra wrote: > On Thu, Mar 14, 2019 at 04:42:12PM +0800, Zhenzhong Duan wrote: > > This reverts commit f99fd22e4d4bc84880a8a3117311bbf0e3a6a9dc. > > > > It's unnecessory after commit "acpi_pm: Fix bootup softlockup due to PMTMR > > counter read

Re: [PATCH] iio: adc: fix indentation issue, remove extra tab

2019-03-15 Thread Popa, Stefan Serban
On Jo, 2019-03-14 at 23:26 +, Colin King wrote: > [External] > > > From: Colin Ian King > > A return statement is indented one level too deeply; clean this > up by removing a tab. > > Signed-off-by: Colin Ian King Acked-by: Stefan Popa Thanks! > --- >  drivers/iio/adc/ad7124.c | 2 +-

Re: [PATCH 2/2] Revert "x86/hpet: Reduce HPET counter read contention"

2019-03-15 Thread Peter Zijlstra
On Thu, Mar 14, 2019 at 04:42:12PM +0800, Zhenzhong Duan wrote: > This reverts commit f99fd22e4d4bc84880a8a3117311bbf0e3a6a9dc. > > It's unnecessory after commit "acpi_pm: Fix bootup softlockup due to PMTMR > counter read contention", the simple HPET access code could be restored. > > On a

[PATCH 0/2] tty/serial: atmel: Fix RS485 half duplex operation

2019-03-15 Thread Razvan Stefanescu
Using a loopback serial cable with RS485 protocol shows that data is received: $ stty -F /dev/ttyS3 raw -echo speed 4800 $ cat /dev/ttyS3 & $ echo "Hello, world" > /dev/ttyS3 Hello, world Last line should not be displayed, as it indicates that RX was started before TX finished. This happens

[PATCH 2/2] tty/serial: atmel: RS485 HD w/DMA: enable RX after TX is stopped

2019-03-15 Thread Razvan Stefanescu
In half-duplex operation, RX should be started after TX completes. If DMA is used, there is a case when the DMA transfer completes but the TX FIFO is not emptied, so the RX cannot be restarted just yet. Use a boolean variable to store this state and rearm TX interrupt mask to be signaled again

[PATCH 1/2] tty/serial: atmel: Add is_half_duplex helper

2019-03-15 Thread Razvan Stefanescu
Use a helper function to check that a port needs to use half duplex communication, replacing several occurrences of multi-line bit checking. Signed-off-by: Razvan Stefanescu --- drivers/tty/serial/atmel_serial.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-)

[PATCH] of: property: Document that of_graph_get_endpoint_by_regs needs of_node_put

2019-03-15 Thread Maxime Ripard
The node returned by of_graph_get_endpoint_by_regs has a reference taken, and we need to put that reference back when done with the node. However, the documentation for that node doesn't mention it, so let's make sure it does. Signed-off-by: Maxime Ripard --- drivers/of/property.c | 2 +- 1

[PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-15 Thread Viresh Kumar
Currently we call these notifiers once for each CPU of the policy->cpus cpumask. It would be more optimal if the notifier can be called only once and all the relevant information be provided to it. Out of the 24 drivers that register for the transition notifiers today, only 5 of them do per-cpu

Re: [PATCH] thunderbolt: fix a missing check of kmemdup

2019-03-15 Thread Mika Westerberg
On Thu, Mar 14, 2019 at 01:55:31AM -0500, Kangjie Lu wrote: > kmemdup may fail and return NULL. The fix adds a check and returns > NULL in case it fails to avoid NULL pointer dereferecen. > > Signed-off-by: Kangjie Lu Applied, thanks!

Re: disabling secondary CPU hangs / system fails to suspend with kernel 4.19+

2019-03-15 Thread Peter Zijlstra
On Thu, Mar 14, 2019 at 04:17:28PM +0100, Thomas Müller wrote: > Hi, > > starting with kernel 4.19 my Lenovo ThinkPad X1 Carbon 5th no longer properly > suspends. > > This is 100% reproducible and git bisect points to the following commit: > > [be45bf5395e0886a93fc816bbe41a008ec2e42e2]

[PATCH 1/2] acpi_pm: Fix bootup softlockup due to PMTMR counter read contention

2019-03-15 Thread Zhenzhong Duan
During bootup stage of a large system with many CPUs, with nohpet, PMTMR is temporarily selected as the clock source which can lead to a softlockup because of the following reasons: 1) There is a single PMTMR counter shared by all the CPUs. 2) PMTMR counter reading is a very slow operation. At

Re: [PATCH] futex:fix robust futex alignment exception

2019-03-15 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 03:44:38AM +, chenj...@huawei.com wrote: > From: chen jie > [11542.215247] [] (cmpxchg_futex_value_locked) from [] > (handle_futex_death+0x78/0xcc) > [11542.215259] [] (handle_futex_death) from [] > (exit_robust_list+0x104/0x160) > [11542.215273] []

[PATCH 2/2] Revert "x86/hpet: Reduce HPET counter read contention"

2019-03-15 Thread Zhenzhong Duan
This reverts commit f99fd22e4d4bc84880a8a3117311bbf0e3a6a9dc. It's unnecessory after commit "acpi_pm: Fix bootup softlockup due to PMTMR counter read contention", the simple HPET access code could be restored. On a general system with good TSC, TSC is the final default clocksource. So the

Re: [PATCH v5 09/12] mtd: rawnand: ingenic: Make use of ecc-engine property

2019-03-15 Thread Miquel Raynal
Hi Paul, Paul Cercueil wrote on Wed, 13 Mar 2019 23:22:56 +0100: > Use the 'ecc-engine' standard property instead of the custom > 'ingenic,bch-controller' custom property, which is now deprecated. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v5: New patch > >

<    1   2   3   4   5   >