Re: update timer frequencies

2017-08-03 Thread Vineet Gupta
Hi Thomas, On 03/10/2017 03:58 PM, Thomas Gleixner wrote: Vlad, On Fri, 10 Mar 2017, Vlad Zakharov wrote: I am trying to implement a cpufreq driver for ARC CPUs. The point is that ARC timers (including those are used for timekeeping) are driven by the same clock as ARC CPU core(s). To be h

[PATCH 1/5] dt-bindings: phy: Add PHY_TYPE_UFS definition

2017-08-03 Thread Vivek Gautam
Add definition for UFS phy type. Signed-off-by: Vivek Gautam --- include/dt-bindings/phy/phy.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h index 6c901930eb3e..d16e8755f6a9 100644 --- a/include/dt-bindings/phy/phy.h +++ b/inclu

[PATCH 4/5] scsi/ufs: qcom: Set phy mode based on the controllers HS MODE

2017-08-03 Thread Vivek Gautam
Set the phy mode based on the UFS HS PA mode. This lets the controller let phy know the mode in which the PHY Adapter is running and set the phy rates accordingly. Signed-off-by: Vivek Gautam --- drivers/scsi/ufs/ufs-qcom.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/scsi/ufs/

Re: [PATCH] drm/tinydrm: mipi-dbi: Fix unbalanced DMA access

2017-08-03 Thread Noralf Trønnes
Den 04.08.2017 00.41, skrev David Lechner: On 08/01/2017 03:14 PM, David Lechner wrote: If we return here and import_attach is true, then dma_buf_end_cpu_access() will not be called balance dma_buf_begin_cpu_access(). Fix by setting ret instead of returning. Signed-off-by: David Lechner ---

[PATCH 3/5] phy: qcom-ufs: Add support to set phy mode

2017-08-03 Thread Vivek Gautam
Adding support to set desired UFS phy mode that can be set from the host controller. Signed-off-by: Vivek Gautam --- drivers/phy/qualcomm/phy-qcom-ufs-i.h| 2 ++ drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c | 14 ++ drivers/phy/qualcomm/phy-qcom-ufs-qmp-20nm.c | 14 +

[PATCH 5/5] ufs/phy: qcom: Refactor to use phy_init call

2017-08-03 Thread Vivek Gautam
Refactor ufs_qcom_power_up_sequence() to get rid of ugly exported phy APIs and use the phy_init() and phy_power_on() to do the phy initialization. Signed-off-by: Vivek Gautam --- drivers/phy/qualcomm/phy-qcom-ufs-i.h| 2 -- drivers/phy/qualcomm/phy-qcom-ufs-qmp-14nm.c | 9 +-- driv

[PATCH 0/5] qcom-ufs: phy/hcd: Refactor phy initialization code

2017-08-03 Thread Vivek Gautam
Refactoring the qcom-ufs phy and host controller code to move further towards the generic phy usage. Right now the qcom-ufs exports a bunch of APIs that are used by the host controller to initialize the phy. With this patch series, we populate the phy_init() which was a no-op earlier. The host cont

[PATCH 2/5] phy: Add UFS PHY modes

2017-08-03 Thread Vivek Gautam
UFS phy has two modes for each High speed generation. These modes are identified by two rates of operations - Rate A, and Rate B. Add these UFS phy modes to phy framework. Signed-off-by: Vivek Gautam --- include/linux/phy/phy.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/

[git pull] drm amd fixes for v4.13-rc4

2017-08-03 Thread Dave Airlie
Hi Linus, Either my email ate everything or everyone is on holidays, either way all I can find is some lonely AMD fixes. Dave. The following changes since commit 16f73eb02d7e1765ccab3d2018e0bd98eb93d973: Linux 4.13-rc3 (2017-07-30 12:40:36 -0700) are available in the git repository at: gi

[PATCH] bpf: fix selftest/bpf/test_pkt_md_access on s390x

2017-08-03 Thread Thomas Richter
Commit 18f3d6be6be1 ("selftests/bpf: Add test cases to test narrower ctx field loads") introduced new eBPF test cases. One of them (test_pkt_md_access.c) fails on s390x. The BPF verifier error message is: [root@s8360046 bpf]# ./test_progs test_pkt_access:PASS:ipv4 349 nsec test_pkt_access:PASS:ip

linux-next: Tree for Aug 4

2017-08-03 Thread Stephen Rothwell
Hi all, Changes since 20170803: The wireless-drivers-next gained a conflict against with Linus' tree. I again reverted a commit from the staging tree that was causing overnight build failures. Non-merge commits (relative to Linus' tree): 4300 4510 files changed, 165118 insertions(

[PATCH 5/6] misc: lis3lv02d: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/lis3lv02d/lis3lv02d.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[PATCH 1/6] misc: apds9802als: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/apds9802als.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 4/6] misc: isl29020: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/isl29020.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCH 3/6] misc: bh1770glc: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/bh1770glc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 2/6] misc: apds990x: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/apds990x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[PATCHv2] arm:kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores

2017-08-03 Thread Hoeun Ryu
Commit 0ee5941 : (x86/panic: replace smp_send_stop() with kdump friendly version in panic path) introduced crash_smp_send_stop() which is a weak function and can be overriden by architecture codes to fix the side effect caused by commit f06e515 : (kernel/panic.c: add "crash_kexec_post_ notifiers"

[PATCH 0/6] constify misc attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (6): [PATCH 1/6] misc: apds9802als: constify attribute_group structures. [PATCH 2/6] misc: apds99

[PATCH 6/6] misc: ti-st: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/misc/ti-st/st_kim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: linux-next: manual merge of the wireless-drivers-next tree with Linus' tree

2017-08-03 Thread Kalle Valo
Stephen Rothwell writes: > Today's linux-next merge of the wireless-drivers-next tree got a > conflict in: > > drivers/net/wireless/intel/iwlwifi/mvm/ops.c > > between commit: > > bf8b286f86fc ("iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART") > > from Linus' tree and commit: > >

[PATCH] drm/omap: omap_display_timings: constify videomode structures

2017-08-03 Thread Julia Lawall
The videomode structures are only copied into the vm field of a panel_drv_data structure, so they can be const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c |2 +- drivers/gpu/drm/omapdrm/displays/panel-tpo-td

Re: [PATCH 1/2] wireless: move prism54 out to staging

2017-08-03 Thread Kalle Valo
"Luis R. Rodriguez" writes: > prism54 is deprecated in favor of the p54pci device driver. Although > only *one soul* had reported issues with it long ago Linux most Linux > distributions these days just disable the device driver given the > conflicts with the PCI IDs of p54pci and the *very* unli

Re: [PATCH 0/2] wireless: move prism54 to staging

2017-08-03 Thread Kalle Valo
"Luis R. Rodriguez" writes: > This moves the prism54 diver to staging. The reason for this are > stated on the driver's own commit log. Let me know what tree you'd > prefer this to go through. Nice. For me it's better if Greg can take this, I suspect less conflicts that way, but I can take this

Re: [PATCH] pinctrl: intel: Add Intel Denverton pin controller support

2017-08-03 Thread Andy Shevchenko
On Thu, Aug 3, 2017 at 7:36 PM, Mika Westerberg wrote: > This driver adds pinctrl/GPIO support for Intel Denverton SoC. The GPIO > controller is based on the same hardware design that is already used in > Intel Sunrisepoint so we leverage the core driver here. > Fine by me! Reviewed-by: Andy She

[PATCH] leds: blinkm: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/leds/leds-blinkm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: Kernel error messages: leds fujitsu::radio_led: Setting an LED's brightness failed

2017-08-03 Thread Michał Kępień
> Hi Michał, Hi Harvey, Thank you for providing us with further information. > Now I had the time to change the harddisk in my laptop to the Win7 one > (It's 35 degrees out there - nice excuse to stay inside ;)) > > What I found out: > Neither the E nor the I LED work under Windows in my config

Re: [PATCH] arm:lpae: build TTB control register value from scratch in v7_ttb_setup

2017-08-03 Thread Hoeun Ryu
Hello, Russell King. The following patch has not merged yet. Do you have a plan to accept and merge this patch ? Thank you. On Mon, 2017-06-12 at 10:47 +0900, Hoeun Ryu wrote: >  Reading TTBCR in early boot stage might return the value of the previous > kernel's configuration, especially in case

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

2017-08-03 Thread Oza Oza
On Fri, Aug 4, 2017 at 11:29 AM, Oza Oza wrote: > On Fri, Aug 4, 2017 at 12:27 AM, Bjorn Helgaas wrote: >> On Thu, Aug 03, 2017 at 01:50:29PM +0530, Oza Oza wrote: >>> On Thu, Aug 3, 2017 at 2:34 AM, Bjorn Helgaas wrote: >>> > On Thu, Jul 06, 2017 at 08:39:41AM +0530, Oza Pawandeep wrote: >>> >>

[PATCH] of: platform: Create dummy routines for !CONFIG_OF_ADDRESS

2017-08-03 Thread Viresh Kumar
Few routines don't have their dummy counterparts which results in build failures where these routines are used without CONFIG_OF_ADDRESS enabled. Fix those by defining the dummy versions. Signed-off-by: Viresh Kumar --- include/linux/of_platform.h | 31 +-- 1 file ch

[PATCH] arm:kexec: have own crash_smp_send_stop() for crash dump for nonpanic cores

2017-08-03 Thread Hoeun Ryu
Commit 0ee5941 : (x86/panic: replace smp_send_stop() with kdump friendly version in panic path) introduced crash_smp_send_stop() which is a weak function and can be overriden by architecture codes to fix the side effect caused by commit f06e515 : (kernel/panic.c: add "crash_kexec_post_ notifiers"

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

2017-08-03 Thread Oza Oza
On Fri, Aug 4, 2017 at 12:27 AM, Bjorn Helgaas wrote: > On Thu, Aug 03, 2017 at 01:50:29PM +0530, Oza Oza wrote: >> On Thu, Aug 3, 2017 at 2:34 AM, Bjorn Helgaas wrote: >> > On Thu, Jul 06, 2017 at 08:39:41AM +0530, Oza Pawandeep wrote: >> >> For Configuration Requests only, following reset it is

Re: [PATCH v3] powerpc/mm: Implemented default_hugepagesz verification for powerpc

2017-08-03 Thread Aneesh Kumar K.V
Victor Aoqui writes: > Implemented default hugepage size verification (default_hugepagesz=) > in order to allow allocation of defined number of pages (hugepages=) > only for supported hugepage sizes. > > Signed-off-by: Victor Aoqui I am still not sure about this. With current upstream we get

Re: [PATCH v2 17/25] mtd: nand: qcom: add BAM DMA descriptor handling

2017-08-03 Thread Archit Taneja
On 07/19/2017 05:18 PM, Abhishek Sahu wrote: 1. prepare_bam_async_desc is the function which will call all the DMA API’s. It will fetch the outstanding scatter gather list for passed channel and will do the DMA descriptor formation. The DMA flag is dependent upon the type of channel

[PATCH v4 1/2] dt-bindings: gpio: davinci: Add keystone-k2g compatible

2017-08-03 Thread Keerthy
The patch adds keystone-k2g compatible, specific properties and an example. The patch also adds the details of supported SoCs for each compatible. Signed-off-by: Keerthy Acked-by: Rob Herring --- Changes in v4: * Changed documentation links. * Added Rob's Ack. * Replaced keystone-k2g wit

[PATCH v4 2/2] ARM: dts: keystone-k2g: Add gpio nodes

2017-08-03 Thread Keerthy
66AK2G has 2 instances of gpio. The first one has all the 144 GPIOs functional. 9 banks with 16 gpios making a total of 144. The second instance has only the GPIO0:GPIO67 functional and rest are marked reserved. Signed-off-by: Keerthy Acked-by: Linus Walleij --- Changes in v4: * Couple of re

Re: [v4 2/2] ARM: dts: keystone-k2g: Add gpio nodes

2017-08-03 Thread Keerthy
On Friday 04 August 2017 11:15 AM, Keerthy wrote: > 66AK2G has 2 instances of gpio. The first one has all the 144 GPIOs > functional. 9 banks with 16 gpios making a total of 144. The second > instance has only the GPIO0:GPIO67 functional and rest are marked > reserved. I will send with the $subj

[v4 2/2] ARM: dts: keystone-k2g: Add gpio nodes

2017-08-03 Thread Keerthy
66AK2G has 2 instances of gpio. The first one has all the 144 GPIOs functional. 9 banks with 16 gpios making a total of 144. The second instance has only the GPIO0:GPIO67 functional and rest are marked reserved. Signed-off-by: Keerthy Acked-by: Linus Walleij --- Changes in v4: * Couple of re

[v4 1/2] dt-bindings: gpio: davinci: Add keystone-k2g compatible

2017-08-03 Thread Keerthy
The patch adds keystone-k2g compatible, specific properties and an example. The patch also adds the details of supported SoCs for each compatible. Signed-off-by: Keerthy Acked-by: Rob Herring --- Changes in v4: * Changed documentation links. * Added Rob's Ack. * Replaced keystone-k2g wit

Re: [v4 2/2] ARM: dts: keystone-k2g: Add gpio nodes

2017-08-03 Thread Keerthy
On Friday 04 August 2017 11:15 AM, Keerthy wrote: > 66AK2G has 2 instances of gpio. The first one has all the 144 GPIOs > functional. 9 banks with 16 gpios making a total of 144. The second > instance has only the GPIO0:GPIO67 functional and rest are marked > reserved. Oops. I will send with the

[PATCH] samples/bpf: Fix cross compiler error with bpf sample

2017-08-03 Thread Joel Fernandes
When cross-compiling the bpf sample map_perf_test for aarch64, I find that __NR_getpgrp is undefined. This causes build errors. Fix it by allowing the deprecated syscall in the sample. Signed-off-by: Joel Fernandes --- samples/bpf/map_perf_test_user.c | 2 ++ 1 file changed, 2 insertions(+) dif

Re: Gift-

2017-08-03 Thread Mayrhofer Family
Good Day, My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Annand Mayrhofer. --- This email has been checked f

Re: strace-4.18 test suite oopses sparc64 4.12 and 4.13-rc kernels

2017-08-03 Thread Sam Ravnborg
Hi Davem. On Thu, Aug 03, 2017 at 02:57:48PM -0700, David Miller wrote: > From: Mikael Pettersson > Date: Thu, 3 Aug 2017 22:02:57 +0200 > > > With that in place the kernel booted fine. > > When I then ran the `poll' strace test binary, the OOPS was replaced by: > > > > [ 140.589913] _copy_fro

[PATCH 4/5] scsi/esp_scsi: Avoid sending ABORT TASK SET messages

2017-08-03 Thread Finn Thain
If an LLD aborts a task set, it should complete the affected commands with the appropriate result code. In a couple of cases esp_scsi doesn't do so. When the initiator receives an unhandled message, just respond by sending a MESSAGE REJECT instead of ABORT TASK SET, and thus avoid the issue. OTOH

[PATCH 3/5] scsi/esp_scsi: Clean up control flow and dead code

2017-08-03 Thread Finn Thain
This patch improves readability. There are no functional changes. Since this touches on a questionable ESP_INTR_DC conditional, add some commentary to help others who may (as I did) find themselves chasing an "Invalid Command" error after the device flags this condition. This cleanup also elimina

[PATCH 5/5] scsi/esp_scsi: Always clear msg_out_len after MESSAGE OUT phase

2017-08-03 Thread Finn Thain
After sending a message, always clear esp->msg_out_len. Otherwise, eh_abort_handler may subsequently fail to send an ABORT TASK SET message. Tested-by: Stan Johnson Signed-off-by: Finn Thain --- drivers/scsi/esp_scsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/scsi/esp_scsi.

[PATCH 0/5] esp_scsi, mac_esp: Various fixes and cleanups

2017-08-03 Thread Finn Thain
This series has been tested on m68k Macs (ESP236 equivalent). Some more testing with different targets and devices (FAS236 etc) might be nice. Being that the esp_scsi fixes are on error paths, more review may actually be more valuable than more testing... Finn Thain (5): scsi/mac_esp: Avoid ty

[PATCH 1/5] scsi/mac_esp: Avoid type warning from sparse

2017-08-03 Thread Finn Thain
Avoid the following warning from "make C=1": CHECK drivers/scsi/mac_esp.c drivers/scsi/mac_esp.c:357:30: warning: incorrect type in initializer (different address spaces) drivers/scsi/mac_esp.c:357:30:expected unsigned char [usertype] *fifo drivers/scsi/mac_esp.c:357:30:got void [node

[PATCH 2/5] scsi/mac_esp: Fix PIO transfers for MESSAGE IN phase

2017-08-03 Thread Finn Thain
When in MESSAGE IN phase, the ESP device does not automatically acknowledge each byte that is transferred by PIO. The mac_esp driver neglects to explicitly ack them, which causes a timeout during messages larger than one byte (e.g. tag bytes during reconnect). Fix this with an ESP_CMD_MOK command a

Re: [PATCH v2 16/25] mtd: nand: qcom: allocate BAM transaction

2017-08-03 Thread Archit Taneja
On 07/19/2017 05:18 PM, Abhishek Sahu wrote: The BAM transaction is the core data structure which will be used for all the data transfers in QPIC NAND. Since the base layer is serializing all the NAND requests so allocating BAM transaction before every transfer will be overhead. The memory for

Re: [v5 09/15] sparc64: optimized struct page zeroing

2017-08-03 Thread Sam Ravnborg
Hi Pavel. On Thu, Aug 03, 2017 at 05:23:47PM -0400, Pavel Tatashin wrote: > Add an optimized mm_zero_struct_page(), so struct page's are zeroed without > calling memset(). We do eight regular stores, thus avoid cost of membar. The commit message does no longer reflect the implementation, and shou

Re: [PATCH net-next] net: dsa: User per-cpu 64-bit statistics

2017-08-03 Thread Eric Dumazet
On Thu, 2017-08-03 at 21:33 -0700, Florian Fainelli wrote: > During testing with a background iperf pushing 1Gbit/sec worth of > traffic and having both ifconfig and ethtool collect statistics, we > could see quite frequent deadlocks. Convert the often accessed DSA slave > network devices statistic

[PATCH BUGFIX/IMPROVEMENT V2 1/2] block,bfq: refactor device-idling logic

2017-08-03 Thread Paolo Valente
The logic that decides whether to idle the device is scattered across three functions. Almost all of the logic is in the function bfq_bfqq_may_idle, but (1) part of the decision is made in bfq_update_idle_window, and (2) the function bfq_bfqq_must_idle may switch off idling regardless of the output

[PATCH BUGFIX/IMPROVEMENT V2 0/2] block, bfq: improve and refactor throughput-boosting logic

2017-08-03 Thread Paolo Valente
Hi, these two patches improve throughput-boosting logic in two aspects. The first patch refactors the parts of the device-idling logic, related to throughput boosting, that are still scattered across the source file bfq-iosched.c. The patch concetrates all the logic in one function. The second patc

[PATCH BUGFIX/IMPROVEMENT V2 2/2] block, bfq: boost throughput with flash-based non-queueing devices

2017-08-03 Thread Paolo Valente
When a queue associated with a process remains empty, there are cases where throughput gets boosted if the device is idled to await the arrival of a new I/O request for that queue. Currently, BFQ assumes that one of these cases is when the device has no internal queueing (regardless of the properti

Re: [V3 1/2] phy: ralink-usb: add driver for Mediatek/Ralink

2017-08-03 Thread Kishon Vijay Abraham I
On Thursday 03 August 2017 04:02 PM, Harvey Hunt wrote: > From: John Crispin > > Add a driver to setup the USB phy on Mediatek/Ralink SoCs. > The driver is trivial and only sets up power and host mode. > > Signed-off-by: John Crispin > Signed-off-by: Harvey Hunt > Cc: linux-kernel@vger.kerne

Re: [PATCH v2 2/4] phy: add inno-usb2-phy driver for hi3798cv200 SoC

2017-08-03 Thread Kishon Vijay Abraham I
Hi, On Wednesday 26 July 2017 11:36 AM, Jiancheng Xue wrote: > From: Pengcheng Li > > Add inno-usb2-phy driver for hi3798cv200 SoC. > > Signed-off-by: Pengcheng Li > Signed-off-by: Jiancheng Xue > --- > drivers/phy/hisilicon/Kconfig | 11 +- > drivers/phy/hisilicon/Makefile

Re: [PATCH v2 15/25] mtd: nand: qcom: DMA mapping support for register read buffer

2017-08-03 Thread Archit Taneja
Hi, On 07/19/2017 05:18 PM, Abhishek Sahu wrote: The EBI2 NAND directly remaps register read buffer with dma_map_sg. The QPIC NAND will give register read buffer in its command descriptor and the command descriptor will be mapped with dma_map_sg instead of register read buffer. This command desc

Re: [PATCH 0/2] PCI: dwc: convert remaining dbi read/writes to dw_pcie_readX_dbi/dw_pcie_writeX_dbi

2017-08-03 Thread Kishon Vijay Abraham I
On Friday 04 August 2017 01:42 AM, Bjorn Helgaas wrote: > Adding Kishon & Pratyush for real this time. > > On Wed, Aug 02, 2017 at 04:32:56PM -0500, Bjorn Helgaas wrote: >> [+cc Kishon, Pratyush] >> >> On Fri, Jul 14, 2017 at 02:07:33PM +0200, Niklas Cassel wrote: >>> Since the introduction of t

Re: [PATCH 2/2] fsnotify: use method copy_dname copying filename

2017-08-03 Thread Al Viro
On Fri, Aug 04, 2017 at 11:58:41AM +0800, 林守磊 wrote: > Hi all > > I sent this patch two months ago, then I found CVE from this link last night > > http://seclists.org/oss-sec/2017/q3/240 > > which not only references this patch, but also provides a upstream fix > > > https://git.kernel

Re: [PATCH v5 3/4] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-03 Thread Byungchul Park
On Thu, Aug 03, 2017 at 02:03:34PM +0200, Peter Zijlstra wrote: > This one I'm not sure on.. at the very least we should exclude all of > the prefer sibling domain when we do the next domain, and if there are > multiple prefer sibling levels, we should only pick the first > fallback_cpu -- there i

Re: [PATCH] cpufreq: dt: Add rk3328 compatible to use generic cpufreq driver

2017-08-03 Thread Viresh Kumar
On 04-08-17, 09:52, Finley Xiao wrote: > This patch adds the rk3328 compatible string for supporting > the generic cpufreq driver on RK3328. > > Signed-off-by: Finley Xiao > --- > drivers/cpufreq/cpufreq-dt-platdev.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/cpufreq/cpufr

[PATCH 01/11] drm: i915: i915_oa_kblgt2: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_kblgt2.c | 36 +--

[PATCH 02/11] drm: i915: i915_oa_bdw: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_bdw.c | 44 +++---

[PATCH 05/11] drm: i915: i915_oa_glk: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_glk.c | 30 +++--- 1 file c

[PATCH 03/11] drm: i915: i915_oa_bxt: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_bxt.c | 30 +++--- 1 file c

[PATCH 07/11] drm: i915: i915_oa_kblgt3: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_kblgt3.c | 36 +--

[PATCH 09/11] drm: i915: i915_oa_sklgt3: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_sklgt3.c | 36 +--

[PATCH 11/11] drm: i915: i915_sysfs: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_sysfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 10/11] drm: i915: i915_oa_sklgt4: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_sklgt4.c | 36 +--

[PATCH 06/11] drm: i915: i915_oa_hsw: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_hsw.c | 12 ++-- 1 file changed, 6 insertio

[PATCH 04/11] drm: i915: i915_oa_chv: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_chv.c | 28 ++-- 1 file cha

[PATCH 08/11] drm: i915: i915_oa_sklgt2: constify attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/i915/i915_oa_sklgt2.c | 36 +--

[PATCH 00/11] constify i915 attribute_group structures.

2017-08-03 Thread Arvind Yadav
attribute_group are not supposed to change at runtime. All functions working with attribute_group provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (11): [PATCH 01/11] drm: i915: i915_oa_kblgt2: constify attribute_group structures. [PATCH 02/11]

Re: [PATCH 4.12 00/31] 4.12.5-stable review

2017-08-03 Thread Guenter Roeck
On 08/03/2017 04:17 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.12.5 release. There are 31 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

[PATCH] pinctrl: add __rcu annotations to fix sparse warnings

2017-08-03 Thread Masahiro Yamada
Sparse reports "warning: incorrect type in assignment (different address spaces)". Signed-off-by: Masahiro Yamada --- drivers/pinctrl/core.c | 2 +- drivers/pinctrl/pinmux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c

[PATCH] pinctrl: nomadik: fix incorrect type in return expression

2017-08-03 Thread Masahiro Yamada
Sparse reports "warning: incorrect type in return expression (different address spaces)" because nmk_gpio_populate_chip() is supposed to return (struct nmk_gpio_chip *) whereas devm_ioremap_resource() returns (void __iomem *). ERR_CAST() is needed to fix the warning. Signed-off-by: Masahiro Yamad

[PATCH] pinctrl: sirf: add static to local data

2017-08-03 Thread Masahiro Yamada
Detected by sparse. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/sirf/pinctrl-atlas7.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c index 1efa315a7dbe..b3de1eb04ec1 100644 --- a/dri

[PATCH] pinctrl: armada-37xx: add static to local data

2017-08-03 Thread Masahiro Yamada
Detected by sparse. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c index f024e25787fc..0b263b90a9a8

[PATCH net-next] net: dsa: User per-cpu 64-bit statistics

2017-08-03 Thread Florian Fainelli
During testing with a background iperf pushing 1Gbit/sec worth of traffic and having both ifconfig and ethtool collect statistics, we could see quite frequent deadlocks. Convert the often accessed DSA slave network devices statistics to per-cpu 64-bit statistics to remove these deadlocks and provid

Re: [linux-sunxi] [PATCH 10/13] [NOT FOR REVIEW NOW] clk: sunxi: Add CLK_SET_RATE_PARENT flag for H3 HDMI clock

2017-08-03 Thread Chen-Yu Tsai
On Fri, Aug 4, 2017 at 12:16 PM, Icenowy Zheng wrote: > > > 于 2017年8月4日 GMT+08:00 下午12:15:27, Chen-Yu Tsai 写到: >>Hi, >> >>On Tue, Aug 1, 2017 at 9:13 PM, Icenowy Zheng wrote: >>> From: Jernej Skrabec >>> >>> When setting the HDMI clock of H3, the PLL_VIDEO clock needs to be >>set. >>> >>> Add C

Re: [linux-sunxi] [PATCH] drm/panel: simple: Fix width and height for Olimex LCD-OLinuXino-4.3TS

2017-08-03 Thread Chen-Yu Tsai
On Thu, Jul 20, 2017 at 6:29 PM, Jonathan Liu wrote: > The physical size of the panel is 105.5 (W) x 67.2 (H) x 4.05 (D) mm > but the active display area is 95.04 (W) x 53.856 (H) mm. > > The width and height should be set to the active display area. > > Signed-off-by: Jonathan Liu You probably

[PATCH] devfreq: replace sscanf with kstrtol

2017-08-03 Thread gsantosh
Hi, Adding error checks to devfreq userspace governor, the current implementation results in setting wrong frequency when sscanf returns error. From 12e0a347addd70529b2c378299b27b65f0766f99 Mon Sep 17 00:00:00 2001 From: Santosh Mardi Date: Tue, 25 Jul 2017 18:47:11 +0530 Subject: [PATCH] de

Re: [linux-sunxi] [PATCH 10/13] [NOT FOR REVIEW NOW] clk: sunxi: Add CLK_SET_RATE_PARENT flag for H3 HDMI clock

2017-08-03 Thread Icenowy Zheng
于 2017年8月4日 GMT+08:00 下午12:15:27, Chen-Yu Tsai 写到: >Hi, > >On Tue, Aug 1, 2017 at 9:13 PM, Icenowy Zheng wrote: >> From: Jernej Skrabec >> >> When setting the HDMI clock of H3, the PLL_VIDEO clock needs to be >set. >> >> Add CLK_SET_RATE_PARENT flag for H3 HDMI clock. >> >> Signed-off-by: Jern

Re: [linux-sunxi] [PATCH 10/13] [NOT FOR REVIEW NOW] clk: sunxi: Add CLK_SET_RATE_PARENT flag for H3 HDMI clock

2017-08-03 Thread Chen-Yu Tsai
Hi, On Tue, Aug 1, 2017 at 9:13 PM, Icenowy Zheng wrote: > From: Jernej Skrabec > > When setting the HDMI clock of H3, the PLL_VIDEO clock needs to be set. > > Add CLK_SET_RATE_PARENT flag for H3 HDMI clock. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Icenowy Zheng > --- > drivers/clk/

Re: [linux-sunxi] [PATCH 06/10] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-08-03 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 11:10 AM, Chen-Yu Tsai wrote: > On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: >> The CPUX clock, which is the main clock of the ARM core on Allwinner H3, >> can be adjusted by changing the frequency of the PLL_CPUX clock. >> >> Allowing setting parent clock for the

Re: [linux-sunxi] [PATCH 05/10] clk: sunxi-ng: h3: gate then ungate PLL CPU clk after rate change

2017-08-03 Thread Chen-Yu Tsai
On Wed, Jul 26, 2017 at 3:14 PM, Chen-Yu Tsai wrote: > On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: >> From: Chen-Yu Tsai >> >> This patch utilizes the new PLL clk notifier to gate then ungate the >> PLL CPU clock after rate changes. This should prevent any system hangs >> resulting fro

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-03 Thread Borislav Petkov
On Thu, Aug 03, 2017 at 03:57:50PM -0600, Toshi Kani wrote: > ghes_edac_register() is called for each GHES platform device > instantiated per a GHES entry in ACPI HEST table. dmi_walk() > counts the number of DIMMs on the system, and there is no need > to call it multiple times. > > Change ghes_e

Re: [PATCH] f2fs: provide f2fs_balance_fs to __write_data_page for dentry pages

2017-08-03 Thread Yunlong Song
Chao has pointed out that, maybe writebacking dentry page can redirty dnode page which may be clean previously, so it is more safe to call f2fs_balance_fs to make sure dirty metadatas of filesystem will not exceed the threshold. On 2017/8/4 11:34, Jaegeuk Kim wrote: On 08/04, Yunlong Song wrot

[PATCH] pinctrl: uniphier: widen all pinconf-derived arguments to u32

2017-08-03 Thread Masahiro Yamada
Since commit 58957d2edfa1 ("pinctrl: Widen the generic pinconf argument from 16 to 24 bits"), the generic pinconf arguments are handled by u32. UniPhier pinctrl drivers do not support debouncing, so u16 is working, but align the argument type to u32 for consistency. Signed-off-by: Masahiro Yamada

Re: [linux-sunxi] [PATCH 03/13] drm: sun4i: add support for H3's TCON

2017-08-03 Thread Chen-Yu Tsai
On Tue, Aug 1, 2017 at 9:12 PM, Icenowy Zheng wrote: > From: Icenowy Zheng > > Allwinner H3 has two special TCONs without channel 0. > > Add support for this kind of TCON. > > Signed-off-by: Icenowy Zheng Ideally you would split this into two patches. The first one would add the quirks support

[PATCH] devfreq: replace sscanf with kstrtol

2017-08-03 Thread gsantosh
Hi, Adding error checks to devfreq userspace governor, the current implementation results in setting wrong frequency when sscanf returns error. From 12e0a347addd70529b2c378299b27b65f0766f99 Mon Sep 17 00:00:00 2001 From: Santosh Mardi Date: Tue, 25 Jul 2017 18:47:11 +0530 Subject: [PATCH] de

[PATCH v4 1/2] arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2

2017-08-03 Thread sean.wang
From: Sean Wang The bananapi-r2 board has an SD-card controller and built-in EMMC storage so enables those devices in the devicetree. Also cleanup nodes in alphabetical order in the patch. Signed-off-by: Matthias Brugger Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.d

Re: [PATCH 2/2] fsnotify: use method copy_dname copying filename

2017-08-03 Thread 林守磊
Hi all I sent this patch two months ago, then I found CVE from this link last night http://seclists.org/oss-sec/2017/q3/240 which not only references this patch, but also provides a upstream fix https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389ac

[PATCH v4 2/2] arm: dts: mt7623: cleanup binding file

2017-08-03 Thread sean.wang
From: Ryder Lee Dummy patch to sort nodes alphabetically and add some blank lines for consistency. Signed-off-by: Ryder Lee --- arch/arm/boot/dts/mt7623.dtsi | 73 ++- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 57 - arch/arm/boo

Re: [PATCH 0/3] remove rw_page() from brd, pmem and btt

2017-08-03 Thread Minchan Kim
On Thu, Aug 03, 2017 at 03:13:35PM -0600, Ross Zwisler wrote: > On Thu, Aug 03, 2017 at 09:13:15AM +0900, Minchan Kim wrote: > > Hi Ross, > > > > On Wed, Aug 02, 2017 at 04:13:59PM -0600, Ross Zwisler wrote: > > > On Fri, Jul 28, 2017 at 10:31:43AM -0700, Matthew Wilcox wrote: > > > > On Fri, Jul

RE: [PATCH V6 net-next 0/8] Hisilicon Network Subsystem 3 Ethernet Driver

2017-08-03 Thread Salil Mehta
Thanks a ton, Dave! > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Thursday, August 03, 2017 11:10 PM > To: Salil Mehta > Cc: Zhuangyuzeng (Yisen); huangdaode; lipeng (Y); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org;

Re: [PATCH] iio: imu: adis16480: Fix acceleration scale factor for adis16480

2017-08-03 Thread Lars-Peter Clausen
On 08/04/2017 12:37 AM, Dragos Bogdan wrote: > According to the datasheet, the range of the acceleration is [-10 g, + 10 g], > so the scale factor should be 10 instead of 5. > > Signed-off-by: Dragos Bogdan Acked-by: Lars-Peter Clausen Thanks. > --- > drivers/iio/imu/adis16480.c | 2 +- > 1

Re: [linux-sunxi] [PATCH] pinctrl: sunxi: fix V3s pinctrl driver IRQ bank base

2017-08-03 Thread icenowy
在 2017-08-04 10:23,Chen-Yu Tsai 写道: On Tue, Aug 1, 2017 at 10:54 PM, Icenowy Zheng wrote: The V3s pin controller doesn't have the bank 0 (starts at address 0x200), which is like A33. However, this is not workarounded when was not worked around "Work

Re: [PATCH v2 3/7] ACPI / APEI: add OSC APEI bit check for ghes_edac

2017-08-03 Thread Borislav Petkov
On Thu, Aug 03, 2017 at 03:57:49PM -0600, Toshi Kani wrote: > When 'osc_sb_apei_support_acked' is set, it indicates that > the platform supports APEI, firmware-first mode, as ACPI _OSC > capability bit 4, APEI Support, was set in query. While _OSC > is an optional method, platforms with APEI suppo

Re: [PATCH] dt-bindings: mtd: add new compatible strings for mtk nor controller

2017-08-03 Thread Guochun Mao
On Thu, 2017-08-03 at 12:47 -0500, Rob Herring wrote: > On Thu, Aug 03, 2017 at 10:16:42AM +0800, Guochun Mao wrote: > > Hi Cyrille, > > > > On Wed, 2017-08-02 at 17:31 +0200, Cyrille Pitchen wrote: > > > Hi Guochun, > > > > > > Le 02/08/2017 à 10:36, Boris Brezillon a écrit : > > > > Hi Matthias

  1   2   3   4   5   6   7   8   9   10   >