Re: [PATCH v3 2/9] mtd: rawnand: denali: refactor syndrome layout handling for raw access

2019-03-12 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 12 Mar 2019 20:07:27 +0900: > Hi Miquel, > > > On Tue, Mar 12, 2019 at 7:54 PM Miquel Raynal > wrote: > > > > Hi Masahiro, > > > > Masahiro Yamada wrote on Tue, 12 Mar > > 2019 19:51:21 +0900: > > > > > On Tue, Mar 12, 2019 at 7:28 PM Miquel

Re: [PATCH V5 1/4] dt-bindings: memory-controllers: freescale: add MMDC binding doc

2019-03-12 Thread Rob Herring
On Tue, 12 Mar 2019 02:24:08 +, Anson Huang wrote: > Freescale MMDC (Multi Mode DDR Controller) driver is supported > since i.MX6Q, but not yet documented, this patch adds binding > doc for MMDC module driver. > > Signed-off-by: Anson Huang > --- > Changes since V4: > - update mmdc1

Re: [PATCH v2 1/4] phy: rockchip-emmc: Allow to set drive impedance via DTS.

2019-03-12 Thread Heiko Stuebner
Am Donnerstag, 7. März 2019, 09:41:53 CET schrieb Christoph Muellner: > The rockchip-emmc PHY can be configured with different > drive impedance values. Currenlty a value of 50 Ohm is > hard coded into the driver. > > This patch introduces the DTS property 'drive-impedance-ohm' > for the

Re: [PATCH v2 2/4] dt-bindings: phy: Add a new property drive-impedance-ohm for RK's emmc PHY

2019-03-12 Thread Christoph Müllner
> On 12.03.2019, at 13:52, Heiko Stuebner wrote: > > Hi Christoph, > > Am Donnerstag, 7. März 2019, 09:41:54 CET schrieb Christoph Muellner: >> This patch documents the new proprty drive-impedance-ohm for >> Rockchip's eMMC PHY node. >> >> Signed-off-by: Christoph Muellner >> Signed-off-by:

Re: [PATCH] i2c: i2c-stm32f7: Fix SDADEL minimum formula

2019-03-12 Thread Wolfram Sang
> > Do you have a Fixes tag for this? > > > > Fixes: aeb068c57214858b638d5ee627bb4a831f98771e ("i2c: i2c-stm32f7: add > driver") > > Will you change the commit message or do you want me to resend the patch? I'll fix it. Thanks for this info! signature.asc Description: PGP signature

Re: [PATCH] arm64: dts: fsl: imx8mq: enable the thermal management unit (TMU)

2019-03-12 Thread Angus Ainslie
On 2019-03-11 19:35, Andrey Smirnov wrote: On Mon, Mar 11, 2019 at 2:35 PM Angus Ainslie (Purism) wrote: These are the TMU nodes from the NXP vendor kernel Hey Angus, TMU block supports multiple thermal zones and vendor kernel doesn't really account for that (see below). Latest version of

Re: [PATCH v7 01/15] sched/core: uclamp: Add CPU's clamp buckets refcounting

2019-03-12 Thread Dietmar Eggemann
On 2/8/19 11:05 AM, Patrick Bellasi wrote: [...] +config UCLAMP_BUCKETS_COUNT + int "Number of supported utilization clamp buckets" + range 5 20 + default 5 + depends on UCLAMP_TASK + help + Defines the number of clamp buckets to use. The range of each

Re: [PATCH v2 2/4] dt-bindings: phy: Add a new property drive-impedance-ohm for RK's emmc PHY

2019-03-12 Thread Heiko Stuebner
Hi Christoph, Am Donnerstag, 7. März 2019, 09:41:54 CET schrieb Christoph Muellner: > This patch documents the new proprty drive-impedance-ohm for > Rockchip's eMMC PHY node. > > Signed-off-by: Christoph Muellner > Signed-off-by: Philipp Tomsich > --- >

Re: [PATCH v3] scripts/gdb: replace flags (MS_xyz -> SB_xyz)

2019-03-12 Thread Greg KH
On Fri, Mar 08, 2019 at 12:56:28PM -0800, Nick Desaulniers wrote: > On Fri, Mar 8, 2019 at 4:37 AM Greg KH wrote: > > > > On Tue, Mar 05, 2019 at 01:47:58PM -0800, Nick Desaulniers wrote: > > > On Tue, Mar 5, 2019 at 2:30 AM Kieran Bingham > > > wrote: > > > > > > > > From: Jackie Liu > > > > >

Re: [PATCH] tpm: Make timeout logic simpler and more robust

2019-03-12 Thread Jarkko Sakkinen
On Mon, Mar 11, 2019 at 05:27:43PM -0700, James Bottomley wrote: > On Mon, 2019-03-11 at 16:54 -0700, Calvin Owens wrote: > > e're having lots of problems with TPM commands timing out, and we're > > seeing these problems across lots of different hardware (both v1/v2). > > > > I instrumented the

Re: [PATCH v4 armsoc/drivers/bus+gpio 5/5] dt-bindings: gpio: Document GPIOs via Moxtet bus

2019-03-12 Thread Rob Herring
On Thu, 7 Mar 2019 13:52:51 +0100, =?UTF-8?q?Marek=20Beh=C3=BAn?= wrote: > This patch adds documentation of the device tree bindings for GPIOs > on the devices connected via Moxtet bus. > > Signed-off-by: Marek Behún > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > --- >

Re: [PATCH RESEND for-5.0 1/2] staging: erofs: keep corrupted fs from crashing kernel in erofs_namei()

2019-03-12 Thread Greg Kroah-Hartman
On Mon, Mar 11, 2019 at 10:29:31AM +0800, Gao Xiang wrote: > commit 419d6efc50e94bcf5d6b35cd8c71f79edadec564 upstream. > > As Al pointed out, " > ... and while we are at it, what happens to > unsigned int nameoff = le16_to_cpu(de[mid].nameoff); > unsigned int matched = min(startprfx,

Re: [PATCH 0/3] userfaultfd: allow to forbid unprivileged users

2019-03-12 Thread Peter Xu
Hi, Kirill, On Tue, Mar 12, 2019 at 10:49:51AM +0300, Kirill A. Shutemov wrote: > On Mon, Mar 11, 2019 at 05:36:58PM +0800, Peter Xu wrote: > > Hi, > > > > (The idea comes from Andrea, and following discussions with Mike and > > other people) > > > > This patchset introduces a new sysctl flag

Re: [RFC PATCH v1] PCI: qcom: Use quirk to override incorrect device class

2019-03-12 Thread Stanimir Varbanov
Hi Marc, Thanks for the patch! On 3/11/19 4:56 PM, Marc Gonzalez wrote: > Some chips report an incorrect device class. Override the incorrect > value using a quirk, instead of code in the read function. > > Signed-off-by: Marc Gonzalez > --- > FWIW, this quirk is no longer required on recent

Re: [RFC PATCH v1 00/25] printk: new implementation

2019-03-12 Thread Petr Mladek
On Mon 2019-03-11 19:54:11, Sergey Senozhatsky wrote: > On (03/07/19 10:53), John Ogness wrote: > > Since all current console drivers are already irq safe, I'm > > wondering if using irq_work to handle the emergency printing for console > > drivers without write_atomic() would help. (If the printk

Re: [PATCH] arm64/io: Don't use WZR in writel

2019-03-12 Thread Marc Gonzalez
On 24/02/2019 04:53, Bjorn Andersson wrote: > On Sat 23 Feb 10:37 PST 2019, Marc Zyngier wrote: > >> On Sat, 23 Feb 2019 18:12:54 +, Bjorn Andersson wrote: >>> >>> On Mon 11 Feb 06:59 PST 2019, Marc Zyngier wrote: >>> On 11/02/2019 14:29, AngeloGioacchino Del Regno wrote: >

Re: [PATCH] tpm: Make timeout logic simpler and more robust

2019-03-12 Thread Jarkko Sakkinen
On Mon, Mar 11, 2019 at 04:54:04PM -0700, Calvin Owens wrote: > We're having lots of problems with TPM commands timing out, and we're > seeing these problems across lots of different hardware (both v1/v2). > > I instrumented the driver to collect latency data, but I wasn't able to > find any

[PATCH] perf annotate: Remove hist__account_cycles from callback

2019-03-12 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. For

Re: [PATCH 0/3] userfaultfd: allow to forbid unprivileged users

2019-03-12 Thread Peter Xu
On Tue, Mar 12, 2019 at 09:01:47AM +0200, Mike Rapoport wrote: > Hi Peter, > > On Mon, Mar 11, 2019 at 05:36:58PM +0800, Peter Xu wrote: > > Hi, > > > > (The idea comes from Andrea, and following discussions with Mike and > > other people) > > > > This patchset introduces a new sysctl flag to

Re: [PATCH 4/4] MIPS: Loongson32: dts: add ls1b & ls1c

2019-03-12 Thread Rob Herring
On Tue, Mar 12, 2019 at 4:16 AM Jiaxun Yang wrote: > > Add devicetree skeleton for ls1b and ls1c > > Signed-off-by: Jiaxun Yang > --- > arch/mips/boot/dts/loongson/Makefile | 6 ++ > arch/mips/boot/dts/loongson/ls1b.dts | 21 + > arch/mips/boot/dts/loongson/ls1c.dts | 25 ++ >

Re: [PATCH 1/2] amba: Take device out of reset before reading pid and cid values

2019-03-12 Thread Daniel Thompson
On Sat, Mar 09, 2019 at 07:26:34AM +0530, Manivannan Sadhasivam wrote: > For the AMBA Primecell devices having the reset lines wired, it is > necessary to take them out of reset before reading the pid and cid values. > Earlier we were dependent on the bootloader to do this but a more cleaner >

Re: [PATCH 1/3] userfaultfd/sysctl: introduce unprivileged_userfaultfd

2019-03-12 Thread Peter Xu
On Tue, Mar 12, 2019 at 08:58:30AM +0200, Mike Rapoport wrote: [...] > > +config USERFAULTFD_UNPRIVILEGED_DEFAULT > > +string "Default behavior for unprivileged userfault syscalls" > > +depends on USERFAULTFD > > +default "disabled" > > +help > > + Set

[GIT PULL] apparmor updates for v5.1

2019-03-12 Thread John Johansen
Hi, Please pull these apparmor bugfixes for v5.1 Thanks! - John The following changes since commit 43aa09fee2f08c8d90a4f35d4c8c711362afcaee: apparmor: Fix warning about unused function apparmor_ipv6_postroute (2018-11-14 11:42:18 -0800) are available in the Git repository at:

[PATCH v3 0/2] Enable Bluetooth functionality for wcn3998.

2019-03-12 Thread Harish Bandi
This patch series we add support for wcn3998 BT chip set. This new chipset is based from the wcn3990 with minimal power numbers. So here in this patch The major difference between wcn3990 and wcn3998 is only power numbers. where as init process and fw download is same with wcn3990.So we add new

Re: [PATCH v2 0/1] spi: spi-fsl-qspi: call spi_unregister_controller

2019-03-12 Thread Mark Brown
On Tue, Mar 12, 2019 at 11:12:02AM +0100, Volker Haspel wrote: > Changes since v1: > * use devm_spi_register_controller() instead of calling >spi_unregister_controller() in the remove function Please don't send cover letters for single patches, if there is anything that needs saying put it

[PATCH v3 1/2] Bluetooth: hci_qca: Added support for wcn3998

2019-03-12 Thread Harish Bandi
Added new compatible for wcn3998 and corresponding voltage and current values to wcn3998 compatible. Changed driver code to support wcn3998 Signed-off-by: Harish Bandi --- changes in v3: - updated to latest code base. --- drivers/bluetooth/btqca.c | 4 ++-- drivers/bluetooth/btqca.h | 3

[PATCH v3 2/2] dt-bindings: net: bluetooth: Add device tree bindings for QTI chip wcn3998

2019-03-12 Thread Harish Bandi
This patch enables regulators for the Qualcomm Bluetooth wcn3998 controller. Signed-off-by: Harish Bandi --- changes in v3: - updated to latest code base. --- .../devicetree/bindings/net/qualcomm-bluetooth.txt| 15 +++ 1 file changed, 15 insertions(+) diff --git

Re: [PATCH v8 2/2] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-03-12 Thread Matthias Brugger
On 11/03/2019 09:54, Erin Lo wrote: > From: Ben Ho > > Add basic chip support for Mediatek 8183, include > uart node with correct uart clocks, pwrap device > > Add clock controller nodes, include topckgen, infracfg, > apmixedsys and subsystem. > > Signed-off-by: Ben Ho > Signed-off-by:

[PATCH v3 4/4] leds: lm3532: Introduce the lm3532 LED driver

2019-03-12 Thread Dan Murphy
Introduce the Texas Instruments LM3532 White LED driver. The driver supports ALS configurability or manual brightness control. The driver also supports associating LED strings with specific control banks in a group or as individually controlled strings. Signed-off-by: Dan Murphy --- v3 -

[PATCH v3 2/4] ARM: dts: omap4-droid4: Update backlight dt properties

2019-03-12 Thread Dan Murphy
Update the properties for the lm3532 device node for droid4. With this change the backlight LED string and the keypad LED strings will be controlled separately. Signed-off-by: Dan Murphy --- v3 - updated keypad label on v1 comment - https://lore.kernel.org/patchwork/patch/1049023/ v2 - Fixed

[PATCH v3 1/4] dt: lm3532: Add lm3532 dt doc and update ti_lmu doc

2019-03-12 Thread Dan Murphy
Add the lm3532 device tree documentation. Remove lm3532 device tree reference from the ti_lmu devicetree documentation. With the addition of the dedicated lm3532 documentation the device can be removed from the ti_lmu.txt. The reason for this is that the lm3532 dt documentation now defines the

[PATCH v3 3/4] mfd: ti-lmu: Remove LM3532 backlight driver references

2019-03-12 Thread Dan Murphy
Remove the LM3532 backlight driver references from the ti-lmu code as dedicated driver support is available. Signed-off-by: Dan Murphy --- v3 - No changes - https://lore.kernel.org/patchwork/patch/1049025/ v2 - Removed LM3532 register definitions from ti-lmu-register -

Re: [PATCH] platform/chrome: Fix locking pattern in wilco_ec_mailbox()

2019-03-12 Thread Enric Balletbo i Serra
Hi Nick, On 11/3/19 16:58, Nick Crews wrote: > Before, ec->data_buffer could be written to from multiple > contexts at the same time. Since the ec is shared data, > it needs to be inside the mutex as well. > Probably you're missing a fixes tag here. > Signed-off-by: Nick Crews > --- >

Re: [PATCH v9 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-03-12 Thread Thierry Reding
On Tue, Mar 12, 2019 at 10:17:39AM +0100, Uwe Kleine-König wrote: > Hello, > > there are just a few minor things left I commented below. > > On Tue, Mar 12, 2019 at 01:41:29PM +0530, Yash Shah wrote: > > +#define div_u64_round(a, b) \ > > + ({typeof(b) __b = b; div_u64((a) + __b / 2, __b); })

[PATCH] drivers/staging/rtl8712 - fix up non-kerneldoc comments

2019-03-12 Thread Valdis Klētnieks
Building with W=1 reports (among other things) CC [M] drivers/staging/rtl8712/rtl871x_ioctl_linux.o drivers/staging/rtl8712/rtl871x_ioctl_linux.c:1106: warning: Cannot understand * on line 1106 - I thought it was a doc line CC [M] drivers/staging/rtl8712/os_intfs.o

Re: Fw files for QCA BT Chip QCA6174

2019-03-12 Thread Josh Boyer
On Wed, Mar 6, 2019 at 11:40 AM Balakrishna Godavarthi wrote: > > > Hi, > > The following changes since commit > 54b0a748c8966c93aaa8726402e0b69cb51cd5d2: > >WHENCE: Correct errant entries (2019-02-21 07:21:45 -0500) > > are available in the Git repository at: > >

Re: [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2019-03-12 Thread Alan Cox
On Tue, 12 Mar 2019 11:41:02 +0100 LABBE Corentin wrote: > On Mon, Dec 10, 2018 at 05:52:35PM +0300, Sergei Shtylyov wrote: > > Hello! > > > > On 12/10/2018 04:46 PM, Corentin Labbe wrote: > > > > > When playing with a virtual SPARC machine with qemu, I found that the > > > IDE emulated

Re: [PATCH] PM / OPP: Update performance state when freq == old_freq

2019-03-12 Thread Niklas Cassel
On Tue, Mar 12, 2019 at 10:27:18AM +0530, Viresh Kumar wrote: > At boot up, CPUfreq core performs a sanity check to see if the system is > running at a frequency defined in the frequency table of the CPU. If so, > we try to find a valid frequency (lowest frequency greater than the > currently

Re: [PATCH net] staging: rtl8188eu: use is_zero_ether_addr() instead of memcmp()

2019-03-12 Thread Greg KH
On Tue, Mar 12, 2019 at 02:29:29PM +0800, maowenan wrote: > ping... > > On 2019/3/9 11:26, Mao Wenan wrote: What? You got an automated email from my patch system saying that I can not do anything with this patch until after 5.1-rc1 is out, due to the merge window. Why did that not answer the

[PATCH] venus: hfi_parser: fix Source Matcher errors

2019-03-12 Thread Stanimir Varbanov
This fixes following Smatch errors: hfi_parser.c:103 parse_profile_level() error: memcpy() 'proflevel' too small (8 vs 128) hfi_parser.c:129 parse_caps() error: memcpy() 'cap' too small (16 vs 512) Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_parser.c | 12

Re: [PATCH] rcu/tree: Fix self wakeups for grace period kthread

2019-03-12 Thread Neeraj Upadhyay
On 3/12/19 7:20 AM, Steven Rostedt wrote: On Fri, 8 Mar 2019 15:16:18 +0530 Neeraj Upadhyay wrote: Update the code to match the comment that self wakeup of grace period kthread is allowed from interrupt handler, and softirq handler, running in the grace period kthread's context. Present

[PATCH] drivers/tty/tty_jobctrl.c - fix non-kerneldoc comment

2019-03-12 Thread Valdis Klētnieks
Building with W=1 reports (among other things): CC drivers/tty/tty_jobctrl.o drivers/tty/tty_jobctrl.c:317: warning: Cannot understand * on line 317 - I thought it was a doc line Fix up the non-kerneldoc comment. (other warnings to be cleaned up in separate patch) Signed-off-by Valdis

[GIT PULL] Please pull NFS client updates for Linux 5.1

2019-03-12 Thread Trond Myklebust
Hi Linus, The following changes since commit 2137397c92aec3713fa10be3c9b830f9a1674e60: Merge tag 'sound-5.0' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2019-02-20 09:42:52 -0800) are available in the Git repository at:

Re: [PATCH 1/2] PM / wakeup: Remove timer from wakeup_source_remove()

2019-03-12 Thread Viresh Kumar
On 12-03-19, 10:04, Pavel Machek wrote: > On Tue 2019-03-12 08:58:02, Viresh Kumar wrote: > > On 11-03-19, 13:05, Rafael J. Wysocki wrote: > > > On Friday, March 8, 2019 10:53:11 AM CET Viresh Kumar wrote: > > > > wakeup_source_remove() is the counterpart of wakeup_source_add() helper > > > > and

Re: [PATCH 42/42] drivers: gpio: use devm_platform_ioremap_resource()

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:55:21PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-zynq.c | 4 +--- > 1 file

[PATCH] drivers/ras/debugfs.c - add missing #includes

2019-03-12 Thread Valdis Klētnieks
Building with C=2 W=1 reports: CHECK drivers/ras/debugfs.c drivers/ras/debugfs.c:3:15: warning: symbol 'ras_debugfs_dir' was not declared. Should it be static? drivers/ras/debugfs.c:7:5: warning: symbol 'ras_userspace_consumers' was not declared. Should it be static?

Re: [PATCH 38/42] drivers: gpio: vr41xx: use devm_platform_ioremap_resource()

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:55:17PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > this driver deserves a bit more cleanup, to get rid of the global > variable giu_base, which makes it

Re: [PATCH 33/42] drivers: gpio: tegra: use devm_platform_ioremap_resource()

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:55:12PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-tegra.c | 4 +--- > 1

Re: [PATCH 26/42] drivers: gpio: rcar: pendantic formatting

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:55:05PM +0100, Enrico Weigelt, metux IT consult wrote: > a tab sneaked in, where it shouldn't be. Pedantic nitpick: "pendantic" -> "pedantic" in the subject, and start the commit message with a capital letter: "A tab sneaked in [...]". Thierry signature.asc

[PATCH] drivers/platform/x86/dell-rbtn.c - add missing #include

2019-03-12 Thread Valdis Klētnieks
Building with W=1 complains: CC [M] drivers/platform/x86/dell-rbtn.o drivers/platform/x86/dell-rbtn.c:345:5: warning: no previous prototype for 'dell_rbtn_notifier_register' [-Wmissing-prototypes] 345 | int dell_rbtn_notifier_register(struct notifier_block *nb) |

Re: [PATCH 16/42] drivers: gpio: janz-ttl: drop unneccessary temp variable dev

2019-03-12 Thread Thierry Reding
On Tue, Mar 12, 2019 at 10:33:44AM +0100, Enrico Weigelt, metux IT consult wrote: > On 12.03.19 10:17, Ben Dooks wrote: > > On 11/03/2019 18:54, Enrico Weigelt, metux IT consult wrote: > >> don't need the temporary variable "dev", directly use >dev > >> > >> Signed-off-by: Enrico Weigelt, metux

Re: [PATCH 12/42] drivers: gpio: grgpio: use devm_platform_ioremap_resource()

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:54:51PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-grgpio.c | 4 +--- > 1

Re: [PATCH 10/42] drivers: gpio: ep93xx: devm_platform_ioremap_resource()

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:54:49PM +0100, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-ep93xx.c | 7 ++- > 1

Re: [PATCH 03/42] drivers: gpio: amdpt: drop unneeded deref of >dev

2019-03-12 Thread Thierry Reding
On Mon, Mar 11, 2019 at 07:54:42PM +0100, Enrico Weigelt, metux IT consult wrote: > We already have the struct device* pointer in a local variable, > so we can write this a bit shorter. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-amdpt.c | 10 +- > 1

Re: [PATCH 20/42] drivers: gpio: mt7621: use devm_platform_ioremap_resource()

2019-03-12 Thread Matthias Brugger
On 11/03/2019 19:54, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/gpio/gpio-mt7621.c | 3 +-- > 1 file changed, 1

Re: [PATCH 1/3] perf, tools, report: Handle samples without time

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 08:52:22PM -0700, Andi Kleen wrote: > From: Andi Kleen > > When a sample doesn't have a time stamp (e.g. from --no-time), > show the beginning of the trace for res samples instead of generating > an impossible time range that errors out. > > Signed-off-by: Andi Kleen

Re: [PATCH 2/3] perf, tools, report: Pass on -f to child perf script

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 08:52:23PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Pass on -f to the child perf script, so that it can read the perf.data > file if it's owned by a different user. > > Signed-off-by: Andi Kleen Acked-by: Jiri Olsa thanks, jirka > --- >

Re: [RFC][PATCH] Export supported trace features in debugfs

2019-03-12 Thread Qais Yousef
On 03/12/19 11:07, Qais Yousef wrote: > eBPF tools like bcc-tools have hard time figuring out when features like > raw_tracepoint are supported in the kernel on which we are running. At > the moment a fragile mechanism of matching bpf_find_raw_tracepoint() > function in /proc/kallsyms is used to

Re: [PATCH 3/3] perf, tools, report: Set up samples correctly in hierarchy mode

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 08:52:24PM -0700, Andi Kleen wrote: > From: Andi Kleen > > In hierarchy mode the res samples need to be cloned from the parent > entry. Copy them in this case. This fixes res sample browsing > with --hierarchy. > > Signed-off-by: Andi Kleen > --- >

Re: [PATCH v3 2/9] mtd: rawnand: denali: refactor syndrome layout handling for raw access

2019-03-12 Thread Masahiro Yamada
Hi Miquel, On Tue, Mar 12, 2019 at 7:54 PM Miquel Raynal wrote: > > Hi Masahiro, > > Masahiro Yamada wrote on Tue, 12 Mar > 2019 19:51:21 +0900: > > > On Tue, Mar 12, 2019 at 7:28 PM Miquel Raynal > > wrote: > > > > > > Hi Masahiro, > > > > > > Masahiro Yamada wrote on Tue, 12 Mar > > >

Re: [PATCH] mm: vmscan: show zone type in kswapd tracepoints

2019-03-12 Thread Yafang Shao
On Mon, Mar 11, 2019 at 4:47 PM Michal Hocko wrote: > > On Fri 01-03-19 15:38:54, Yafang Shao wrote: > > If we want to know the zone type, we have to check whether > > CONFIG_ZONE_DMA, CONFIG_ZONE_DMA32 and CONFIG_HIGHMEM are set or not, > > that's not so convenient. > > > > We'd better show the

Re: [PATCH v3 2/9] mtd: rawnand: denali: refactor syndrome layout handling for raw access

2019-03-12 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 12 Mar 2019 19:51:21 +0900: > On Tue, Mar 12, 2019 at 7:28 PM Miquel Raynal > wrote: > > > > Hi Masahiro, > > > > Masahiro Yamada wrote on Tue, 12 Mar > > 2019 17:44:43 +0900: > > > > > The Denali IP adopts the syndrome page layout (payload and

Re: [PATCH v3 2/9] mtd: rawnand: denali: refactor syndrome layout handling for raw access

2019-03-12 Thread Masahiro Yamada
On Tue, Mar 12, 2019 at 7:28 PM Miquel Raynal wrote: > > Hi Masahiro, > > Masahiro Yamada wrote on Tue, 12 Mar > 2019 17:44:43 +0900: > > > The Denali IP adopts the syndrome page layout (payload and ECC are > > interleaved). The *_page_raw() and *_oob() callbacks are complicated > > because they

Re: [PATCH] arm64: dts: rockchip: Add Nanopi NEO4 initial support

2019-03-12 Thread Heiko Stuebner
Am Freitag, 8. März 2019, 19:12:02 CET schrieb Jagan Teki: > FriendlyElec NanoPi NEO4 is known to be a revision 4 based > NanoPi4 series of boards. > > Most of know peripherals are shared between Nanopi M4 vs NEO4, except > - 1GB DDR3 > - USB Host ports > - Missing DSI port > - USB 2.0 Host with

Re: [PATCH] clk: rockchip: fix wrong clock definitions for rk3328

2019-03-12 Thread Heiko Stuebner
Am Sonntag, 10. März 2019, 13:00:45 CET schrieb Jonas Karlman: > This patch fixes definition of several clock gate and select register > that is wrong for rk3328 referring to the TRM and vendor kernel. > Also use correct number of softrst registers. > > Fix clock definition for: > - clk_crypto >

Re: [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2019-03-12 Thread Sergei Shtylyov
On 03/12/2019 01:41 PM, LABBE Corentin wrote: >>> When playing with a virtual SPARC machine with qemu, I found that the >>> IDE emulated device was not probing with the ata/pata_oldpiix driver. >> >>Correctly, it should probe with ata_piix, >> >>> But with the old ide/piix, it was probed.>

Re: [PATCH] clocksource/drivers/oxnas: Fix OX820 compatible

2019-03-12 Thread Daniel Lezcano
On 12/03/2019 11:32, Neil Armstrong wrote: > The OX820 compatible is wrong is the driver, fix it. > > Fixes: 2ea3401e2a84 ("clocksource/drivers/oxnas: Add OX820 compatible") > Reported-by: Daniel Golle > Signed-off-by: Neil Armstrong > --- > drivers/clocksource/timer-oxnas-rps.c | 2 +- > 1

[PATCH] drivers/extcon/devres.c - fix kerneldoc comment

2019-03-12 Thread Valdis Klētnieks
Building with W=1 reports: CC drivers/extcon/devres.o drivers/extcon/devres.c:208: warning: bad line: - Resource-managed extcon_unregister_notifier() Give the line the asterisk it wanted. Signed-off-by: Valdis Kletnieks diff --git a/drivers/extcon/devres.c

Re: [PATCH v9 1/9] bitops: Introduce the for_each_set_clump8 macro

2019-03-12 Thread William Breathitt Gray
On Mon, Mar 11, 2019 at 06:01:13PM -0700, Andrew Morton wrote: > On Fri, 8 Mar 2019 09:31:00 +0100 Linus Walleij > wrote: > > > On Sun, Mar 3, 2019 at 8:47 AM William Breathitt Gray > > wrote: > > > > > This macro iterates for each 8-bit group of bits (clump) with set bits, > > > within a

Re: [PATCH] ata: pata_oldpiix: Add missing device ID for INTEL_82371AB

2019-03-12 Thread LABBE Corentin
On Mon, Dec 10, 2018 at 05:52:35PM +0300, Sergei Shtylyov wrote: > Hello! > > On 12/10/2018 04:46 PM, Corentin Labbe wrote: > > > When playing with a virtual SPARC machine with qemu, I found that the > > IDE emulated device was not probing with the ata/pata_oldpiix driver. > >Correctly, it

Re: [PATCH 1/3] arm64: dts: rockchip: rk3399: rock960: Rename vcc_sys into vcc5v0_sys

2019-03-12 Thread Heiko Stuebner
Am Montag, 11. März 2019, 16:03:30 CET schrieb Jagan Teki: > It is always better practice to follow regulator naming conventions > as per the schematics for future references. > > So, rename vcc_sys into vcc5v0_sys as per rk3399 power diagram of > rock960 schematics. > > Signed-off-by: Jagan

[PATCH] clocksource/drivers/oxnas: Fix OX820 compatible

2019-03-12 Thread Neil Armstrong
The OX820 compatible is wrong is the driver, fix it. Fixes: 2ea3401e2a84 ("clocksource/drivers/oxnas: Add OX820 compatible") Reported-by: Daniel Golle Signed-off-by: Neil Armstrong --- drivers/clocksource/timer-oxnas-rps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 3/3] x86/kdump/64: Change the upper limit of crashkernel reservation

2019-03-12 Thread Baoquan He
Restrict kdump to only reserve crashkernel below 64TB. Since the kdump jumping may be from 5-level to 4-level, and the kdump kernel is put above 64TB in 5-level kernel, then the jumping will fail. And the crashkernel reservation is done during the 1st kernel bootup, there's no way to detect the

Re: Misc improvements and bug fixes for perf

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 01:24:36PM -0700, Andi Kleen wrote: > Mostly unrelated to each other, so can be picked'n'chosed. > > - Fix perf stat --no-scale > - Support --reltime in perf script > - Fix crashes with stat -r > - Handle JITed code better in perf report > - Allow to limit rotated

[PATCH v3 0/3] Add restrictions for kexec/kdump jumping between 5-level and 4-level kernel

2019-03-12 Thread Baoquan He
This is v3 post. The original v1 post can be found here: http://lkml.kernel.org/r/20180829141624.13985-1-...@redhat.com Later a v1 RESEND version: http://lkml.kernel.org/r/20190125022817.29506-1-...@redhat.com V2 post is here: http://lkml.kernel.org/r/20190312005004.19182-1-...@redhat.com This

[PATCH v3 2/3] x86/kexec/64: Error out if try to jump to old 4-level kernel from 5-level kernel

2019-03-12 Thread Baoquan He
In relocate_kernel() CR4.LA57 flag is set before kexec jumping if the kernel has 5-level paging enabled. Then in boot/compressed/head_64.S, it will check if the booting kernel is in 4-level or 5-level paging mode, and handle accordingly. However, the old kernel which doesn't contain the 5-level

Re: [PATCH v1 05/10] perf, report: Show all sort keys in help output

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 01:24:41PM -0700, Andi Kleen wrote: > From: Andi Kleen > > Show all the supported sort keys in the command line help output, > so that it's not needed to refer to the manpage. > > The output is not line wrapped, so it can be fairly long. > > Before: > > % perf report

Re: [PATCH v1 04/10] perf, tools, record: Clarify help for --switch-output

2019-03-12 Thread Jiri Olsa
On Mon, Mar 11, 2019 at 01:24:40PM -0700, Andi Kleen wrote: > From: Andi Kleen > > The help description for --switch-output looks like there > are multiple comma separated fields. But it's actually a choice > of different options. Make it clear and less confusing. > > Before: > > % perf report

Re: [RFC PATCH v1 08/25] printk: add ring buffer and kthread

2019-03-12 Thread Petr Mladek
On Mon 2019-03-11 11:51:49, John Ogness wrote: > On 2019-03-07, Sergey Senozhatsky wrote: > > I don't really understand the role of loglevel anymore. > > "what the kernel considers" is a configuration option of the > administrator. The administrator can increase the verbocity of the > console

[PATCH v3 1/3] x86/boot: Add xloadflags bits for 5-level kernel checking

2019-03-12 Thread Baoquan He
Add two bits XLF_5LEVEL and XLF_5LEVEL_ENABLED for 5-level kernel. Bit XLF_5LEVEL indicates if 5-level related code is contained in this kernel. Bit XLF_5LEVEL_ENABLED indicates if CONFIG_X86_5LEVEL=y is set. They are being used in later patch to check if kexec/kdump kernel is loaded in right

Re: [PATCH] arm64: dts: meson-gxl-s905d-phicomm-n1: add status LED

2019-03-12 Thread Chuanhong Guo
Hi! On Tue, Mar 12, 2019 at 4:59 PM Neil Armstrong wrote: > [...] > BTW, do you know if it's possible to have a sample of the Phicomm N1 > in order to be added in kernelci ? It's easy to purchase one in China and second-handed ones are dirt cheap, but I don't think it's available worldwide. I'm

Re: [PATCH v3 2/9] mtd: rawnand: denali: refactor syndrome layout handling for raw access

2019-03-12 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 12 Mar 2019 17:44:43 +0900: > The Denali IP adopts the syndrome page layout (payload and ECC are > interleaved). The *_page_raw() and *_oob() callbacks are complicated > because they must hide the underlying layout used by the hardware, > and always

[PATCH] ARM: dts: Add stmpe-adc DT node to Toradex T30 modules

2019-03-12 Thread Philippe Schenker
From: Philippe Schenker Add the stmpe-adc DT node as found on Toradex T30 modules Signed-off-by: Philippe Schenker --- arch/arm/boot/dts/tegra30-apalis-v1.1.dtsi | 22 ++ arch/arm/boot/dts/tegra30-apalis.dtsi | 22 ++

[PATCH] security/keys/request_key.c - fix kerneldoc

2019-03-12 Thread Valdis Klētnieks
CC security/keys/request_key.o security/keys/request_key.c:35: warning: Function parameter or member 'authkey' not described in 'complete_request_key' security/keys/request_key.c:35: warning: Excess function parameter 'auth_key' description in 'complete_request_key' Fix it up to match

[PATCH] fs/handle.c - fix up kerneldoc

2019-03-12 Thread Valdis Klētnieks
CC fs/fhandle.o fs/fhandle.c:259: warning: Function parameter or member 'flags' not described in 'sys_open_by_handle_at' fs/fhandle.c:259: warning: Excess function parameter 'flag' description in 'sys_open_by_handle_at' Fix apparent typo in the kerneldoc Signed-off-by: Valdis Kletnieks

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

2019-03-12 Thread Andreas Schwab
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. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint =

Re: [PATCH v2 3/3] x86/kdump/64: Change the upper limit of crashkernel reservation

2019-03-12 Thread Baoquan He
On 03/12/19 at 12:48pm, Kirill A. Shutemov wrote: > > #ifdef CONFIG_X86_32 > > # define CRASH_ADDR_LOW_MAX(512 << 20) > > # define CRASH_ADDR_HIGH_MAX (512 << 20) > > #else > > # define CRASH_ADDR_LOW_MAX(896UL << 20) > > -# define CRASH_ADDR_HIGH_MAX MAXMEM > > +#

[PATCH v2 0/1] spi: spi-fsl-qspi: call spi_unregister_controller

2019-03-12 Thread Volker Haspel
Changes since v1: * use devm_spi_register_controller() instead of calling spi_unregister_controller() in the remove function Thanks Volker Volker Haspel (1): spi: spi-fsl-qspi: use devm_spi_register_controller drivers/spi/spi-fsl-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 1/1] spi: spi-fsl-qspi: use devm_spi_register_controller

2019-03-12 Thread Volker Haspel
The driver does not clearly unregister the spi controller. Therefore calling an unbind and bind again will end up in a Kernel crash. The function devm_spi_register_controller will automatically be unregister the SPI device. Signed-off-by: Volker Haspel Signed-off-by: John Ogness ---

Re: [PATCH v2] arm64: dts: rockchip: Fix vcc_host1_5v GPIO polarity on rk3328-rock64

2019-03-12 Thread Heiko Stuebner
Am Samstag, 9. März 2019, 17:10:12 CET schrieb Tomohiro Mayama: > This patch makes USB ports functioning again. > > Suggested-by: Robin Murphy > Signed-off-by: Tomohiro Mayama > Tested-by: Katsuhiro Suzuki added Fixes and Cc-stable tags and applied as fix for 5.1 Thanks Heiko

Re: [PATCH 3/9] drivers: ata: ahci_tegra: use devm_platform_ioremap_resource()

2019-03-12 Thread Jon Hunter
On 12/03/2019 09:19, Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > Signed-off-by: Enrico Weigelt, metux IT consult > --- > drivers/ata/ahci_tegra.c | 13 + > 1 file changed,

Re: [PATCH 1/2] PM / Runtime: Consolidate code to get active/suspended time

2019-03-12 Thread Ulf Hansson
On Mon, 11 Mar 2019 at 13:03, Rafael J. Wysocki wrote: > > On Tuesday, March 5, 2019 1:55:26 PM CET Ulf Hansson wrote: > > In a step to consolidate code around fetching the runtime PM active/suspend > > time for a device, let's re-factor the existing pm_runtime_suspended_time() > > and add a new

[PATCH] selftests: cpu-hotplug: check hotplug dir for the CONFIG_HOTPLUG_CPU

2019-03-12 Thread Po-Hsu Lin
When the CONFIG_HOTPLUG_CPU is not set, there won't be a "hotplug" directory in /sys/devices/system/cpu/. Make use of this fact to check if we need to skip this test. Signed-off-by: Po-Hsu Lin --- tools/testing/selftests/cpu-hotplug/cpu-on-off-test.sh | 5 + 1 file changed, 5 insertions(+)

Re: [RFC PATCH v1 08/25] printk: add ring buffer and kthread

2019-03-12 Thread Sergey Senozhatsky
On (03/11/19 11:51), John Ogness wrote: > > In new printk design the tasks are still affected by printing floods. > > Tasks have to line up and (busy) wait for each other, regardless of > > contexts. > > They only line up and busy wait is to add the informational message to > the ring buffer. The

Re: [PATCH 5.0 30/46] x86/boot/compressed/64: Do not read legacy ROM on EFI system

2019-03-12 Thread Kirill A. Shutemov
On Sat, Mar 09, 2019 at 10:10:19PM -0800, h...@zytor.com wrote: > >@@ -47,8 +50,18 @@ static unsigned long find_trampoline_pla > > * This code is based on reserve_bios_regions(). > > */ > > > >-ebda_start = *(unsigned short *)0x40e << 4; > >-bios_start = *(unsigned short *)0x413

Re: [PATCH v3 4/9] mtd: rawnand: denali: switch over to ->exec_op() from legacy hooks

2019-03-12 Thread Masahiro Yamada
On Tue, Mar 12, 2019 at 6:03 PM Boris Brezillon wrote: > > On Tue, 12 Mar 2019 17:44:45 +0900 > Masahiro Yamada wrote: > > > > + > > +static int denali_exec_instr(struct nand_chip *chip, > > + const struct nand_op_instr *instr) > > +{ > > + struct denali_nand_info

Re: [PATCH v2 3/3] x86/kdump/64: Change the upper limit of crashkernel reservation

2019-03-12 Thread Kirill A. Shutemov
On Tue, Mar 12, 2019 at 08:50:04AM +0800, Baoquan He wrote: > Restrict kdump to only reserve crashkernel below 64TB. Since the kdump > jumping may be from 5-level to 4-level, and the kdump kernel is put > above 64TB in 5-level kernel, then the jumping will fail. And the > crashkernel reservation

Re: [PATCH 14/14] xtensa: entry: Remove unneeded need_resched() loop

2019-03-12 Thread Valentin Schneider
On 12/03/2019 01:10, Max Filippov wrote: [...] > > Acked-by: Max Filippov > Thanks!

Re: [PATCH 12/14] sparc64: rtrap: Remove unneeded need_resched() loop

2019-03-12 Thread Valentin Schneider
Hi, On 11/03/2019 23:13, David Miller wrote: [...] > > We must re-evaluate the %tstate value stored in ptregs, you cannot > make this change. > That's the one I was the less sure about, thanks for clearing it up and sorry for the noise.

RE: [PATCHv4 23/28] dt-bindings: pci: Add NXP Layerscape SoCs PCIe Gen4 controller

2019-03-12 Thread Z.q. Hou
Hi All, Please ignore this, has re-sent it adding lost Reviewed-by tag. Thanks, Zhiqiang > -Original Message- > From: Z.q. Hou > Sent: 2019年3月11日 17:33 > To: linux-...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; >

<    6   7   8   9   10   11   12   13   >