Re: [PATCH v3 2/5] dmaengine: Add STM32 DMAMUX driver

2017-08-21 Thread Pierre Yves MORDRET
On 08/04/2017 04:21 PM, Peter Ujfalusi wrote: > On 08/04/2017 03:50 PM, Pierre Yves MORDRET wrote: >> Our DMAMUX can manage up to 255 request lines (only 128 is eventually >> assigned >> though) onto 16 events: 8 events mapped on 1 DMA and the 8 others onto the >> second DMA. Request line

Re: [GIT PULL 00/14] EFI changes for v4.14

2017-08-21 Thread Ingo Molnar
* Ard Biesheuvel wrote: > Hi all, > > These are the changes we have queued up in the EFI tree for v4.14. Please > pull. > > Russell has been cc'ed twice on the patches that touch the linker script > of the ARM decompressor, and has elected not to respond, so I

[PATCH v2] gpio: uniphier: add UniPhier GPIO controller driver

2017-08-21 Thread Masahiro Yamada
This GPIO controller device is used on UniPhier SoCs. Signed-off-by: Masahiro Yamada --- Changes in v2: - Remove +32 offset for parent interrupts to follow the GIC binding convention - Let uniphier_gpio_irq_alloc() fail if nr_irqs != 1 - Allocate

Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

2017-08-21 Thread Sekhar Nori
On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: > The i2c driver can run into driver dependency issues if its loaded > before a clock driver it depends on. Therefore, EPROBE_DEFER may be > returned by devm_clk_get and should be returned in probe to allow the > kernel to reprobe

[PATCH] lib/cmdline.c: add to the get_options() documentation

2017-08-21 Thread Dan Carpenter
I wasn't sure how get_options() worked, so I looked at examples. And by sheer chance the first example I picked the only example which uses it incorrectly... I've added some comments that hopefully help. Signed-off-by: Dan Carpenter diff --git a/lib/cmdline.c

Re: [PATCH 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print

2017-08-21 Thread Sergei Shtylyov
Hello! On 8/21/2017 10:52 AM, Romain Perier wrote: Currently, if this logging function is used prior the phy driver is binded to the phy device (that is usually done from .ndo_open), s/binded/bound/. 'phydev->drv' might be NULL, resulting in a kernel crash. That is typically the case in

Re: [PATCHv6 0/4] DA9052 hardware monitoring improvements

2017-08-21 Thread Sebastian Reichel
Hi Lee, ping? -- Sebastian On Tue, Jul 18, 2017 at 11:20:20AM +0200, Sebastian Reichel wrote: > Hi, > > GE Healthcare's PPD [0] uses DA9053's touchscreen pins > for hardware monitoring purposes. This adds support for > the feature. > > The proposed merge solution is, that mfd queues the > mfd

Re: [PATCH v2 3/4] clk: rockchip: rv1108: rename macphy to mac

2017-08-21 Thread David.Wu
Hi Elaine, 在 2017/8/21 16:16, Elaine Zhang 写道: This MAC has no internal phy for rv1108. Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 12 ++-- include/dt-bindings/clock/rv1108-cru.h | 6 +++--- 2 files changed, 9 insertions(+),

Re: [PATCH v2 4/4] clk: rockchip: rv1108: fix up the clk_mac sel register description

2017-08-21 Thread David.Wu
Hi Elaine, 在 2017/8/21 16:16, Elaine Zhang 写道: cru_sel24_con[8] rmii_extclk_sel clock source select control register 1'b0: from internal PLL 1'b1: from external IO Signed-off-by: Elaine Zhang --- drivers/clk/rockchip/clk-rv1108.c | 2 +- 1 file changed, 1

Re: [PATCH v2 1/4] clk: rockchip: add rv1108 ACLK_GAMC and PCLK_GMAC ID

2017-08-21 Thread Heiko Stuebner
Hi David, Am Montag, 21. August 2017, 18:22:31 CEST schrieb David.Wu: > Hi Elaine, > > 在 2017/8/21 16:16, Elaine Zhang 写道: > > This patch exports gmac aclk and pclk for dts reference. > > > > Signed-off-by: Elaine Zhang > > --- > >

[PATCH v5] shadow variables

2017-08-21 Thread Joe Lawrence
v5: - Adopt Petr's suggested combined __klp_shadow_get_or_attach() routine - API - s/klp_shadow_attach/klp_shadow_alloc/g - s/klp_shadow_get_or_attach/klp_shadow_get_or_alloc/g - s/klp_shadow_detach/klp_shadow_free/g - remove klp_shadow_update_or_attach() - Code comments - Add Petr's

Re: [PATCH v06 27/36] uapi xen/gntdev.h: include xen/privcmd.h and define grant_ref_t

2017-08-21 Thread Juergen Gross
On 21/08/17 16:31, Boris Ostrovsky wrote: > On 08/21/2017 09:33 AM, Juergen Gross wrote: >> On 06/08/17 18:44, Mikko Rapeli wrote: >>> Both are needed to compile in userspace. Fixes these >>> userspace compile errors: >>> >>> xen/gntdev.h:151:4: error: unknown type name ‘grant_ref_t’ >>>

Re: pmu::read() called erroneously in v4.13-rc{3,4}

2017-08-21 Thread Jiri Olsa
On Fri, Aug 11, 2017 at 12:18:07PM +0100, Mark Rutland wrote: SNIP > > I'm also confused by perf_output_read_group() when event == leader. > AFAICT, in that case we won't read() the event at all, and we'll only > read() the siblings. Is that right? I think we assume perf_output_read_group is

RE: [PATCH net] ethernet: xircom: small clean up in setup_xirc2ps_cs()

2017-08-21 Thread David Laight
From: Dan Carpenter > Sent: 21 August 2017 10:48 > The get_options() function takes the whole ARRAY_SIZE(). It doesn't > matter here because we don't use more than 7 elements. > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/net/ethernet/xircom/xirc2ps_cs.c

[RESEND] [PATCHv6 3/4] hwmon: da9052: replace S_IRUGO with 0444

2017-08-21 Thread Sebastian Reichel
Fix checkpatch warnings about S_IRUGO being less readable than providing the permissions octal as '0444'. Acked-by: Guenter Roeck Signed-off-by: Sebastian Reichel --- drivers/hwmon/da9052-hwmon.c | 36 ++--

[RESEND] [PATCHv6 4/4] hwmon: da9052: add support for TSI channel

2017-08-21 Thread Sebastian Reichel
TSI channel has a 4 channel mux connected to it and is normally used for touchscreen support. The hardware may alternatively use it as general purpose adc. Acked-by: Guenter Roeck Signed-off-by: Sebastian Reichel ---

Re: [PATCH net] ethernet: xircom: small clean up in setup_xirc2ps_cs()

2017-08-21 Thread Dan Carpenter
On Mon, Aug 21, 2017 at 02:52:34PM +, David Laight wrote: > From: Dan Carpenter > > Sent: 21 August 2017 10:48 > > The get_options() function takes the whole ARRAY_SIZE(). It doesn't > > matter here because we don't use more than 7 elements. > > > > Signed-off-by: Dan Carpenter

RE: [PATCH V4 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-21 Thread Salil Mehta
Hi Leon, > -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Monday, August 21, 2017 3:49 PM > To: Salil Mehta > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

RE: [PATCH V3 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-21 Thread Salil Mehta
Hi Leon, > -Original Message- > From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- > ow...@vger.kernel.org] On Behalf Of Leon Romanovsky > Sent: Monday, August 21, 2017 3:48 PM > To: Salil Mehta > Cc: Andrew Lunn; da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); >

[PATCH] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
There is a problem that when counting the pages for creating the hibernation snapshot will take significant amount of time, especially on system with large memory. Since the counting job is performed with irq disabled, this might lead to NMI lockup. The following warning were found on a system

[PATCHv5 18/19] x86/mm: Redefine some of page table helpers as macros

2017-08-21 Thread Kirill A. Shutemov
This is preparation for the next patch, which would change pgtable_l5_enabled to be cpu_feature_enabled(X86_FEATURE_LA57). The change makes PTE_FLAGS_MASK and other things to be dependent on cpu_feature_enabled() definition from cpufeature.h. And cpufeature.h depends on pgtable_types.h Let's

[PATCHv5 00/19] Boot-time switching between 4- and 5-level paging

2017-08-21 Thread Kirill A. Shutemov
The basic idea is to implement the same logic as pgtable-nop4d.h provides, but at runtime. Runtime folding is only implemented for CONFIG_X86_5LEVEL=y case. With the option disabled, we do compile-time folding as before.. Initially, I tried to fold pgd instread. I've got to shell, but it

Re: [PATCH] staging: greybus: audio: constify snd_soc_dai_ops structures

2017-08-21 Thread Mark Greer
On Mon, Aug 21, 2017 at 10:28:24AM +0530, Arvind Yadav wrote: > snd_soc_dai_ops are not supposed to change at runtime. All functions > working with snd_soc_dai_ops provided by work with > const snd_soc_dai_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav

Re: [PATCH 1/2] ARM: dts: rockchip: add cpu opp table for rv1108

2017-08-21 Thread Heiko Stuebner
Hi Andy, Am Montag, 21. August 2017, 17:06:44 CEST schrieb Andy Yan: > Add cpu opp table for rv1108 to support frequency > from 408MHZ to 1008MHZ. > > Signed-off-by: Andy Yan > --- > > arch/arm/boot/dts/rv1108-evb.dts | 4 > arch/arm/boot/dts/rv1108.dtsi| 9

[PATCHv5 19/19] x86/mm: Offset boot-time paging mode switching cost

2017-08-21 Thread Kirill A. Shutemov
By this point we have functioning boot-time switching between 4- and 5-level paging mode. But naive approach comes with cost. Numbers below are for kernel build, allmodconfig, 5 times. CONFIG_X86_5LEVEL=n: Performance counter stats for 'sh -c make -j100 -B -k >/dev/null' (5 runs):

[PATCHv5 08/19] x86/mm: Make PGDIR_SHIFT and PTRS_PER_P4D variable

2017-08-21 Thread Kirill A. Shutemov
For boot-time switching between 4- and 5-level paging we need to be able to fold p4d page table level at runtime. It requires variable PGDIR_SHIFT and PTRS_PER_P4D. The change doesn't affect the kernel image size much: textdata bss dec hex filename 107101724879964

[PATCHv5 09/19] x86/mm: Make MAX_PHYSADDR_BITS and MAX_PHYSMEM_BITS dynamic

2017-08-21 Thread Kirill A. Shutemov
For boot-time switching between paging modes, we need to be able to adjust size of physical address space at runtime. As part of making physical address space size variable, we have to make X86_5LEVEL dependent on SPARSEMEM_VMEMMAP. !SPARSEMEM_VMEMMAP configuration doesn't work well with variable

Re: [PATCH] ACPICA: Check whether ACPI is disabled before getting a table

2017-08-21 Thread Borislav Petkov
On Mon, Aug 21, 2017 at 03:30:47PM +0200, Rafael J. Wysocki wrote: > Is acpi_disabled an ACPICA variable? Doesn't look like it: it is defined in arch/x86/kernel/acpi/boot.c > If not, this cannot go upstream. Not a big deal I guess, but somewhat > yucky. Uff, there's that "sync" of keeping

[PATCH] pids: make task_tgid_nr_ns() safe

2017-08-21 Thread Oleg Nesterov
This was reported many times, and this was even mentioned in commit 52ee2dfdd4f5 "pids: refactor vnr/nr_ns helpers to make them safe" but somehow nobody bothered to fix the obvious problem: task_tgid_nr_ns() is not safe because task->group_leader points to nowhere after the exiting task passes

[PATCH] firmware: arm_scpi: fix endianness of dev_id in struct dev_pstate_set

2017-08-21 Thread Sudeep Holla
scpi_device_{g,s}et_power_state correctly handles the conversion of endianness for dev_id using cpu_to_le16. However dev_id is declared as u16 in struct dev_pstate_set which is incorrect. This patch fixes the endianness of dev_id in dev_pstate_set structure. Signed-off-by: Sudeep Holla

perf_event_pid() (Was: [PATCH] pids: make task_tgid_nr_ns() safe)

2017-08-21 Thread Oleg Nesterov
On 08/21, Oleg Nesterov wrote: > > This was reported many times, and this was even mentioned in commit > 52ee2dfdd4f5 "pids: refactor vnr/nr_ns helpers to make them safe" but > somehow nobody bothered to fix the obvious problem: task_tgid_nr_ns() > is not safe because task->group_leader points to

[RFC PATCH -tip 2/2] kprobes/x86: Use graph_tracer's per-thread return stack for kretprobe

2017-08-21 Thread Masami Hiramatsu
Use function_graph tracer's per-thread return stack for storing kretprobe return address as fast path. Currently kretprobe has own instance hash-list for storing return address. However, it introduces a spin-lock for hash list entry and compel users to estimate how many probes run concurrently

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-21 Thread Peter Zijlstra
Booting the very latest -tip on my test machine gets me the below splat. Dave, TJ, FYI, lockdep grew annotations for completions; it remembers which locks were taken before we complete() and checks none of those are held while we wait_for_completion(). That is, something like:

Re: [PATCH V2] KVM/x86: Increase max vcpu number to 8192

2017-08-21 Thread Radim Krčmář
2017-08-15 20:43-0400, Lan Tianyu: > For HPC usage case, it will create a huge VM with vcpus number as same as host > cpus and this requires more vcpus support in a single VM. This patch is to > increase max vcpu number from 288 to 8192 which is current default maximum cpu > number for Linux

[PATCH v7 1/2] PCI: iproc: Retry request when CRS returned from EP

2017-08-21 Thread Oza Pawandeep
PCIe spec r3.1, sec 2.3.2 If CRS software visibility is not enabled, the RC must reissue the config request as a new request. - If CRS software visibility is enabled, - for a config read of Vendor ID, the RC must return 0x0001 data - for all other config reads/writes, the RC must reissue the

[PATCH v7 2/2] PCI: iproc: add device shutdown for PCI RC

2017-08-21 Thread Oza Pawandeep
PERST must be asserted around ~500ms before the reboot is applied. During soft reset (e.g., "reboot" from Linux) on some iproc based SOCs LCPLL clock and PERST both goes off simultaneously. This will cause certain Endpoints Intel NVMe not get detected, upon next boot sequence. This is

[PATCH v7 0/2] PCI: iproc: SOC specific fixes

2017-08-21 Thread Oza Pawandeep
PCI: iproc: Retry request when CRS returned from EP Above patch adds support for CRS in PCI RC driver, otherwise if not handled at lower level, the user space PMD (poll mode drivers) can timeout. PCI: iproc: add device shutdown for PCI RC This fixes the issue where certian PCI endpoints are not

[PATCH V8 net-next 18/22] net-next/hinic: Add Rx handler

2017-08-21 Thread Aviad Krawczyk
Set the io resources in the nic and handle rx events by qp operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h | 1 + drivers/net/ethernet/huawei/hinic/hinic_hw_csr.h | 1

[PATCH V8 net-next 17/22] net-next/hinic: Add cmdq completion handler

2017-08-21 Thread Aviad Krawczyk
Add cmdq completion handler for getting a notification about the completion of cmdq commands. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 297 +-

[PATCH V8 net-next 14/22] net-next/hinic: Initialize cmdq

2017-08-21 Thread Aviad Krawczyk
Create the work queues for cmdq and update the nic about the work queue contexts. cmdq commands are used for updating the nic about the qp contexts. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen ---

Re: [PATCH] MAINTAINERS: Add SoC drivers to AT91 entry

2017-08-21 Thread Nicolas Ferre
On 12/08/2017 at 23:53, Alexandre Belloni wrote: > We (the AT91/Atmel SoC maintainers) are not seeing patches for several > drivers present only on our SoCs. Add more patterns to match at91 and atmel > drivers. > > Signed-off-by: Alexandre Belloni Acked-by:

Re: Do we really need d_weak_revalidate???

2017-08-21 Thread Ian Kent
On 21/08/17 14:23, NeilBrown wrote: > On Fri, Aug 18 2017, Ian Kent wrote: > >> On 18/08/17 13:24, NeilBrown wrote: >>> On Thu, Aug 17 2017, Ian Kent wrote: >>> On 16/08/17 19:34, Jeff Layton wrote: > On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote: >> On Mon, Aug 14 2017, Jeff

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-08-21 Thread Thierry Reding
On Wed, Aug 09, 2017 at 05:12:55PM -0500, Rob Herring wrote: > On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding > wrote: > > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of > >>

Re: [PATCH v5 3/9] mfd: tmio: Add partition parsers platform data

2017-08-21 Thread Lee Jones
On Sat, 19 Aug 2017, Boris Brezillon wrote: > Hi Lee, > > Le Tue, 15 Aug 2017 07:58:35 +0100, > Lee Jones a écrit : > > > On Mon, 14 Aug 2017, Andrea Adami wrote: > > > > > With the introduction of sharpslpart partition parser we can now read the > > > offsets from NAND:

Re: [PATCH RESEND] X.509: Recognize the legacy OID 1.3.14.3.2.29 (sha1WithRSASignature)

2017-08-21 Thread Carlo Caione
On Mon, Aug 7, 2017 at 10:01 AM, Carlo Caione wrote: > From: Carlo Caione > > We have found some ACER laptops shipping with certificates signed using > the 1.3.14.3.2.29 OID. This is causing the message /cut Ping on this (literally) two lines patch. --

Re: [GIT PULL rcu/next] RCU commits for 4.14

2017-08-21 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > Back to the usual branched format! ;-) > > This pull request contains the following changes: > > 1.Documentation updates. > > http://lkml.kernel.org/r/20170724213605.ga8...@linux.vnet.ibm.com > > 2.

Re: Do we really need d_weak_revalidate???

2017-08-21 Thread NeilBrown
On Mon, Aug 21 2017, Ian Kent wrote: > On 21/08/17 14:23, NeilBrown wrote: >> On Fri, Aug 18 2017, Ian Kent wrote: >> >>> On 18/08/17 13:24, NeilBrown wrote: On Thu, Aug 17 2017, Ian Kent wrote: > On 16/08/17 19:34, Jeff Layton wrote: >> On Wed, 2017-08-16 at 12:43 +1000,

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
On Mon, Aug 21, 2017 at 08:47:09AM +0200, Michal Hocko wrote: > On Sat 19-08-17 18:21:26, Chen Yu wrote: > > There is a problem that when counting the pages for creating > > the hibernation snapshot will take significant amount of > > time, especially on system with large memory. Since the

[PATCH v2 1/2] hwmon: (adcxx) add devictree bindings documentation

2017-08-21 Thread Florian Eckert
Document the devicetree bindings for the adcxx. Signed-off-by: Florian Eckert --- v2: - use regulator voltage binding Documentation/devicetree/bindings/hwmon/adcxx.txt | 24 +++ 1 file changed, 24 insertions(+) create mode 100644

Re: [PATCH 0/3] MIPS,bpf: Improvements for MIPS eBPF JIT

2017-08-21 Thread Daniel Borkmann
On 08/21/2017 05:06 AM, David Miller wrote: From: David Daney Date: Fri, 18 Aug 2017 16:40:30 -0700 I suggest that the whole thing go via the BPF/net-next path as there are dependencies on code that is not yet merged to Linus' tree. What kind of dependency? On

Re: [PATCH] pwm: pwm-samsung: switch to new atomic PWM API

2017-08-21 Thread Thierry Reding
On Mon, Apr 24, 2017 at 03:13:18PM +0200, Bartlomiej Zolnierkiewicz wrote: > Switch pwm-samsung driver to new atomic PWM API. > > This is an initial conversion (based on the PWM core's > pwm_apply_state() implementation) which can be improved > later. > > There should be no functional changes

Re: [linux-sunxi] [PATCH 07/13] ARM: sun8i: h3: add display engine pipeline barebone

2017-08-21 Thread Maxime Ripard
On Wed, Aug 02, 2017 at 01:07:55PM +0800, icen...@aosc.io wrote: > 在 2017-08-02 12:47,Jernej Škrabec 写道: > > Hi Icenowy, > > > > Dne torek, 01. avgust 2017 ob 15:12:58 CEST je Icenowy Zheng napisal(a): > > > As we have already the support for the DE2 on Allwinner H3, add the > > > display engine

Re: [PATCH v3 6/8] irqchip/gic-v3-its: Initialize its nodes later

2017-08-21 Thread Marc Zyngier
+Lorenzo On 08/08/17 13:22, Robert Richter wrote: > Use an initcall to initialize its. This allows us to use the device > framework during initialization that is up at this point. We use > subsys_initcall() here since we need the arch to be initialized > first. It is before pci and platform

Re: [PATCH] ARM: dts: ls1021a: Add support for QSPI with ls1021a SoC

2017-08-21 Thread 林上智
> Add QSPI node support, and this function is disabled by default > This setting could be overwritten in board-level definitions > > Signed-off-by: SZ Lin > --- Any feedback? Best regards, SZ Lin

Re: [PATCH v3 3/5] reset: stm32: use the reset-simple driver

2017-08-21 Thread Philipp Zabel
On Thu, 2017-08-17 at 10:19 +0100, Andre Przywara wrote: > Hi, > > On 16/08/17 21:55, Alexandru Gagniuc wrote: > > > > > > On 08/16/2017 01:52 PM, Andreas Färber wrote: > > > Am 16.08.2017 um 22:50 schrieb Alexandru Gagniuc: > > > > On 08/16/2017 02:46 AM, Philipp Zabel wrote: > > > > > The

[PATCH] drivers: tty: Fix improper code identation

2017-08-21 Thread Himanshu Jha
Fixes improper code identation error by adding necessary tabs. Issue found using checkpatch. Signed-off-by: Himanshu Jha --- drivers/tty/amiserial.c | 92 +++-- 1 file changed, 44 insertions(+), 48 deletions(-) diff --git

Re: [PATCH] rtc: zynqmp: Disable the build as a module

2017-08-21 Thread Alexandre Belloni
Hi, As discussed, I will not apply that patch and instead will push for: https://patchwork.kernel.org/patch/9911471/ On 19/07/2017 at 13:39:57 +0200, Michal Simek wrote: > The patch: > "timers: Introduce in-kernel alarm-timer interface" > (sha1: ff3ead96d17f47ee70c294a5cc2cce9b61e82f0f) >

Re: [PATCH v4] iio: accel: mma8452: improvements to handle multiple events

2017-08-21 Thread Martin Kepplinger
Thanks. I may have missed something, but I'm concerned about only one thing: devices without transient event registers. See my comments below. Am 20.08.2017 18:06 schrieb Harinath Nampally: This driver supports multiple devices like mma8653, mma8652, mma8452, mma8453 and fxls8471. Almost

Re: [PATCH 2/3] soc: qcom: smem: Support dynamic item limit

2017-08-21 Thread Arun Kumar Neelakantam
On 8/18/2017 6:45 AM, Chris Lew wrote: In V12 SMEM, SBL writes SMEM parameter information after the TOC. Use the SBL provided item count as the max item number. Signed-off-by: Chris Lew --- drivers/soc/qcom/smem.c | 41 +++-- 1 file

[PATCH 1/7 v2] media: vb2: add bidirectional flag in vb2_queue

2017-08-21 Thread Stanimir Varbanov
This change is intended to give to the v4l2 drivers a choice to change the default behavior of the v4l2-core DMA mapping direction from DMA_TO/FROM_DEVICE (depending on the buffer type CAPTURE or OUTPUT) to DMA_BIDIRECTIONAL during queue_init time. Initially the issue with DMA mapping direction

[PATCH 2/2] cpufreq: dt: add support for rockchip rv1108

2017-08-21 Thread Andy Yan
Add the compatible string to support the generic device tree cpufreq-dt driver on rockchip rv1108 soc. Signed-off-by: Andy Yan --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Sekhar Nori
Hi Wolfram, On Thursday 17 August 2017 09:54 PM, Wolfram Sang wrote: > On Wed, Aug 16, 2017 at 05:17:14PM -0500, Franklin S Cooper Jr wrote: >> 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain >> like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime >> is

[tip:efi/core] efi/arm: Don't mark ACPI reclaim memory as MEMBLOCK_NOMAP

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: f56ab9a5b73ca2aee777ccdf2d355ae2dd31db5a Gitweb: http://git.kernel.org/tip/f56ab9a5b73ca2aee777ccdf2d355ae2dd31db5a Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:34 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:efi/core] arm/efi: Split zImage code and data into separate PE/COFF sections

2017-08-21 Thread tip-bot for Ard Biesheuvel
Commit-ID: e4bae4d0b5f368dda5bbf1374dca74c1b542d841 Gitweb: http://git.kernel.org/tip/e4bae4d0b5f368dda5bbf1374dca74c1b542d841 Author: Ard Biesheuvel AuthorDate: Fri, 18 Aug 2017 20:49:44 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:x86/build] x86/build: Use cc-option to validate stack alignment parameter

2017-08-21 Thread tip-bot for Matthias Kaehlcke
Commit-ID: 9e8730b178a2472fca3123e909d6e69cc8127778 Gitweb: http://git.kernel.org/tip/9e8730b178a2472fca3123e909d6e69cc8127778 Author: Matthias Kaehlcke AuthorDate: Thu, 17 Aug 2017 11:20:47 -0700 Committer: Ingo Molnar CommitDate: Mon, 21 Aug 2017

[tip:efi/core] firmware/efi/esrt: Constify attribute_group structures

2017-08-21 Thread tip-bot for Arvind Yadav
Commit-ID: f1a5b53570001b1bcbf890ac6c4be1db99f8cc28 Gitweb: http://git.kernel.org/tip/f1a5b53570001b1bcbf890ac6c4be1db99f8cc28 Author: Arvind Yadav AuthorDate: Fri, 18 Aug 2017 20:49:47 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

[tip:efi/core] firmware/efi: Constify attribute_group structures

2017-08-21 Thread tip-bot for Arvind Yadav
Commit-ID: 3ad6bd7c0a1c49a78d1cfda3d474c23bc354 Gitweb: http://git.kernel.org/tip/3ad6bd7c0a1c49a78d1cfda3d474c23bc354 Author: Arvind Yadav AuthorDate: Fri, 18 Aug 2017 20:49:46 +0100 Committer: Ingo Molnar CommitDate: Mon, 21 Aug

Re: [PATCH 4.12 47/65] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-21 Thread Sandeep Singh
>>> From: Sandeep Singh >>> >>> commit e788787ef4f9c24aafefc480a8da5f92b914e5e6 upstream. >> [...] >>> --- a/drivers/usb/host/pci-quirks.c >>> +++ b/drivers/usb/host/pci-quirks.c >>> @@ -98,6 +98,7 @@ enum amd_chipset_gen { >>> AMD_CHIPSET_HUDSON2, >>>

[PATCH] staging: vboxvideo: constify drm_fb_helper_funcs

2017-08-21 Thread Arvind Yadav
drm_fb_helper_funcs are not supposed to change at runtime. All functions working with drm_fb_helper_funcs provided by work with const drm_fb_helper_funcs. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/vboxvideo/vbox_fb.c | 2

Re: [PATCH v8 00/20] ILP32 for ARM64

2017-08-21 Thread Yury Norov
On Tue, Aug 08, 2017 at 02:34:11PM +0100, Catalin Marinas wrote: > On Mon, Jul 24, 2017 at 02:26:24PM +0300, Yury Norov wrote: > > This is the 4.12 and linux-next - based kernel patches: > > https://github.com/norov/linux/tree/ilp32-4.12 > > https://github.com/norov/linux/tree/ilp32-20170724 > >

Re: [PATCH v1 4/5] [media] stm32-dcmi: set default format at open()

2017-08-21 Thread Hugues FRUCHET
On 08/04/2017 02:00 PM, Hans Verkuil wrote: > On 28/07/17 12:05, Hugues Fruchet wrote: >> Ensure that we start with default pixel format and resolution >> when opening a new instance. > > Why? The format is persistent in V4L2 and (re)opening the video device > shouldn't change the format. > >

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-21 Thread Chen Yu
On Mon, Aug 21, 2017 at 02:36:40PM +0200, Rafael J. Wysocki wrote: > On Monday, August 21, 2017 9:48:17 AM CEST Chen Yu wrote: > > On Mon, Aug 21, 2017 at 08:47:09AM +0200, Michal Hocko wrote: > > > On Sat 19-08-17 18:21:26, Chen Yu wrote: > > > > There is a problem that when counting the pages

Re: [PATCH V3 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-21 Thread Leon Romanovsky
On Mon, Aug 21, 2017 at 02:32:40PM +, Salil Mehta wrote: > Hi Andrew, > > > -Original Message- > > From: Andrew Lunn [mailto:and...@lunn.ch] > > Sent: Monday, August 21, 2017 3:30 PM > > To: Salil Mehta > > Cc: da...@davemloft.net; Zhuangyuzeng (Yisen); lipeng (Y); > >

Re: [PATCH 2/2] blk-mq: don't use WORK_CPU_UNBOUND

2017-08-21 Thread Tejun Heo
On Mon, Aug 21, 2017 at 03:49:51PM +0200, Laurent Vivier wrote: > cpumask is the list of CPUs present when the queue is built. > If a new CPU is hotplugged, this list is not updated, > and when the scheduler asks for a CPU id, blk_mq_hctx_next_cpu() > can return WORK_CPU_UNBOUND. > And in this

RE: [PATCH V4 net-next] net: hns3: Add support to change MTU in HNS3 hardware

2017-08-21 Thread Salil Mehta
Sorry, Please ignore this mail. I forgot to add the Andrew Lunn signed-off-by Tag will this patch. I will add the tag and send the updated version of V4 again. Sorry again. > -Original Message- > From: Salil Mehta > Sent: Monday, August 21, 2017 3:40 PM > To: da...@davemloft.net > Cc:

[RESEND] [PATCHv6 2/4] mfd: da9052: make touchscreen registration optional

2017-08-21 Thread Sebastian Reichel
If the touchscreen pins are used as general purpose analogue input, the touchscreen driver should not be used. The pins will be handled by the existing hwmon driver instead. Acked-for-MFD-by: Lee Jones Signed-off-by: Sebastian Reichel ---

[RESEND] [PATCHv6 1/4] mfd: da9052: add register details for TSI

2017-08-21 Thread Sebastian Reichel
Add register details an channels definition for using the TSI registers in the hwmon driver. Acked-for-MFD-by: Lee Jones Signed-off-by: Sebastian Reichel --- include/linux/mfd/da9052/da9052.h | 6 ++ include/linux/mfd/da9052/reg.h

[RESEND] [PATCHv6 0/4] DA9052 hardware monitoring improvements

2017-08-21 Thread Sebastian Reichel
Hi, GE Healthcare's PPD [0] uses DA9053's touchscreen pins for hardware monitoring purposes. This adds support for the feature. The proposed merge solution is, that mfd queues the mfd patches and provides an immutable branch for hwmon, since the last patch depends on the other ones. [0]

[PATCH] f2fs: fix out-of-order execution in f2fs_issue_flush

2017-08-21 Thread Chao Yu
From: Chao Yu In f2fs_issue_flush, due to out-of-order execution of CPU, wake_up can be called before we insert issue_list, result in long latency of wait_for_completion. Fix this by adding smp_mb() to force the order of related codes. Signed-off-by: Chao Yu

Re: [PATCH v2 2/2] crypto: engine - Permit to enqueue skcipher request

2017-08-21 Thread Herbert Xu
On Wed, Aug 09, 2017 at 11:40:12AM +0200, Corentin Labbe wrote: > > I really didnt see how to do that since cra_type is const. > Anyway, I think it cannot be possible since we could have two different > engine with two different prepare_request(). > > I will really appreciate any advice on what

[PATCH v2 4/5] powerpc: pseries: only store the device node basename in full_name

2017-08-21 Thread Rob Herring
With dependencies on full_name containing the entire device node path removed, stop storing the full_name in nodes created by dlpar_configure_connector() and pSeries_reconfig_add_node(). Signed-off-by: Rob Herring Cc: Benjamin Herrenschmidt Cc: Paul

[PATCH v2 5/5] of/fdt: only store the device node basename in full_name

2017-08-21 Thread Rob Herring
With dependencies on a statically allocated full path name converted to use %pOF format specifier, we can store just the basename of node, and the unflattening of the FDT can be simplified. This commit will affect the remaining users of full_name. After analyzing these users, the remaining cases

[PATCH v2 3/5] powerpc: pseries: remove dlpar_attach_node dependency on full path

2017-08-21 Thread Rob Herring
In preparation to stop storing the full node path in full_name, remove the dependency on full_name from dlpar_attach_node(). Callers of dlpar_attach_node() already have the parent device_node, so just pass the parent node into dlpar_attach_node instead of the path. This avoids doing a lookup of

[PATCH v2 0/5] Removing full paths from DT full_name

2017-08-21 Thread Rob Herring
This series is the last steps to remove storing the full path for every DT node. Instead, we can create full path strings dynamically as needed with printf %pOF specifiers (commit ce4fecf1fe15). There are a number of remaining direct users of full_name after this series. I don't believe there

[PATCH v2 2/5] powerpc: pseries: vio: match parent nodes with of_find_node_by_path

2017-08-21 Thread Rob Herring
In preparation to remove the full path from device_node.full_name, use of_find_node_by_path instead of open coding with strcmp. Signed-off-by: Rob Herring Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman

[PATCHv5 01/19] mm/sparsemem: Allocate mem_section at runtime for SPARSEMEM_EXTREME

2017-08-21 Thread Kirill A. Shutemov
Size of mem_section array depends on size of physical address space. In preparation for boot-time switching between paging modes on x86-64 we need to make allocation of mem_section dynamic. The patch allocates the array on the first call to sparse_memory_present_with_active_regions().

[PATCHv5 16/19] x86/mm: Allow to boot without la57 if CONFIG_X86_5LEVEL=y

2017-08-21 Thread Kirill A. Shutemov
All pieces of the puzzle are in place and we can now allow to boot with CONFIG_X86_5LEVEL=y on a machine without la57 support. Kernel will detect that la57 is missing and fold p4d at runtime. Update documentation and Kconfig option description to reflect the change. Signed-off-by: Kirill A.

[PATCHv5 05/19] x86/xen: Drop 5-level paging support code from XEN_PV code

2017-08-21 Thread Kirill A. Shutemov
It was decided 5-level paging is not going to be supported in XEN_PV. Let's drop the dead code from XEN_PV code. Signed-off-by: Kirill A. Shutemov Reviewed-by: Juergen Gross Tested-by: Juergen Gross --- arch/x86/xen/mmu_pv.c

[PATCHv5 12/19] x86/mm: Adjust virtual address space layout in early boot.

2017-08-21 Thread Kirill A. Shutemov
We need to adjust virtual address space to support switching between paging modes. The adjustment happens in __startup_64(). We also have to change KASLT code that doesn't expect variable VMALLOC_SIZE_TB. Signed-off-by: Kirill A. Shutemov ---

[PATCHv5 13/19] x86/mm: Make early boot code support boot-time switching of paging modes

2017-08-21 Thread Kirill A. Shutemov
Early boot code, that setup page table should be able to initialize page tables for both 4- and 5-level paging modes. Signed-off-by: Kirill A. Shutemov --- arch/x86/kernel/head64.c | 33 + arch/x86/kernel/head_64.S | 10

[RFC PATCH -tip 1/2] trace: kprobes: Show sum of probe/retprobe nmissed count

2017-08-21 Thread Masami Hiramatsu
Show sum of probe and retprobe nmissed count in kprobe_profile, since retprobe can be missed even if the kprobe itself succeeeded. This explains user why their return probe didn't hit sometimes. Signed-off-by: Masami Hiramatsu Tested-by: Alban Crequy ---

[PATCH] USB: serial: option: add support for D-Link DWM-157 C1

2017-08-21 Thread Maciej S. Szmigiero
This commit adds support (IDs, really) for D-Link DWM-157 hardware version C1 USB modem to option driver. According to manufacturer-provided Windows INF file the device has four serial ports: "D-Link HSPA+DataCard Diagnostics Interface" (interface 2; modem port), "D-Link HSPA+DataCard NMEA

Re: [PATCH] perf/core: fix group {cpu,task} validation

2017-08-21 Thread Peter Zijlstra
On Thu, Jun 22, 2017 at 03:41:38PM +0100, Mark Rutland wrote: > Regardless of which events form a group, it does not make sense for the > events to target different tasks and/or CPUs, as this leaves the group > inconsistent and impossible to schedule. The core perf code assumes that > these are

[PATCH V8 net-next 19/22] net-next/hinic: Add Tx operation

2017-08-21 Thread Aviad Krawczyk
Add transmit operation for sending data by qp operations. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_dev.h| 1 + drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c | 46 +++

[PATCH V8 net-next 21/22] net-next/hinic: Add netpoll

2017-08-21 Thread Aviad Krawczyk
Add more netdev operation - netpoll. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_main.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH V8 net-next 22/22] net-next/hinic: Add Maintainer

2017-08-21 Thread Aviad Krawczyk
Update MAINTAINERS file Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0e967b3..8f9ea9b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH] rtc: pxa: fix possible race condition

2017-08-21 Thread Alexandre Belloni
pxa_rtc_open() registers the interrupt handler which will access the RTC registers. However, pxa_rtc_open() is called before the register range is ioremapped. Instead, call it after devm_ioremap(). Signed-off-by: Alexandre Belloni --- drivers/rtc/rtc-pxa.c

[PATCH] rtc: sa1100: fix unbalanced clk_prepare_enable/clk_disable_unprepare

2017-08-21 Thread Alexandre Belloni
In the error path of sa1100_rtc_open(), info->clk is disabled which will happen again in sa1100_rtc_remove() when the module is removed whereas it is only enabled once in sa1100_rtc_init(). Fixes: 0cc0c38e9139 ("drivers/rtc/rtc-sa1100.c: move clock enable/disable to probe/remove") Signed-off-by:

[PATCH V8 net-next 15/22] net-next/hinic: Add ceqs

2017-08-21 Thread Aviad Krawczyk
Initialize the completion event queues and handle ceq events by calling the registered handlers. Used for cmdq command completion. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c | 16

[PATCH V8 net-next 16/22] net-next/hinic: Add cmdq commands

2017-08-21 Thread Aviad Krawczyk
Add cmdq commands for setting queue pair contexts in the nic. Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_common.c | 25 ++ drivers/net/ethernet/huawei/hinic/hinic_common.h | 9 +

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