[PATCH V4 0/7] mmc: add support for sdhci 4.0

2018-07-23 Thread Chunyan Zhang
>From the SD host controller version 4.0 on, SDHCI implementation either is version 3 compatible or version 4 mode. This patch-set covers those changes which are common for SDHCI 4.0 version, regardless of whether they are used with SD or eMMC storage devices. This patchset also added a new sdhci

[PATCH V4 2/7] mmc: sdhci: Change SDMA address register for v4 mode

2018-07-23 Thread Chunyan Zhang
According to the SD host controller specification version 4.10, when Host Version 4 is enabled, SDMA uses ADMA System Address register (05Fh-058h) instead of using SDMA System Address register to support both 32-bit and 64-bit addressing. Signed-off-by: Chunyan Zhang ---

[PATCH V4 3/7] mmc: sdhci: add ADMA2 64-bit addressing support for V4 mode

2018-07-23 Thread Chunyan Zhang
ADMA2 64-bit addressing support is divided into V3 mode and V4 mode. So there are two kinds of descriptors for ADMA2 64-bit addressing i.e. 96-bit Descriptor for V3 mode, and 128-bit Descriptor for V4 mode. 128-bit Descriptor is aligned to 8-byte. For V4 mode, ADMA2 64-bit addressing is enabled

[char-misc-next 1/3] mei: cleanup slots to data conversions

2018-07-23 Thread Tomas Winkler
Cleanup conversions between slots and data. Define MEI_SLOT_SIZE instead of using 4 or sizeof(u32) across the source code. Signed-off-by: Tomas Winkler --- drivers/misc/mei/client.c | 2 +- drivers/misc/mei/hw-me.c | 8 drivers/misc/mei/hw-txe.c | 8

[char-misc-next 2/3] mei: move hbuf_depth from the mei device to the hw modules

2018-07-23 Thread Tomas Winkler
The host buffer depth is hardware specific so it's better to handle it inside the me and txe hw modules. In me the depth is read from register in txe it's a constant number. The value is now retrieved via mei_hbuf_depth accessor, while it replaces mei_hbuf_max_len. Signed-off-by: Tomas Winkler

Re: [PATCH 1/5] arm64: defconfig: Enable sound support for Samsung Chromebook Plus.

2018-07-23 Thread Heiko Stuebner
Am Dienstag, 17. Juli 2018, 18:06:06 CEST schrieb Enric Balletbo i Serra: > Enable the Rockchip sound driver with MAX98357A/RT5514/DA7219 codecs > needed for the Samsung Chromebook Plus. > > Signed-off-by: Enric Balletbo i Serra applied all 5 for 4.19. As Olof requested less granularity for

Re: [PATCH v1 1/2] mm: clarify semantics of reserved pages

2018-07-23 Thread Michal Hocko
On Fri 20-07-18 14:34:21, David Hildenbrand wrote: > The reserved bit once was used to hinder pages from getting swapped. While > this still works, Does it? There is no single PageReserved check in the reclaim path. I have no idea when we stopped checking but it must be lng ago. > the

Re: [PATCH v2 3/5] mm/page_alloc: Optimize free_area_init_core

2018-07-23 Thread Michal Hocko
On Thu 19-07-18 22:52:35, Oscar Salvador wrote: > On Thu, Jul 19, 2018 at 05:15:55PM +0200, Michal Hocko wrote: > > Your changelog doesn't really explain the motivation. Does the change > > help performance? Is this a pure cleanup? > > Hi Michal, > > Sorry to not have explained this better from

Re: [PATCH] sched/topology: check variable group before dereferenced

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 12:19:07PM +0800, Yi Wang wrote: > The variable group in sched_domain_debug_one() is not checked > when firstly used in cpumask_test_cpu(cpu, sched_group_span(group)), > but it maybe NULL(checked later in the following while loop) and may > cause NULL pointer dereference

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Peter De Schrijver
On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: > The host1x clock according to both tegra2 and tegra3 manuals is > an 8bit divider with lsb being fractional. This is running into > an issue where the host1x is being set on a tegra20a system to > 266.4MHz but ends up at 222MHz instead.

[RFC] SERR# handling by Linux

2018-07-23 Thread poza
Hi Bjorn and Keith, This discussion is to extend the idea of follwing patch. [PATCH] PCI/AER: Enable SERR# forwarding in non ACPI flow PCIe Spec 7.6.2.1.3 Command Register (Offset 04h) SERR# Enable – See Section 7.6.2.1.14. When Set, this bit enables reporting upstream of Non-fatal and Fatal

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Yue Wang
Please ignore this commit. there's something wrong. My apologies again. On Mon, Jul 23, 2018 at 1:53 AM Yue Wang wrote: > > Thesycon provides solutions to XMOS chips, and has its own device vendor id. > > In this patch, we use generic method to detect DSD capability of > Thesycon-based UAC2 >

Re: Issue related cpuhotplug failure path on 4.9.x version

2018-07-23 Thread Mukesh Ojha
Adding stable and lkml. Sorry for spam others. -Mukesh On 7/23/2018 1:57 PM, Mukesh Ojha wrote: Hi All, I wanted to discuss about one of the corner case exists in 4.9 kernel (4.9.x) where If hotplug of one of the CPU fails due to failure in one of the callback, which is to be called after

Re: [PATCH v14 20/25] x86/tsc: calibrate tsc only once

2018-07-23 Thread Alan Cox
> >> If we determined tsc early in boot using one of the quick methods: > >> from cpuid/msr/quick_pit, can we assume that frequencies of all other > >> CPUs will be determined the same way? Or do we still have to fallback Not on 32bit at least. You can have a mixed slot 1 SMP system such as an

[PATCH v2 5/6] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2043 1 file changed, 2043 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git

[PATCH v4 2/4] x86/boot: Add acpitb.c to parse acpi tables

2018-07-23 Thread Chao Fan
Imitate the ACPI code to parse ACPI tables. Functions are simplified cause some operations are not needed here. And also, this method won't influence the initialization of ACPI. Signed-off-by: Chao Fan --- arch/x86/boot/compressed/Makefile | 4 + arch/x86/boot/compressed/acpitb.c | 251

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 10:56:46 +0200, Yue Wang wrote: > > Thesycon provides solutions to XMOS chips, and has its own device vendor id. > > In this patch, we use generic method to detect DSD capability of > Thesycon-based UAC2 > implementations in order to support a wide range of current and

Re: Issue related cpuhotplug failure path on 4.9.x version

2018-07-23 Thread Greg Kroah-Hartman
On Mon, Jul 23, 2018 at 02:49:27PM +0530, Mukesh Ojha wrote: > On 7/23/2018 1:57 PM, Mukesh Ojha wrote: > > > > Hi All, > > > > I wanted to discuss about one of the corner case exists in 4.9 kernel > > (4.9.x) where 4.9 is over 1 1/2 years old now. Please test this on 4.17 or better yet,

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Boris Brezillon
On Mon, 23 Jul 2018 11:34:43 +0200 Arnd Bergmann wrote: > On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon > wrote: > > +Arnd, Rob and the DT ML. > > > > On Sat, 21 Jul 2018 14:53:47 -0700 > > Randy Dunlap wrote: > > > >> On 07/21/2018 01:00 PM, Anders Roxell wrote: > >> > JZ4780_NEMC

Re: [PATCH v2 2/3] reset: imx7: Fix always writing bits as 0

2018-07-23 Thread Lucas Stach
As this doesn't depend on any other patch in this series, I think it would be fine if Philipp takes this patch through the reset tree. Regards, Lucas Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > Right now the only user of reset-imx7 is pci-imx6 and the >

linux-next: build failure after merge of the akpm-current tree

2018-07-23 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (sparc (32 bit) defconfig) failed like this: In file included from kernel/crash_core.c:9:0: kernel/crash_core.c: In function 'crash_save_vmcoreinfo_init': include/linux/crash_core.h:44:66: error: lvalue required as unary '&'

Re: [PATCHv5 11/19] x86/mm: Implement vma_keyid()

2018-07-23 Thread Kirill A. Shutemov
On Wed, Jul 18, 2018 at 04:40:14PM -0700, Dave Hansen wrote: > > --- a/arch/x86/mm/mktme.c > > +++ b/arch/x86/mm/mktme.c > > @@ -1,3 +1,4 @@ > > +#include > > #include > > > > phys_addr_t mktme_keyid_mask; > > @@ -37,3 +38,14 @@ struct page_ext_operations page_mktme_ops = { > > .need =

Re: [PATCH] netlink: fix memory leak of dump

2018-07-23 Thread Pablo Neira Ayuso
On Mon, Jul 23, 2018 at 11:42:28AM +0200, Florian Westphal wrote: > Pablo Neira Ayuso wrote: > > > As David pointed out, once ->start() returns 0 we set cb_running, i.e. > > > only after successful ->start() netlink core will call ->dump() again. > > > > > > So I see no problem setting ->data to

Re: [PATCH] can: peak_usb: mark expected switch fall-throughs

2018-07-23 Thread Marc Kleine-Budde
On 06/28/2018 07:41 PM, Gustavo A. R. Silva wrote: > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > where we are expecting to fall through. > > Signed-off-by: Gustavo A. R. Silva applied to linux-can-next. Tnx, Marc -- Pengutronix e.K. | Marc

Re: [PATCH] apalis_t30: fix can2

2018-07-23 Thread Marc Kleine-Budde
On 06/25/2018 09:59 AM, Marcel Ziswiler wrote: > From: Marcel Ziswiler > > CAN2 currently fails on probe as follows: > > mcp251x spi1.1: Probe failed, err=19 > > Fix this by enabling input on pin mux of resp. SPI4 pins. > > Signed-off-by: Marcel Ziswiler I can take this via the linux-can

Re: [PATCH RFC 2/7] mmc: core: devfreq: Add devfreq based clock scaling support

2018-07-23 Thread Vijay Viswanath
Hi Sayali, On 7/13/2018 3:22 PM, Sayali Lokhande wrote: This change adds the use of devfreq to MMC. Both eMMC and SD card will use it. For some workloads, such as video playback, it isn't necessary for these cards to run at high speed. Running at lower frequency, for example 52MHz, in such

Build regressions/improvements in v4.18-rc6

2018-07-23 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.18-rc6[1] compared to v4.17[2]. Summarized: - build errors: +2/-1 - build warnings: +222/-46421 JFYI, when comparing v4.18-rc6[1] to v4.18-rc5[3], the summaries are: - build errors: +0/-104 - build warnings: +77/-63

Re: [PATCH] livepatch: Validate module/old func name length

2018-07-23 Thread Jiri Kosina
On Fri, 20 Jul 2018, Kamalesh Babulal wrote: > livepatch module author can pass module name/old function name with more > than the defined character limit. With obj->name length greater than > MODULE_NAME_LEN, the livepatch module gets loaded but waits forever on > the module specified by

Re: [PATCH] fs: ceph: Adding new return type vm_fault_t

2018-07-23 Thread Yan, Zheng
> On Jul 22, 2018, at 20:16, Souptick Joarder wrote: > > Use new return type vm_fault_t for page_mkwrite > and fault handler. > > vmf_error() is the newly introduce inline function > in 4.17 > > Signed-off-by: Souptick Joarder > Reviewed-by: Matthew Wilcox > --- > fs/ceph/addr.c | 62

Re: [PATCH] apalis_t30: fix can2

2018-07-23 Thread Marc Kleine-Budde
On 07/23/2018 10:16 AM, Marc Kleine-Budde wrote: > On 06/25/2018 09:59 AM, Marcel Ziswiler wrote: >> From: Marcel Ziswiler >> >> CAN2 currently fails on probe as follows: >> >> mcp251x spi1.1: Probe failed, err=19 >> >> Fix this by enabling input on pin mux of resp. SPI4 pins. >> >>

Re: [PATCH 2/2] ASoC: tegra: probe deferral error reporting

2018-07-23 Thread Mark Brown
On Sat, Jul 21, 2018 at 10:06:23AM +, Marcel Ziswiler wrote: > On Sat, 2018-07-21 at 10:56 +0100, Mark Brown wrote: > > > > > - dev_err(>dev, "no codec-sync GPIO > > > > > supplied\n"); > > > > > + ret = ac97->sync_gpio; > And here I assign ret with that return value

Re: [PATCH 1/2] Add sw2_sw4 voltage table to cpcap regulator.

2018-07-23 Thread Mark Brown
On Sat, Jul 21, 2018 at 07:23:31AM -0400, Peter Geis wrote: > Re-sending due to email address typo. > > SW2 and SW4 use a shared table to provide voltage to the cpu core and > devices on Tegra hardware. > Added this table to the cpcap regulator driver as the first step to > supporting this device

Re: include architecture Kconfig files from top-level Kconfig v2

2018-07-23 Thread Richard Weinberger
Am Sonntag, 8. Juli 2018, 17:19:55 CEST schrieb Christoph Hellwig: > Hi Masahiro, > > what do you think about the series below, which moves the includes > of all the architecture independ Kconfig files to the top-level > Kconfig instead of duplicating the includes in all architectures? > > Note

Re: linux-next: manual merge of the kvm-arm tree with the arm64 tree

2018-07-23 Thread Marc Zyngier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 23/07/18 05:46, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the kvm-arm tree got a conflict in: > > arch/arm64/include/asm/cpucaps.h > > between commit: > > 314d53d29798 ("arm64: Handle mismatched cache type") > > from

Re: [PATCH v14 1/2] Reorganize the oom report in dump_header

2018-07-23 Thread Michal Hocko
On Mon 23-07-18 10:56:13, 禹舟键 wrote: > Hi Michal > OK, thanks. Is there any problems for V14? I do not know of any. Both patches are sitting in the mmotm tree so they should be merged in a forseeable future as long as nobody finds any problems. -- Michal Hocko SUSE Labs

[PATCH v1] tracing: Trivia spelling fix containerof() -> container_of()

2018-07-23 Thread Andy Shevchenko
This is the only location on kernel that has wrong spelling of the container_of() helper. Fix it. Signed-off-by: Andy Shevchenko --- kernel/trace/trace_printk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_printk.c b/kernel/trace/trace_printk.c index

Re: [PATCH 4/5] RTC: RK808: add RTC driver for RK809 and RK817.

2018-07-23 Thread Alexandre Belloni
Hi, The subject should be rtc: rk808: add RK809 and RK817 support With that fixed: On 23/07/2018 11:19:04+0800, Tony Xie wrote: > RK809 and RK817 are power management IC chips for multimedia products. > Most of their functions and registers are same, including the rtc. > > Signed-off-by: Tony

Re: [PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Takashi Iwai
On Mon, 23 Jul 2018 10:54:49 +0200, Yue Wang wrote: > > Please ignore this commit. there's something wrong. My apologies again. Heh, don't worry. BTW, at the next submission, please fix the subject prefix as well. The usual subject line for ALSA code is like: ALSA: usb-audio: Blah blah...

[PATCH] alsa/usb-audio: Generic DSD detection for Thesycon-based implementations

2018-07-23 Thread Yue Wang
Thesycon provides solutions to XMOS chips, and has its own device vendor id. In this patch, we use generic method to detect DSD capability of Thesycon-based UAC2 implementations in order to support a wide range of current and future devices. The patch will enable the SNDRV_PCM_FMTBIT_DSD_U32_BE

[PATCH] mm/mempool: add missing parameter description

2018-07-23 Thread Mike Rapoport
The kernel-doc for mempool_init function is missing the description of the pool parameter. Add it. Signed-off-by: Mike Rapoport --- mm/mempool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/mempool.c b/mm/mempool.c index b54f2c2..9e16b63 100644 --- a/mm/mempool.c +++ b/mm/mempool.c @@

[PATCH] firewire: sbp2: Replace GFP_ATOMIC with GFP_KERNEL in sbp2_scsi_queuecommand()

2018-07-23 Thread Jia-Ju Bai
sbp2_scsi_queuecommand() is only set to .queuecommand of "struct scsi_host_template", and this function pointer is never called in atomic context. sbp2_scsi_queuecommand() calls kzalloc() with GFP_ATOMIC, which is not necessary. GFP_ATOMIC can be replaced with GFP_KERNEL. This is found by a

Re: linux-next: build warning after merge of the tty tree

2018-07-23 Thread Andy Shevchenko
On Mon, 2018-07-23 at 15:39 +1000, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/tty/serial/8250/8250_exar.c: In function 'pci_xr17v35x_setup': >

RE: [LINUX PATCH v11 3/3] mtd: rawnand: pl353: Add basic driver for arm pl353 smc nand interface

2018-07-23 Thread Naga Sureshkumar Relli
Hi Miquel, > -Original Message- > From: Miquel Raynal [mailto:miquel.ray...@bootlin.com] > Sent: Monday, July 23, 2018 1:01 PM > To: Naga Sureshkumar Relli > Cc: boris.brezil...@bootlin.com; rich...@nod.at; dw...@infradead.org; > computersforpe...@gmail.com; marek.va...@gmail.com;

[PATCH] iio: ad_sigma_delta: use unsigned long for timeout

2018-07-23 Thread Nicholas Mc Guire
wait_for_completion_timeout returns unsigned long not int so an appropriate variable is declared and the assignment and check fixed up. Signed-off-by: Nicholas Mc Guire --- found by experimental coccinelle script As the timeout returned is always << INT_MAX there is no side-effect with the

Re: [tip:sched/core] sched/cputime: Ensure accurate utime and stime ratio in cputime_adjust()

2018-07-23 Thread Peter Zijlstra
On Tue, Jul 17, 2018 at 12:08:36PM +0800, Xunlei Pang wrote: > The trace data corresponds to the last sample period: > trace entry 1: > cat-20755 [022] d... 1370.106496: cputime_adjust: task > tick-based utime 36256000 stime 255100, scheduler rtime 333060702626 >

[PATCH v2 2/6] dt-bindings: mmc: rockchip-dw-mshc: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/6] dt-bindings: usb: dwc2: add description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt

[PATCH v2 4/6] dt-bindings: rockchip: grf: add grf and pmugrf description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

RE: [PATCH 4/4] iio: adc: xilinx: Use devm_ functions while requesting irq

2018-07-23 Thread Manish Narani
Hi Lars, > -Original Message- > From: Lars-Peter Clausen [mailto:l...@metafoo.de] > Sent: Thursday, July 19, 2018 10:08 PM > To: Manish Narani ; ji...@kernel.org; > knaac...@gmx.de; pme...@pmeerw.net; Michal Simek > ; linux-...@vger.kernel.org; linux-arm- > ker...@lists.infradead.org;

[PATCH v2 0/6] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen Changes in V2: 1. change the subject to format "dt-bindings: module: ..." for the documents. 2. use new property for backlight. 3. remove pinctrl of rk809, because the driver is not ready. Liang Chen (6): dt-bindings: usb: dwc2: add description for px30 dt-bindings: mmc:

[PATCH v2 3/6] dt-bindings: sound: rockchip-i2s: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-i2s", "rockchip,rk3066-i2s" for i2s on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] netlink: fix memory leak of dump

2018-07-23 Thread Florian Westphal
Pablo Neira Ayuso wrote: > > diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c > > --- a/net/netfilter/nf_tables_api.c > > +++ b/net/netfilter/nf_tables_api.c > > @@ -5010,6 +5013,22 @@ nft_obj_filter_alloc(const struct nlattr * const > > nla[]) > > return filter; >

[PATCH v2 6/6] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-07-23 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 +

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Ben Dooks
On 2018-07-23 09:50, Peter De Schrijver wrote: On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: The host1x clock according to both tegra2 and tegra3 manuals is an 8bit divider with lsb being fractional. This is running into an issue where the host1x is being set on a tegra20a

Re: [PATCH v2 3/3] PCI: imx: Initial imx7d pm support

2018-07-23 Thread Lucas Stach
Hi Leonard, Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > On imx7d the pcie-phy power domain is turned off in suspend and this can > make the system hang after resume when attempting any read from PCI. > > Fix this by adding minimal suspend/resume code from the nxp internal

Re: [RFC PATCH] sched/deadline: sched_getattr() returns absolute dl-task information

2018-07-23 Thread Peter Zijlstra
On Fri, Jun 29, 2018 at 02:09:47PM +0200, Alessio Balsini wrote: Joel nailed it wrt the Changelog, that needs improvement. > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > index fbfc3f1d368a..f75a4169cd47 100644 > --- a/kernel/sched/deadline.c > +++ b/kernel/sched/deadline.c >

linux-next: Tree for Jul 23

2018-07-23 Thread Stephen Rothwell
Hi all, Changes since 20180720: Dropped trees: xarray, ida (complex conflicts) The drm-msm tree gained a conflict against the drm tree and a build failure due to an interaction with the drm tree for which I added a merge fix patch. The kvm-arm tree gained a conflict against the arm64 tree.

Re: [PATCHv4 00/12] atomics: generate atomic headers / instrument arm64

2018-07-23 Thread Mark Rutland
On Mon, Jul 16, 2018 at 12:30:05PM +0100, Mark Rutland wrote: > Hi Ingo, Sorry to ping, but are you happy to pick this up? Mark. > Are you happy to pick this series? Both Will and Peter are happy with v3, and > since then I've only made a minor cleanup to the commit messages for patches > 8-10

Re: [PATCHv5 18/19] x86/mm: Handle encrypted memory in page_to_virt() and __pa()

2018-07-23 Thread Kirill A. Shutemov
On Thu, Jul 19, 2018 at 12:21:44AM +0200, Thomas Gleixner wrote: > On Tue, 17 Jul 2018, Kirill A. Shutemov wrote: > > > Per-KeyID direct mappings require changes into how we find the right > > virtual address for a page and virt-to-phys address translations. > > > > page_to_virt() definition

[char-misc-next 3/3] mei: add mei_msg_hdr_init wrapper.

2018-07-23 Thread Tomas Winkler
Wrap the mei header boilerplate initialization code in mei_msg_hdr_init function. On the way remove 'completed' field from mei_cl_cb structure as this information is already included in the header and is local to particular fragment. Signed-off-by: Tomas Winkler --- drivers/misc/mei/client.c |

[PATCH 1/4] arm64: dts: allwinner: a64: Add SID node

2018-07-23 Thread Emmanuel Vadot
The A64 have a SID controller which consist on EFUSE (starting at 0x200) and three registers to read/write the efuses. Signed-off-by: Emmanuel Vadot --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH 0/6] vt: no blinking on console, 256/24-bit color improvements

2018-07-23 Thread Adam Borowski
On Mon, Jul 23, 2018 at 10:53:29AM +0200, Geert Uytterhoeven wrote: > On Sat, Jul 21, 2018 at 11:39 PM Adam Borowski wrote: > > Technically, every console can be made to blink by drawing/clearing affected > > characters a few times per second, but that'd be quite a waste of coding > > time and

[PATCH] staging: most: Use NULL pointer not plain integer

2018-07-23 Thread Laurence Rochfort
Fix sparse warning: Using plain integer as NULL pointer Signed-off-by: Laurence Rochfort --- drivers/staging/most/dim2/dim2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/most/dim2/dim2.c b/drivers/staging/most/dim2/dim2.c index fe90a7c..31fbc1a 100644 ---

[PATCH] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-23 Thread Thomas Richter
commit a5b8bd47dcc57 ("bpf tools: Collect eBPF programs from their own sections") cause a compiler error when building the perf tool in the linux-next tree. I compile it using a FEDORA 28 installation, my gcc compiler version: gcc (GCC) 8.0.1 20180324 (Red Hat 8.0.1-0.20) Here is the error

Re: [PATCH] arch/sh: use slow path for get_user_pages_fast() on SMP

2018-07-23 Thread Thomas Petazzoni
Hello, On Fri, 15 Jun 2018 19:04:45 +0300, Sergei Shtylyov wrote: > Hello! > > On 06/15/2018 06:52 PM, Thomas Petazzoni wrote: > > > The fast path of get_user_pages_fast() disables IRQs and then does: > > > > - gup_pud_range() > >- gup_pmd_range() > > - gup_pte_range() > >-

Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable DRM_PANEL_SEIKO_43WVF1G

2018-07-23 Thread Fabio Estevam
Hi Leonard, On Mon, Jul 23, 2018 at 10:42 AM, Leonard Crestez wrote: > This is one of the default lcdif panel options for several imx > development boards. Now that we switched to CONFIG_DRM_MXSFB=y this > should be enabled as well. > > Signed-off-by: Leonard Crestez Already sent as part of a

RE: [PATCH v3 3/3] dmaengine: imx-sdma: allocate max 20 bds for one transfer

2018-07-23 Thread Robin Gong
> -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2018年7月23日 18:54 > To: Robin Gong ; vk...@kernel.org; > dan.j.willi...@intel.com; s.ha...@pengutronix.de; li...@armlinux.org.uk > Cc: dmaeng...@vger.kernel.org; dl-linux-imx ; > ker...@pengutronix.de;

Re: [PATCH V2 0/6] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy

2018-07-23 Thread Jassi Brar
ndings: mailbox: Add support for secure proxy threads >> mailbox: ti-msgmgr: Add support for Secure Proxy >> >> .../bindings/mailbox/ti,secure-proxy.txt | 50 +++ >> drivers/mailbox/ti-msgmgr.c | 353 >> + &g

[PATCH] bq25890_charger.c : add the BQ25896 part

2018-07-23 Thread Angus Ainslie
Add some debugging to be able to check the proper initialization of the BQ25896 part. Enable the BQ25896 part. Add 2 new parameters "voltage_now" and "model_name". Signed-off-by: Angus Ainslie --- drivers/power/supply/bq25890_charger.c | 68 ++ 1 file changed, 58

Re: [PATCH v2 00/19] Fixes for sched/numa_balancing

2018-07-23 Thread Peter Zijlstra
On Wed, Jun 20, 2018 at 10:32:41PM +0530, Srikar Dronamraju wrote: > Srikar Dronamraju (19): > sched/numa: Remove redundant field. > sched/numa: Evaluate move once per node > sched/numa: Simplify load_too_imbalanced > sched/numa: Set preferred_node based on best_cpu > sched/numa: Use

Re: [PATCH RESEND] kthread, tracing: Don't expose half-written comm when creating kthreads

2018-07-23 Thread Steven Rostedt
On Mon, 23 Jul 2018 15:42:10 +0200 Snild Dolkow wrote: > There was a window for racing when task->comm was being written. The > vsnprintf function writes 16 bytes, then counts the rest, then null > terminates. In the meantime, other threads could see the non-terminated > comm value. In our case,

Re: kernel BUG at mm/shmem.c:LINE!

2018-07-23 Thread Matthew Wilcox
On Sun, Jul 22, 2018 at 07:28:01PM -0700, Hugh Dickins wrote: > Whether or not that fixed syzbot's kernel BUG at mm/shmem.c:815! > I don't know, but I'm afraid it has not fixed linux-next breakage of > huge tmpfs: I get a similar page_to_pgoff BUG at mm/filemap.c:1466! > > Please try something

Re: [PATCH v2 4/8] NTB: ntb_pingpong: Choose doorbells based on port number

2018-07-23 Thread Allen Hubbe
On Fri, Jul 20, 2018 at 2:00 PM Logan Gunthorpe wrote: > > This commit fixes pingpong support for existing drivers that do not > implement ntb_default_port_number() and ntb_default_peer_port_number(). > This is required for hardware (like the crosslink topology of > switchtec) which cannot assign

Re: [PATCH v2 13/19] mm/migrate: Use xchg instead of spinlock

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 04:20:32AM -0700, Srikar Dronamraju wrote: > > If you maybe write that like: > > > > if (time_after(jiffies, next_window) && > > xchg(>numabalancing_migrate_nr_pages, 0UL)) { > > > > do { > > next_window += interval; > >

Re: [PATCH] phy: qcom-qmp: Fix dts bindings to reflect reality

2018-07-23 Thread Rob Herring
On Fri, Jul 20, 2018 at 11:54 AM Doug Anderson wrote: > > Hi, > > On Fri, Jul 20, 2018 at 10:26 AM, Rob Herring wrote: > > On Fri, Jul 20, 2018 at 9:13 AM Doug Anderson wrote: > >> > >> Rob, > >> > >> On Fri, Jul 20, 2018 at 7:10 AM, Rob Herring wrote: > >> > On Fri, Jul 06, 2018 at 04:31:42PM

Re: [PATCH 0/3] PTI for x86-32 Fixes and Updates

2018-07-23 Thread Pavel Machek
Hi! > here are 3 patches which update the PTI-x86-32 patches recently merged > into the tip-tree. The patches are ordered by importance: It seems PTI is now in -next. I'll test that soon. Meanwhile... it looks like gcc is not slowed down significantly, but other stuff sees 30% .. 40%

Re: [PATCH v2 1/3] clk: meson: add DT documentation for emmc clock controller

2018-07-23 Thread Kevin Hilman
Yixun Lan writes: [...] >> >>> Second, we might like to convert eMMC driver to also use mmc-clkc model. >> >> IMO, this should be done as part of merging this series. Otherwise, we >> have duplicated code for the same thing. > > IMO, I'd leave this out of this series, since this patch series

Re: [RFC PATCH] sched/deadline: sched_getattr() returns absolute dl-task information

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 01:49:46PM +0100, Patrick Bellasi wrote: > On 23-Jul 11:49, Peter Zijlstra wrote: > > [...] > > > > -void __getparam_dl(struct task_struct *p, struct sched_attr *attr) > > > +void __getparam_dl(struct task_struct *p, struct sched_attr *attr, > > > +unsigned

Re: [PATCH] perf/x86/intel: Fix unwind errors from PEBS entries (mk-II)

2018-07-23 Thread Peter Zijlstra
On Mon, Jul 23, 2018 at 08:30:06AM -0500, Josh Poimboeuf wrote: > On Thu, Jul 19, 2018 at 11:19:54PM +0200, Peter Zijlstra wrote: > > --- a/include/uapi/linux/perf_event.h > > +++ b/include/uapi/linux/perf_event.h > > @@ -143,6 +143,8 @@ enum perf_event_sample_format { > >

Re: [PATCH V2 0/6] mailbox: ti-msgmgr: Add support for AM654 Secure Proxy

2018-07-23 Thread Nishanth Menon
On 13:56-20180723, Jassi Brar wrote: > On Mon, Jul 23, 2018 at 6:59 PM, Nishanth Menon wrote: [...] > >> .../bindings/mailbox/ti,secure-proxy.txt | 50 +++ > >> drivers/mailbox/ti-msgmgr.c| 353 > >> + > &g

Re: [PATCH] power: supply: bq27xxx: Update comments

2018-07-23 Thread Andrew F. Davis
On 07/22/2018 04:58 AM, Liu Xiang wrote: > The URL of bq27441-g1 and bq27426 are missing and bq27520-g4 is duplicated. > > Signed-off-by: Liu Xiang > --- Acked-by: Andrew F. Davis > drivers/power/supply/bq27xxx_battery.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff

Re: [PATCH] rtc: jz4740: Add support for the JZ4725B, JZ4760, JZ4770

2018-07-23 Thread Rob Herring
On Fri, Jul 20, 2018 at 1:04 PM Paul Cercueil wrote: > > Hi, > > Le ven. 20 juil. 2018 à 17:39, Rob Herring a écrit : > > On Sat, Jul 14, 2018 at 03:50:08PM +0200, Paul Cercueil wrote: > >> > >> > >> Le sam. 14 juil. 2018 à 15:32, Alexandre Belloni > >> a écrit : > >> > On 14/07/2018

[PATCH] firewire: init_ohci1394_dma: Replace mdelay with msleep

2018-07-23 Thread Jia-Ju Bai
init_ohci1394_wait_for_busresets() and init_ohci1394_reset_and_init_dma() are never called in atomic context. They call mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by:

Re: [PATCH] rtc: jz4740: Add support for the JZ4725B, JZ4760, JZ4770

2018-07-23 Thread Paul Cercueil
Hi, Le lun. 23 juil. 2018 à 16:18, Rob Herring a écrit : On Fri, Jul 20, 2018 at 1:04 PM Paul Cercueil wrote: Hi, Le ven. 20 juil. 2018 à 17:39, Rob Herring a écrit : > On Sat, Jul 14, 2018 at 03:50:08PM +0200, Paul Cercueil wrote: >> >> >> Le sam. 14 juil. 2018 à 15:32,

Re: [PATCH] serial: 8250_ingenic: Add support for the JZ4725B SoC

2018-07-23 Thread Rob Herring
On Fri, Jul 20, 2018 at 12:58 PM Paul Cercueil wrote: > > Hi Rob, > > Le ven. 20 juil. 2018 à 17:30, Rob Herring a écrit : > > On Fri, Jul 13, 2018 at 04:38:40PM +0200, Paul Cercueil wrote: > >> The UART in the jz4725b works just like in the other JZ SoCs, so > >> this > >> commit simply adds

Re: [PATCH RESEND] kthread, tracing: Don't expose half-written comm when creating kthreads

2018-07-23 Thread Snild Dolkow
On 07/23/2018 03:55 PM, Steven Rostedt wrote: > Can you add a comment here stating something to the affect of: > /* task is now visible to other tasks */ > > -- Steve Sure, but isn't that a bit misleading? It will have been visible since some unknown point in time between waking up

[PATCH 7/7] selftests/vDSO: Add selftest to test vDSO functions for direct store and user wait instructions

2018-07-23 Thread Fenghua Yu
The selftest tool tests the vDSO functions for calling the instructions including movdiri32, movdiri64, movdir64b, umonitor, umwait, tpause, and their support checking. Limited by testing environment, the selftest doesn't contain some complex tests e.g. wake up process by writing the monitor

[PATCH 1/7] x86/cpufeatures: Enumerate MOVDIRI instruction

2018-07-23 Thread Fenghua Yu
MOVDIRI moves doubleword or quadword from register to memory through direct store which is implemented by using write combining (WC) for writing data directly into memory without caching the data. Programmable agents can handle streaming offload (e.g. high speed packet processing in network).

[PATCH 3/7] x86/cpufeatures: Enumerate UMONITOR, UMWAIT, and TPAUSE instructions

2018-07-23 Thread Fenghua Yu
UMONITOR, UMWAIT, and TPAUSE are a set of user wait instructions. UMONITOR arms address monitoring hardware using an address. A store to an address within the specified address range triggers the monitoring hardware to wake up the processor waiting in umwait. UMWAIT instructs the processor to

[PATCH 6/7] x86/vdso: Add vDSO functions for user wait instructions

2018-07-23 Thread Fenghua Yu
User wants to query if user wait instructions (umonitor, umwait, and tpause) are supported and use the instructions. The vDSO functions provides fast interface for user to check the support and use the instructions. waitpkg_supported and its alias __vdso_waitpkg_supported check if user wait

[PATCH 2/7] x86/cpufeatures: Enumerate MOVDIR64B instruction

2018-07-23 Thread Fenghua Yu
MOVDIR64B moves 64-bytes as direct-store with 64-bytes write atomicity. Direct store is implemented by using write combining (WC) for writing data directly into memory without caching the data. In low latency offload (e.g. Non-Volatile Memory, etc), MOVDIR64B writes work descriptors (and data in

[PATCH 5/7] x86/vdso: Add vDSO functions for direct store instructions

2018-07-23 Thread Fenghua Yu
User wants to query if direct store instructions are supported and use the instructions. The vDSO functions provides fast interface for user to query the support and use the instructions. movdiri_supported and its alias __vdso_movdiri_supported check if movdiri instructions are supported.

[PATCH 4/7] x86/umwait_contro: Set global umwait maximum time limit and umwait C0.2 state

2018-07-23 Thread Fenghua Yu
UMWAIT or TPAUSE called by user process makes processor to reside in a light-weight power/performance optimized state (C0.1 state) or an improved power/performance optimized state (C0.2 state). IA32_UMWAIT_CONTROL MSR register allows OS to set global maximum umwait time and disable C0.2 on the

Re: [PATCH v2 1/3] clk: meson: add DT documentation for emmc clock controller

2018-07-23 Thread Yixun Lan
HI Kevin On 07/23/2018 10:12 PM, Kevin Hilman wrote: > Yixun Lan writes: > > [...] > >>> Second, we might like to convert eMMC driver to also use mmc-clkc model. >>> >>> IMO, this should be done as part of merging this series. Otherwise, we >>> have duplicated code for the same thing. >>

[PATCH 0/7] x86: Enable a few new instructions

2018-07-23 Thread Fenghua Yu
A few new instructions including direct stores (movdiri and movdir64b) and user wait (umwait, umonitor, and tpause) and IA32_MWAIT_CONTROL MSR to control umwait/umonitor/tpause behaviors will be available in Tremont and other future x86 processors. This patch set enumerates the instructions, adds

Re: [PATCH v2 2/3] reset: imx7: Fix always writing bits as 0

2018-07-23 Thread Philipp Zabel
On Mon, 2018-07-23 at 11:41 +0200, Lucas Stach wrote: > As this doesn't depend on any other patch in this series, I think it > would be fine if Philipp takes this patch through the reset tree. > > Regards, > Lucas > > Am Freitag, den 20.07.2018, 15:47 +0300 schrieb Leonard Crestez: > > Right now

Re: [PATCH 2/8] clk: tegra: host1x has fractional divider

2018-07-23 Thread Peter De Schrijver
On Mon, Jul 23, 2018 at 10:32:58AM +0100, Ben Dooks wrote: > > > On 2018-07-23 09:50, Peter De Schrijver wrote: > >On Fri, Jul 20, 2018 at 02:45:26PM +0100, Ben Dooks wrote: > >>The host1x clock according to both tegra2 and tegra3 manuals is > >>an 8bit divider with lsb being fractional. This is

Re: [PATCH] dd: Invoke one probe retry cycle after every initcall level

2018-07-23 Thread Rafael J. Wysocki
On Thu, Jul 19, 2018 at 11:24 PM, Rishabh Bhatnagar wrote: > Drivers that are registered at an initcall level may have to > wait until late_init before the probe deferral mechanism can > retry their probe functions. It is possible that their > dependencies were resolved much earlier, in some

[PATCH v2 2/2] encrypted_keys: Adds support for secure key-type as master key.

2018-07-23 Thread Udit Agarwal
Encrypted keys can use secure key-type as master key along with trusted/user keys. Secure key as master key uses, secure key type payload derieved using CAAM hardware. Signed-off-by: Udit Agarwal Reviewed-by: Sahil Malhotra --- MAINTAINERS | 1 +

Re: [PATCH v2 11/19] sched/numa: Restrict migrating in parallel to the same node.

2018-07-23 Thread Srikar Dronamraju
* Peter Zijlstra [2018-07-23 12:38:30]: > On Wed, Jun 20, 2018 at 10:32:52PM +0530, Srikar Dronamraju wrote: > > Since task migration under numa balancing can happen in parallel, more > > than one task might choose to move to the same node at the same time. > > This can cause load imbalances at

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