Re: [PATCH v2 3/3] mmc: sdhci_am654: Fix SLOTTYPE write

2019-05-10 Thread Adrian Hunter
On 10/05/19 6:42 AM, Faiz Abbas wrote: > In the call to regmap_update_bits() for SLOTTYPE, the mask and value > fields are exchanged. Fix this. This didn't have any affect on the > driver because this was a NOP and it was taking the correct value from > the bootloader. > > Cc: stable Except

[tip:perf/urgent] perf/x86/intel: Fix INTEL_FLAGS_EVENT_CONSTRAINT* masking

2019-05-10 Thread tip-bot for Stephane Eranian
Commit-ID: 6b89d4c1ae8596a8c9240f169ef108704de373f2 Gitweb: https://git.kernel.org/tip/6b89d4c1ae8596a8c9240f169ef108704de373f2 Author: Stephane Eranian AuthorDate: Thu, 9 May 2019 14:45:56 -0700 Committer: Ingo Molnar CommitDate: Fri, 10 May 2019 08:04:17 +0200 perf/x86/intel: Fix

Re: [PATCH] x86: intel_epb: Take CONFIG_PM into account

2019-05-10 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Commit b9c273babce7 (PM / arch: x86: MSR_IA32_ENERGY_PERF_BIAS sysfs > interface) caused kernels built with CONFIG_PM unset to crash on > systems supporting the Performance and Energy Bias Hint (EPB), > because it attempts to add files

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-10 Thread Kai-Heng Feng
at 06:19, wrote: -Original Message- From: Keith Busch Sent: Thursday, May 9, 2019 4:54 PM To: Limonciello, Mario Cc: kai.heng.f...@canonical.com; h...@lst.de; ax...@fb.com; s...@grimberg.me; raf...@kernel.org; linux...@vger.kernel.org; rafael.j.wyso...@intel.com;

[PATCH] csky: Select intc & timer drivers

2019-05-10 Thread guoren
From: Guo Ren Let arch help to select interrupt controller's and timer's drivers instead of people using menuconfig to select. This help the mini system boot up. Signed-off-by: Guo Ren Cc: Arnd Bergmann --- arch/csky/Kconfig | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Masahiro Yamada
Kconfig updates the .config when it exits even if its content is exactly the same as before. Since its timestamp becomes newer than that of other build artifacts, additional processing is invoked, which is annoying. - syncconfig is invoked to update include/config/auto.conf, etc. -

Re: [PATCH] arm64: add support for rng-seed

2019-05-10 Thread Rasmus Villemoes
On 09/05/2019 10.00, Hsin-Yi Wang wrote: Why do you need to clear it? That wasn't necessary for kaslr-seed. >>> I think it's for security purpose. If we know the random seed, it's >>> more likely we can predict randomness. >>> Currently on arm64, kaslr-seed will be wiped out (in >>>

[PATCH 1/2] kconfig: do not accept a directory for configuration output

2019-05-10 Thread Masahiro Yamada
Currently, conf_write() can be called with a directory name instead of a file name. As far as I see, this can happen for menuconfig, nconfig, gconfig. If it is given with a directory path, conf_write() kindly appends getenv("KCONFIG_CONFIG"), but this ends up with hacky dir/basename handling, and

Re: [GIT PULL] Driver core patches for 5.2-rc1

2019-05-10 Thread Masahiro Yamada
Hi Linus, On Fri, May 10, 2019 at 5:50 AM Linus Torvalds wrote: > > [ Ok, this may look irrelevant to people, but I actually notice this > because I do quick rebuilds *all* the time, so the 30s vs 41s > difference is actually something I reacted to and then tried to figure > out... ] > > On

RE: [PATCH V5 03/16] PCI: Export pcie_bus_config symbol

2019-05-10 Thread Vidya Sagar
-Original Message- From: linux-pci-ow...@vger.kernel.org On Behalf Of Thierry Reding Sent: Friday, May 3, 2019 4:38 PM To: Vidya Sagar Cc: lorenzo.pieral...@arm.com; bhelg...@google.com; robh...@kernel.org; mark.rutl...@arm.com; Jonathan Hunter ; kis...@ti.com;

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Greg KH
On Fri, May 10, 2019 at 03:12:05PM +0900, Masahiro Yamada wrote: > Kconfig updates the .config when it exits even if its content is > exactly the same as before. Since its timestamp becomes newer than > that of other build artifacts, additional processing is invoked, > which is annoying. > > -

Re: [PATCH 4.19 32/66] xtensa: fix initialization of pt_regs::syscall in start_thread

2019-05-10 Thread Greg Kroah-Hartman
On Thu, May 09, 2019 at 11:55:31AM -0700, Max Filippov wrote: > Hello, > > On Thu, May 9, 2019 at 11:48 AM Greg Kroah-Hartman > wrote: > > > > [ Upstream commit 2663147dc7465cb29040a05cc4286fdd839978b5 ] > > > > New pt_regs should indicate that there's no syscall, not that there's > > syscall

Re: [PATCH 5.0 00/95] 5.0.15-stable review

2019-05-10 Thread Greg Kroah-Hartman
On Thu, May 09, 2019 at 05:27:13PM -0700, kernelci.org bot wrote: > stable-rc/linux-5.0.y boot: 143 boots: 1 failed, 141 passed with 1 > untried/unknown (v5.0.14-96-gdf1376651d49) > > Full Boot Summary: >

Re: Question about sched_setaffinity()

2019-05-10 Thread Andrea Parri
> > > Adding some "sched" folks in Cc: hopefully, they can shed some light > > > about this. > > > > +Thomas, +Sebastian > > > > Thread starts here: > > > > http://lkml.kernel.org/r/20190427180246.ga15...@linux.ibm.com > > Peter Zijlstra kindly volunteered over IRC to look at this more closely

Re: [PATCH 4.19 00/66] 4.19.42-stable review

2019-05-10 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:35, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.42 release. > There are 66 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. > >

Re: [PATCH 5.0 00/95] 5.0.15-stable review

2019-05-10 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:21, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.0.15 release. > There are 95 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. > >

Re: [PATCH] thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power

2019-05-10 Thread Viresh Kumar
On 02-05-19, 11:32, Matthias Kaehlcke wrote: > The CPU load values passed to the thermal_power_cpu_get_power > tracepoint are zero for all CPUs, unless, unless the > thermal_power_cpu_limit tracepoint is enabled too: > > irq/41-rockchip-98[000] 290.972410:

Re: [PATCH] thermal: cpu_cooling: Actually trace CPU load in thermal_power_cpu_get_power

2019-05-10 Thread Javi Merino
On Thu, May 02, 2019 at 11:32:38AM -0700, Matthias Kaehlcke wrote: > The CPU load values passed to the thermal_power_cpu_get_power > tracepoint are zero for all CPUs, unless, unless the > thermal_power_cpu_limit tracepoint is enabled too: > > irq/41-rockchip-98[000] 290.972410:

[PATCH v2 0/3] auth_gss: netns refcount leaks when use-gss-proxy==1

2019-05-10 Thread Wenbin Zeng
This patch series fixes an auth_gss bug that results in netns refcount leaks when use-gss-proxy is set to 1. The problem was found in privileged docker containers with gssproxy service enabled and /proc/net/rpc/use-gss-proxy set to 1, the corresponding struct net->count ends up at 2 after

[PATCH v2 2/3] netns: add netns_evict into netns_operations

2019-05-10 Thread Wenbin Zeng
The newly added netns_evict() shall be called when the netns inode being evicted. It provides another path to release netns refcounts, previously netns_put() is the only choice, but it is not able to release all netns refcount, for example, a rpc client holds two netns refcounts, these refcounts

Re: [PATCH 4.9 00/28] 4.9.175-stable review

2019-05-10 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:14, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.175 release. > There are 28 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. > >

[PATCH v2 1/3] nsfs: add evict callback into struct proc_ns_operations

2019-05-10 Thread Wenbin Zeng
The newly added evict callback shall be called by nsfs_evict(). Currently only put() callback is called in nsfs_evict(), it is not able to release all netns refcount, for example, a rpc client holds two netns refcounts, these refcounts are supposed to be released when the rpc client is freed, but

Re: [PATCH v5 04/12] dt-binding: gce: add binding for gce event property

2019-05-10 Thread CK Hu
Hi, Bibby: On Fri, 2019-05-10 at 11:27 +0800, Bibby Hsieh wrote: > Hi, CK, > > On Wed, 2019-05-08 at 13:10 +0800, CK Hu wrote: > > Hi, Bibby: > > > > On Tue, 2019-05-07 at 16:13 +0800, Bibby Hsieh wrote: > > > Client hardware would send event to GCE hardware, > > > mediatek,gce-event-names and

Re: [RFC V2 1/2] sched: Start tracking SCHED_IDLE tasks count in cfs_rq

2019-05-10 Thread Peter Zijlstra
On Thu, Apr 25, 2019 at 03:07:39PM +0530, Viresh Kumar wrote: > @@ -5166,6 +5170,7 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, > int flags) > { > struct cfs_rq *cfs_rq; > struct sched_entity *se = >se; > + int idle_h_nr_running = unlikely(task_has_idle_policy(p)) ?

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Geert Uytterhoeven
Hi Yamada-san, On Fri, May 10, 2019 at 8:14 AM Masahiro Yamada wrote: > Kconfig updates the .config when it exits even if its content is > exactly the same as before. Since its timestamp becomes newer than > that of other build artifacts, additional processing is invoked, > which is annoying. >

Re: [PATCH v2 0/3] initramfs: add support for xattrs in the initial ram disk

2019-05-10 Thread Roberto Sassu
On 5/9/2019 8:34 PM, Rob Landley wrote: On 5/9/19 6:24 AM, Roberto Sassu wrote: This patch set aims at solving the following use case: appraise files from the initial ram disk. To do that, IMA checks the signature/hash from the security.ima xattr. Unfortunately, this use case cannot be

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Sam Ravnborg
Hi Geert/Masahiro. On Fri, May 10, 2019 at 08:46:35AM +0200, Geert Uytterhoeven wrote: > Hi Yamada-san, > > On Fri, May 10, 2019 at 8:14 AM Masahiro Yamada > wrote: > > Kconfig updates the .config when it exits even if its content is > > exactly the same as before. Since its timestamp becomes

Re: [PATCH next v3] mfd: Use dev_get_drvdata()

2019-05-10 Thread Lee Jones
On Thu, 09 May 2019, Kefeng Wang wrote: > Using dev_get_drvdata directly. > > Cc: David Brown > Cc: Lee Jones > Cc: linux-arm-...@vger.kernel.org > Signed-off-by: Kefeng Wang > --- > v3: > - fix build issue('dev' undeclared) in tc6393xb_nand_enable() > v2: > -use dev_get_drvdata() instead of

Re: [PATCHv2 08/10] vfio/mdev: Improve the create/remove sequence

2019-05-10 Thread Pierre Morel
On 09/05/2019 21:19, Parav Pandit wrote: -Original Message- From: Cornelia Huck Sent: Thursday, May 9, 2019 4:06 AM To: Parav Pandit Cc: k...@vger.kernel.org; linux-kernel@vger.kernel.org; kwankh...@nvidia.com; alex.william...@redhat.com; c...@nvidia.com; Tony Krowiak ; Pierre Morel

[PATCH][next] drm/amdgpu: fix spelling mistake "retrived" -> "retrieved"

2019-05-10 Thread Colin King
From: Colin Ian King There is a spelling mistake in a DRM_ERROR error message. Fix this. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/amdgpu/df_v3_6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/df_v3_6.c

Re: [PATCH v2 2/4] mfd: ioc3: Add driver for SGI IOC3 chip

2019-05-10 Thread Lee Jones
On Thu, 09 May 2019, Thomas Bogendoerfer wrote: > On Wed, 8 May 2019 11:23:13 +0100 > Lee Jones wrote: > > > On Tue, 09 Apr 2019, Thomas Bogendoerfer wrote: > > > > > +static u32 crc8_addr(u64 addr) > > > +{ > > > + u32 crc = 0; > > > + int i; > > > + > > > + for (i = 0; i < 64; i += 8) > > >

Re: [PATCH] ASoC: SOF: Fix build error with CONFIG_SND_SOC_SOF_NOCODEC=m

2019-05-10 Thread Takashi Iwai
On Fri, 10 May 2019 04:36:57 +0200, YueHaibing wrote: > > Fix gcc build error while CONFIG_SND_SOC_SOF_NOCODEC=m > > sound/soc/sof/core.o: In function `snd_sof_device_probe': > core.c:(.text+0x4af): undefined reference to `sof_nocodec_setup' > > Change SND_SOC_SOF_NOCODEC to bool to fix this. >

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Masahiro Yamada
On Fri, May 10, 2019 at 3:21 PM Greg KH wrote: > > On Fri, May 10, 2019 at 03:12:05PM +0900, Masahiro Yamada wrote: > > Kconfig updates the .config when it exits even if its content is > > exactly the same as before. Since its timestamp becomes newer than > > that of other build artifacts,

Re: [EXT] Re: [PATCH v6] arm64: dts: ls1088a: add one more thermal zone node

2019-05-10 Thread Daniel Lezcano
On 10/05/2019 05:40, Andy Tang wrote: >> -Original Message- >> From: Shawn Guo >> Sent: 2019年5月10日 11:14 >> To: Andy Tang >> Cc: Leo Li ; robh...@kernel.org; >> mark.rutl...@arm.com; linux-arm-ker...@lists.infradead.org; >> devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; >>

[PATCH RFC 0/4] mm/ksm: add option to automerge VMAs

2019-05-10 Thread Oleksandr Natalenko
By default, KSM works only on memory that is marked by madvise(). And the only way to get around that is to either: * use LD_PRELOAD; or * patch the kernel with something like UKSM or PKSM. Instead, lets implement a so-called "always" mode, which allows marking VMAs as mergeable on

[PATCH RFC 2/4] mm/ksm: introduce VM_UNMERGEABLE

2019-05-10 Thread Oleksandr Natalenko
Add separate vmaflag to allow applications to opt out of automatic VMAs merging due to (possible) security concerns. Since vmaflags are tight on free bits, this flag is available on 64-bit architectures only. Thus, subsequently, KSM "always" mode will be available for 64-bit architectures only as

[PATCH] power: supply: ucs1002: Fix build error without CONFIG_REGULATOR

2019-05-10 Thread YueHaibing
Fix gcc build error while CONFIG_REGULATOR is not set drivers/power/supply/ucs1002_power.o: In function `ucs1002_probe': drivers/power/supply/ucs1002_power.c:593: undefined reference to `devm_regulator_register' drivers/power/supply/ucs1002_power.o:(.rodata+0x3b8): undefined reference to

[PATCH RFC 1/4] mm/ksm: introduce ksm_enter() helper

2019-05-10 Thread Oleksandr Natalenko
Move MADV_MERGEABLE part of ksm_madvise() into a dedicated helper since it will be further used in do_anonymous_page(). This does not bring any functional changes. Signed-off-by: Oleksandr Natalenko --- include/linux/ksm.h | 2 ++ mm/ksm.c| 66

[GIT PULL] Immutable branch between MFD and Pinctrl due for the v5.2 merge window

2019-05-10 Thread Lee Jones
Enjoy! The following changes since commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd: Linux 5.1 (2019-05-05 17:42:58 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-pinctrl-v5.2 for you to fetch changes up to

[PATCH RFC 3/4] mm/ksm: allow anonymous memory automerging

2019-05-10 Thread Oleksandr Natalenko
Introduce 2 KSM modes: * madvise, which is default and maintains old behaviour; and * always, in which new anonymous allocations are marked as eligible for merging. The mode is controlled either via sysfs or via kernel cmdline for VMAs to be marked as soon as possible during the boot

[PATCH v1] mtd: rawnand: Add Macronix NAND read retry support

2019-05-10 Thread Mason Yang
Add a driver for Macronix NAND read retry. Macronix NAND supports specfical read for data recovery and enabled it by Set Feature. Driver check byte 167 of Vendor Blocks in ONFI parameter page table to see if this high reliability function is support or not. Signed-off-by: Mason Yang ---

Re: [RFC V2 2/2] sched/fair: Fallback to sched-idle CPU if idle CPU isn't found

2019-05-10 Thread Peter Zijlstra
On Thu, Apr 25, 2019 at 03:07:40PM +0530, Viresh Kumar wrote: > We target for an idle CPU in select_idle_sibling() to run the next task, > but in case we don't find idle CPUs it is better to pick a CPU which > will run the task the soonest, for performance reason. A CPU which isn't > idle but has

[PATCH RFC 4/4] mm/ksm: add automerging documentation

2019-05-10 Thread Oleksandr Natalenko
Document KSM "always" mode kernel cmdline option as well as corresponding sysfs knob. Signed-off-by: Oleksandr Natalenko --- Documentation/admin-guide/kernel-parameters.txt | 7 +++ Documentation/admin-guide/mm/ksm.rst| 7 +++ 2 files changed, 14 insertions(+) diff --git

Re: [PATCH v3] fs/proc: add VmTaskSize field to /proc/$$/status

2019-05-10 Thread Yury Norov
On Fri, May 10, 2019 at 01:32:22PM +1000, Michael Ellerman wrote: > Yury Norov writes: > > On Tue, May 07, 2019 at 08:54:31AM -0400, Rafael Aquini wrote: > >> On Mon, May 06, 2019 at 11:53:43AM -0400, Joel Savitz wrote: > >> > There is currently no easy and architecture-independent way to find

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Geert Uytterhoeven
Hi Sam, On Fri, May 10, 2019 at 9:03 AM Sam Ravnborg wrote: > On Fri, May 10, 2019 at 08:46:35AM +0200, Geert Uytterhoeven wrote: > > On Fri, May 10, 2019 at 8:14 AM Masahiro Yamada > > wrote: > > > Kconfig updates the .config when it exits even if its content is > > > exactly the same as

Re: [RFC][PATCH] ftrace/x86: Remove mcount support

2019-05-10 Thread Jiri Kosina
On Thu, 9 May 2019, Steven Rostedt wrote: > As this patch is simply a "remove mcount" patch, I'd like to have the > removal of klp_check_compiler_support() be a separate patch. > > Jiri or Josh, care to send a patch on top of this one? Sure thing, I'll do that once you send v2 fixing x86_32 of

[GIT PULL] Mailbox changes for v5.2

2019-05-10 Thread Jassi Brar
Hi Linus, The following changes since commit 37624b58542fb9f2d9a70e6ea006ef8a5f66c30b: Linux 5.1-rc7 (2019-04-28 17:04:13 -0700) are available in the Git repository at: git://git.linaro.org/landing-teams/working/fujitsu/integration.git tags/mailbox-v5.2 for you to fetch changes up to

Re: [PATCH 1/2] soc: imx-sc: add i.MX system controller soc driver support

2019-05-10 Thread Abel Vesa
On 19-05-10 10:42:17, Shawn Guo wrote: > On Mon, Apr 22, 2019 at 08:48:56AM +, Leonard Crestez wrote: > > On 4/22/2019 9:46 AM, Anson Huang wrote: > > >> -Original Message- > > >> From: Anson Huang > > >>> From: Shawn Guo [mailto:shawn...@kernel.org] > > >>> On Sun, Apr 21, 2019 at

Re: [PATCH 2/2] kconfig: do not write .config if the content is the same

2019-05-10 Thread Masahiro Yamada
Hi Sam, Geert, On Fri, May 10, 2019 at 4:04 PM Sam Ravnborg wrote: > > Hi Geert/Masahiro. > > On Fri, May 10, 2019 at 08:46:35AM +0200, Geert Uytterhoeven wrote: > > Hi Yamada-san, > > > > On Fri, May 10, 2019 at 8:14 AM Masahiro Yamada > > wrote: > > > Kconfig updates the .config when it exits

[PATCH 1/2] pinctrl: stm32: add suspend/resume management

2019-05-10 Thread Alexandre Torgue
During power sequence, GPIO hardware registers could be lost if the power supply is switched off. Each device using pinctrl API is in charge of managing pins during suspend/resume sequences. But for pins used as gpio or irq stm32 pinctrl driver has to save the hardware configuration.

[PATCH 2/2] pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC

2019-05-10 Thread Alexandre Torgue
Apply suspend/resume management for stm32mp157c MPU. Signed-off-by: Alexandre Torgue diff --git a/drivers/pinctrl/stm32/pinctrl-stm32mp157.c b/drivers/pinctrl/stm32/pinctrl-stm32mp157.c index 320544f..2ccb99d 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32mp157.c +++

[PATCH] pinctrl: stm32: add lock mechanism for irqmux selection

2019-05-10 Thread Alexandre Torgue
GPIOs are split between several banks (A, B, ...) and each bank can have up to 16 lines. Those GPIOs could be used as interrupt lines thanks to exti lines. As there are only 16 exti lines, a mux is used to select which gpio line is connected to which exti line. Mapping is done as follow: -A0, B0,

[PATCH 0/2] pinctrl: stm32: add suspend/resume management

2019-05-10 Thread Alexandre Torgue
During power sequence, GPIO hardware registers could be lost if the power supply is switched off. Each device using pinctrl API is in charge of managing pins during suspend/resume sequences. But for pins used as gpio or irq stm32 pinctrl driver has to save the hardware configuration. Each register

Re: [PATCH v1] mtd: rawnand: Add Macronix NAND read retry support

2019-05-10 Thread Miquel Raynal
Hi Mason, Mason Yang wrote on Fri, 10 May 2019 15:41:02 +0800: > Add a driver for Macronix NAND read retry. "Add support for Macronix NAND read retry."? This is not a "new driver". > > Macronix NAND supports specfical read for data recovery and enabled Macronix NANDs support specific read

Re: [RESEND PATCH v5 0/3] Add PM support to STM32 LP Timer drivers

2019-05-10 Thread Fabrice Gasnier
On 4/18/19 11:37 AM, Fabrice Gasnier wrote: > This patch series adds power management support for STM32 LP Timer: > - PWM driver > - Document the pinctrl states for sleep mode > > It also adds device link between the PWM consumer and the PWM provider. > This allows proper sequencing for

Re: kobject_init_and_add() confusion

2019-05-10 Thread Rafael J. Wysocki
On Fri, May 10, 2019 at 4:36 AM Tobin C. Harding wrote: > > On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > > > > Hi, > > > > > > Looks like I've created a bit of confusion trying to fix memleaks in > > > calls

Re: [GIT PULL] Driver core patches for 5.2-rc1

2019-05-10 Thread Masahiro Yamada
Hi Joel, On Fri, May 10, 2019 at 11:38 AM Joel Fernandes wrote: > > On Thu, May 09, 2019 at 01:47:54PM -0700, Linus Torvalds wrote: > > [ Ok, this may look irrelevant to people, but I actually notice this > > because I do quick rebuilds *all* the time, so the 30s vs 41s > > difference is

Re: [PATCH] i2c: Allow selecting BCM2835 I2C controllers on ARCH_BRCMSTB

2019-05-10 Thread Jean Delvare
On Thu, 9 May 2019 14:04:36 -0700, Florian Fainelli wrote: > From: Kamal Dasu > > ARCH_BRCMSTB platforms have the BCM2835 I2C controllers, allow > selecting the i2c-bcm2835 driver on such platforms. > > Signed-off-by: Kamal Dasu > Signed-off-by: Florian Fainelli > --- >

Re: [PATCH 1/8] arm64: dts: mt8183: add thermal zone node

2019-05-10 Thread Daniel Lezcano
On 08/05/2019 14:23, Michael Kao wrote: > On Mon, 2019-05-06 at 12:43 +0200, Daniel Lezcano wrote: >> On 03/05/2019 18:46, Matthias Kaehlcke wrote: >>> Hi, >>> >>> On Fri, May 03, 2019 at 04:03:58PM +0800, Hsin-Yi Wang wrote: On Thu, May 2, 2019 at 10:43 AM michael.kao wrote: >

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-10 Thread Daniel Vetter
On Fri, May 10, 2019 at 7:49 AM Knut Omang wrote: > > On Thu, 2019-05-09 at 22:18 -0700, Frank Rowand wrote: > > On 5/9/19 4:40 PM, Logan Gunthorpe wrote: > > > > > > > > > On 2019-05-09 5:30 p.m., Theodore Ts'o wrote: > > >> On Thu, May 09, 2019 at 04:20:05PM -0600, Logan Gunthorpe wrote: > >

Re: [PATCH 3/3] i2c: i801: avoid panic if ioreamp fails

2019-05-10 Thread Jean Delvare
Hi Kefeng, On Fri, 10 May 2019 11:03:20 +0800, Kefeng Wang wrote: > If ioremap fails, NULL pointer dereference will happen and > leading to a kernel panic when access the virtual address > in check_signature(). > > Fix it by check the return value of ioremap. > > Cc: Jean Delvare > Cc: Wolfram

[PATCH v5 6/6] pinctrl: meson: g12a: add DS bank value

2019-05-10 Thread Guillaume La Roque
add drive-strength bank regiter and bit value for G12A SoC Signed-off-by: Guillaume La Roque --- drivers/pinctrl/meson/pinctrl-meson-g12a.c | 36 +++--- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-g12a.c

[PATCH v5 5/6] pinctrl: meson: add support of drive-strength-microamp

2019-05-10 Thread Guillaume La Roque
drive-strength-microamp is a new feature needed for G12A SoC. the default DS setting after boot is usually 500uA and it is not enough for many functions. We need to be able to set the drive strength to reliably enable things like MMC, I2C, etc ... Signed-off-by: Guillaume La Roque ---

[PATCH v5 3/6] dt-bindings: pinctrl: meson: Add drive-strength-microamp property

2019-05-10 Thread Guillaume La Roque
Add optional drive-strength-microamp property Signed-off-by: Guillaume La Roque --- Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt

[PATCH v5 4/6] pinctrl: meson: Rework enable/disable bias part

2019-05-10 Thread Guillaume La Roque
rework bias enable/disable part to prepare drive-strength integration no functional changes Signed-off-by: Guillaume La Roque --- drivers/pinctrl/meson/pinctrl-meson.c | 85 +++ 1 file changed, 49 insertions(+), 36 deletions(-) diff --git

[PATCH v5 0/6] Add drive-strength in Meson pinctrl driver

2019-05-10 Thread Guillaume La Roque
The purpose of this patchset is to add drive-strength support in meson pinconf driver. This is a new feature that was added on the g12a. It is critical for us to support this since many functions are failing with default pad drive-strength. The value achievable by the SoC are 0.5mA, 2.5mA, 3mA

[PATCH v5 1/6] dt-bindings: pinctrl: add a 'drive-strength-microamp' property

2019-05-10 Thread Guillaume La Roque
This property allow drive-strength parameter in uA instead of mA. Signed-off-by: Guillaume La Roque --- Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt

[PATCH v5 2/6] pinctrl: generic: add new 'drive-strength-microamp' property support

2019-05-10 Thread Guillaume La Roque
Add drive-strength-microamp property support to allow drive strength in uA Signed-off-by: Guillaume La Roque --- drivers/pinctrl/pinconf-generic.c | 2 ++ include/linux/pinctrl/pinconf-generic.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/pinctrl/pinconf-generic.c

Re: [PATCH] nvme-pci: Use non-operational power state instead of D3 on Suspend-to-Idle

2019-05-10 Thread Rafael J. Wysocki
On Fri, May 10, 2019 at 8:08 AM Kai-Heng Feng wrote: > > at 06:19, wrote: > > >> -Original Message- > >> From: Keith Busch > >> Sent: Thursday, May 9, 2019 4:54 PM > >> To: Limonciello, Mario > >> Cc: kai.heng.f...@canonical.com; h...@lst.de; ax...@fb.com; > >> s...@grimberg.me;

Re: [PATCH V2 4/7] irqchip/irq-csky-mpintc: Add triger type and priority

2019-05-10 Thread Guo Ren
Thx Marc, Sorry for late reply: On Mon, Feb 18, 2019 at 02:38:23PM +, Marc Zyngier wrote: > On Mon, 18 Feb 2019 10:04:40 +0800 > guo...@kernel.org wrote: > > > From: Guo Ren > > > > Support 4 triger types: > > - IRQ_TYPE_LEVEL_HIGH > > - IRQ_TYPE_LEVEL_LOW > > - IRQ_TYPE_EDGE_RISING >

Re: [PATCH 4.14 00/42] 4.14.118-stable review

2019-05-10 Thread Naresh Kamboju
On Fri, 10 May 2019 at 00:16, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.118 release. > There are 42 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. > >

RE: [EXT] Re: [PATCH v6] arm64: dts: ls1088a: add one more thermal zone node

2019-05-10 Thread Andy Tang
+ Viresh for help. > -Original Message- > From: Daniel Lezcano > Sent: 2019年5月10日 15:17 > To: Andy Tang ; Shawn Guo > Cc: Leo Li ; robh...@kernel.org; > mark.rutl...@arm.com; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; >

Re: [PATCH 4/7] sched: Add sched_load_rq tracepoint

2019-05-10 Thread Dietmar Eggemann
Hi Qais, On 5/5/19 1:57 PM, Qais Yousef wrote: [...] diff --git a/kernel/sched/sched_tracepoints.h b/kernel/sched/sched_tracepoints.h new file mode 100644 index ..f4ded705118e --- /dev/null +++ b/kernel/sched/sched_tracepoints.h @@ -0,0 +1,39 @@ +/* SPDX-License-Identifier:

Re: [PATCH] vsprintf: Do not break early boot with probing addresses

2019-05-10 Thread Sergey Senozhatsky
On (05/10/19 10:42), Petr Mladek wrote: [..] > Fixes: 3e5903eb9cff70730 ("vsprintf: Prevent crash when dereferencing invalid > pointers") > Signed-off-by: Petr Mladek FWIW Reviewed-by: Sergey Senozhatsky -ss

Re: [PATCH v5 0/6] Add drive-strength in Meson pinctrl driver

2019-05-10 Thread Jerome Brunet
On Fri, 2019-05-10 at 10:23 +0200, Guillaume La Roque wrote: > The purpose of this patchset is to add drive-strength support in meson pinconf > driver. This is a new feature that was added on the g12a. It is critical for > us > to support this since many functions are failing with default pad >

Re: [RFC v3] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-05-10 Thread Bastien Nocera
On Tue, 2019-04-16 at 21:33 +0200, H. Nikolaus Schaller wrote: > Hi Bastien, > > > Am 16.04.2019 um 18:04 schrieb Bastien Nocera : > > This can be done in user-space, reading the data from the IIO driver, > > and using uinput to feed it back. Why is doing this at the kernel level > > better? > >

Re: [PATCH v2 0/4] Add reset controller support for BM1880 SoC

2019-05-10 Thread Manivannan Sadhasivam
On Wed, May 08, 2019 at 10:23:15PM +0530, Manivannan Sadhasivam wrote: > Hello, > > This patchset adds reset controller support for Bitmain BM1880 SoC. > BM1880 SoC has two reset controllers each controlling reset lines of > different peripherals. And the reset-simple driver has been reused here.

Re: [RFC v2] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-05-10 Thread Bastien Nocera
On Mon, 2019-04-22 at 15:20 +0100, Jonathan Cameron wrote: > > Different goals usually lead to different solution architectures. > > Indeed, but in this case we have your proposal which is a subset of > what > I am suggesting. One architecture can fulfil both requirements. > > I'll leave it for

Re: [PATCH V2 5/7] dt-bindings: interrupt-controller: Update csky mpintc

2019-05-10 Thread Guo Ren
Thx Marc, On Mon, Feb 18, 2019 at 02:28:45PM +, Marc Zyngier wrote: > On Mon, 18 Feb 2019 10:04:41 +0800 > guo...@kernel.org wrote: > > > From: Guo Ren > > > > Add trigger type and priority setting for csky,mpintc. > > > > Changelog: > > - change #interrupt-cells to <3> > > > >

Re: [RFC v2] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-05-10 Thread Bastien Nocera
On Sun, 2019-04-14 at 09:26 -0700, Roderick Colenbrander wrote: > > We at the time were one of the first to expose acceleration and gyro > data through /dev/input for DualShock 4 as supported by hid-sony. We > report acceleration in 'g' and angular velocity in 'degree / s'. We > set the

[PATCH] gcc-plugins: arm_ssp_per_task_plugin: Fix for older GCC < 6

2019-05-10 Thread Chris Packham
Use gen_rtx_set instead of gen_rtx_SET. The former is a wrapper macro that handles the difference between GCC versions implementing the latter. This fixes the following error on my system with g++ 5.4.0 as the host compiler HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o

Re: [PATCH v1] mtd: rawnand: Add Macronix NAND read retry support

2019-05-10 Thread Miquel Raynal
Hi Mason, masonccy...@mxic.com.tw wrote on Fri, 10 May 2019 16:51:20 +0800: > Hi Miquel, > > > > > Add a driver for Macronix NAND read retry. > > > > "Add support for Macronix NAND read retry."? This is not a "new driver". > > > > > > > > Macronix NAND supports specfical read for data

Re: [PATCH 4/7] sched: Add sched_load_rq tracepoint

2019-05-10 Thread Qais Yousef
On 05/10/19 10:51, Dietmar Eggemann wrote: > Hi Qais, > > On 5/5/19 1:57 PM, Qais Yousef wrote: > > [...] > > > diff --git a/kernel/sched/sched_tracepoints.h > > b/kernel/sched/sched_tracepoints.h > > new file mode 100644 > > index ..f4ded705118e > > --- /dev/null > > +++

Re: [PATCH] reset: fix potential null pointer dereference on pointer dev

2019-05-10 Thread Philipp Zabel
Hi Colin, [added Bartosz to Cc:] On Thu, 2019-05-09 at 17:00 +0100, Colin King wrote: > From: Colin Ian King > > Pointer dev is being dereferenced when passed to the inlined > functon dev_name, however, dev is later being null checked. > Thus there is a potential null pointer dereference on a

Re: [PATCH 03/16] lib,treewide: add new match_string() helper/macro

2019-05-10 Thread Ardelean, Alexandru
On Wed, 2019-05-08 at 16:22 +0300, Alexandru Ardelean wrote: > On Wed, 2019-05-08 at 15:18 +0200, Greg KH wrote: > > > > > > On Wed, May 08, 2019 at 04:11:28PM +0300, Andy Shevchenko wrote: > > > On Wed, May 08, 2019 at 02:28:29PM +0300, Alexandru Ardelean wrote: > > > > This change

Re: [PATCH] reset: fix potential null pointer dereference on pointer dev

2019-05-10 Thread Colin Ian King
On 10/05/2019 10:14, Philipp Zabel wrote: > Hi Colin, > > [added Bartosz to Cc:] > > On Thu, 2019-05-09 at 17:00 +0100, Colin King wrote: >> From: Colin Ian King >> >> Pointer dev is being dereferenced when passed to the inlined >> functon dev_name, however, dev is later being null checked. >>

Re: [PATCH] arm64: dts: qcom: qcs404: Add PSCI cpuidle support

2019-05-10 Thread Sudeep Holla
On Thu, May 09, 2019 at 11:19:23PM +0530, Amit Kucheria wrote: > (Adding Lorenzo and Sudeep) > > On Wed, May 8, 2019 at 8:26 PM Niklas Cassel wrote: > > > > On Wed, May 08, 2019 at 02:48:19AM +0530, Amit Kucheria wrote: > > > On Tue, May 7, 2019 at 1:01 AM Niklas Cassel > > > wrote: > > > > > >

RE: [PATCH 1/2] soc: imx-sc: add i.MX system controller soc driver support

2019-05-10 Thread Aisheng Dong
> From: Anson Huang > Sent: Thursday, April 11, 2019 2:49 PM > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, > the system controller is in charge of controlling power, clock and fuse etc.. > > This patch adds i.MX system controller soc driver support, Linux kernel

Re: [RESEND PATCH 4/4] um: irq: don't set the chip for all irqs

2019-05-10 Thread Bartosz Golaszewski
śr., 8 maj 2019 o 09:13 Richard Weinberger napisał(a): > > - Ursprüngliche Mail - > >> Can you please check? > >> This patch is already queued in -next. So we need to decide whether to > >> revert or fix it now. > >> > > I am looking at it. It passed tests in my case (I did the usual

[PATCH 2/4] coresight: tmc-etr: alloc_perf_buf: Do not call smp_processor_id from preemptible

2019-05-10 Thread Suzuki K Poulose
We find the current CPU using smp_processor_id() if the event is not bound to a CPU, to find the node for memory allocation. Use the safe numa_node_id() instead, to avoid BUG(). BUG: using smp_processor_id() in preemptible [] code: perf/1743 caller is tmc_alloc_etr_buffer+0x1bc/0x1f0

[PATCH 3/4] coresight: tmc-etf: Do not call smp_processor_id from preemptible

2019-05-10 Thread Suzuki K Poulose
We find the current CPU using smp_processor_id() if the event is not bound to a CPU, to find the node for memory allocation. Use the safe numa_node_id() instead, to avoid BUG(). e.g: BUG: using smp_processor_id() in preemptible [] code: perf/2544 caller is tmc_alloc_etf_buffer+0x5c/0x60

[PATCH 0/4] coresight: Do not call smp_processor_id from preemptible contexts

2019-05-10 Thread Suzuki K Poulose
We have a few places where we call smp_processor_id() from preemptible contexts during the perf buffer handling. We do this to figure out the numa node for the allocation in case the event is not CPU bound. Use numa_node_id() instead in such cases to avoid a splat. Suzuki K Poulose (4):

[PATCH 1/4] coresight: tmc-etr: Do not call smp_processor_id() from preemptible

2019-05-10 Thread Suzuki K Poulose
Instead of using smp_processor_id() to figure out the node, use the numa_node_id() for the current CPU node to avoid splats like : BUG: using smp_processor_id() in preemptible [] code: perf/1743 caller is alloc_etr_buf.isra.6+0x80/0xa0 CPU: 1 PID: 1743 Comm: perf Not tainted

[PATCH 4/4] coresight: etb10: Do not call smp_processor_id from preemptible

2019-05-10 Thread Suzuki K Poulose
We find the current CPU using smp_processor_id() if the event is not bound to a CPU, to find the node for memory allocation. Use the safe numa_node_id() instead, to avoid BUG(). e.g: BUG: using smp_processor_id() in preemptible [] code: perf/2544 Fixes: 2997aa4063d97fdb39 ("coresight:

Re: [RFC v2] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-05-10 Thread Bastien Nocera
On Fri, 2019-05-10 at 11:33 +0200, H. Nikolaus Schaller wrote: > > > It does through "Input device name:" starting with "iio-bridge:" as > you can see in the commit message of [RFC v3]: This makes it ABI, right? Big fat warnings around the code that declares it would be appreciated.

Re: [PATCH 3/3] i2c: i801: avoid panic if ioreamp fails

2019-05-10 Thread Kefeng Wang
On 2019/5/10 16:09, Jean Delvare wrote: > Hi Kefeng, > > On Fri, 10 May 2019 11:03:20 +0800, Kefeng Wang wrote: >> If ioremap fails, NULL pointer dereference will happen and >> leading to a kernel panic when access the virtual address >> in check_signature(). >> >> Fix it by check the return

[PATCH net 1/5] of_net: remove nvmem-mac-address property

2019-05-10 Thread Petr Štetiar
In commit d01f449c008a ("of_net: add NVMEM support to of_get_mac_address") I've added `nvmem-mac-address` property which was wrong idea as I've allocated the property with devm_kzalloc and then added it to DT, so then 2 entities would be refcounting the allocation. So if the driver unbinds, the

Re: [RFC v2] iio: input-bridge: optionally bridge iio acceleometers to create a /dev/input interface

2019-05-10 Thread H. Nikolaus Schaller
> Am 10.05.2019 um 10:57 schrieb Bastien Nocera : > > On Mon, 2019-04-22 at 15:20 +0100, Jonathan Cameron wrote: >>> Different goals usually lead to different solution architectures. >> >> Indeed, but in this case we have your proposal which is a subset of >> what >> I am suggesting. One

Re: [PATCH v2 1/2] vfio/mdev: add version attribute for mdev device

2019-05-10 Thread Dr. David Alan Gilbert
* Cornelia Huck (coh...@redhat.com) wrote: > On Thu, 9 May 2019 17:48:26 +0100 > "Dr. David Alan Gilbert" wrote: > > > * Cornelia Huck (coh...@redhat.com) wrote: > > > On Thu, 9 May 2019 16:48:57 +0100 > > > "Dr. David Alan Gilbert" wrote: > > > > > > > * Cornelia Huck (coh...@redhat.com)

Re: kobject_init_and_add() confusion

2019-05-10 Thread Petr Mladek
On Fri 2019-05-10 12:35:38, Tobin C. Harding wrote: > On Wed, May 01, 2019 at 09:54:16AM +0200, Rafael J. Wysocki wrote: > > On Wed, May 1, 2019 at 1:38 AM Tobin C. Harding wrote: > > > TODO > > > > > > > > > - Fix all the callsites to kobject_init_and_add() > > > - Further clarify the

  1   2   3   4   5   6   >