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.) > >

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

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

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;

[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(-)

[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

Re: [PATCH] arm64: defconfig: enable CONFIG_UNIPHIER_WATCHDOG

2017-07-17 Thread Masahiro Yamada
2017-07-18 14:24 GMT+09:00 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

Re: [PATCH 0/6] Cache coherent device memory (CDM) with HMM v5

2017-07-17 Thread Bob Liu
On 2017/7/14 5:15, Jérôme Glisse wrote: > Sorry i made horrible mistake on names in v4, i completly miss- > understood the suggestion. So here i repost with proper naming. > This is the only change since v3. Again sorry about the noise > with v4. > > Changes since v4: > -

[PATCH 0/3] Keystone defconfig updates

2017-07-17 Thread Suman Anna
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 enabling other peripherals on the 66AK2G

[PATCH 1/3] ARM: configs: keystone: Enable Message Manager

2017-07-17 Thread Suman Anna
From: Nishanth Menon Message Manager is a communication hardware block on 66AK2G[1] SoCs. Enable the same to provide support for communication with 66AK2G Power Management Micro Controller (PMMC) via the TISCI protocol[2]. [1] http://www.ti.com/product/66ak2g02 [2]

[PATCH 2/3] ARM: configs: keystone: Enable TI-SCI protocol and genpd driver

2017-07-17 Thread Suman Anna
From: Nishanth Menon Enable the TI-SCI core protocol and the corresponding genpd driver to enable the essential infrastructure for various device drivers on the 66AK2G family of SoCs. The TI-SCI Clock driver is automatically enabled for ARCH_KEYSTONE. Signed-off-by: Nishanth Menon

[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

[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

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 */

[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

[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

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; > >> +

[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

[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 ---

[PATCH 4/4] ARM: dts: keystone-k2g: Add TI SCI reset-controller node

2017-07-17 Thread Suman Anna
From: "Andrew F. Davis" Add a reset-controller node for managing resets of various remote processor devices on the SoC over the Texas Instrument's System Control Interface (TI SCI) protocol. Signed-off-by: Andrew F. Davis [s-a...@ti.com: rename node name, drop

[PATCH 1/4] ARM: dts: keystone-k2g: Add PMMC node to support TI-SCI protocol

2017-07-17 Thread Suman Anna
From: Nishanth Menon Texas Instrument's System Control Interface (TI-SCI) Message Protocol is implemented in Keystone 2 generation 66AK2G SoC with the PMMC entity. Add the ti-sci node representing this 66AK2G PMMC module. Signed-off-by: Nishanth Menon [s-a...@ti.com:

[PATCH 3/4] ARM: dts: keystone-k2g: Add ti-sci clock provider node

2017-07-17 Thread Suman Anna
From: Tero Kristo Add a ti-sci node representing the clock provider in the system. 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

[PATCH 3/3] ARM: configs: keystone: Enable reset drivers

2017-07-17 Thread Suman Anna
Enable the TI SYSCON and TI-SCI reset drivers for Keystone platforms. These drivers will provide the reset functionality for devices like DSPs or PRU-ICSSs. There are no devices that require these to be built-in, so these are enabled as modules. Signed-off-by: Suman Anna ---

[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

[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 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 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

[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

[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

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: >>

[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 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

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 = _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

[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

[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

[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

[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 ---

[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:

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

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

[PATCH 3/3] hwrng: mxc-fsl - add support for Freescale RNGC

2017-07-17 Thread Martin Kaiser
From: Steffen Trumtrar The driver is ported from Freescales Linux git and can be found in the vendor/freescale/imx_2.6.35_maintain branch. According to that code, the RNGC is found on Freescales i.MX3/5 SoCs. The i.MX2x actually has an RNGB, which has no

[PATCH v2 1/8] docs: Makefile: remove no-ops targets

2017-07-17 Thread Mauro Carvalho Chehab
After removal of DocBook, those targets are bogus. Reported-by: Jim Davis Signed-off-by: Mauro Carvalho Chehab --- Documentation/Makefile | 10 -- Documentation/translations/zh_CN/HOWTO | 2 -- Makefile

[PATCH v2 8/8] sphinx.rst: document scripts/sphinx-pre-install script

2017-07-17 Thread Mauro Carvalho Chehab
Now that we have a script to check for Sphinx dependencies, document it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 48 ++ 1 file changed, 44 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] Revert "timers: Don't wake ktimersoftd on every tick"

2017-07-17 Thread Haris Okanovic
On 06/04/2017 09:17 AM, Thomas Gleixner wrote: On Fri, 2 Jun 2017, Haris Okanovic wrote: On 05/26/2017 03:50 PM, Thomas Gleixner wrote: static void expire_timers(struct timer_base *base) { struct hlist_head *head; + int expCount = base->expired_count; No camel case for

Re: [PATCH] exec: Check stack space more strictly

2017-07-17 Thread Kees Cook
On Mon, Jul 17, 2017 at 3:22 PM, Andy Lutomirski wrote: > We can currently blow past the stack rlimit and cause odd behavior > if there are accounting bugs, rounding issues, or races. It's not > clear that the odd behavior is actually a problem, but it's nicer to > fail the exec

[PATCH v2 4/8] sphinx-pre-install: use a requirements file

2017-07-17 Thread Mauro Carvalho Chehab
Instead of using 3 commands to install a virtualenv, use a single one, reading the requirements from this file: Documentation/sphinx/requirements.txt Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/requirements.txt | 3 +++

[PATCH v2 7/8] sphinx-pre-install: fix USE needs for GraphViz and ImageMagick

2017-07-17 Thread Mauro Carvalho Chehab
Gentoo need some USE for GraphViz and ImageMagick to have the features required by kfigure.py. Output that when providing instructions for Gentoo. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH v2 2/8] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-17 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Tested on: - Fedora 25 and 26; - Ubuntu 17.04; - OpenSuse Tumbleweed; - Arch Linux; - Gentoo. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH v2 5/8] sphinx-pre-install: check for the need of graphviz-gd

2017-07-17 Thread Mauro Carvalho Chehab
On newer versions of graphviz packaging on Fedora, it is needed to install a separate package for PDF support. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 9 + 1 file changed, 9 insertions(+) diff --git a/scripts/sphinx-pre-install

[RFC 4/4] perf script python: Generate hooks with additional argument

2017-07-17 Thread Arun Kalyanasundaram
Modify the signature of tracepoint specific and trace_unhandled hooks to add the perf_sample dict as a new argument. Create a python helper function to print a dictionary. Signed-off-by: Arun Kalyanasundaram --- .../perf/util/scripting-engines/trace-event-python.c | 20

[RFC 0/4] perf script python: Provide perf_sample dict to all handlers

2017-07-17 Thread Arun Kalyanasundaram
The process_event python hook receives a dict with all perf_sample entries. Other handlers (e.g. trace_unhandled, python_process_tracepoint) predate the introduction of this dict and do not receive it. This patch series adds the dict to all handlers, aiming to unify the information passed to

Re: [PATCH] mm,hugetlb: compute page_size_log properly

2017-07-17 Thread Mike Kravetz
I hate to resurrect this thread, but I would like to add hugetlb support to memfd_create. This is for JVM garbage collection as discussed in this thread [1]. Adding hugetlb support to memfd_create, means that memfd_create will take a flag something like MFD_HUGETLB. And, if a user wants hugetlb

[RFC PATCH 2/3] mm: arch: Use new hugetlb size encoding definitions

2017-07-17 Thread Mike Kravetz
Use the common definitions from hugetlb_encode.h header file for encoding hugetlb size definitions in mmap system call flags. Signed-off-by: Mike Kravetz --- arch/alpha/include/uapi/asm/mman.h | 14 ++ arch/mips/include/uapi/asm/mman.h | 14

[RFC PATCH 1/3] mm:hugetlb: Define system call hugetlb size encodings in single file

2017-07-17 Thread Mike Kravetz
If hugetlb pages are requested in mmap or shmget system calls, a huge page size other than default can be requested. This is accomplished by encoding the log2 of the huge page size in the upper bits of the flag argument. asm-generic and arch specific headers all define the same values for these

Re: [PATCH] nvme: Acknowledge completion queue on each iteration

2017-07-17 Thread Keith Busch
On Mon, Jul 17, 2017 at 06:36:23PM -0400, Sinan Kaya wrote: > Code is moving the completion queue doorbell after processing all completed > events and sending callbacks to the block layer on each iteration. > > This is causing a performance drop when a lot of jobs are queued towards > the HW.

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-07-17 Thread Icenowy Zheng
于 2017年7月18日 GMT+08:00 上午10:58:52, Chen-Yu Tsai 写到: >On Fri, May 19, 2017 at 4:55 PM, Andre Przywara > wrote: >> Hi, >> >> On 19/05/17 09:29, Icenowy Zheng wrote: >>> >>> >>> 于 2017年5月19日 GMT+08:00 下午4:27:21, Andre Przywara > 写到:

[PATCH v2 6/8] sphinx-pre-install: add dependencies for ImageMagick to work with svg

2017-07-17 Thread Mauro Carvalho Chehab
ImageMagick actually uses librsvg for conversions when converiting from SVG (actually, it uses rsvg-convert). That causes the build to fail with: WARNING: Error #1 when calling: /usr/bin/convert /home/mchehab/docs/Documentation/media/uapi/v4l/selection.svg

[PATCH 0/3] enable ghes_edac on selected platforms

2017-07-17 Thread Toshi Kani
The ghes_edac driver was introduced in 2013 [1], but it has not been enabled by any distro yet. This is because the driver obtains error info from firmware interfaces, which are not properly implemented on many platforms. To get out from this situation, add a platform check to selectively enable

[PATCH linux v5 3/3] drivers: w1: add hwmon temp support for w1_therm

2017-07-17 Thread Jaghathiswari Rankappagounder Natarajan
This change adds hwmon temp support for w1_therm. Signed-off-by: Jaghathiswari Rankappagounder Natarajan Acked-by: Evgeniy Polyakov Acked-by: Guenter Roeck --- v2 - make changes to support hwmon_device_register_with_info mentioned by

Fedora 26 / Kernel 4.11.10 - System becomes unresponsive when swapping

2017-07-17 Thread Steven Haigh
Hi all, Firstly, please CC me directly in replies due to not being subscribed. After a fix to glibc that fixed Unity 3D based games (Fedora ref: https:// bugzilla.redhat.com/show_bug.cgi?id=1440287), I have noticed that when I play Cities: Skylines that the system becomes unresponsive when

Re: [PATCH 10/10] percpu: add optimizations on allocation path for the bitmap allocator

2017-07-17 Thread Tejun Heo
On Sat, Jul 15, 2017 at 10:23:15PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" > > This patch adds two optimizations to the allocation path. The first is > to not consider a chunk if the requested allocation cannot fit in the > chunk's contig_hint. The

Re: [PATCH v3] PM / suspend: Export pm_suspend_target_state

2017-07-17 Thread Rafael J. Wysocki
On Monday, July 17, 2017 03:10:59 PM Florian Fainelli wrote: > Have the core suspend/resume framework store the system-wide suspend > state (suspend_state_t) we are about to enter, and expose it to drivers > via pm_suspend_target_state in order to retrieve that. The state is > assigned in

[PATCH v4] PM / suspend: Export pm_suspend_target_state

2017-07-17 Thread Florian Fainelli
Have the core suspend/resume framework store the system-wide suspend state (suspend_state_t) we are about to enter, and expose it to drivers via pm_suspend_target_state in order to retrieve that. The state is assigned in suspend_devices_and_enter(). This is useful for platform specific drivers

Re: A question about acpi_early_init(), and want to invoke acpi_early_init() earlier

2017-07-17 Thread Dou Liyang
Hi, Julian At 07/14/2017 11:01 PM, Julian Wollrath wrote: Hi, I reproduced it by the following command line: ...noapic acpi_sci=level... the original dmesg is: [0.00] tsc: Fast TSC calibration using PIT the broken dmesg is: [0.001000] tsc: PIT calibration matches HPET. 1

linux-next: build failure after merge of the drm-misc tree

2017-07-17 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: Caused by commit b6dcaaac4474 ("drm/vblank: _ioctl posfix for ioctl handler") interacting with commit d5288c88c67c ("switch compat_drm_wait_vblank() to drm_ioctl_kernel()") from

[PATCH v3] kbuild: trivial cleanups on the comments

2017-07-17 Thread Cao jin
Signed-off-by: Cao jin --- Makefile | 6 +++--- scripts/Kbuild.include | 7 +++ scripts/basic/Makefile | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 7b60fb3..2600f03 100644 --- a/Makefile +++

Re: [RFC PATCH v1 5/6] mm: parallelize clear_gigantic_page

2017-07-17 Thread Daniel Jordan
On 07/17/2017 12:02 PM, Dave Hansen wrote: On 07/14/2017 03:16 PM, daniel.m.jor...@oracle.com wrote: Machine: Intel(R) Xeon(R) CPU E7-8895 v3 @ 2.60GHz, 288 cpus, 1T memory Test:Clear a range of gigantic pages nthread speedup size (GiB) min time (s) stdev 1

[PATCH v3 2/7] drm/rockchip: vop: move write_relaxed flags to vop register

2017-07-17 Thread Mark Yao
Since the drm atomic framework, only a small part of the vop register needs sync write, Currently seems only following registers need sync write: cfg_done, standby and interrupt related register. All ctrl registers are using the sync write method that is inefficient, hardcode the write_relaxed

[PATCH v3 3/7] drm/rockchip: vop: move line_flag_num to interrupt registers

2017-07-17 Thread Mark Yao
In the hardware design process, the design of line flags register is associated with the interrupt register, placing the line flags in the interrupt definition is more reasonable, and it would make multi-vop define easilier. Changes in v3: - Explain more in details, introduce why we need this

[PATCH v3 4/7] drm/rockchip: vop: group vop registers

2017-07-17 Thread Mark Yao
Grouping the vop registers facilitates make register definition clearer, and also is useful for different vop reuse the same group register. Signed-off-by: Mark Yao --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 99 +-

[PATCH v3 6/7] dt-bindings: display: fill Documents for series of vop

2017-07-17 Thread Mark Yao
Changes in v2: - rename rk322x to rk3228(Heiko Stübner) Signed-off-by: Mark Yao --- Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH v3 5/7] drm/rockchip: vop: add a series of vop support

2017-07-17 Thread Mark Yao
Vop Full framework now has following vops: IP versionchipname 3.1 rk3288 3.2 rk3368 3.4 rk3366 3.5 rk3399 big 3.6 rk3399 lit 3.7 rk3228 3.8 rk3328 The above IP version is from H/W define, some of vop support

[PATCH v3 1/7] drm/rockchip: vop: initialize registers directly

2017-07-17 Thread Mark Yao
At present we are using init_table to initialize some registers, but the Register init table use un-document define, it is unreadable, and sometimes we only want to update tiny bits, init table method is not friendly, it's diffcult to reuse for difference chips. To make it clean, initialize

[PATCH v3 7/7] drm/rockchip: vop: rk3328: fix overlay abnormal

2017-07-17 Thread Mark Yao
It's a hardware bug, all window's overlay channel reset value is same, hardware overlay would be die. so we must initial difference id for each overlay channel. The Channel register is supported on all vop will full design. Following is the details for this register VOP_WIN0_CTRL2 bit[7:4]

Re: [PATCH v2 1/2] hpsa: limit transfer length to 1MB

2017-07-17 Thread Martin K. Petersen
Yadan, > The hpsa firmware will bypass the cache for any request larger > than 1MB, so we should cap the request size to avoid any > performance degradation in kernels later than v4.3 Applied to 4.13/scsi-fixes. Thanks! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] scsi: sg: fix static checker warning in sg_is_valid_dxfer

2017-07-17 Thread Martin K. Petersen
Johannes, > dxfer_len is an unsigned int and we always assign a value > 0 to it, > so it doesn't make any sense to check if it is < 0. We can't really > check dxferp as well as we have both NULL and not NULL cases in the > possible call paths. > > So just return true for SG_DXFER_FROM_DEV

Re: [linux-sunxi] [PATCH v6 7/9] arm64: allwinner: a64: add DTSI file for AXP803 PMIC

2017-07-17 Thread Chen-Yu Tsai
On Fri, May 19, 2017 at 10:29 AM, Chen-Yu Tsai wrote: > On Thu, May 18, 2017 at 3:16 PM, Icenowy Zheng wrote: >> As nearly all A64 boards are using AXP803 PMIC, add a DTSI file for it, >> like the old DTSI files for AXP20x/22x, for the common parts of the >> PMIC.

Re: [PATCH 2/6] f2fs: make max inline size changeable

2017-07-17 Thread Jaegeuk Kim
Hi Chao, On 07/16, Chao Yu wrote: > From: Chao Yu > > This patch tries to make below macros calculating max inline size, > inline dentry field size considerring reserving size-changeable > space: > - MAX_INLINE_DATA > - NR_INLINE_DENTRY > - INLINE_DENTRY_BITMAP_SIZE > -

Re: [PATCH v5 4/4] x86/boot/KASLR: Restrict kernel to be randomized in mirror regions

2017-07-17 Thread Baoquan He
On 07/17/17 at 04:13pm, Kees Cook wrote: > > +#ifdef CONFIG_EFI > > +/* > > + * Returns true if mirror region found (and must have been processed > > + * for slots adding) > > + */ > > +static bool process_efi_entries(unsigned long minimum, > > + unsigned long

Re: [PATCH v2 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-07-17 Thread Bjorn Andersson
On Mon 17 Jul 14:08 PDT 2017, Jacek Anaszewski wrote: > On 07/17/2017 06:44 AM, Bjorn Andersson wrote: > > On Sun 16 Jul 11:49 PDT 2017, Jacek Anaszewski wrote: > >> On 07/15/2017 12:45 AM, Bjorn Andersson wrote: > >>> diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.txt > >>>

RE: 4.12 nf_conntrack_expect crash

2017-07-17 Thread 高峰
Hi Jiri, > From: Jiri Slaby [mailto:jsl...@suse.cz] > Subject: Re: 4.12 nf_conntrack_expect crash > > On 07/17/2017, 04:49 PM, Jiri Slaby wrote: > > Hi, > > > > on my system, I see a crash in del_timer invoked in nf_conntrack_expect. > > See the attached picture. > > > > I somehow suspect this

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

2017-07-17 Thread Stephen Rothwell
NFIG_BPF=y # CONFIG_BPF_SYSCALL is not set I have used the net-next tree from next-20170717 for today. -- Cheers, Stephen Rothwell

Re: [PATCH v7 06/16] lockdep: Detect and handle hist_lock ring buffer overwrite

2017-07-17 Thread Byungchul Park
On Thu, Jul 13, 2017 at 10:14:42AM +0200, Peter Zijlstra wrote: > +static void __crossrelease_end(unsigned int *stamp) > +{ [snip] > + > + /* > + * If we rewind past the tail; all of history is lost. > + */ > + if ((current->xhlock_idx_max - *stamp) < MAX_XHLOCKS_NR) > +

Re: [PATCH 2/6] f2fs: make max inline size changeable

2017-07-17 Thread Chao Yu
Hi Jaegeuk, On 2017/7/18 7:12, Jaegeuk Kim wrote: > Hi Chao, > > On 07/16, Chao Yu wrote: >> From: Chao Yu >> >> This patch tries to make below macros calculating max inline size, >> inline dentry field size considerring reserving size-changeable >> space: >> -

Re: [linux-sunxi] [PATCH v6 8/9] arm64: allwinner: a64: enable AXP803 regulators for Pine64

2017-07-17 Thread Chen-Yu Tsai
On Fri, May 19, 2017 at 4:55 PM, Andre Przywara wrote: > Hi, > > On 19/05/17 09:29, Icenowy Zheng wrote: >> >> >> 于 2017年5月19日 GMT+08:00 下午4:27:21, Andre Przywara 写到: >>> Hi, >>> >>> On 18/05/17 08:16, Icenowy Zheng wrote: Add support of

Re: [PATCH] kthread: Fix race condition between kthread_parkme() and kthread_unpark()

2017-07-17 Thread Junaid Shahid
Hi, Has anyone been able to take a look at this? Thanks, Junaid On Tuesday, May 30, 2017 03:40:02 PM Andrew Morton wrote: > (cc tglx & tj) > > On Tue, 30 May 2017 15:37:23 -0700 Junaid Shahid wrote: > > > (Resending) > > > > On Friday, April 28, 2017 07:32:36 PM Junaid

linux-next: manual merge of the btrfs-kdave tree with Linus' tree

2017-07-17 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the btrfs-kdave tree got a conflict in: fs/btrfs/extent_io.c between commit: e6959b9350c6 ("btrfs: add support for passing in write hints for buffered writes") from Linus' tree and commit: 41a3f2a7c062 ("btrfs: merge REQ_OP and REQ_ flags to one

[PATCH] pci: quirk: Apply APM ACS quirk to XGene devices

2017-07-17 Thread Feng Kan
The APM X-Gene PCIe root port does not support ACS at this point. Since the root does not allow peer to peer transactions, mask out ACS capability flag bits. Signed-off-by: Feng Kan --- drivers/pci/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/quirks.c

[PATCH v2 1/2] staging: gs_fpgaboot: add buffer overflow checks

2017-07-17 Thread Jacob von Chorus
Four fields in struct fpgaimage are char arrays of length MAX_STR (256). The amount of data read into these buffers is controlled by a length field in the bitstream file read from userspace. If a corrupt or malicious firmware file was supplied, kernel data beyond these buffers can be overwritten

Re: [PATCH v2 2/5] dt-bindings: gpu: add a power_model optional properties for MALI

2017-07-17 Thread Caesar Wang
Rob, 在 2017年07月18日 04:07, Rob Herring 写道: On Mon, Jul 17, 2017 at 04:14:28PM +0800, Caesar Wang wrote: This patch adds the MALI's power-model to set the IPA model to be used for power management. What's IPA? India Pale Ale or Intermediate Physical Address? IPA is intelligent Power

Re: [PATCH v2] clk: moxart: remove unnecessary statics

2017-07-17 Thread Stephen Boyd
On 07/04, Gustavo A. R. Silva wrote: > Remove unnecessary static on local variable _base_ in both functions > moxart_of_pll_clk_init() and moxart_of_apb_clk_init(). Such variables > are initialized before being used, on every execution path throughout > the mentioned functions. The statics have no

Re: [PATCH v2 2/2] staging: gs_fpgaboot: change char to u8

2017-07-17 Thread Jacob von Chorus
On Mon, Jul 17, 2017 at 06:22:08PM -0700, Joe Perches wrote: > read_bitstream takes an int rdsize, not a u16. > and this function will overflow tbuf if len > 64 > > static void readinfo_bitstream(char *bitdata, char *buf, int *offset) > { > char tbuf[64]; > s32 len; > > /* read

[RFC PATCH v2] Bluetooth: btusb: Fix memory leak in play_deferred

2017-07-17 Thread Jeffy Chen
Currently we are calling usb_submit_urb directly to submit deferred tx urbs after unanchor them. So the usb_giveback_urb_bh would failed to unref it in usb_unanchor_urb and cause memory leak: unreferenced object 0xffc0ce0fa400 (size 256): ... backtrace: [] __save_stack_trace+0x48/0x6c

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

2017-07-17 Thread Li, Aubrey
On 2017/7/18 3:23, Peter Zijlstra wrote: > On Fri, Jul 14, 2017 at 09:26:19AM -0700, Andi Kleen wrote: >>> And as said; Daniel has been working on a better predictor -- now he's >>> probably not used it on the network workload you're looking at, so that >>> might be something to consider. >> >>

<    5   6   7   8   9   10   11   12   13   14   >