Re: [PATCH 1/2] ARM: dts: modify rk3288 jaq backlight-level

2015-12-14 Thread Caesar Wang
Heiko, 在 2015年12月15日 05:46, Heiko Stübner 写道: Hi Caesar, Am Montag, 7. Dezember 2015, 21:11:08 schrieb Caesar Wang: the panel which jaq use require the pwm duty cycle larger than 3%, when the backlight status from power off to power on, otherwise the backlight will flush, so we modify the

Re: [PATCH V4 12/16] Documentation: DT: bindings: Add power domain info for NVIDIA PMC

2015-12-14 Thread Kevin Hilman
Jon Hunter writes: > On 09/12/15 12:23, Jon Hunter wrote: >> >> On 08/12/15 19:07, Kevin Hilman wrote: >>> Jon Hunter writes: >>> Add power-domain binding documentation for the NVIDIA PMC driver in order to support generic power-domains. Signed-off-by: Jon Hunter

Re: PELT initial task load and wake_up_new_task()

2015-12-14 Thread Steve Muckle
Hi Yuyang, On 12/13/2015 11:13 AM, Yuyang Du wrote: > Hi Steve, > > On Fri, Dec 11, 2015 at 06:01:45PM -0800, Steve Muckle wrote: >> In init_entity_runnable_average() the last_update_time is initialized to >> zero. The task is given max load and utilization as a pessimistic >> initial estimate.

Re: [PATCH V4 12/16] Documentation: DT: bindings: Add power domain info for NVIDIA PMC

2015-12-14 Thread Kevin Hilman
Jon Hunter writes: > On 08/12/15 19:07, Kevin Hilman wrote: >> Jon Hunter writes: >> >>> Add power-domain binding documentation for the NVIDIA PMC driver in >>> order to support generic power-domains. >>> >>> Signed-off-by: Jon Hunter >>> >>> --- >>> >>> Please note that I have been debating

Re: [PATCH v4 20/20] ARM: dts: Add support of bus frequency for exynos4412-trats/odroidu3

2015-12-14 Thread Krzysztof Kozlowski
On 14.12.2015 15:38, Chanwoo Choi wrote: > THis patch adds the bus device tree nodes for both MIF (Memory) and INT > (Internal) block to enable the bus frequency. > > The DMC bus is parent device in MIF block using VDD_MIF and the LEFTBUS > bus is parent device in INT block using VDD_INT. > >

Re: [PATCH v1 1/3] i2c: rk3x: add calc_divs ops for new version

2015-12-14 Thread Jianqun Xu
Hi David: It's better to add a cover-letter, and add changes note for new version, such as: changes since v0: - split patch to two patches or more, one patch for one new feature (Heiko) and NOT to have two same signed-off-by 在 11/12/2015 22:33, David Wu 写道: The calc_divs of new version is

Re: [PATCH v2 12/14] mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver

2015-12-14 Thread Andy Green
Hi... looks good, just some small general comments. On 15 December 2015 at 06:42, Joshua Henderson wrote: > From: Andrei Pistirica > > This driver supports the SDHCI host controller found on a PIC32. > > Signed-off-by: Andrei Pistirica > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle >

linux-next: manual merge of the net-next tree with the net tree

2015-12-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/geneve.c between commit: a322a1bcf329 ("geneve: Fix IPv6 xmit stats update.") from the net tree and commit: abe492b4f50c ("geneve: UDP checksum configuration via netlink") from the net-next tree. I

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Dave Hansen
On 12/14/2015 03:47 PM, Andy Lutomirski wrote: > On Mon, Dec 14, 2015 at 3:44 PM, Dave Hansen wrote: >> On 12/14/2015 03:39 PM, Andy Lutomirski wrote: > Nope. My linker-fu is weak. > > Can we even depend on the linker by itself? Even if the sections were > marked --x, we can't

[PATCH] drm: Use the driver's gem_object_free function from CMA helpers.

2015-12-14 Thread Eric Anholt
VC4 wraps the CMA objects in its own structures, so it needs to do its own teardown (waiting for GPU to finish, updating bo_stats tracking). The other CMA drivers are using drm_gem_cma_free_object as their gem_free_object, so this should be a no-op for them. Signed-off-by: Eric Anholt ---

Re: [PATCH] ptrace: being capable wrt a process requires mapped uids/gids

2015-12-14 Thread Andy Lutomirski
On Sat, Dec 12, 2015 at 12:12 PM, Jann Horn wrote: > ptrace_has_cap() checks whether the current process should be > treated as having a certain capability for ptrace checks > against another process. Until now, this was equivalent to > has_ns_capability(current, target_ns, CAP_SYS_PTRACE). > >

Re: [PATCH 4/8 v4] thermal: rcar: retern error rcar_thermal_get_temp() if no ctemp update

2015-12-14 Thread Kuninori Morimoto
Hi Eduardo, again > I believe the problem here is actually the lack of error > handling/propagation. Are you sure you want to write to parameter > in the fail path ? > > rcar_thermal_update_temp already returns error code when it fails > to read temperature. Don't you think it would make more

Re: [PATCH v0 0/5] perf: Introduce instruction trace filtering

2015-12-14 Thread Mathieu Poirier
On 14 December 2015 at 01:50, Alexander Shishkin wrote: > Mathieu Poirier writes: > >> On 11 December 2015 at 06:36, Alexander Shishkin >> wrote: >> Alex, Peter and al, >> >> As I mentioned in a previous reply I think this patchset is aiming in >> the right direction. Here we are dealing with

Re: [PATCH] extcon: max77693: fix handling return value of regmap_irq_get_virq

2015-12-14 Thread Krzysztof Kozlowski
On 14.12.2015 20:12, Andrzej Hajda wrote: > The function can return negative values, so its result should > be assigned to signed variable. > > Signed-off-by: Andrzej Hajda > Suggested-by: Krzysztof Kozlowski > --- > drivers/extcon/extcon-max77693.c | 4 ++-- > 1 file changed, 2 insertions(+),

Re: [PATCH 8/8 v4] thermal: of-thermal: of_thermal_set_trip_temp() call thermal_zone_device_update()

2015-12-14 Thread Kuninori Morimoto
Hi Eduardo > > From: Kuninori Morimoto > > > > of_thermal_set_trip_temp() updates trip temperature. It should call > > thermal_zone_device_update() immediately. > > > > Signed-off-by: Kuninori Morimoto > > --- > > v3 -> v4 > > > > - no change > > > > drivers/thermal/of-thermal.c | 2 ++ >

Re: [PATCH 10/11] arm/samsung: Change s3c_pm_run_res() to use System RAM type

2015-12-14 Thread Krzysztof Kozlowski
On 15.12.2015 08:37, Toshi Kani wrote: > Change s3c_pm_run_res() to check with IORESOURCE_SYSTEM_RAM, > instead of strcmp() with "System RAM", in the resource table. > > No functional change is made to the interface. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc:

Re: new warning on sysrq kernel crash trigger

2015-12-14 Thread Anirban Sinha
On Mon, 14 Dec 2015, Rik van Riel wrote: > On 12/14/2015 11:24 AM, Ani Sinha wrote: > > Rik, any comments? > > Another good option is to simply ignore this warning, or drop > the rcu_read_lock before doing the alt-syrsq-c action. > > After all, alt-sysrq-c is "crash the system, take a crash

Re: [PATCH 1/2] x86: Fix kernel panic when booting with XD disabled in uEFI firmware

2015-12-14 Thread Andy Lutomirski
On Tue, Dec 8, 2015 at 12:39 PM, H. Peter Anvin wrote: > On December 8, 2015 12:30:06 PM PST, Kees Cook wrote: >>On Tue, Dec 8, 2015 at 6:19 AM, Borislav Petkov wrote: >>> On Tue, Dec 08, 2015 at 12:25:57PM +, Matt Fleming wrote: On Mon, 07 Dec, at 11:10:43PM, Kosuke Tatsukawa wrote:

Re: [PATCH v10 0/17] Add Analogix Core Display Port Driver

2015-12-14 Thread Heiko Stübner
Hi Yakir, Am Montag, 7. Dezember 2015, 14:37:19 schrieb Yakir Yang: >The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller > share the same IP, so a lot of parts can be re-used. I split the common > code into bridge directory, then rk3288 and exynos only need to keep > some

RE: [PATCH v5 1/2] block: invalidate the page cache when issuing BLKZEROOUT.

2015-12-14 Thread Seymour, Shane M
Thank you for taking the issues I raised about converting unsigned to signed into account. Reviewed-by: Shane Seymour

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-14 Thread Jirka Hladky
Hi all, I have the results of bisecting: first bad commit: [973759c80db96ed4b4c5cb85ac7d48107f801371] Merge tag 'v4.3-rc1' into sched/core, to refresh the branch Could you please have a look at this commit why it has caused the performance regression when running 4 stream benchmarks in parallel

Re: sched : performance regression 24% between 4.4rc4 and 4.3 kernel

2015-12-14 Thread Jirka Hladky
Hi all, I have the results of bisecting: first bad commit: [973759c80db96ed4b4c5cb85ac7d48107f801371] Merge tag 'v4.3-rc1' into sched/core, to refresh the branch Could you please have a look at this commit why it has caused the performance regression when running 4 stream benchmarks in parallel

Re: [PATCH] lock_page() doesn't lock if __wait_on_bit_lock returns -EINTR

2015-12-14 Thread Chris Mason
On Mon, Dec 14, 2015 at 01:33:56PM -0500, Dave Jones wrote: > On Sat, Dec 12, 2015 at 07:07:46PM -0500, Chris Mason wrote: > > On Sat, Dec 12, 2015 at 11:41:26AM -0800, Linus Torvalds wrote: > > > On Sat, Dec 12, 2015 at 10:33 AM, Linus Torvalds > > > wrote: > > > > > > > > Peter, did that

Re: [PATCH 4/8 v4] thermal: rcar: retern error rcar_thermal_get_temp() if no ctemp update

2015-12-14 Thread Kuninori Morimoto
Hi Eduardo > > --- a/drivers/thermal/rcar_thermal.c > > +++ b/drivers/thermal/rcar_thermal.c > > @@ -199,9 +199,9 @@ static int rcar_thermal_update_temp(struct > > rcar_thermal_priv *priv) > > > > dev_dbg(dev, "thermal%d %d -> %d\n", priv->id, priv->ctemp, ctemp); > > > > -

[PATCH] tty: constify tty_port_operations structs

2015-12-14 Thread Aya Mahfouz
Constifies tty_port_operations structures in the tty driver since they are not modified after their initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/tty/goldfish.c | 2 +- drivers/tty/mxser.c| 2 +- 2 files changed, 2

Re: [PATCH 4.3 36/71] tipc: fix error handling of expanding buffer headroom

2015-12-14 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2015 at 05:46:54PM +, Ben Hutchings wrote: > On Sat, 2015-12-12 at 12:06 -0800, Greg Kroah-Hartman wrote: > > 4.3-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Ying Xue > > > > [ Upstream commit

[PATCH] char: constify tty_port_operations structs

2015-12-14 Thread Aya Mahfouz
Constifies tty_port_operations structure in the char driver since it is not modified after its initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/char/ttyprintk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: randconfig build error with next-20151214, in drivers/platform/x86/toshiba_acpi.c

2015-12-14 Thread Darren Hart
On Mon, Dec 14, 2015 at 04:31:48PM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > drivers/built-in.o: In function `toshiba_acpi_resume': > toshiba_acpi.c:(.text+0xbdab11): undefined reference to `rfkill_set_hw_state' Thanks, Azael posted a patch which I have

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Andy Lutomirski
On Mon, Dec 14, 2015 at 3:44 PM, Dave Hansen wrote: > On 12/14/2015 03:39 PM, Andy Lutomirski wrote: >>> > Nope. My linker-fu is weak. >>> > >>> > Can we even depend on the linker by itself? Even if the sections were >>> > marked --x, we can't actually use them with those permissions unless we

Re: [PATCH] platform/x86: Add rfkill dependency to ACPI_TOSHIBA entry

2015-12-14 Thread Darren Hart
On Mon, Dec 14, 2015 at 01:00:59PM -0700, Azael Avalos wrote: > Commit 2fdde83443aa ("toshiba_acpi: Add WWAN RFKill support") added > WWAN rfkill support to the driver, but the KConfig entry was not > updated to add the RFKill dependency, causing a broken build if > RFKill is not selected. > >

[PATCH] tty: serial: constify psc_ops structs

2015-12-14 Thread Aya Mahfouz
Constifies psc_ops structures in tty's serial port driver since they are not modified after their initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/tty/serial/mpc52xx_uart.c | 8 1 file changed, 4 insertions(+), 4

Re: [PATCH v2] extcon: add Maxim MAX3355 driver

2015-12-14 Thread Greg KH
On Tue, Dec 15, 2015 at 01:29:19AM +0300, Sergei Shtylyov wrote: > Hello. > > On 12/15/2015 01:21 AM, Rob Herring wrote: > > Maxim Integrated MAX3355E chip integrates a charge pump and comparators > to > enable a system with an integrated USB OTG dual-role transceiver to >

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Dave Hansen
On 12/14/2015 03:39 PM, Andy Lutomirski wrote: >> > Nope. My linker-fu is weak. >> > >> > Can we even depend on the linker by itself? Even if the sections were >> > marked --x, we can't actually use them with those permissions unless we >> > have protection keys. >> > >> > Do we need some

[PATCH v2] Fix INT1 Exception with unregistered breakpoints

2015-12-14 Thread Jeff Merkey
Please consider the attached patch. SUMMARY This patch corrects a hard lockup failure of the system kernel if the operating system receives a breakpoint exception at a code execution address which was not registered with the operating system. The patch allows kernel debuggers, application

[PATCH] tty: serial: constify uartlite_reg_ops structs

2015-12-14 Thread Aya Mahfouz
Constifies uartlite_reg_ops structures in tty's serial port driver since they are not modified after their initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/tty/serial/uartlite.c | 8 1 file changed, 4

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Kees Cook
On Mon, Dec 14, 2015 at 3:39 PM, Andy Lutomirski wrote: > On Mon, Dec 14, 2015 at 3:37 PM, Dave Hansen wrote: >> On 12/14/2015 12:05 PM, Kees Cook wrote: >>> On Mon, Dec 14, 2015 at 11:06 AM, Dave Hansen wrote: > From: Dave Hansen > Protection keys provide new page-based protection

[PATCH 03/11] x86/e820: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Change e820_reserve_resources() to set IORESOURCE_SYSTEM_RAM for E820_RESERVED_KERN and E820_RAM, which are set to "System RAM". Also set IORESOURCE_SYSTEM_RAM to "Kernel data", "Kernel code", and "Kernel bss", which are children nodes of System RAM. Cc: Borislav Petkov Cc: x...@kernel.org

[PATCH 05/11] xen: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to the flags of memory hotplug resource ranges with "System RAM". Cc: Konrad Rzeszutek Wilk Cc: xen-de...@lists.xenproject.org Signed-off-by: Toshi Kani --- drivers/xen/balloon.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] tty: serial: constify sunhv_ops structs

2015-12-14 Thread Aya Mahfouz
Constifies sunhv_ops structures in tty's serial driver since they are not modified after their initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/tty/serial/sunhv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Kees Cook
On Mon, Dec 14, 2015 at 3:37 PM, Dave Hansen wrote: > On 12/14/2015 12:05 PM, Kees Cook wrote: >> On Mon, Dec 14, 2015 at 11:06 AM, Dave Hansen wrote: >>> > From: Dave Hansen >>> > Protection keys provide new page-based protection in hardware. >>> > But, they have an interesting attribute: they

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Andy Lutomirski
On Mon, Dec 14, 2015 at 3:37 PM, Dave Hansen wrote: > On 12/14/2015 12:05 PM, Kees Cook wrote: >> On Mon, Dec 14, 2015 at 11:06 AM, Dave Hansen wrote: >>> > From: Dave Hansen >>> > Protection keys provide new page-based protection in hardware. >>> > But, they have an interesting attribute: they

[PATCH 04/11] arch: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to the flags of resource ranges with "System RAM", "Kernel code", "Kernel data", and "Kernel bss". Note, IORESOURCE_SYSRAM (i.e. modifier bit) is set to the flags when IORESOURCE_MEM is already set. IORESOURCE_SYSTEM_RAM is defined as (IORESOURCE_MEM|IORESOURCE_SYSRAM).

[PATCH 07/11] memory-hotplug: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to the flags of memory hotplug resource ranges with "System RAM". Cc: Andrew Morton Cc: Tang Chen Signed-off-by: Toshi Kani --- mm/memory_hotplug.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index

[PATCH 06/11] kexec: Set IORESOURCE_SYSTEM_RAM to System RAM

2015-12-14 Thread Toshi Kani
Set IORESOURCE_SYSTEM_RAM to the flags of resource ranges with "System RAM", and "Crash kernel", which is a child node of System RAM. Change kexec_add_buffer() to call walk_iomem_res() with IORESOURCE_SYSTEM_RAM type for "Crash kernel". Cc: Andrew Morton Cc: Dave Young Cc: Vivek Goyal

[PATCH 09/11] resource: Change walk_system_ram to use System RAM type

2015-12-14 Thread Toshi Kani
Change walk_system_ram_res() and walk_system_ram_range() to call find_next_iomem_res() by setting IORESOURCE_SYSTEM_RAM to @res->flags and NULL to @name. With this change, they walk through the resource table without doing strcmp(). No functional change is made to the interfaces. Cc: Andrew

[PATCH 11/11] ACPI/EINJ: Allow memory error injection to NVDIMM

2015-12-14 Thread Toshi Kani
In the case of memory error injection, einj_error_inject() checks if a target address is System RAM. Change this check to allow injecting a memory error to NVDIMM by calling region_intersects() with "Persistent Memory". This enables memory error testing on both System RAM and NVDIMM. In

[PATCH 02/11] resource: make resource flags handled properly

2015-12-14 Thread Toshi Kani
I/O resource flags consist of I/O resource types and modifier bits. Therefore, checking I/O resource type of the flags must be performed with a bitwise operation. Fix find_next_iomem_res() and region_intersects() that simply compare the flags against a given value. Also change

Re: [PATCH 31/32] x86, pkeys: execute-only support

2015-12-14 Thread Dave Hansen
On 12/14/2015 12:05 PM, Kees Cook wrote: > On Mon, Dec 14, 2015 at 11:06 AM, Dave Hansen wrote: >> > From: Dave Hansen >> > Protection keys provide new page-based protection in hardware. >> > But, they have an interesting attribute: they only affect data >> > accesses and never affect

[PATCH 10/11] arm/samsung: Change s3c_pm_run_res() to use System RAM type

2015-12-14 Thread Toshi Kani
Change s3c_pm_run_res() to check with IORESOURCE_SYSTEM_RAM, instead of strcmp() with "System RAM", in the resource table. No functional change is made to the interface. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: linux-samsung-...@vger.kernel.org Signed-off-by: Toshi Kani ---

[PATCH 08/11] memremap: Change region_intersects() to use System RAM type

2015-12-14 Thread Toshi Kani
Change region_intersects() to add @flags, and make @name optinal with NULL. When NULL is set to @name, it skips strcmp(). Change the callers of region_intersects(), memremap() and devm_memremap(), to set IORESOURCE_SYSTEM_RAM to @flags for searching System RAM. Also, export region_intersects()

[PATCH 01/11] resource: Add System RAM resource type

2015-12-14 Thread Toshi Kani
I/O resource type, IORESOURCE_MEM, is used for all types of memory-mapped ranges, ex. System RAM, System ROM, Video RAM, Persistent Memory, PCI Bus, PCI MMCONFIG, ACPI Tables, IOAPIC, reserved, and so on. This requires walk_system_ram_range(), walk_system_ram_res(), and region_intersects() to use

[PATCH 00/11] Support System RAM resource type and EINJ to NVDIMM

2015-12-14 Thread Toshi Kani
This patch-set introduces a new I/O resource type, IORESOURCE_SYSTEM_RAM, for System RAM while keeping the current IORESOURCE_MEM type bit set for all memory-mapped ranges (including System RAM) for backward compatibility. With the new System RAM type, walking through the iomem resource table no

Re: [PATCH v2 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-12-14 Thread Rob Herring
On Mon, Dec 14, 2015 at 03:42:03PM -0700, Joshua Henderson wrote: > From: Cristian Birsan > > Document the devicetree bindings for the interrupt controller on > Microchip PIC32 class devices. > > Signed-off-by: Cristian Birsan > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle Acked-by:

[PATCH v4 4/7] dax: add support for fsync/sync

2015-12-14 Thread Ross Zwisler
To properly handle fsync/msync in an efficient way DAX needs to track dirty pages so it is able to flush them durably to media on demand. The tracking of dirty pages is done via the radix tree in struct address_space. This radix tree is already used by the page writeback infrastructure for

Re: [PATCH 2/2] md: dm-crypt: Optimize the dm-crypt for XTS mode

2015-12-14 Thread Milan Broz
On 12/14/2015 09:23 AM, Baolin Wang wrote: > In now dm-crypt code, it is ineffective to map one bio with just only > one scatterlist at one time for XTS mode. We can use multiple scatterlists > to map the whole bio and send all scatterlists of one bio to crypto engine > to encrypt or decrypt,

Re: [PICKME 0/2] cpufreq: New ST driver

2015-12-14 Thread Rafael J. Wysocki
On Friday, December 11, 2015 07:05:32 AM Lee Jones wrote: > On Fri, 11 Dec 2015, Viresh Kumar wrote: > > On 10-12-15, 22:38, Rafael J. Wysocki wrote: > > > Do they depend on anything special? > > > > My opp-binding-parsing patches which you applied to bleeding-edge. > > I thought these had

Re: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-14 Thread Andy Lutomirski
On Wed, Dec 2, 2015 at 6:43 PM, Lv Zheng wrote: > From: Chen Yu > > This patch implements acpi_os_readable(). The function is used by ACPICA > AML debugger to validate user specified pointers for dumping the memory as > ACPICA descriptor objects. > > Signed-off-by: Chen Yu > Tested-by: Lv Zheng

[PATCH] staging: gdm724x: constify tty_port_operations structs

2015-12-14 Thread Aya Mahfouz
Constifies tty_port_operations structure in the tty code of the gdm724x driver since it is not modified after its initialization. Detected and found using Coccinelle. Suggested-by: Julia Lawall Signed-off-by: Aya Mahfouz --- drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1

[PATCH v2] rt: x86: enable preemption in IST exception for x86-32

2015-12-14 Thread Yang Shi
When running some ptrace single step tests on x86-32 machine, the below problem is triggered: BUG: sleeping function called from invalid context at linux-rt/kernel/locking/rtmutex.c:917 in_atomic(): 1, irqs_disabled(): 0, pid: 1041, name: dummy2 INFO: lockdep is turned off. Preemption disabled

Re: [PATCH v3] PM / Domains: export symbols to add/remove devices from genpd

2015-12-14 Thread Rafael J. Wysocki
On Saturday, November 21, 2015 04:54:50 PM Pavel Machek wrote: > On Wed 2015-11-18 01:12:00, Maruthi Srinivas Bayyavarapu wrote: > > Drivers which can be built as loadable module needs symbols > > - pm_genpd_add_device/pm_genpd_remove_device to add/remove devices > > to/from genpd. Those drivers

Re: [PATCH v5 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-12-14 Thread Rafael J. Wysocki
On Wednesday, November 18, 2015 07:34:39 PM Viresh Kumar wrote: > On 18-11-15, 13:33, Punit Agrawal wrote: > > Thanks for the Ack. > > > > Will you or Rafael be picking up the series or do they need to go via > > arm-soc? > > Rafael will pick this up, it should go via PM tree. Applied now,

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-14 Thread Andrew F. Davis
On 12/14/2015 04:36 PM, Rob Herring wrote: On Mon, Dec 14, 2015 at 10:41 AM, Andrew F. Davis wrote: On 12/11/2015 03:48 PM, Linus Walleij wrote: On Fri, Dec 11, 2015 at 8:46 PM, Andrew F. Davis wrote: Add binding for generic parallel-in/serial-out shift register devices used as GPIO.

[for-4.4-rc6 PATCH] scatterlist: fix sg_phys() masking

2015-12-14 Thread Dan Williams
commit db0fa0cb0157 "scatterlist: use sg_phys()" did replacements of the form: phys_addr_t phys = page_to_phys(sg_page(s)); phys_addr_t phys = sg_phys(s) & PAGE_MASK; However, this breaks platforms where sizeof(phys_addr_t) > sizeof(unsigned long). Since PAGE_MASK is an unsigned long

Re: [Qemu-devel] [Patch V2 1/2] x86, mce: Basic support to add LMCE support to QEMU

2015-12-14 Thread Raj, Ashok
On Mon, Dec 14, 2015 at 11:37:16PM +0100, Borislav Petkov wrote: > On Mon, Dec 14, 2015 at 02:11:46PM -0500, Raj, Ashok wrote: > > This is mostly harmless.. since the MCG_CAP space is shared and has no > > conflict between vendors. Also just the CAP being set has no effect. > > Of course it does

Re: [PATCH v4 0/7] ACPICA / debugger: Add in-kernel AML debugger support

2015-12-14 Thread Rafael J. Wysocki
On Thursday, December 03, 2015 10:40:00 AM Lv Zheng wrote: > This patchset enables ACPICA debugger for Linux kernel and implements a > userspace utility to access it. > > A. Build the AML debugger > In order to build the kernel support of AML debugger, the following kconfig > items should be

Re: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-14 Thread Rafael J. Wysocki
On Thursday, December 03, 2015 10:43:21 AM Lv Zheng wrote: > From: Chen Yu > > This patch implements acpi_os_readable(). The function is used by ACPICA > AML debugger to validate user specified pointers for dumping the memory as > ACPICA descriptor objects. > > Signed-off-by: Chen Yu >

linux-next: manual merge of the samsung-krzk tree with the renesas tree

2015-12-14 Thread Stephen Rothwell
Hi Krzysztof, Today's linux-next merge of the samsung-krzk tree got a conflict in: arch/arm/configs/multi_v7_defconfig between commit: 954ceafd50cf ("ARM: multi_v7_defconfig: Enable missing Renesas ARM support based on DTSes") from the renesas tree and commit: 23a526f0478c ("ARM:

Re: [PATCH] kobject: Ensure child's resources get released before parent's resources

2015-12-14 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2015 at 02:33:46PM -0800, Rajat Jain wrote: > On Mon, Dec 14, 2015 at 1:40 PM, Greg Kroah-Hartman > wrote: > > On Mon, Dec 14, 2015 at 11:02:46AM -0800, Rajat Jain wrote: > >> If the only remaining reference to a parent, is the one taken by > >> the child (in

RE: [PATCH V15 11/11] x86,cgroup/intel_rdt : Add a cgroup interface to manage Intel cache allocation

2015-12-14 Thread Yu, Fenghua
> From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > Sent: Wednesday, November 18, 2015 2:15 PM > To: Yu, Fenghua > Cc: H Peter Anvin ; Ingo Molnar ; > Thomas Gleixner ; Peter Zijlstra > ; linux-kernel ; x86 > ; Vikas Shivappa > Subject: Re: [PATCH V15 11/11] x86,cgroup/intel_rdt : Add a

Re: [PATCH v2] net/macb: add support for resetting PHY using GPIO

2015-12-14 Thread Rob Herring
On Fri, Dec 11, 2015 at 11:34:53AM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > This reset can't be done at the PHY driver

Re: Information leak in pptp_bind

2015-12-14 Thread Hannes Frederic Sowa
On 14.12.2015 11:38, Dmitry Vyukov wrote: > The following program leak various uninit garbage including kernel > addresses and whatever is on kernel stack, in particular defeating > ASLR. The issue is in pptp_bind which does not verify sockaddr_len. Thanks for the report! I send out a patch

Re: WARNING in crypto_wait_for_test

2015-12-14 Thread Stephan Mueller
Am Montag, 14. Dezember 2015, 20:52:19 schrieb Herbert Xu: Hi Herbert, >On Thu, Dec 10, 2015 at 03:14:24AM +0100, Stephan Mueller wrote: >> Herbert, alg_bind currently blacklists one bit in the mask and type bit >> array. Shouldn't we instead white-list the allowed bits? > >Well a bogus mask

[PATCH RESEND 22/27] tools/hv: Use include/uapi with __EXPORTED_HEADERS__

2015-12-14 Thread K. Y. Srinivasan
From: Kamal Mostafa Use the local uapi headers to keep in sync with "recently" added #define's (e.g. VSS_OP_REGISTER1). Fixes: 3eb2094c59e89db2bedd401e23c7a870081c9edb Signed-off-by: Kamal Mostafa Signed-off-by: K. Y. Srinivasan --- tools/hv/Makefile |2 ++ 1 files changed, 2

[PATCH RESEND 00/27] Drivers: hv: Miscellaneous fixes.

2015-12-14 Thread K. Y. Srinivasan
Miscellaneous fixes and improvements. Andrey Smetanin (2): drivers/hv: cleanup synic msrs if vmbus connect failed drivers/hv: correct tsc page sequence invalid value Dexuan Cui (6): Drivers: hv: vmbus: serialize process_chn_event() and vmbus_close_internal() Drivers: hv: vmbus: do

[PATCH RESEND 17/27] Drivers: hv: vmbus: do sanity check of channel state in vmbus_close_internal()

2015-12-14 Thread K. Y. Srinivasan
From: Dexuan Cui This fixes an incorrect assumption of channel state in the function. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/hv/channel.c

[PATCH RESEND 15/27] Drivers: hv: vmbus: Get rid of the unused irq variable

2015-12-14 Thread K. Y. Srinivasan
The irq we extract from ACPI is not used - we deliver hypervisor interrupts on a special vector. Make the necessary adjustments. Signed-off-by: K. Y. Srinivasan --- drivers/hv/vmbus_drv.c | 16 +++- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git

[PATCH RESEND 13/27] Drivers: hv: vmbus: Use uuid_le_cmp() for comparing GUIDs

2015-12-14 Thread K. Y. Srinivasan
Use uuid_le_cmp() for comparing GUIDs. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |3 +-- drivers/hv/vmbus_drv.c|4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c index 38470aa..dc4fb0b

[PATCH RESEND 12/27] Drivers: hv: vmbus: Use uuid_le type consistently

2015-12-14 Thread K. Y. Srinivasan
Consistently use uuid_le type in the Hyper-V driver code. Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |2 +- drivers/hv/vmbus_drv.c | 10 ++-- include/linux/hyperv.h | 92 +- include/linux/mod_devicetable.h |

[PATCH v2 01/14] DEVICETREE: Add bindings for PIC32 interrupt controller

2015-12-14 Thread Joshua Henderson
From: Cristian Birsan Document the devicetree bindings for the interrupt controller on Microchip PIC32 class devices. Signed-off-by: Cristian Birsan Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../interrupt-controller/microchip,pic32-evic.txt | 58 1 file

[PATCH v2 08/14] pinctrl: pinctrl-pic32: Add PIC32 pin control driver

2015-12-14 Thread Joshua Henderson
Add a driver for the pin controller present on the Microchip PIC32 including the specific variant PIC32MZDA. This driver provides pinmux and pinconfig operations as well as GPIO and IRQ chips for the GPIO banks. Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- drivers/pinctrl/Kconfig

[PATCH v2 14/14] MIPS: pic32mzda: Add initial PIC32MZDA Starter Kit defconfig

2015-12-14 Thread Joshua Henderson
This adds an initial default config that enables all available PIC32 drivers and is enough for booting a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- arch/mips/configs/pic32mzda_defconfig | 88 + 1 file changed, 88 insertions(+)

[PATCH v2 13/14] MIPS: dts: Add initial DTS for the PIC32MZDA Starter Kit

2015-12-14 Thread Joshua Henderson
This adds basic DTS configuration for the PIC32MZDA chip and in turn the PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- arch/mips/boot/dts/Makefile |1 + arch/mips/boot/dts/pic32/Makefile | 12 ++

[PATCH v2 12/14] mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica This driver supports the SDHCI host controller found on a PIC32. Signed-off-by: Andrei Pistirica Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- drivers/mmc/host/Kconfig | 11 ++ drivers/mmc/host/Makefile |1 + drivers/mmc/host/sdhci-pic32.c |

[PATCH v2 09/14] DEVICETREE: Add bindings for PIC32 UART driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica Document the devicetree bindings for the UART peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../bindings/serial/microchip,pic32-uart.txt | 29 1 file

[PATCH v2 10/14] serial: pic32_uart: Add PIC32 UART driver

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica This adds UART and a serial console driver for Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- drivers/tty/serial/Kconfig | 21 + drivers/tty/serial/Makefile |1 +

[PATCH v2 04/14] clk: clk-pic32: Add PIC32 clock driver

2015-12-14 Thread Joshua Henderson
From: Purna Chandra Mandal This clock driver implements PIC32 specific clock-tree. clock-tree entities can only be configured through device-tree file (OF). Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- drivers/clk/Kconfig |3 +

[PATCH v2 07/14] DEVICETREE: Add bindings for PIC32 pin control and GPIO

2015-12-14 Thread Joshua Henderson
Document the devicetree bindings for PINCTRL and GPIO found on Microchip PIC32 class devices. Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../bindings/gpio/microchip,pic32-gpio.txt | 49 .../bindings/pinctrl/microchip,pic32-pinctrl.txt | 60

[PATCH v2 11/14] DEVICETREE: Add bindings for PIC32 SDHCI host controller

2015-12-14 Thread Joshua Henderson
From: Andrei Pistirica Document the devicetree bindings for the SDHCI peripheral found on Microchip PIC32 class devices. Signed-off-by: Andrei Pistirica Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../bindings/mmc/microchip,sdhci-pic32.txt | 29 1

[PATCH v2 06/14] MIPS: Add support for PIC32MZDA platform

2015-12-14 Thread Joshua Henderson
This adds support for the Microchip PIC32 MIPS microcontroller with the specific variant PIC32MZDA. PIC32MZDA is based on the MIPS m14KEc core and boots using device tree. This includes an early pin setup and early clock setup needed prior to device tree being initialized. In additon, an

[PATCH v2 02/14] irqchip: irq-pic32-evic: Add support for PIC32 interrupt controller

2015-12-14 Thread Joshua Henderson
From: Cristian Birsan This adds support for the interrupt controller present on PIC32 class devices. The following features are supported: - DT properties for EVIC and for devices that use interrupt lines - Persistent and non-persistent interrupt handling - irqdomain support Signed-off-by:

Re: [Qemu-devel] [Patch V2 1/2] x86, mce: Basic support to add LMCE support to QEMU

2015-12-14 Thread Borislav Petkov
On Mon, Dec 14, 2015 at 02:11:46PM -0500, Raj, Ashok wrote: > This is mostly harmless.. since the MCG_CAP space is shared and has no > conflict between vendors. Also just the CAP being set has no effect. Of course it does - we check SER_P in machine_check_poll() and when I emulate an AMD guest

[PATCH v2 03/14] DEVICETREE: Add PIC32 clock binding documentation

2015-12-14 Thread Joshua Henderson
From: Purna Chandra Mandal Document the devicetree bindings for the clock driver found on Microchip PIC32 class devices. Signed-off-by: Purna Chandra Mandal Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../devicetree/bindings/clock/microchip,pic32.txt | 256 1

[PATCH v2 05/14] DEVICETREE: Add bindings for PIC32/MZDA platforms

2015-12-14 Thread Joshua Henderson
This adds support for the Microchip PIC32 platform along with the specific variant PIC32MZDA on a PIC32MZDA Starter Kit. Signed-off-by: Joshua Henderson Cc: Ralf Baechle --- .../bindings/mips/pic32/microchip,pic32mzda.txt| 33 1 file changed, 33 insertions(+) create

Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2)

2015-12-14 Thread Andy Lutomirski
On Dec 13, 2015 11:52 PM, "Andrew Vagin" wrote: > > On Thu, Dec 03, 2015 at 03:20:30PM -0800, Andy Lutomirski wrote: > > On Tue, Nov 24, 2015 at 7:18 AM, Andrew Vagin wrote: > > > Hello Everybody, > > > > > > Sorry for the long delay. I wanted to resurrect this thread. > > > > > > Andy suggested

[PATCH v2 00/14] Initial Microchip PIC32MZDA Support

2015-12-14 Thread Joshua Henderson
This patch series adds support for the Microchip PIC32MZDA MIPS platform. All drivers required to boot from a MMC uSD card are included. Clock, external interrupt controller, serial, SDHCI, and pinctrl drivers are included. This has been tested on a PIC32MZDA Starter Kit. A tree with these changes

[PATCH RESEND 10/27] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-12-14 Thread K. Y. Srinivasan
From: Jake Oshins This defines the channel type for PCI front-ends in Hyper-V VMs. Signed-off-by: Jake Oshins Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c |3 +++ include/linux/hyperv.h| 11 +++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] kobject: Ensure child's resources get released before parent's resources

2015-12-14 Thread Rajat Jain
[Fixed the linux-pci mailing list address] On Mon, Dec 14, 2015 at 2:33 PM, Rajat Jain wrote: > On Mon, Dec 14, 2015 at 1:40 PM, Greg Kroah-Hartman > wrote: >> On Mon, Dec 14, 2015 at 11:02:46AM -0800, Rajat Jain wrote: >>> If the only remaining reference to a parent, is the one taken by >>>

Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding

2015-12-14 Thread Rob Herring
On Mon, Dec 14, 2015 at 10:41 AM, Andrew F. Davis wrote: > On 12/11/2015 03:48 PM, Linus Walleij wrote: >> >> On Fri, Dec 11, 2015 at 8:46 PM, Andrew F. Davis wrote: >> >>> Add binding for generic parallel-in/serial-out shift register devices >>> used as GPIO. >>> >>> Signed-off-by: Andrew F.

[PATCH RESEND 09/27] drivers:hv: Export the API to invoke a hypercall on Hyper-V

2015-12-14 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the function that hv_vmbus.ko uses to make hypercalls. This is necessary for retargeting an interrupt when it is given a new affinity. Since we are exporting this API, rename the API as it will be visible outside the hv.c file. Signed-off-by: Jake Oshins

[PATCH RESEND 08/27] drivers:hv: Export a function that maps Linux CPU num onto Hyper-V proc num

2015-12-14 Thread K. Y. Srinivasan
From: Jake Oshins This patch exposes the mapping between Linux CPU number and Hyper-V virtual processor number. This is necessary because the hypervisor needs to know which virtual processors to target when making a mapping in the Interrupt Redirection Table in the I/O MMU. Signed-off-by: Jake

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