[PATCH 2/4] ARM: dts: keystone-k2g: Add ti-sci power domain node

2017-07-17 Thread Suman Anna
From: Dave Gerlach Add a ti-sci k2g_pds node to act as our generic power domain provider in the system. Signed-off-by: Dave Gerlach Signed-off-by: Tero Kristo Signed-off-by: Suman Anna --- arch/arm/boot/dts/keystone-k2g.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/b

[PATCH 0/4] Add various TI-SCI DT nodes on 66AK2G SoCs

2017-07-17 Thread Suman Anna
Hi Santosh, The following patch series adds various TI-SCI related DTS nodes that probe the corresponding TI-SCI genpd, clock and reset drivers for the 66AK2G platforms. This is the second of two series, and these nodes along with the defconfig patches finally allows adding other peripherals to t

[RFC PATCH v2 3/3] pmbus: Add MAX31785 driver

2017-07-17 Thread Andrew Jeffery
The driver features fan control and basic dual-tachometer support. The fan control makes use of the new virtual registers exposed by the pmbus core, mixing use of the default implementations with some overrides via the read/write handlers. FAN_COMMAND_1 on the MAX31785 breaks the values into bands

[RFC PATCH v2 2/3] pmbus: Add and expose pmbus_get_info()

2017-07-17 Thread Andrew Jeffery
This allows the caller to hoist themselves out to a containing structure in e.g. the read/write callbacks without exposing struct pmbus_data. Signed-off-by: Andrew Jeffery --- New since v1. drivers/hwmon/pmbus/pmbus.h | 1 + drivers/hwmon/pmbus/pmbus_core.c | 6 ++ 2 files changed, 7 i

[RFC PATCH v2 0/3] pmbus: Expand fan support and add MAX31785 driver

2017-07-17 Thread Andrew Jeffery
Hello, This is a follow-up to the first RFC series[1] and includes some significant reworks based on Guenter's feedback. [1] https://lkml.org/lkml/2017/7/10/338 v2 retains the goal of exposing the fan[1-*]_target, pwm[1-*] and pwm[1-*]_enable attributes, and implementing support for the MAX31785

[RFC PATCH v2 1/3] hwmon: pmbus: Add fan control support

2017-07-17 Thread Andrew Jeffery
Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. Fans in a PMBus device are driven by the configuration of two registers: FAN_CONFIG_x_y and FAN_COMMAND_x: FAN_CONFIG_x_y dictates how the fan and the tacho operate (if installed), while FAN_COMMAND_x sets the desired fan rate. The u

Re: [PATCH 10/18] drm/sun4i: tcon: Move out the tcon0 common setup

2017-07-17 Thread Chen-Yu Tsai
On Thu, Jul 13, 2017 at 10:13 PM, Maxime Ripard wrote: > Some channel0 setup has to be done, no matter what the output interface is > (RGB, CPU, LVDS). Move that code into a common function in order to avoid > duplication. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_tcon

[PATCH v7 1/1] f2fs: dax: implement direct access

2017-07-17 Thread sunqiuyang
From: Qiuyang Sun This patch implements Direct Access (DAX) in F2FS, including: - a mount option to choose whether to enable DAX or not - read/write and mmap of regular files in the DAX way - zero-out of unaligned partial blocks in the DAX way - garbage collection of DAX files, by mapping both ol

panic, bisect to commit 7f1d4e58dabb "spmi: pmic-arb: optimize table lookups"

2017-07-17 Thread Frank Rowand
Hi Abhijeet, My qcom-apq8074-dragonboard panics on boot on v4.13-rc1. I bisected the problem to commit 7f1d4e58dabb, "spmi: pmic-arb: optimize table lookups". The panic occurs at the top of pmic_arb_ppid_to_apid_v1(), due to pa->ppid_to_apid being null. A little more information that might help

linux-next: Tree for Jul 18

2017-07-17 Thread Stephen Rothwell
Hi all, Changes since 20170717: The btrfs-kdave tree gained a conflict against Linus' tree. The net-next tree gained a build failure so I used the version from next-20170717. The drm-misc tree gained a confict against the drm-misc-fixes tree and a build failure for which I applied a merg

Re: [PATCH v5 2/5] tick: Add freeze timer events

2017-07-17 Thread dbasehore .
On Mon, Jul 17, 2017 at 6:33 PM, Rafael J. Wysocki wrote: > On Tue, Jul 18, 2017 at 2:30 AM, dbasehore . wrote: >> On Sat, Jul 15, 2017 at 5:39 AM, Rafael J. Wysocki >> wrote: >>> On Thursday, July 13, 2017 03:58:53 PM dbasehore . wrote: On Thu, Jul 13, 2017 at 8:09 AM, Rafael J. Wysocki

Re: panic, bisect to commit 7f1d4e58dabb "spmi: pmic-arb: optimize table lookups"

2017-07-17 Thread Rajendra Nayak
On 07/18/2017 09:12 AM, Frank Rowand wrote: > Hi Abhijeet, > > My qcom-apq8074-dragonboard panics on boot on v4.13-rc1. > > I bisected the problem to commit 7f1d4e58dabb, "spmi: pmic-arb: > optimize table lookups". there's a fix on its way upstream, https://patchwork.kernel.org/patch/9810723/

[no subject]

2017-07-17 Thread Chagri
Greetings Linux http://biztagious.com/carrello.php?wrong=27wm0vssepacr9a1b Chagri

[PATCH v2] dt-bindings: display: sunxi: Improve endpoint ID scheme readability

2017-07-17 Thread Chen-Yu Tsai
The explanation for the endpoint ID numbering scheme is convoluted and hard to understand. This patch aims to improve the readability of it by combining the existing two paragraphs, while also providing a diagram example, and how endpoints should be numbered based on that example. Signed-off-by:

[PATCH v10 1/7] perf/core: Define the common branch type classification

2017-07-17 Thread Jin Yao
It is often useful to know the branch types while analyzing branch data. For example, a call is very different from a conditional branch. Currently we have to look it up in binary while the binary may later not be available and even the binary is available but user has to take some time. It is ver

[PATCH v10 7/7] perf report: Show branch type in callchain entry

2017-07-17 Thread Jin Yao
Show branch type in callchain entry. The branch type is printed with other LBR information (such as cycles/abort/...). For example: perf record -g -j any,save_type perf report --branch-history --stdio --no-children 38.50% div.c:45[.] maindiv |

[PATCH v10 3/7] perf record: Create a new option save_type in --branch-filter

2017-07-17 Thread Jin Yao
The option indicates the kernel to save branch type during sampling. One example: perf record -g --branch-filter any,save_type Change log -- v10: Not changed. v9: Not changed. v8: Not changed. v7: Not changed. v6: Not changed. v5: Not changed. Signed-off-by: Jin Yao --- tools/per

[PATCH v10 6/7] perf report: Show branch type statistics for stdio mode

2017-07-17 Thread Jin Yao
Show the branch type statistics at the end of perf report --stdio. For example: perf report --stdio COND_FWD: 28.5% COND_BWD: 9.4% CROSS_4K: 0.7% CROSS_2M: 14.1% COND: 37.9% UNCOND: 0.2% IND: 6.7% CALL: 26.5% RET: 28.7% SYSRET: 0.0% The branch types are:

[PATCH v10 5/7] perf util: Create branch.c/.h for common branch functions

2017-07-17 Thread Jin Yao
Create new util/branch.c and util/branch.h to contain the common branch functions. Such as: branch_type_count(): Count the numbers of branch types branch_type_name() : Return the name of branch type branch_type_stat_display(): Display branch type statistics info branch_type_str(): Construct the br

[PATCH v10 2/7] perf/x86/intel: Record branch type

2017-07-17 Thread Jin Yao
Perf already has support for disassembling the branch instruction and using the branch type for filtering. The patch just records the branch type in perf_branch_entry. Before recording, the patch converts the x86 branch type to common branch type. Change log -- v10: Set the branch_map arr

[PATCH v10 4/7] perf report: Refactor the branch info printing code

2017-07-17 Thread Jin Yao
The branch info such as predicted/cycles/... are printed at the callchain entries. For example: perf report --branch-history --no-children --stdio --1.07%--main div.c:39 (predicted:52.4% cycles:1 iterations:17) main div.c:44 (predicted:52.4% cycles:1) main div.c:42

[PATCH v10 0/7] perf report: Show branch type

2017-07-17 Thread Jin Yao
v10: According to Jiri Olsa's comment, update the patch "perf/x86/intel: Record branch type". Set the branch_map array to be static. The previous version has it on stack then makes the compiler to create it every time when the function gets called. Other patches have been ac

[RFC][PATCH v2] drm: kirin: Add mode_valid logic to avoid mode clocks we can't generate

2017-07-17 Thread John Stultz
Currently the hikey dsi logic cannot generate accurate byte clocks values for all pixel clock values. Thus if a mode clock is selected that cannot match the calculated byte clock, the device will boot with a blank screen. This patch uses the new mode_valid callback (many thanks to Jose Abreu for u

[PATCH] wireless: wext: terminate ifr name coming from userspace

2017-07-17 Thread Levin, Alexander (Sasha Levin)
ifr name is assumed to be a valid string by the kernel, but nothing was forcing username to pass a valid string. In turn, this would cause panics as we tried to access the string past it's valid memory. Signed-off-by: Sasha Levin --- net/core/dev_ioctl.c | 2 ++ 2 files changed, 3 insertions(

[PATCH v6 14/16] perf tool: add show_feature_header to perf_tool

2017-07-17 Thread David Carrillo-Cisneros
Add show_feat_hdr to control level of printed information of feature headers. Signed-off-by: David Carrillo-Cisneros --- tools/perf/builtin-report.c | 4 tools/perf/builtin-script.c | 3 +++ tools/perf/util/tool.h | 7 +++ 3 files changed, 14 insertions(+) diff --git a/tools/perf/

[PATCH v6 02/16] perf header: add PROCESS_STR_FUN macro

2017-07-17 Thread David Carrillo-Cisneros
Simplify code by adding a macro to handle the common case of processing header features that are a simple string. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 65 +--- 1 file changed, 17 insertions(+), 48 deletions(-) diff --g

[PATCH v6 00/16] perf tool: add meta-data header support for pipe-mode

2017-07-17 Thread David Carrillo-Cisneros
v6: - Avoid buffer resize that would overflow event's header size. v5: - Fix buffer leaking and size changes in perf_event__synthesize_features. - Remove unnecessary renaming. - Remove extra tabs in do_write_string. v4: - Limit write_* functions to page_size. - Fixed bugs spotted

[PATCH v6 16/16] perf header: add event desc to pipe-mode header

2017-07-17 Thread David Carrillo-Cisneros
Add event descriptor to perf header output in pipe-mode. After this patch: $ perf record -e cycles sleep 1 | perf report --header # # captured on: Mon Jun 5 22:52:13 2017 # # # hostname : lphh20 # os release : 4.3.5-smp-801.43.0.0 # perf version : 4.12.rc2.g4399

[PATCH v6 13/16] perf header: change FEAT_OP* macros

2017-07-17 Thread David Carrillo-Cisneros
There are three FEAT_OP* macros: - FEAT_OPA: for features without process record. - FEAT_OPP: for features with process record. - FEAT_OPF: like FEAT_OPP but to show only if show_full_info flags is set. To add pipe-mode headers we need yet another variation of the macros (one to specify

[PATCH v6 12/16] perf header: add a buffer to struct feat_fd

2017-07-17 Thread David Carrillo-Cisneros
Extend struct feat_fd to use a temporal buffer in pipe-mode, instead of perf.data's file descriptor. The header features build_id and aux_trace already have logic to print in file-mode that heavily rely on lseek the file. For now, leave such features inactive in pipe-mode and print a warning if th

[PATCH v6 07/16] perf header: use struct feat_fd for print

2017-07-17 Thread David Carrillo-Cisneros
As preparation for using header records in pipe mode, replace int fd with struct feat_fd ff in print functions for all header record types. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 102 ++- 1 file changed, 47 insertions(+),

[PATCH v6 10/16] perf header: use struct feat_fd in read header records

2017-07-17 Thread David Carrillo-Cisneros
As preparation for using header records in-pipe mode, replace int fd with struct feat_fd ff in read functions for all header record types. This patch does not change behavior. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 101 +++--

[PATCH v6 15/16] perf tools: add feature header record to pipe-mode

2017-07-17 Thread David Carrillo-Cisneros
Add header record types to pipe-mode, reusing the functions used in file-mode and leveraging the new struct feat_fd. For alignment, check that synthesized events don't exceed pagesize. Add the perf_event__synthesize_feature event call back to process the new header records. Before this patch:

[PATCH v6 11/16] perf header: make write_pmu_mappings pipe-mode friendly

2017-07-17 Thread David Carrillo-Cisneros
In pipe-mode, we will operate over a buffer instead of a file descriptor but write_pmu_mappings uses lseek to move over the perf.data file. Refactor write_pmu_mappings to avoid the usage of lseek and allow reusing the same logic in pipe-mode (next patch). Signed-off-by: David Carrillo-Cisneros -

[PATCH v6 08/16] perf header: use struct feat_fd to process header records

2017-07-17 Thread David Carrillo-Cisneros
As preparation for using header records in pipe-mode, replace int fd with struct feat_fd ff in process functions for all header record types. This patch does not change behavior. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 164 +++---

[PATCH v6 01/16] perf header: encapsulate read and swap

2017-07-17 Thread David Carrillo-Cisneros
Most callers of readn in perf header read either a 32 or a 64 bits number, error check it and swap it, if necessary. Create do_read_u32 and do_read_u64 to simplify these use cases. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 210 +---

[PATCH v6 09/16] perf header: don't pass struct perf_file_section to process_##_feat

2017-07-17 Thread David Carrillo-Cisneros
struct perf_file_section is used in process_##_feat as container for size and offset in the file descriptor. These attributes are meaninful in pipe-mode but struct perf_file_section is not. Add offset and size variables to struct feat_fd to store perf_file_section's values in file-mode. Later on,

[PATCH v6 06/16] perf header: add struct feat_fd for write

2017-07-17 Thread David Carrillo-Cisneros
Introduce struct feat_fd. This patch uses it as a wrapper around fd in write_* functions for feature headers. Next patches will extend its functionality to other feature header functions. This patch does not change behavior. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/build-id.c

[PATCH v6 04/16] perf util: add const modifier to buf in "writen" function

2017-07-17 Thread David Carrillo-Cisneros
Make buf in helper function "writen" constant to simplify the life of its callers. This requires to hack a cast of buf prior to passing it to "ion" which is simpler than the alternative of reworking the "ion" function to provide a read and a write paths, the latter with constant buf argument. Sig

[PATCH v6 05/16] perf header: revamp do_write

2017-07-17 Thread David Carrillo-Cisneros
Now that writen takes a const buffer, use it in do_write instead of duplicating its functionality. Export do_write to use it consistently in header.c and build_id.c . Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/build-id.c | 2 +- tools/perf/util/header.c | 14 +- t

[PATCH v6 03/16] perf header: fail on write_padded error

2017-07-17 Thread David Carrillo-Cisneros
Do not proceed if write_padded error failed. Also, add comments to remind that the return value of write_* functions in util/header.c is an erro code and not the number of bytes written. Signed-off-by: David Carrillo-Cisneros --- tools/perf/util/header.c | 6 +- 1 file changed, 5 insertions

[RFC PATCH 0/5] earlycon hang under some conditions

2017-07-17 Thread Jeffy Chen
I was testing earlycon with 8250 dw serial console. And it hangs in these cases: 1/ kernel hang when calling early write function after free_initmem: a) the earlycon not disabled after the init code(due to keep_bootcon or not specify a real console to switch to) b) the early write func is marked

[RFC PATCH 1/5] serial: arc: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/arc_uart.c | 4 ++-- 1 file changed,

[RFC PATCH 3/5] serial: xuartps: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/xilinx_uartps.c | 2 +- 1 file chang

[RFC PATCH 2/5] serial: omap: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/omap-serial.c | 13 ++--- 1

[RFC PATCH 4/5] serial: 8250_ingenic: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/8250/8250_ingenic.c | 8 1

[RFC PATCH 5/5] serial: 8250_early: Remove __init marking from early write

2017-07-17 Thread Jeffy Chen
The earlycon would be alive outside the init code in these cases: 1/ we have keep_bootcon in cmdline. 2/ we don't have a real console to switch to. So remove the __init marking to avoid invalid memory access. Signed-off-by: Jeffy Chen --- drivers/tty/serial/8250/8250_early.c | 8 1 fi

Re: [PATCH v16 2/7] power: add power sequence library

2017-07-17 Thread Peter Chen
On Mon, Jul 17, 2017 at 03:39:07PM +0200, Rafael J. Wysocki wrote: > > Sorry, I should describe more. > > > > Let's take USB bus as an example, when the new USB device is at the > > host port, the device structure at device model is not created until > > it is discoverable by the USB bus. If this

Re: [PATCH 1/3] staging: ccree: Replace kzalloc with devm_kzalloc

2017-07-17 Thread Suniel Mahesh
On Monday 17 July 2017 06:03 PM, Greg KH wrote: > On Sat, Jul 15, 2017 at 01:21:54PM +0530, suni...@techveda.org wrote: >> From: Suniel Mahesh >> >> It is recommended to use managed function devm_kzalloc, which >> simplifies driver cleanup paths and driver code. >> This patch does the following: >

Re: [PATCH v4 15/16] perf tools: add feature header record to pipe-mode

2017-07-17 Thread David Carrillo-Cisneros
On Wed, Jul 12, 2017 at 12:38 AM, Jiri Olsa wrote: > On Tue, Jul 11, 2017 at 05:32:40PM -0700, David Carrillo-Cisneros wrote: >> On Tue, Jun 13, 2017 at 11:54 AM, Jiri Olsa wrote: >> > On Mon, Jun 12, 2017 at 09:29:31PM -0700, David Carrillo-Cisneros wrote: >> > >> > SNIP >> > >> >> >> >> void p

Re: [PATCH v5 00/16] perf tool: add meta-data header support for pipe-mode

2017-07-17 Thread David Carrillo-Cisneros
On Tue, Jul 11, 2017 at 6:39 PM, David Ahern wrote: > On 7/11/17 5:52 PM, David Carrillo-Cisneros wrote: > ... >> (This is a rebased and updated version of Stephane Eranian's version >> in https://patchwork.kernel.org/patch/1499081/) > > ... >> With this series, it is possible to get: >> $ perf

Re: [PATCH v5 00/16] perf tool: add meta-data header support for pipe-mode

2017-07-17 Thread David Carrillo-Cisneros
On Wed, Jul 12, 2017 at 7:31 AM, Jiri Olsa wrote: > On Tue, Jul 11, 2017 at 04:52:51PM -0700, David Carrillo-Cisneros wrote: >> v5: - Fix buffer leaking and size changes in >> perf_event__synthesize_features. >> - Remove unnecessary renaming. >> - Remove extra tabs in do_write_string

[PATCH linux-next v5 1/1] spi: imx: Add support for SPI Slave mode

2017-07-17 Thread Jiada Wang
Previously i.MX SPI controller only works in Master mode. This patch adds support to i.MX51, i.MX53 and i.MX6 ECSPI controller to work also in Slave mode. Currently SPI Slave mode support patch has the following limitations: 1. The stale data in RXFIFO will be dropped when the Slave does any new

Re: [PATCH v2 2/3] usb: chipidea: Hook into mux framework to toggle usb switch

2017-07-17 Thread Peter Chen
On Fri, Jul 14, 2017 at 02:40:04PM -0700, Stephen Boyd wrote: > > @@ -175,6 +176,10 @@ static int host_start(struct ci_hdrc *ci) > if (ci_otg_is_fsm_mode(ci)) { > otg->host = &hcd->self; > hcd->self.otg_port = 1; > + } else { >

Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

2017-07-17 Thread Andi Kleen
> We need a tradeoff here IMHO. I'll check Daniel's work to understand how/if > it's better than menu governor. I still would like to see how the fast path without the C1 heuristic works. Fast pathing is a different concept from a better predictor. IMHO we need both, but the first is likely lower

Re: [PATCH 0/3] Keystone defconfig updates

2017-07-17 Thread santosh.shilim...@oracle.com
On 7/17/17 8:26 PM, Suman Anna wrote: Hi Santosh, The following patch series adds the necessary defconfig options to keystone_defconfig to enable the TI-SCI protocol and their respective genpd/clock/reset drivers. This is the first of two series that provides a baseline for adding and/or enab

Re: [PATCH 0/4] Add various TI-SCI DT nodes on 66AK2G SoCs

2017-07-17 Thread santosh.shilim...@oracle.com
On 7/17/17 8:28 PM, Suman Anna wrote: Hi Santosh, The following patch series adds various TI-SCI related DTS nodes that probe the corresponding TI-SCI genpd, clock and reset drivers for the 66AK2G platforms. This is the second of two series, and these nodes along with the defconfig patches fina

Re: [PATCH V2 2/5] spmi: pmic-arb: rename pa_xx to pmic_arb_xx and other code cleanup

2017-07-17 Thread kgunda
On 2017-07-14 23:50, Stephen Boyd wrote: On 07/10, Kiran Gunda wrote: -static u16 pmic_arb_find_apid(struct spmi_pmic_arb *pa, u16 ppid) +static u16 pmic_arb_find_apid(struct spmi_pmic_arb *pmic_arb, u16 ppid) { + struct apid_data *apid_info = &pmic_arb->apid_data[pmic_arb->last_apid];

Re: [PATCH v7 0/3] nvmem: upstream snvs_lpgpr driver

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King ;) DT is already ACKed. On 20.06.2017 09:09, Oleksij Rempel wrote: changes v7: - split imx6ul patch and squash it with with main patches. - spell fixes in the binding documentation - return regmap_bulk_read directly. changes v6: - check if devic

Re: [PATCH] hwmon: (lm75) Add a basic interrupt handler

2017-07-17 Thread Guenter Roeck
On Sun, Jul 16, 2017 at 09:51:24PM +, Tony O'Brien wrote: > Hi Guenter - > > The interrupt line the LM75 sits on is shared by other devices and therefore > cannot be disabled. It was added in hardware as a possible feature can > cannot be disconnected. > Ah yes, it is declared as shared,

Re: [PATCH v6 0/6] provide power off support for iMX6 with external PMIC

2017-07-17 Thread Oleksij Rempel
Hallo all, Here Gentle Ping to the Old King DT is already ACKed. On 20.06.2017 16:09, Oleksij Rempel wrote: This patch series is providing power off support for Freescale/NXP iMX6 based boards with external power management integrated circuit (PMIC). changes: v6: - rename imx6_pm_poweroff to

[PATCH] cpufreq: schedutil: Update last_update from sugov_set_iowait_boost()

2017-07-17 Thread Viresh Kumar
sg_cpu->last_update is always updated right after we call sugov_set_iowait_boost() and its better to update it from that routine itself. This makes it more readable. Signed-off-by: Viresh Kumar --- kernel/sched/cpufreq_schedutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

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

2017-07-17 Thread John Fastabend
okup_elem' > > Caused by commit > > 11393cc9b9be ("xdp: Add batching support to redirect map") > > This build has > > CONFIG_BPF=y > # CONFIG_BPF_SYSCALL is not set > > I have used the net-next tree from next-20170717 for today. > I missed

[PATCH v2 1/5] ARM: multi_v7_defconfig: Cleanup from non-existing options

2017-07-17 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - TEGRA_EMC_SCALING_ENABLE is gone since commit cab4d50389c6 ("ARM: tegra: remove TEGRA_EMC_SCALING_ENABLE"); - ARCH_VEXPRESS_CA9X4 is gone since commit 81cc3f868d30 ("ARM: vexpress: Remove non-DT code"); - OMAP_USB3 was replaced by TI_PIPE3 in

[PATCH v2 3/5] ARM: vexpress_defconfig: Cleanup from non-existing options

2017-07-17 Thread Krzysztof Kozlowski
ARCH_VEXPRESS_CA9X4 is gone since commit 81cc3f868d30 ("ARM: vexpress: Remove non-DT code"). Signed-off-by: Krzysztof Kozlowski Acked-by: Liviu Dudau --- arch/arm/configs/vexpress_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/config

Re: [PATCH v4 1/2] wire: export w1_touch_bit

2017-07-17 Thread Greg Kroah-Hartman
On Tue, Jul 18, 2017 at 12:56:46AM +0200, Jan Kandziora wrote: > Am 17.07.2017 um 16:47 schrieb Greg Kroah-Hartman: > > > > This is in no format that I can apply, sorry. > > > > Jan, can you resend it in a correct format? > > > I sent part 1/2 again with the line breaks fixed (I hope.) > > Part

[PATCH v2 5/5] ARM: qcom_defconfig: Cleanup from non-existing options

2017-07-17 Thread Krzysztof Kozlowski
QCOM_SMD is gone since commit 395a48053af6 ("soc: qcom: smd: Remove standalone driver"). Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/qcom_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index b02039c712c3.

[PATCH v2 2/5] ARM: ixp4xx_defconfig: Cleanup from non-existing options

2017-07-17 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - ECONET is gone since commit 349f29d841db ("econet: remove ancient bug ridden protocol"); - IPDDP_DECAP is gone since commit 9b5645b51384 ("appletalk: remove "config IPDDP_DECAP""); Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/ixp4x

Re: [PATCH v4 1/2] wire: export w1_touch_bit (RESEND: line breaks fixed, I hope.)

2017-07-17 Thread Greg Kroah-Hartman
On Tue, Jul 18, 2017 at 12:53:14AM +0200, Jan Kandziora wrote: > Changes in v4 against v3 in this subpatch: > - adapted to linux-4.12.0 > > No changes in v3 against v2,v1 in this subpatch. All of that needs to go below the --- line. And your subject needs to be fixed. I should not have to edi

[PATCH v2 4/5] ARM: ezx_defconfig: Cleanup from non-existing options

2017-07-17 Thread Krzysztof Kozlowski
CPU_FREQ_DEBUG is gone since commit 2d06d8c49afd ("[CPUFREQ] use dynamic debug instead of custom infrastructure"). Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/ezx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/ezx_defconfig b/arch/arm/configs/ezx_defco

[PATCH v2 0/5] ARM: defconfig: Cleanup from old entries

2017-07-17 Thread Krzysztof Kozlowski
Hi, Changes since v1: 1. Rebase on Simon Horman's repo to avoid duplication. 2. Add Liviu Dudau's ack for vexpress. Best regards, Krzysztof Krzysztof Kozlowski (5): ARM: multi_v7_defconfig: Cleanup from non-existing options ARM: ixp4xx_defconfig: Cleanup from non-existing options ARM: vex

Re: [PATCH v5 4/5] arm64: dts: exynos: Remove the OF graph from DSI node

2017-07-17 Thread Krzysztof Kozlowski
On Wed, Mar 08, 2017 at 01:54:11PM +0900, Hoegeun Kwon wrote: > The OF graph is not needed because the panel is a child of dsi. Remove > the ports node in DSI node. > > Signed-off-by: Hoegeun Kwon > Reviewed-by: Andrzej Hajda > Reviewed-by: Andi Shyti > --- > arch/arm64/boot/dts/exynos/exynos5

Re: [PATCH] staging: unisys: visorbus: constify attribute_group structures.

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 09:36:58PM +, Kershner, David A wrote: > > -Original Message- > > From: Greg KH [mailto:g...@kroah.com] > > Sent: Monday, July 17, 2017 8:38 AM > > To: Arvind Yadav > > Cc: Kershner, David A ; Sell, Timothy C > > ; Thompson, Bryan E. > > ; jon.fri...@unisys.com;

Re: panic, bisect to commit 7f1d4e58dabb "spmi: pmic-arb: optimize table lookups"

2017-07-17 Thread Frank Rowand
On 07/17/17 20:56, Rajendra Nayak wrote: > > On 07/18/2017 09:12 AM, Frank Rowand wrote: >> Hi Abhijeet, >> >> My qcom-apq8074-dragonboard panics on boot on v4.13-rc1. >> >> I bisected the problem to commit 7f1d4e58dabb, "spmi: pmic-arb: >> optimize table lookups". > > there's a fix on its way up

Re: [PATCH 1/2] arm64: dts: exynos: Fix wrong label for USB 3.0 controller node

2017-07-17 Thread Krzysztof Kozlowski
On Tue, Jun 20, 2017 at 04:12:23PM +0900, Dongwoo Lee wrote: > Exynos5433 has two usb 3.0 controllers: usbhost and usbdrd. usbhost > is host-only controller whereas usbdrd supports both peripheral and > host mode. "drd" means dual-role device, so usbhost cannot be labeled > with the name contains "

Re: [PATCH 2/2] arm64: dts: exynos: Add extcon property for TM2 and TM2E

2017-07-17 Thread Krzysztof Kozlowski
On Tue, Jun 20, 2017 at 04:12:24PM +0900, Dongwoo Lee wrote: > Since commit 9840354ff429 ("usb: dwc3: Add dual-role support") dwc3 > node requires extcon property to be initialized as otg mode, and it > can support dual-role mode operation. > > Signed-off-by: Dongwoo Lee > --- > arch/arm64/boot/

Re: [RFC PATCH 1/5] serial: arc: Remove __init marking from early write

2017-07-17 Thread Greg KH
On Tue, Jul 18, 2017 at 12:29:59PM +0800, Jeffy Chen wrote: > The earlycon would be alive outside the init code in these cases: > 1/ we have keep_bootcon in cmdline. > 2/ we don't have a real console to switch to. > > So remove the __init marking to avoid invalid memory access. > > Signed-off-by:

Re: [PATCH V3 3/4] spmi: pmic-arb: add support for HW version 5

2017-07-17 Thread kgunda
On 2017-07-14 23:00, Stephen Boyd wrote: On 07/11, Kiran Gunda wrote: @@ -420,7 +440,8 @@ static int pmic_arb_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, Mostly style nitpicks! Will check and address in the next patch. /* Start the transaction */ pmic_arb_base_

Re: [PATCH net-next v2 1/4] dt-bindings: net: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-07-17 Thread Sean Wang
On Mon, 2017-07-17 at 15:38 +0200, Andrew Lunn wrote: > On Mon, Jul 17, 2017 at 06:06:22PM +0800, sean.w...@mediatek.com wrote: > > From: Sean Wang > > > > The patch adds the supplements in the dt-binding document for MediaTek > > MT7622 SoC with extra SGMII system controller and relevant clock c

RE: [PATCH v7 12/13] ACPI / init: Invoke early ACPI initialization earlier

2017-07-17 Thread Zheng, Lv
Hi, Can the problem be fixed by invoking acpi_put_table() for mapped DMAR table? Thanks Lv > From: Dou Liyang [mailto:douly.f...@cn.fujitsu.com] > Sent: Friday, July 14, 2017 1:53 PM > To: x...@kernel.org; linux-kernel@vger.kernel.org > Cc: t...@linutronix.de; mi...@kernel.org; h...@zytor.com;

KINDLY REPLY URGENTLY

2017-07-17 Thread IBRAHIM KABORE
Dear Friend I am contacting you on a business deal of $9,500,000.00 Million United States Dollars, ready for transfer into your own personal account and if we make this claim, we will share it on the ratio of 50% / 50% basis, I would like to assure you that it be 100% risk free and it will be l

Re: [PATCH v2 01/22] docs: fpga: add a document for Intel FPGA driver overview

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 03:14:29PM -0500, Alan Tull wrote: > > Also, we're thinking that some operations require that you first "acquire > > ownership" of the respective device, which I believe maps more easily to > > open() and ioctls than sysfs. > > > > Thanks > > - Enno > > Yes, sysfs doesn't i

[PATCH] arm64: defconfig: enable CONFIG_UNIPHIER_WATCHDOG

2017-07-17 Thread Keiji Hayashibara
Enable the watchdog driver for UniPhier SoC Signed-off-by: Keiji Hayashibara --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 6c7d147..5d204a4 100644 --- a/arch/arm64/configs/defconfig +++ b/arc

[PATCH v2] staging: unisys: visorbus: Constify attribute_group structures.

2017-07-17 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 --- Changes in v2: Change log typo was not correct. drivers/staging/u

[PATCH v2 1/4] dt-bindings: pinctrl: aspeed: Add g4 USB functions

2017-07-17 Thread Andrew Jeffery
The AST2400 contains several USB controllers: * USB 1.1 Host Controller * USB 2.0 Host Controller * USB 2.0 Virtual Hub * USB 1.1 HID Controller Pins for three ports are routed to the three controllers such that: * Port 1 is a dedicated USB 1.1 host port * Port 2 is shared between the USB 1.1 ho

[PATCH v2 3/4] pinctrl: aspeed: g4: Add USB device and host support

2017-07-17 Thread Andrew Jeffery
Implement the AST2400 USB functions as described by the devicetree bindings. Three ports are fully documented in the datasheet and exposed through the bindings and pinctrl, though there are remnants of documentation for a fourth port muxed with GPIO pins GPIOQ6 and GPIOQ7. The implementation is upd

[PATCH v2 0/4] pinctrl: Add USB support for Aspeed SoCs

2017-07-17 Thread Andrew Jeffery
Hello, Here's v2 of the Aspeed pinctrl USB patches. It addresses the minor feedback on the original series[1], amounting to commit message changes for the bindings patches. [1] https://lkml.org/lkml/2017/6/26/854 Please review! Cheers, Andrew Andrew Jeffery (4): dt-bindings: pinctrl: aspeed

[PATCH v2 4/4] pinctrl: aspeed: g5: Add USB device and host support

2017-07-17 Thread Andrew Jeffery
Implement the AST2500 USB functions as described by the devicetree bindings. The AST2500 exposes five USB controllers through two USB ports. Similar to the AST2400, the pins exposing USB are outliers with respect to the rest of the pinmux as they not capable of GPIO. Signed-off-by: Andrew Jeffery

[PATCH v2 2/4] dt-bindings: pinctrl: aspeed: Add g5 USB functions

2017-07-17 Thread Andrew Jeffery
The Aspeed AST2500 SoC contains a number of USB controllers: * USB 1.1 Host Controller * USB 2.0 Host Controller (x2) * USB 2.0 Virtual Hub * USB 2.0 Device Controller * USB 1.1 HID Controller The controllers are exposed via two USB ports with functionality muxed as required. The following table

Re: [PATCH 1/3] ACPI / blacklist: add acpi_match_oemlist() interface

2017-07-17 Thread Borislav Petkov
On Mon, Jul 17, 2017 at 03:59:10PM -0600, Toshi Kani wrote: > ACPI OEM ID / OEM Table ID / Revision can be used to identify > platform type based on ACPI firmware. acpi_blacklisted(), > intel_pstate_platform_pwr_mgmt_exists() and some other funcs > have been using this type of check to detect a li

[PATCH] staging: iio: adc: add space around substraction operation

2017-07-17 Thread Hari Prasath
Fix checkpatch warning to add space around the substraction operation Signed-off-by: Hari Prasath --- drivers/staging/iio/adc/ad7280a.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index d5ab83f..d7

[PATCH] staging: pi433: Fix a couple of spelling mistakes

2017-07-17 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in dev_dbg debug messages "wiat" -> "wait" "fonud" -> "found" Signed-off-by: Colin Ian King --- drivers/staging/pi433/pi433_if.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/pi433/pi433_if.c b/dri

[PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-17 Thread Oleksij Rempel
gpio-line-names may help to make work with GPIOs from user space easier. Following examples are provided with libgpiod https://github.com/brgl/libgpiod : |# Toggle a GPIO by name, then wait for the user to press ENTER. |$ gpioset --mode=wait `gpiofind "USR-LED-2"`=1 |# Pause execution until a singl

Re: Regression with suspicious RCU usage splats with cpu_pm change

2017-07-17 Thread Tony Lindgren
* Paul E. McKenney [170717 05:40]: > On Sun, Jul 16, 2017 at 11:08:07PM -0700, Tony Lindgren wrote: > > * Alex Shi [170716 16:25]: > > > I reused the rcu_irq_enter_irqson() from RCU_NONIDLE to avoid this issue. > > > It works fine. > > > > > > Tony, Could you like to give a tested-by if this pa

Re: [PATCH V6 5/7] crypto: AES CBC multi-buffer glue code

2017-07-17 Thread Herbert Xu
On Tue, Jun 27, 2017 at 05:26:13PM -0700, Megha Dey wrote: > > +static void completion_callback(struct mcryptd_skcipher_request_ctx *rctx, > + struct mcryptd_alg_cstate *cstate, > + int err) > +{ > + struct skcipher_request *req = cast_mcryptd_ctx

Re: panic, bisect to commit 7f1d4e58dabb "spmi: pmic-arb: optimize table lookups"

2017-07-17 Thread Frank Rowand
On 07/17/17 22:06, Frank Rowand wrote: > On 07/17/17 20:56, Rajendra Nayak wrote: >> >> On 07/18/2017 09:12 AM, Frank Rowand wrote: >>> Hi Abhijeet, >>> >>> My qcom-apq8074-dragonboard panics on boot on v4.13-rc1. >>> >>> I bisected the problem to commit 7f1d4e58dabb, "spmi: pmic-arb: >>> optimize

Re: [PATCH RFC v5] cpufreq: schedutil: Make iowait boost more energy efficient

2017-07-17 Thread Viresh Kumar
On 17-07-17, 10:35, Joel Fernandes wrote: > On Mon, Jul 17, 2017 at 1:04 AM, Viresh Kumar wrote: > > On 16-07-17, 01:04, Joel Fernandes wrote: > >> + if (sg_cpu->iowait_boost_pending) { > >> + sg_cpu->iowait_boost_pending = false; > >> + sg_cpu->iowait_boost = min(sg_c

[PATCH] soc: TI knav_qmss: Fix spelling mistake "instace" -> "instance"

2017-07-17 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err messages and comments Signed-off-by: Colin Ian King --- drivers/soc/ti/knav_dma.c | 4 ++-- drivers/soc/ti/knav_qmss.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/soc/ti/knav_dma.c b/drivers

Re: [PATCHv2 0/6] Motorola Droid 4 Audio Support

2017-07-17 Thread Tony Lindgren
* Sebastian Reichel [170717 07:14]: > Hi, > > On Mon, Jul 17, 2017 at 03:17:10AM -0700, Tony Lindgren wrote: > > * Sebastian Reichel [170717 03:13]: > > > On Mon, Jul 17, 2017 at 02:29:04AM -0700, Tony Lindgren wrote: > > > > * Sebastian Reichel [170712 08:19]: > > > > > * Switch from simple-a

Re: [PATCH] drm/i915: disable KASAN for handlers

2017-07-17 Thread Jiri Slaby
On 03/31/2017, 01:23 PM, Arnd Bergmann wrote: > On Fri, Mar 31, 2017 at 12:29 PM, Jani Nikula > wrote: >> On Fri, 31 Mar 2017, Zhenyu Wang wrote: >>> On 2017.03.30 11:46:27 +0200, Jiri Slaby wrote: Handlers are currently the only blocker to compile the kernel with gcc 7 and KASAN+use-af

<    6   7   8   9   10   11   12   >