Re: [PATCH] mpt3sas: remove redundant copy_from_user in _ctl_getiocinfo

2017-09-25 Thread Martin K. Petersen
Meng, > Since right after the user copy, we are going to > memset(&karg, 0, sizeof(karg)), the copy_from_user is redundant Applied to 4.15/scsi-queue. Thank you! -- Martin K. Petersen Oracle Linux Engineering

[PATCH v1 5/5] ARM: dts: tegra: Add AHB DMA controller nodes

2017-09-25 Thread Dmitry Osipenko
Add AHB DMA controller nodes to Tegra20/30 DT's. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 9 + arch/arm/boot/dts/tegra30.dtsi | 9 + 2 files changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index f1

[PATCH v1 0/5] NVIDIA Tegra AHB DMA controller driver

2017-09-25 Thread Dmitry Osipenko
NVIDIA Tegra20/30 SoC's have AHB DMA controller. It has 4 DMA channels, supports AHB <-> Memory and Memory <-> Memory transfers, slave / master modes. This driver is primarily supposed to be used by gpu/host1x in a master mode, performing 3D HW context stores. Dmitry Osipenko (5): clk: tegra: Ad

[PATCH v1 2/5] clk: tegra: Bump SCLK clock rate to 216MHz on Tegra20

2017-09-25 Thread Dmitry Osipenko
AHB DMA is a running on 1/2 of SCLK rate, APB on 1/4. Increasing SCLK rate results in an increased DMA transfer rate. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-tegra20.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra20.c b/drivers/c

Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob

2017-09-25 Thread David Miller
From: Haishuang Yan Date: Fri, 22 Sep 2017 21:48:43 +0800 > @@ -9,13 +9,18 @@ > #include > #include > > -struct tcp_fastopen_context __rcu *tcp_fastopen_ctx; > - > -static DEFINE_SPINLOCK(tcp_fastopen_ctx_lock); > - > -void tcp_fastopen_init_key_once(bool publish) > +void tcp_fastopen_init_

Re: [PATCH] hv_netvsc: make const array ver_list static, reduces object code size

2017-09-25 Thread David Miller
From: Colin King Date: Fri, 22 Sep 2017 16:50:23 +0100 > From: Colin Ian King > > Don't populate const array ver_list on the stack, instead make it > static. Makes the object code smaller by over 400 bytes: > > Before: >text data bss dec hex filename > 18444

[PATCH v1 3/5] dt-bindings: Add DT bindings for NVIDIA Tegra AHB DMA controller

2017-09-25 Thread Dmitry Osipenko
Document DT bindings for NVIDIA Tegra AHB DMA controller that presents on Tegra20/30 SoC's. Signed-off-by: Dmitry Osipenko --- .../bindings/dma/nvidia,tegra20-ahbdma.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/d

[PATCH v1 4/5] dmaengine: Add driver for NVIDIA Tegra AHB DMA controller

2017-09-25 Thread Dmitry Osipenko
AHB DMA controller presents on Tegra20/30 SoC's, it supports transfers memory <-> AHB bus peripherals as well as mem-to-mem transfers. Driver doesn't yet implement transfers larger than 64K and scatter-gather transfers that have NENT > 1, HW doesn't have native support for these cases. Signed-off-

[PATCH v1 1/5] clk: tegra: Add AHB DMA clock entry

2017-09-25 Thread Dmitry Osipenko
AHB DMA presents on Tegra20/30. Add missing entries, so that driver for AHB DMA could be implemented. Signed-off-by: Dmitry Osipenko --- drivers/clk/tegra/clk-id.h | 1 + drivers/clk/tegra/clk-tegra-periph.c | 1 + drivers/clk/tegra/clk-tegra20.c | 6 ++ drivers/clk/tegra/clk-

Re: [PATCH] scsi: fc: check for rport presence in fc_block_scsi_eh

2017-09-25 Thread Bart Van Assche
On Mon, 2017-09-25 at 14:00 +0200, Johannes Thumshirn wrote: > Coverity-scan recently found a possible NULL pointer dereference in > fc_block_scsi_eh() as starget_to_rport() either returns the rport for > the startget or NULL. > > While it is rather unlikely to have fc_block_scsi_eh() called witho

Re: [PATCH 0/3] clocksource: pr_err() strings should end with newlines

2017-09-25 Thread Daniel Lezcano
On 25/09/2017 10:16, Arvind Yadav wrote: > pr_err() messages should terminated with a new-line to avoid > other messages being concatenated onto the end. > > Arvind Yadav (3): > [PATCH 1/3] clocksource: fttmr010: pr_err() strings should end with newlines > [PATCH 2/3] clocksource: owl: pr_err(

Re: [PATCH v3 00/20] Speculative page faults

2017-09-25 Thread Andrew Morton
On Mon, 25 Sep 2017 09:27:43 -0700 Alexei Starovoitov wrote: > On Mon, Sep 18, 2017 at 12:15 AM, Laurent Dufour > wrote: > > Despite the unprovable lockdep warning raised by Sergey, I didn't get any > > feedback on this series. > > > > Is there a chance to get it moved upstream ? > > what is t

Re: [PATCH 6/7] mm, fs: introduce file_operations->post_mmap()

2017-09-25 Thread Dan Williams
On Mon, Sep 25, 2017 at 4:14 PM, Ross Zwisler wrote: > When mappings are created the vma->vm_flags that they use vary based on > whether the inode being mapped is using DAX or not. This setup happens in > XFS via mmap_region()=>call_mmap()=>xfs_file_mmap(). > > For us to be able to safely use the

[PATCH v2 3/6] x86/intel_rdt: Add diagnostics when writing the tasks file

2017-09-25 Thread Luck, Tony
From: Tony Luck About the only tricky case is trying to move a task into a monitor group that is a subdirectory of a different control group. But cover the simple cases too. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 4 +--- arch/x86/kernel/cpu/intel_rdt_rdtgro

[PATCH v2 4/6] x86/intel_rdt: Add diagnostics when writing the cpus file

2017-09-25 Thread Luck, Tony
From: Tony Luck Can't add a cpu to a monitor group unless it belongs to parent group. Can't delete cpus from the default group. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/x86/ke

[PATCH v2 0/6] x86/intel_rdt: Better diagnostics

2017-09-25 Thread Luck, Tony
From: Tony Luck Chatting online with Boris to diagnose why his test cases for RDT weren't working, we came up with either a good idea (in which case I credit Boris) or a dumb one (in which case this is all my fault). The basic problem is that there aren't many good error codes for a file system

[PATCH v2 5/6] x86/intel_rdt: Add diagnostics when making directories

2017-09-25 Thread Luck, Tony
From: Tony Luck Mostly this is about running out of RMIDs or CLOSIDs. Other errors are various internal errors. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/intel_rdt_rdtgroup.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/arch/x86/kerne

[PATCH v2 6/6] x86/intel_rdt: Add documentation for "info/last_cmd_status"

2017-09-25 Thread Luck, Tony
From: Tony Luck New file in the "info" directory helps diagnose what went wrong when using the /sys/fs/resctrl file system Signed-off-by: Tony Luck --- Documentation/x86/intel_rdt_ui.txt | 11 +++ 1 file changed, 11 insertions(+) diff --git a/Documentation/x86/intel_rdt_ui.txt b/Docu

[PATCH v2 1/6] x86/intel_rdt: Add framework for better RDT UI diagnostics

2017-09-25 Thread Luck, Tony
From: Tony Luck Commands are given to the resctrl file system by making/removing directories, or by writing to files. When something goes wrong the user is generally left wondering why they got: bash: echo: write error: Invalid argument Add a new file "last_cmd_status" to the "info" di

[PATCH v2 2/6] x86/intel_rdt: Add diagnostics when writing the schemata file

2017-09-25 Thread Luck, Tony
From: Tony Luck Save helpful descriptions of what went wrong when writing a schemata file. Signed-off-by: Tony Luck --- arch/x86/kernel/cpu/intel_rdt_ctrlmondata.c | 49 ++--- 1 file changed, 38 insertions(+), 11 deletions(-) diff --git a/arch/x86/kernel/cpu/intel_rdt_

Re: DMA error when sg->offset value is greater than PAGE_SIZE in Intel IOMMU

2017-09-25 Thread Casey Leedom
| From: Raj, Ashok | Sent: Monday, September 25, 2017 12:03 PM | | On Mon, Sep 25, 2017 at 01:11:04PM -0700, Dan Williams wrote: | > On Mon, Sep 25, 2017 at 1:05 PM, Casey Leedom wrote: | > > | From: Dan Williams | > > | Sent: Monday, September 25, 2017 12:31 PM | > > | ... | > > | IIUC it lo

Re: [PATCH 1/3] PCI: fix race condition with driver_override

2017-09-25 Thread Bjorn Helgaas
On Mon, Sep 11, 2017 at 09:45:40AM +0200, Nicolai Stange wrote: > The driver_override implementation is susceptible to a race condition when > different threads are reading vs. storing a different driver override. > Add locking to avoid the race condition. > > This is in close analogy to commit 62

Re: [PATCH v1 1/2] staging: Introduce NVIDIA Tegra20 video decoder driver

2017-09-25 Thread Dmitry Osipenko
On 26.09.2017 02:01, Stephen Warren wrote: > On 09/25/2017 04:15 PM, Dmitry Osipenko wrote: >> Video decoder, found on NVIDIA Tegra20 SoC, supports a standard set of >> video formats like H.264 / MPEG-4 / WMV / VC1. Currently driver supports >> decoding of CAVLC H.264 only. > > Note: I don't know

Re: [PATCH 2/3] PCI: don't use snprintf() in driver_override_show()

2017-09-25 Thread Bjorn Helgaas
On Mon, Sep 11, 2017 at 04:55:11AM -0700, Greg Kroah-Hartman wrote: > On Mon, Sep 11, 2017 at 09:45:41AM +0200, Nicolai Stange wrote: > > Quote from Documentation/filesystems/sysfs.txt: > > > > show() must not use snprintf() when formatting the value to be > > returned to user space. If you ca

Re: [PATCH v3 5/5] mtd: spi-nor: cadence-quadspi: Add runtime PM support

2017-09-25 Thread Marek Vasut
On 09/26/2017 12:41 AM, matthew.gerl...@linux.intel.com wrote: > > > On Sun, 24 Sep 2017, Marek Vasut wrote: > >> On 09/24/2017 03:27 PM, Vignesh R wrote: >>> >>> >>> On 9/24/2017 6:42 PM, Marek Vasut wrote: On 09/24/2017 03:08 PM, Vignesh R wrote: > > > On 9/24/2017 5:31 PM, Ma

Re: [PATCH 3/3] driver core: platform: Don't read past the end of "driver_override" buffer

2017-09-25 Thread Bjorn Helgaas
Greg, I assume you'll deal with this one? Just let me know if I should do something with it. On Mon, Sep 11, 2017 at 09:45:42AM +0200, Nicolai Stange wrote: > When printing the driver_override parameter when it is 4095 and 4094 bytes > long, the printing code would access invalid memory because w

[PATCH] MAINTAINERS: Fix path and add bindings to timers

2017-09-25 Thread Daniel Lezcano
As spotted by Andreas Färber, the clocksource directory path does not follow the rule where a maintained directory must end with a '/' character. Also, the timers devicetree bindings documentation is not mentionned in the entry, so every submission touching the devicetree documentation misses to C

Re: [tip:core/printk] printk: Add monotonic, boottime, and realtime timestamps

2017-09-25 Thread Sergey Senozhatsky
On (09/25/17 12:19), tip-bot for Prarit Bhargava wrote: > Commit-ID: a4c1a0002f4518363da9d9ecd7b805af152dcdf1 > Gitweb: http://git.kernel.org/tip/a4c1a0002f4518363da9d9ecd7b805af152dcdf1 > Author: Prarit Bhargava > AuthorDate: Mon, 28 Aug 2017 08:21:54 -0400 > Committer: Thomas Gleixner

Re: [PATCH 2/2] PCI: mvebu: Check DRAM window size

2017-09-25 Thread Bjorn Helgaas
On Mon, Aug 28, 2017 at 05:25:17PM +0200, Jan Luebbe wrote: > The sum of the DRAM windows may exceed 4GB (at least on Armada XP). > Return an error in that case. > > Signed-off-by: Jan Luebbe Looking for an ack from Thomas or Jason before applying this... > --- > drivers/pci/host/pci-mvebu.c |

[PATCH v4 0/3] sched/fair: Introduce scaled capacity awareness in enqueue

2017-09-25 Thread Rohit Jain
During OLTP workload runs, threads can end up on CPUs with a lot of softIRQ activity, thus delaying progress. For more reliable and faster runs, if the system can spare it, these threads should be scheduled on CPUs with lower IRQ/RT activity. Currently, the scheduler takes into account the origina

[PATCH 3/3] ignore_this_patch: Fixing compilation error on Peter's tree

2017-09-25 Thread Rohit Jain
Addendum, please ignore. Signed-off-by: Rohit Jain --- kernel/time/tick-sched.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index eb0e975..ede1add 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c @@ -19,6 +19,7 @@ #

[PATCH 1/3] sched/fair: Introduce scaled capacity awareness in find_idlest_cpu code path

2017-09-25 Thread Rohit Jain
While looking for idle CPUs for a waking task, we should also account for the delays caused due to the bandwidth reduction by RT/IRQ tasks. This patch does that by trying to find a higher capacity CPU with minimum wake up latency. Signed-off-by: Rohit Jain --- kernel/sched/fair.c | 27

[PATCH 2/3] sched/fair: Introduce scaled capacity awareness in select_idle_sibling code path

2017-09-25 Thread Rohit Jain
While looking for CPUs to place running tasks on, the scheduler completely ignores the capacity stolen away by RT/IRQ tasks. This patch fixes that. Signed-off-by: Rohit Jain --- kernel/sched/fair.c | 54 ++--- 1 file changed, 43 insertions(+), 11

[PATCH v2] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
The driver strength selection is missed and required when selecting hs400es. So, It is added here. v2: add stable tag. Fixes: 81ac2af65793ecf ("mmc: core: implement enhanced strobe support") Cc: sta...@vger.kernel.org Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min Reviewed-by: Adrian Hunt

[PATCH] PM / OPP: Move the OPP directory out of power/

2017-09-25 Thread Viresh Kumar
The drivers/base/power/ directory is special and contains code related to power management core like system suspend/resume, hibernation, etc. It was fine to keep the OPP code inside it when we had just one file for it, but it is growing now and already has a directory for itself. Lets move it dire

Re: [PATCH 4/7] xfs: protect S_DAX transitions in XFS write path

2017-09-25 Thread Dave Chinner
On Mon, Sep 25, 2017 at 05:14:01PM -0600, Ross Zwisler wrote: > In the current XFS write I/O path we check IS_DAX() in > xfs_file_write_iter() to decide whether to do DAX I/O, direct I/O or > buffered I/O. This check is done without holding the XFS_IOLOCK, though, > which means that if we allow S_

Re: [PATCH 3/7] xfs: protect S_DAX transitions in XFS read path

2017-09-25 Thread Dave Chinner
On Mon, Sep 25, 2017 at 05:14:00PM -0600, Ross Zwisler wrote: > In the current XFS read I/O path we check IS_DAX() in xfs_file_read_iter() > to decide whether to do DAX I/O, direct I/O or buffered I/O. This check is > done without holding the XFS_IOLOCK, though, which means that if we allow > S_DA

Re: [PATCH 4.13 001/109] orangefs: Dont clear SGID when inheriting ACLs

2017-09-25 Thread Mike Marshall
That's a good patch Greg... I have another ACL patch that got pulled in 4.14 and there's some ACL patches in the server part of Orangefs too... Reviewing Jan's patch is what made me realize that Orangefs ACLs were busted. Anywho... we're moving offices so it will be a few days before I can try to g

[PATCH 04/10] dt-bindings: Document Broadcom Hurricane 2 clocks

2017-09-25 Thread Florian Fainelli
Add a Device Tree binding document for the Broadcom Hurricane 2 SoC which is an iProc based system. Signed-off-by: Florian Fainelli --- .../devicetree/bindings/clock/brcm,iproc-clocks.txt| 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings

[PATCH 06/10] ARM: dts: Add Broadcom Hurricane 2 DTS include file

2017-09-25 Thread Florian Fainelli
Describe the Broadcom Hurricane 2 SoC comprised of a Cortex-A9 CPU complex along with standard iProc peripherals: * timers * SPI controller * NAND controller * a single AMAC (Ethernet MAC controller) * dual PCIe controllers The design is largely similar to existing iProc-based SoCs such as Norths

[PATCH 09/10] ARM: dts: Hurricane 2: Add basic support for Ubiquiti UniFi Switch 8

2017-09-25 Thread Florian Fainelli
Add basic board support for the Ubiquiti UniFi Switch 8 port model. This is a small home and office use managed switch based on the BCM53342 switching control SoC. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/Makefile| 2 + arch/arm/boot/dts/bcm53340-ubnt-unifi-

[PATCH 07/10] ARM: debug: Add Hurricane 2 UART2 debug addresses

2017-09-25 Thread Florian Fainelli
Broadcom Hurricane 2 SoCs typically use their secondary UART for debug/console, provide a known good location for that. Signed-off-by: Florian Fainelli --- arch/arm/Kconfig.debug | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconf

[PATCH 08/10] dt-bindings: Add Ubiquiti Networks vendor prefix

2017-09-25 Thread Florian Fainelli
Use the stock ticker: UBNT as the vendor prefix for Ubiquiti Networks. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/b

[PATCH 10/10] ARM: multi_v7_defconfig: Enable CONFIG_ARCH_BCM_HR2

2017-09-25 Thread Florian Fainelli
Turn on Broadcom Hurrican 2 SoC support by default to get access to its drivers. Signed-off-by: Florian Fainelli --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 0cacdbf84a

[PATCH 01/10] MAINTAINERS: Update Broadcom iProc regexp with Hurricane 2

2017-09-25 Thread Florian Fainelli
Update the Broadcom iProc regepx with recently added Hurricane 2 SoC support. Signed-off-by: Florian Fainelli --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6671f375f7fc..3b48a1c2ddb8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2923,6 +2923

[PATCH 00/10] ARM: bcm: Add support for Broadcom Hurricane 2 SoC

2017-09-25 Thread Florian Fainelli
Hi all, This patch series adds basic (boot to prompt with essential peripherals working) support for Broadcom's Hurricane 2 SoC which is found in switching applications. This is also an iProc-family chip with a number of variations, including some in the clock controller that I have not been able

[PATCH 05/10] clk: bcm: Add Broadcom Hurricane 2 clock support

2017-09-25 Thread Florian Fainelli
Add support for the Broadcom Hurricane 2 SoC clock controller. We can re-use the existing iProc clock library since the SoC's architecture is largely the same as its predecessors. Signed-off-by: Florian Fainelli --- drivers/clk/bcm/Kconfig | 9 + drivers/clk/bcm/Makefile | 1 + driv

[PATCH 02/10] dt-bindings: Add documentation for Broadcom Hurricane 2 SoCs

2017-09-25 Thread Florian Fainelli
Add binding documentation for the Broadcom Hurricane 2 SoCs used in switching control planes. Signed-off-by: Florian Fainelli --- Documentation/devicetree/bindings/arm/bcm/brcm,hr2.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm

[PATCH 03/10] ARM: bcm: Add support for Broadcom Hurricane 2 SoC

2017-09-25 Thread Florian Fainelli
Add a Kconfig entry point and basic machine board code for the Broadcom Hurricane 2 SoCs used in 1G/10G switching products. Signed-off-by: Florian Fainelli --- arch/arm/mach-bcm/Kconfig | 9 + arch/arm/mach-bcm/Makefile | 3 +++ arch/arm/mach-bcm/bcm_hr2.c | 25 +

Re: [PATCH 1/3] x86/kernel: Add option that TSC on Socket 0 being non-null is valid

2017-09-25 Thread Mike Travis
On 9/25/2017 11:10 AM, Thomas Gleixner wrote: On Mon, 25 Sep 2017, Mike Travis wrote: On 9/25/2017 8:30 AM, Thomas Gleixner wrote: Aside of that I really do not like this kind of special case hackery. The real question is whether we need to enforce TSC_ADJUST == 0 on the boot cpu at all. In p

Re: [PATCH v3 2/2] dma: sprd: Add Spreadtrum DMA driver

2017-09-25 Thread Baolin Wang
On 26 September 2017 at 05:14, Mark Brown wrote: > On Tue, Sep 26, 2017 at 04:02:52AM +0800, Baolin Wang wrote: >> On 25 September 2017 at 17:47, Vinod Koul wrote: >> > On Thu, Sep 07, 2017 at 06:00:04PM +0800, Baolin Wang wrote: >> > >> >> +static void sprd_dma_chn_update(struct sprd_dma_chn *sc

Re: 9f4835fb96 ("x86/fpu: Tighten validation of user-supplied .."): Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2017-09-25 Thread Fengguang Wu
On Mon, Sep 25, 2017 at 04:55:09PM +0200, Ingo Molnar wrote: * Fengguang Wu wrote: On Mon, Sep 25, 2017 at 10:20:13AM +0800, kernel test robot wrote: > Hi Ingo, > > On your request I'm resending the report here, with attached dmesg, > kconfig and reproduce script. > > I'll go on to test your

Re: [PATCH v6 2/2] tracing: Add support for preempt and irq enable/disable events

2017-09-25 Thread Joel Fernandes
Hi Peter, On Mon, Sep 25, 2017 at 1:34 AM, Peter Zijlstra wrote: > On Fri, Sep 22, 2017 at 11:28:30AM -0700, Joel Fernandes wrote: [...] >> >> void start_critical_timings(void) >> >> { >> >> + if (this_cpu_read(tracing_preempt_cpu)) >> >> + trace_preempt_enable_rcuidle(CALLER_AD

Re: [PATCH 1/7] xfs: always use DAX if mount option is used

2017-09-25 Thread Dave Chinner
On Mon, Sep 25, 2017 at 05:13:58PM -0600, Ross Zwisler wrote: > Before support for the per-inode DAX flag was disabled the XFS the code had > an issue where the user couldn't reliably tell whether or not DAX was being > used to service page faults and I/O when the DAX mount option was used. In > t

Re: [PATCH 7/7] xfs: re-enable XFS per-inode DAX

2017-09-25 Thread Dave Chinner
On Mon, Sep 25, 2017 at 05:14:04PM -0600, Ross Zwisler wrote: > Re-enable the XFS per-inode DAX flag, preventing S_DAX from changing when > any mappings are present. > > Signed-off-by: Ross Zwisler > --- > fs/xfs/xfs_ioctl.c | 17 +++-- > 1 file changed, 15 insertions(+), 2 deletions

Re: [PATCH 1/8] extcon: gpio: Add DT bindings

2017-09-25 Thread Linus Walleij
On Sun, Sep 24, 2017 at 9:56 PM, Rob Herring wrote: > On Sun, Sep 24, 2017 at 9:56 AM, Linus Walleij > wrote: >> Add some reasonable device tree bindings and also add the cable defines >> to the extcon include in since >> the GPIO extcon definately need to specify which cable/connector it is >>

Re: [PATCH v2 2/2] sched/deadline: Initialize cp->elements[].cpu to an invalid value

2017-09-25 Thread Byungchul Park
On Mon, Sep 18, 2017 at 11:15:34AM -0400, Steven Rostedt wrote: > On Thu, 14 Sep 2017 10:05:19 +0900 > Byungchul Park wrote: > > > Currently, migrating tasks to cpu0 unconditionally happens when the > > heap is empty, since cp->elements[].cpu was initialized to 0(=cpu0). > > We have to distinguis

linux-next: build failure after merge of the cifs tree

2017-09-25 Thread Stephen Rothwell
Hi all, After merging the cifs tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/cifs/smb2transport.c: In function 'generate_smb311signingkey': fs/cifs/smb2transport.c:403:27: error: 'struct cifs_ses' has no member named 'preauth_sha_hash' d->context.iov_base = ses-

Re: [PATCH v2 1/2] completion: Add support for initializing completion with lockdep_map

2017-09-25 Thread Byungchul Park
On Fri, Sep 08, 2017 at 05:46:24PM +0900, Byungchul Park wrote: > To peter, > > Does it work? > > Chagnes from v1 > - Add a completion initialization function with a lockdep map > - Enhance readability of the workqueue code Again, this does not introduce any new things but only does what it sh

Re: [PATCH v11 0/2] Make find_later_rq() choose a closer cpu in topology

2017-09-25 Thread Byungchul Park
On Fri, Aug 25, 2017 at 03:40:49PM +0900, Byungchul Park wrote: Could you check this patch set? > Change from v10 >-. modify a comment a bit as Steven suggested > > Change from v9 >-. modify a comment a bit so to be more clear as Juri suggested > > Change from v8 >-. add suggested-b

Re: [PATCH 2/3] lockdep: Introduce lock_acquire_might()

2017-09-25 Thread Byungchul Park
On Tue, Sep 12, 2017 at 09:35:02AM +0900, Byungchul Park wrote: > On Tue, Sep 05, 2017 at 09:22:39AM +0200, Peter Zijlstra wrote: > > On Tue, Sep 05, 2017 at 11:29:13AM +0900, Byungchul Park wrote: > > > From the point of view of crossrelease, we can never be aware of the > > > release context in a

[git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Al Viro
On Mon, Sep 25, 2017 at 03:18:29PM -0700, Kyle Huey wrote: > Beginning with 553f770ef71b, the following program fails when compiled > for 32 bit and executed on a 64 bit kernel and succeeds when compiled > for and executed on a 64 bit. It continues to fail even after > 58aff0af7573. When compiled

Re: [PATCH] ARM: dts: at91: sama5d2_xplained: Add charger node

2017-09-25 Thread Yang, Wenyou
Hi Alexandre, On 2017/9/26 4:13, Alexandre Belloni wrote: On 15/08/2017 at 14:24:20 +0800, Wenyou Yang wrote: From: Wenyou Yang Add the charger device node as a sub-device of act8945a mfd, move the charger's properties in the node, and replace the "active-semi,irq_gpios" with the "interrupts

Re: [PATCH v3] Input: add support for the Samsung S6SY761 touchscreen

2017-09-25 Thread kbuild test robot
Hi Andi, [auto build test ERROR on input/next] [also build test ERROR on v4.14-rc2 next-20170922] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Andi-Shyti/Input-add-support-for-the-Samsung-S6SY

[PATCH V2] r8152: add Linksys USB3GIGV1 id

2017-09-25 Thread Grant Grundler
This linksys dongle by default comes up in cdc_ether mode. This patch allows r8152 to claim the device: Bus 002 Device 002: ID 13b1:0041 Linksys Signed-off-by: Grant Grundler --- drivers/net/usb/cdc_ether.c | 8 drivers/net/usb/r8152.c | 2 ++ 2 files changed, 10 insertions(+) V

Re: [PATCH] r8152: add Linksys USB3GIGV1 id

2017-09-25 Thread Grant Grundler
On Mon, Sep 25, 2017 at 1:17 PM, Grant Grundler wrote: ... > I didn't realize cdc_ether has a blacklist to make sure > RTL8152|RTL8153 devices are not picked up by cdc_ether. Would you > prefer I add this device to the blacklist in the same patch? I've sent a V2 which also updates the blacklist i

Re: linux-next: Tree for Sep 19 (x86/kernel/cpuinfo.c)

2017-09-25 Thread Randy Dunlap
On 09/19/17 08:54, Randy Dunlap wrote: > On 09/18/17 21:15, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20170918: >> >> Linus' tree still had its build failure for which I reverted a commit. >> > > on i386: > > ../arch/x86/kernel/cpuinfo.c: In function 'cpuinfo_flags': > ../arch/x86/ke

Re: linux-next: build failure after merge of the cifs tree

2017-09-25 Thread Steve French
fixed - repushed to cifs-2.6.git for-next On Mon, Sep 25, 2017 at 7:51 PM, Stephen Rothwell wrote: > Hi all, > > After merging the cifs tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > fs/cifs/smb2transport.c: In function 'generate_smb311signingkey': > fs/cifs/smb2

Re: [PATCH] sched/rt.c: pick and check task if double_lock_balance() unlock the rq

2017-09-25 Thread zhouchengming
On 2017/9/26 3:40, Steven Rostedt wrote: On Mon, 11 Sep 2017 14:51:49 +0800 Zhou Chengming wrote: push_rt_task() pick the first pushable task and find an eligible lowest_rq, then double_lock_balance(rq, lowest_rq). So if double_lock_balance() unlock the rq (when double_lock_balance() return 1)

Re: [PATCH v4 2/3] ipv4: Namespaceify tcp_fastopen_key knob

2017-09-25 Thread 严海双
> On 2017年9月26日, at 上午7:24, David Miller wrote: > > From: Haishuang Yan > Date: Fri, 22 Sep 2017 21:48:43 +0800 > >> @@ -9,13 +9,18 @@ >> #include >> #include >> >> -struct tcp_fastopen_context __rcu *tcp_fastopen_ctx; >> - >> -static DEFINE_SPINLOCK(tcp_fastopen_ctx_lock); >> - >> -void t

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Linus Torvalds
On Mon, Sep 25, 2017 at 6:00 PM, Al Viro wrote: > > I really wish gcc warned about conversions from pointer to function into > void *... Pulled and pushed out, but I'd like to note that sparse would have caught this. Except we are so far away from being sparse-clean that nobody runs it. And I th

Re: [PATCH 03/12] mmc: mediatek: add support of mt2701/mt2712

2017-09-25 Thread Chaotian Jing
Hi Ulf, Sorry to disturb you, Do you have some comments of these series of patch ? Thx! On Tue, 2017-09-12 at 17:07 +0800, Chaotian Jing wrote: > mt2701/mt2712 has 12bit clock div, which is not compatible with > mt8135/mt8173. and, some additional features will be added in > mt2701/mt2712, so that

[PATCH] Input: add support for HiDeep touchscreen

2017-09-25 Thread Anthony Kim
The HiDeep touchscreen device is a capacitive multi-touch controller mainly for multi-touch supported devices use. It use I2C interface for communication to IC and provide axis X, Y, Z locations for ten finger touch through input event interface to userspace. It support the Crimson and the Lime tw

Re: [PATCH V7 1/2] dma-mapping: Rework dma_get_cache_alignment()

2017-09-25 Thread 陈华才
Hi, Robin, Can ARM/ARM64 use the same implementation as MIPS? Or I just do MIPS things is OK? Huacai -- Original -- From: "Robin Murphy"; Date: Mon, Sep 25, 2017 08:57 PM To: "Huacai Chen"; "Christoph Hellwig"; Cc: "Marek Szyprowski"; "Andrew Morton"; "Fu

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Al Viro
On Mon, Sep 25, 2017 at 06:37:28PM -0700, Linus Torvalds wrote: > And I think your recent compat cleanup work actually made it worse, > showing new warnings (including the one that was a real bug) Actually, they are not new - try make C=2 ipc/compat.o on v4.13 and you'll see their previous locati

[PATCH] input/touchscreen: use EXPERT instead of EMBEDDED

2017-09-25 Thread Randy Dunlap
From: Randy Dunlap Change control of TOUCHSCREEN_USB_EASYTOUCH prompt string from EMBEDDED to EXPERT to match the rest of this Kconfig file. Signed-off-by: Randy Dunlap Cc: Daniel Ritz Cc: Dmitry Torokhov --- drivers/input/touchscreen/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 dele

Re: [PATCH V7 1/2] dma-mapping: Rework dma_get_cache_alignment()

2017-09-25 Thread 陈华才
Hi, Christoph, Can I put the declaration in asm/dma-coherence.h? And, last time you said it is OK to pass a NULL to dma_get_cache_alignment() and cc all driver maintainers. I have do so. Huacai -- Original -- From: "Christoph Hellwig"; Date: Mon, Sep 25, 2017

RE: [PATCH v5 0/3] TPS68470 PMIC drivers

2017-09-25 Thread Mani, Rajmohan
Hi Rafael, Andy, Just pinging to see if there are updates on ACPI / PMIC opregion patch... Thanks Raj > -Original Message- > From: Mani, Rajmohan > Sent: Thursday, September 07, 2017 5:46 PM > To: 'Rafael J. Wysocki' > Cc: 'Rafael J. Wysocki' ; 'Andy Shevchenko' > ; 'linux-kernel@vger.k

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Al Viro
On Tue, Sep 26, 2017 at 02:46:56AM +0100, Al Viro wrote: > On Mon, Sep 25, 2017 at 06:37:28PM -0700, Linus Torvalds wrote: > > > And I think your recent compat cleanup work actually made it worse, > > showing new warnings (including the one that was a real bug) > > Actually, they are not new - tr

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Linus Torvalds
On Mon, Sep 25, 2017 at 6:46 PM, Al Viro wrote: > > Which tree do you prefer it to go through? Direct to mainline, or vfs.git > #for-next? for-next, it's not like it's in any way urgent. Linus

Re: [PATCH 1/8] extcon: gpio: Add DT bindings

2017-09-25 Thread Chanwoo Choi
Hi Rob, On 2017년 09월 26일 09:39, Linus Walleij wrote: > On Sun, Sep 24, 2017 at 9:56 PM, Rob Herring wrote: >> On Sun, Sep 24, 2017 at 9:56 AM, Linus Walleij >> wrote: >>> Add some reasonable device tree bindings and also add the cable defines >>> to the extcon include in since >>> the GPIO ext

[PATCH v2 09/10] arm: dts: mt7623: enable bananapi-r2 display function

2017-09-25 Thread Ryder Lee
This patch adds missing MIPI pin macros in mt7623-pinfunc.h and enables pwm backlight support for bananapi-r2. Signed-off-by: Ryder Lee Acked-by: Linus Walleij --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 41 +-- include/dt-bindings/pinctrl/mt7623-pinfunc.h | 12

[PATCH v2 01/10] arm: dts: mt2701: add pwm backlight device node

2017-09-25 Thread Ryder Lee
From: Weiqing Kong This patch adds the device node for MT2701 pwm backlight. Signed-off-by: Weiqing Kong Signed-off-by: Erin Lo Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt2701.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boo

[PATCH v2 04/10] arm: dts: mediatek: update audio node for mt2701 and mt7623

2017-09-25 Thread Ryder Lee
This patch adds interrupt-names property in audio node so that binding can be agnostic of the IRQ order. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt2701.dtsi | 4 +++- arch/arm/boot/dts/mt7623.dtsi | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/m

[PATCH v2 03/10] arm: dts: mt2701: add display subsystem related nodes

2017-09-25 Thread Ryder Lee
From: YT Shen This patch adds the device nodes for MT2701 DISP function blocks. Signed-off-by: YT Shen Signed-off-by: Erin Lo Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt2701.dtsi | 75 +++ 1 file changed, 75 insertions(+) diff --git a/arch/arm/b

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Linus Torvalds
On Mon, Sep 25, 2017 at 7:00 PM, Al Viro wrote: > > FWIW, __percpu and __rcu annotations are messy as hell. Never got around > to sorting down the infrastructure annotations for that bunch, and I'm > not entirely sure that they (especially __rcu) are a good match for > __address_space__(()). I a

[PATCH v2 10/10] arm: dts: mt7623: add PCIe related nodes

2017-09-25 Thread Ryder Lee
This patch adds devices nodes and updates pinmux setting for the PICe function block. Just note that PCIe port2 PHY is shared with U3 port. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 108 ++ arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts |

[PATCH v2 08/10] arm: dts: mt7623: add display subsystem related nodes

2017-09-25 Thread Ryder Lee
This patch adds the device nodes for the display function blocks. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 94 +++ 1 file changed, 94 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index c3ce0b

Re: [PATCH 2/8] extcon: gpio: Localize platform data

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > Nothing in the entire kernel #includes > so move the platform data declaration inside of the driver. > > Signed-off-by: Linus Walleij > --- > drivers/extcon/extcon-gpio.c | 22 +- > include/linux/extcon/extcon-gpio.

[PATCH v2 06/10] arm: dts: mt7623: add subsystem clock controller nodes

2017-09-25 Thread Ryder Lee
This patch adds missing susbsystem clock controllers nodes for MT7623. (e.g., mmsys, imgsys, vdecsys and bdpsys) Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/a

Re: [PATCH 3/8] extcon: gpio: Move platform data into state container

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > This moves the platform data settings from the platform data > struct and into the state container, saving some unnecessary > references and simplifying things a bit. > > Signed-off-by: Linus Walleij > --- > drivers/extcon/extcon-gpio.c |

[PATCH v2 07/10] arm: dts: mt7623: add iommmu and jpecdec nodes

2017-09-25 Thread Ryder Lee
This patch adds iommu and jpecdec nodes for MT7623. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 74 +++ 1 file changed, 74 insertions(+) diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi index ca672bd..c3ce0b0 100

[PATCH v2 05/10] arm: dts: mt7623: update pio, usb and crypto nodes

2017-09-25 Thread Ryder Lee
This patch updates pio, usb and crypto nodes to make them be consistent with the binding documents. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 52 ++- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/arch/arm/boot/dts/mt762

[PATCH v2 00/10] update MT7623 and MT2701 dts

2017-09-25 Thread Ryder Lee
Hi Matthias, This patch series adds/corrects some device nodes for both MT7623 and MT2701. changes since v2: - move non-common part and non-display related nodes to different patches. - remove unused wdma node. - add display related nodes for MT2701. changes since v1: - rebase to v4.14. - sort n

[PATCH v2 02/10] arm: dts: mt2701: enable display pwm backlight

2017-09-25 Thread Ryder Lee
From: Weiqing Kong This patch adds board related config for MT2701 pwm backlight. Signed-off-by: Weiqing Kong Signed-off-by: Erin Lo Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt2701-evb.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/mt

Re: [git pull] vfs.git regression fix Re: Regression related to ipc shmctl compat

2017-09-25 Thread Linus Torvalds
On Mon, Sep 25, 2017 at 7:03 PM, Linus Torvalds wrote: > > I agree. It might be better to just remove the address space logic, > because afaik it never worked for them. .. and sadly, we should probably disable the locking ones by default too, because while they *work*, sparse only handles static

Re: [PATCH 4/8] extcon: gpio: Convert to fully use GPIO descriptor

2017-09-25 Thread Chanwoo Choi
Hi Linus, Looks good to me. But, there is one comment of gpiod_to_irq()'s return value. If you modify it, feel free to add my tag: Acked-by: Chanwoo Choi On 2017년 09월 24일 23:56, Linus Walleij wrote: > Since we are not getting the GPIO from any platform data and global > GPIO numberspace, we sim

Re: [PATCH 5/8] extcon: gpio: Request reasonable interrupts

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > The only thing that makes sense is to request a falling edge interrupt > if the line is active low and a rising edge interrupt if the line is > active high, so just do that and get rid of the assignment from > platform data. The GPIO descrip

Re: [PATCH 6/8] extcon: gpio: Get debounce setting from device property

2017-09-25 Thread Chanwoo Choi
Hi Linus, On 2017년 09월 24일 23:56, Linus Walleij wrote: > Look up the debouncing value using the device property that will > pick it from device tree or ACPI DSDT or whatever is available. > > Reintroduce the debounce handling previously deleted in the > series, setting the delayed worker to delay

[PATCH v2 net-next 08/10] net: hns3: Add dcb netlink interface for the support of DCB feature

2017-09-25 Thread Yunsheng Lin
This patch add dcb netlink interface by calling the interface from hclge_dcb module. This patch also update Makefile in order to build hns3_dcbnl module. Signed-off-by: Yunsheng Lin --- .../net/ethernet/hisilicon/hns3/hns3pf/Makefile| 2 + .../ethernet/hisilicon/hns3/hns3pf/hns3_dcbnl.c

<    2   3   4   5   6   7   8   9   >