Re: Linux 4.4.4 [regression]

2016-03-07 Thread Jörg-Volker Peetz
Greg KH wrote on 03/07/16 02:14: > On Sun, Mar 06, 2016 at 02:18:31PM +0100, Jörg-Volker Peetz wrote: >> Greg KH wrote on 03/05/16 18:41: >>> >>> Can you use 'git bisect' between 4.4.3 and 4.4.4 to track down the >>> offending patch? >>> >> >> It's one line of code that freezes X during start on

[PATCH 02/11] rxrpc: Do procfs lists through objcache

2016-03-07 Thread David Howells
Use the object cache primary hash to provide lists of RxRPC objects through /proc/net/ for all caches where desired. Each user of the cache just needs to provide a show function in its objcache struct and register the proc file with objcache_seq_fops as its file operations. Signed-off-by: David

[PATCH 01/11] rxrpc: Add a common object cache

2016-03-07 Thread David Howells
Add a common object cache implementation for RxRPC. This will be used to cache objects of various types (calls, connections, local and remote endpoint records). Each object that would be cached must contain an obj_node struct for the cache to use. The object's usage count and link pointers are

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Sergey Senozhatsky
On (03/07/16 11:52), Jan Kara wrote: [..] > So for UP systems, we should by default disable async printing anyway I > suppose. It is just a pointless overhead. So please just make printk_sync > default to true if !CONFIG_SMP. ok, thanks. > When IRQs are disabled, you're right we will have a

[PATCH 1/7] leds: 88pm860x: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove pm860x_led_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

Re: [PATCH 1/3] frv: remove stray pci_{alloc,free}_consistent declaration

2016-03-07 Thread David Howells
Acked-by: David Howells

Re: [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Boris Brezillon
Hi Vinod, On Mon, 7 Mar 2016 20:24:29 +0530 Vinod Koul wrote: > On Mon, Mar 07, 2016 at 10:59:31AM +0100, Boris Brezillon wrote: > > +/* Dedicated DMA parameter register layout */ > > +#define SUN4I_DDMA_PARA_DST_DATA_BLK_SIZE(n) (((n) - 1) << 24) > > +#define

Re: [PART1 RFC v2 06/10] svm: Add interrupt injection via AVIC

2016-03-07 Thread Paolo Bonzini
On 04/03/2016 21:46, Suravee Suthikulpanit wrote: > +static void svm_deliver_avic_intr(struct kvm_vcpu *vcpu, int vec) > +{ > + struct vcpu_svm *svm = to_svm(vcpu); > + > + kvm_lapic_set_vector(vec, avic_get_bk_page_entry(svm, APIC_IRR)); > + > + if (vcpu->mode == IN_GUEST_MODE) { >

Tool for sampling /proc/net/softnet_stat statistics

2016-03-07 Thread Jesper Dangaard Brouer
Hi Google, While playing with RPS, I needed to read stats from /proc/net/softnet_stat and the tools I could find [1] and [2] was not very good. I lack of better, I coded up my own tool softnet_stat.pl here: https://github.com/netoptimizer/network-testing/blob/master/bin/softnet_stat.pl The

Re: [PATCH v7 2/2] perf/x86/amd/power: Add AMD accumulated power reporting mechanism

2016-03-07 Thread Thomas Gleixner
On Mon, 7 Mar 2016, Huang Rui wrote: > > Suggested-by: Peter Zijlstra > Suggested-by: Ingo Molnar > Suggested-by: Borislav Petkov > Signed-off-by: Huang Rui > Cc: Guenter Roeck Reviewed-by: Thomas

Re: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Rafael J. Wysocki
On Mon, Mar 7, 2016 at 3:50 AM, Chen Yu wrote: > The problem is Linux registers pm_power_off = efi_power_off > only if we are in hardware reduced mode. Actually, what we also > want is to do this when ACPI S5 is simply not supported on > non-legacy platforms. That should

Re: [RFC V4 PATCH] trace: writeback: replace cgroup path to cgroup ino

2016-03-07 Thread Steven Rostedt
On Sun, 6 Mar 2016 19:32:26 -0800 "Shi, Yang" wrote: > Hi Steven, > > Any comment on this one? I'm supposed it will be taken by your tracing tree? > Usually trace events go in through their subsystem, but since this one only touches the include/trace/events/ directory, I

Re: deadlock during fuseblk shutdown

2016-03-07 Thread Dmitry Vyukov
On Mon, Mar 7, 2016 at 3:32 PM, Miklos Szeredi wrote: > On Sun, Dec 6, 2015 at 10:04 AM, Dmitry Vyukov wrote: >> On Fri, Nov 20, 2015 at 4:01 PM, Dmitry Vyukov wrote: >>> Hello, >>> >>> I've hit the following deadlock on >>>

Re: [PATCH] mm: remove __GFP_NOFAIL is deprecated comment

2016-03-07 Thread Vlastimil Babka
On 02/25/2016 02:48 PM, Michal Hocko wrote: On Thu 25-02-16 13:36:11, Nikolay Borisov wrote: - if (unlikely(gfp_flags & __GFP_NOFAIL)) { - /* -* __GFP_NOFAIL is not to be used in new code. -* -

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/05/2016 09:07 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 2 Mar 2016 13:39:37 -0700 In this first implementation I am enabling ADI for hugepages only since these pages are locked in memory and hence avoid the issue of

[PATCH v3 12/14] i2c-octeon: Split the driver into two parts

2016-03-07 Thread Jan Glauber
Move common functionality into a separate file in preparation of the re-use from the ThunderX i2c driver. Use a broken_irq_check flag to avoid including the OCTEON_IS_MODEL test in the shared part. Signed-off-by: Jan Glauber --- drivers/i2c/busses/Makefile |1

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Sergey Senozhatsky
On (03/07/16 13:16), Jan Kara wrote: [..] > > So for UP systems, we should by default disable async printing anyway I > > suppose. It is just a pointless overhead. So please just make printk_sync > > default to true if !CONFIG_SMP. > > > > When IRQs are disabled, you're right we will have a

[PATCH v3 10/14] i2c-octeon: Faster operation when IFLG signals late

2016-03-07 Thread Jan Glauber
From: Peter Swain Some versions can deliver low-level twsi irq before twsi_ctl.iflg is set, leading to timeout-driven i/o. When an irq signals event, but woken task does not see the expected twsi_ctl.iflg, re-check about 80uS later. EEPROM reads on 100kHz i2c now measure

[PATCH v3 13/14] i2c-thunderx: Add i2c driver for ThunderX SOC

2016-03-07 Thread Jan Glauber
The ThunderX SOC uses the same i2c block as the Octeon SOC. The main difference is that on ThunderX the device is a PCI device so device probing is done via PCI, interrupts are MSIX and the clock is taken from device tree. Signed-off-by: Jan Glauber ---

[PATCH v3 14/14] i2c-thunderx: Add smbus support

2016-03-07 Thread Jan Glauber
Add smbus alert interrupt support. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-cavium.h| 5 + drivers/i2c/busses/i2c-thunderx-core.c | 35 ++ 2 files changed, 40 insertions(+) diff --git

Re: [linux-sunxi] [PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Priit Laes
On Mon, 2016-03-07 at 10:59 +0100, Boris Brezillon wrote: > Some drivers might need to tweak the block size and wait cycles > values > to get better performances. > Create and export the sun4i_dma_set_chan_config() to do that. > > Signed-off-by: Boris Brezillon

Re: [PATCH V14 8/9] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-07 Thread Sinan Kaya
On 3/6/2016 11:09 PM, Eric Auger wrote: >> #define module_vfio_reset_handler(compat, acpihid, reset)\ >> > MODULE_ALIAS("vfio-reset:" acpihid? acpihid: compat); >> > \ >> > >> > This way, we'll create an alias with one of the provided strings. > What if you

[PATCH v7 1/4] Documentation: bindings: add description of phy for sdhci-of-arasan

2016-03-07 Thread Shawn Lin
This patch adds phys and phy-names for sdhci-of-arasan as required properties for arasan,sdhci-5.1, and details the example as well. Signed-off-by: Shawn Lin Acked-by: Rob Herring --- Changes in v6: - add Rob's Acked-by tag Changes in v2: - Keep phy

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Khalid Aziz
On 03/07/2016 08:30 AM, Rob Gardner wrote: On 03/07/2016 07:07 AM, Khalid Aziz wrote: On 03/05/2016 09:07 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 2 Mar 2016 13:39:37 -0700 In this first implementation I am enabling ADI for hugepages only

Re: Softirq priority inversion from "softirq: reduce latencies"

2016-03-07 Thread Sebastian Andrzej Siewior
On 02/27/2016 07:19 PM, Peter Hurley wrote: > Hi Eric, Hi Peter, > Because both the uart driver (omap8250) and the dmaengine driver > (edma) were (relatively) new, we assumed there was some race between > starting a new rx DMA and processing the previous one. Now after digesting the whole

Re: [PATCH v2 6/10] cpufreq: Support for fast frequency switching

2016-03-07 Thread Peter Zijlstra
On Mon, Mar 07, 2016 at 02:15:47PM +0100, Rafael J. Wysocki wrote: > On Mon, Mar 7, 2016 at 9:00 AM, Peter Zijlstra wrote: > > Sure I know all that. But that, to me, seems like an argument for why > > you should have done this a long time ago. > > While I generally agree

Re: [RFT 1/2] [media] exynos4-is: Add missing endpoint of_node_put on error paths

2016-03-07 Thread Javier Martinez Canillas
Hello Krzysztof, On 01/25/2016 09:41 PM, Krzysztof Kozlowski wrote: > In fimc_md_parse_port_node() endpoint node is get with of_get_next_child() > but it is not put on error path. > > Fixes: 56fa1a6a6a7d ("[media] s5p-fimc: Change the driver directory name to > exynos4-is") > Signed-off-by:

[PATCH 3/9] KVM: MMU: use kvm_sync_page in kvm_sync_pages

2016-03-07 Thread Paolo Bonzini
If the last argument is true, kvm_unlink_unsync_page is called anyway in __kvm_sync_page (either by kvm_mmu_prepare_zap_page or by __kvm_sync_page itself). Therefore, kvm_sync_pages can just call kvm_sync_page, instead of going through kvm_unlink_unsync_page+__kvm_sync_page. Signed-off-by: Paolo

[PATCH 1/9] KVM: MMU: introduce kvm_mmu_flush_or_zap

2016-03-07 Thread Paolo Bonzini
This is a generalization of mmu_pte_write_flush_tlb, that also takes care of calling kvm_mmu_commit_zap_page. The next patches will introduce more uses. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/mmu.c | 19 ++- 1 file changed, 10 insertions(+), 9

[PATCH v2 0/9] cleanup around kvm_sync_page, and a few micro-optimizations

2016-03-07 Thread Paolo Bonzini
Having committed the ubsan fixes, this are the cleanups that are left. Compared to v1, I have fixed the patch to coalesce page zapping after mmu_sync_children (as requested by Takuya and Guangrong), and I have rewritten is_last_gpte again in an even simpler way. Paolo Paolo Bonzini (9): KVM:

[PATCH v2 0/9] cleanup around kvm_sync_page, and a few micro-optimizations

2016-03-07 Thread Paolo Bonzini
Having committed the ubsan fixes, this are the cleanups that are left. Compared to v1, I have fixed the patch to coalesce page zapping after mmu_sync_children (as requested by Takuya and Guangrong), and I have rewritten is_last_gpte again in an even simpler way. Paolo Paolo Bonzini (9): KVM:

Re: deadlock during fuseblk shutdown

2016-03-07 Thread Miklos Szeredi
On Sun, Dec 6, 2015 at 10:04 AM, Dmitry Vyukov wrote: > On Fri, Nov 20, 2015 at 4:01 PM, Dmitry Vyukov wrote: >> Hello, >> >> I've hit the following deadlock on >> 8005c49d9aea74d382f474ce11afbbc7d7130bec (Nov 15). >> I know that fuse docs warn about

[PATCH v3 6/7] perf hists browser: Use hierarchy hpp list

2016-03-07 Thread Namhyung Kim
Now hpp formats are linked using perf_hpp_list_node when hierarchy is enabled. Like in stdio, use this info to print entries with multiple sort keys in a single hierarchy properly. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 81

[PATCH v3 5/7] perf report: Use hierarchy hpp list on stdio

2016-03-07 Thread Namhyung Kim
Now hpp formats are linked using perf_hpp_list_node when hierarchy is enabled. Use this info to print entries with multiple sort keys in a single hierarchy properly. For example, the below example shows using 4 sort keys with 2 levels. $ perf report --hierarchy -s

[PATCH v3 7/7] perf report: Use hierarchy hpp list on gtk

2016-03-07 Thread Namhyung Kim
Now hpp formats are linked using perf_hpp_list_node when hierarchy is enabled. Like in stdio, use this info to print entries with multiple sort keys in a single hierarchy properly. Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 55

[PATCH v3 4/7] perf tools: Fix indent for multiple hierarchy sort key

2016-03-07 Thread Namhyung Kim
When multiple sort keys are used in a single hierarchy, it should indent using number of hierarchy levels instead of number of sort keys. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 23 ++- tools/perf/ui/hist.c | 1 +

Re: Kernel WARNING via bochsdrmfb mmap

2016-03-07 Thread Jiri Slaby
On 03/07/2016, 03:30 PM, Takashi Iwai wrote: > Hi, > > Jiri Slaby reported a kernel WARNING triggered by syzkaller. It can > be reliably reproduced via fbdev mmap access on bochs drm. The > warning looks like below: > > WARNING: CPU: 3 PID: 29356 at ../drivers/gpu/drm/ttm/ttm_bo_vm.c:265 >

[PATCH v3 07/14] dt-bindings: i2c: Add Octeon cn78xx TWSI

2016-03-07 Thread Jan Glauber
Add compatible string for Cavium Octeon cn78XX SOCs TWSI. Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Jan Glauber

[PATCH v3 01/14] i2c-octeon: Cleanup kerneldoc comments

2016-03-07 Thread Jan Glauber
Remove point after parameter description and replace kerneldoc by a comment if it has no additional no value. Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 89 ++--- 1 file changed, 39 insertions(+), 50 deletions(-)

[PATCH v3 09/14] i2c-octeon: Flush TWSI writes with readback

2016-03-07 Thread Jan Glauber
From: Peter Swain Signed-off-by: Peter Swain Signed-off-by: Jan Glauber Acked-by: David Daney --- drivers/i2c/busses/i2c-octeon.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-)

[PATCH v3 06/14] i2c-octeon: Enable high-level controller and improve on bus contention

2016-03-07 Thread Jan Glauber
From: David Daney Use High Level Controller when possible. Extend octeon_i2c_write_sw() to expose the full 32bit data field. Extend octeon_i2c_read_sw() to provide 8bit & 64bit versions, allowing verification that the correct SW_TWSI sub-register is being read, unlike

[PATCH v3 00/14] i2c-octeon and i2c-thunderx drivers

2016-03-07 Thread Jan Glauber
This series for the Octeon i2c driver is an attempt to upstream some bug fixes and features that accumulated for some time. On top of the Octeon changes a i2c driver for the ThunderX SOC is added which uses the same functional block as the Octeon driver. Patches #1-3 are cleanups. Patches #4-11

[PATCH v3 08/14] i2c-octeon: Add support for cn78XX chips

2016-03-07 Thread Jan Glauber
From: David Daney cn78XX has a different interrupt architecture, so we have to manage the interrupts differently. Signed-off-by: David Daney Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 149

[PATCH v2 05/10] ARM: DTS: dra72-evm: Enable AFIFO use for McASP3

2016-03-07 Thread Peter Ujfalusi
Since we switched to use eDMA we can now safely enable the FIFO in McASP. This will reduce the chance of McASP level under/overflow. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/dra72-evm.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v2 06/10] ARM: DTS: am57xx-beagle-x15: Move clkout2 source selection to codec node

2016-03-07 Thread Peter Ujfalusi
The assigned-clock* needs to be in the root of the device's node. If it is in the sub-node the CCF will ignore it. Since the clkout2 is used by the codec as MCLK, move the clock parent selection to that node. Signed-off-by: Peter Ujfalusi ---

[patch added to 3.12-stable] libata: Align ata_device's id on a cacheline

2016-03-07 Thread Jiri Slaby
From: Harvey Hunt This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 4ee34ea3a12396f35b26d90a094c75db95080baa upstream. The id buffer in ata_device is a DMA target, but it isn't explicitly cacheline

Re: [PATCH v2 6/10] cpufreq: Support for fast frequency switching

2016-03-07 Thread Rafael J. Wysocki
On Mon, Mar 7, 2016 at 2:32 PM, Peter Zijlstra wrote: > On Mon, Mar 07, 2016 at 02:15:47PM +0100, Rafael J. Wysocki wrote: >> On Mon, Mar 7, 2016 at 9:00 AM, Peter Zijlstra wrote: > >> > Sure I know all that. But that, to me, seems like an argument for

Re: [PATCH v6 2/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2016-03-07 Thread Adrian Hunter
On 07/03/16 14:48, Shawn Lin wrote: > 在 2016/3/7 20:07, Adrian Hunter 写道: >> On 05/03/16 04:24, Shawn Lin wrote: >>> This patch adds Generic PHY access for sdhci-of-arasan. Driver >>> can get PHY handler from dt-binding, and power-on/init the PHY. >>> Currently, it's just mandatory for

Re: [PATCH v2 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-07 Thread Namhyung Kim
On Fri, Mar 04, 2016 at 06:58:22PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 04, 2016 at 11:59:36PM +0900, Namhyung Kim escreveu: > > The perf_hpp__setup_hists_formats() is to build hists-specific output > > formats (and sort keys). Currently it's only used in order to build the > >

[PATCH v3 3/7] perf tools: Support multiple sort keys in a hierarchy level

2016-03-07 Thread Namhyung Kim
This implements having multiple sort keys in a single hierarchy level. Originally only single sort key is supported for each level, but now using the group syntax with '{ }', it can set more than one sort key in one level. Note that now it needs to quote in order to prevent shell interpretation.

[PATCH 03/11] rxrpc: Separate local endpoint object handling out into its own file

2016-03-07 Thread David Howells
Separate local endpoint object handling out into its own file preparatory to overhauling it to use the new object cache. The original file is then be used exclusively for the local endpoint packet and event handling. Signed-off-by: David Howells --- net/rxrpc/Makefile

[PATCH v2] perf subcmd: Bugfix more exactly handle the error about 'PARSE_OPT_EXCLUSIVE'

2016-03-07 Thread Taeung Song
perf-probe have two options '--list' and '--func'. This options have a option flag 'PARSE_OPT_EXCLUSIVE'. But when that kind of this options are used at same time, handling this error has latent problem. (Even though there isn't any problem at this point in time e.g) # perf probe --list

[PATCH v2 03/10] ARM: DTS: dra7: Use eDMA and add DAT port address for McASP3

2016-03-07 Thread Peter Ujfalusi
From: Misael Lopez Cruz McASP3 does not support constant addressing mode on the DAT port, so increment transfers must be used instead. This restriction is also applicable for McASP1 and McASP2. This DMA addressing constraint poses a major problem for sDMA where constant

[PATCH v2 02/10] ARM: DTS: dra7: Enable eDMA

2016-03-07 Thread Peter Ujfalusi
DRA7 family has eDMA available along with the sDMA and in some cases it is better suited for servicing peripherals. Add the needed nodes for eDMA to be usable: edma-tpcc, edma-tptc0/1 and the edma-xbar. Signed-off-by: Peter Ujfalusi --- arch/arm/boot/dts/dra7.dtsi | 48

Re: [PART1 RFC v2 09/10] svm: Do not intercept CR8 when enable AVIC

2016-03-07 Thread Paolo Bonzini
On 04/03/2016 21:46, Suravee Suthikulpanit wrote: > + > + /* Do not do cr8 intercept if AVIC is enabled. */ No need for this comment. > + svm_x86_ops.update_cr8_intercept = NULL; > } else { > svm_x86_ops.deliver_posted_interrupt = NULL; > } >

[PATCH v7 0/4] Add phy support for arasan,sdhci-5.1

2016-03-07 Thread Shawn Lin
Phy is mandatory requirement for arasan,sdhci-5.1, so we introduce generic phy support for sdhci-of-arasan. This version is rebased on Ulf's next to make it applied cleanly. Also, we fix some preexisting problems of err handling suggested by Adrian. Changes in v7: - split two changes into

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Tejun Heo
Hello, On Tue, Mar 08, 2016 at 12:10:47AM +0900, Sergey Senozhatsky wrote: > A new version. Switched to [printk] kthread. There are some benefits to using a percpu workqueue with CPU_INTENSIVE set or an unbound workqueue. It'd need WQ_RESCUER so it'd still create a dedicated thread which is

RE: [PATCH][RFC v3] ACPI / PM: Fix poweroff issue on HW-full platforms without _S5

2016-03-07 Thread Chen, Yu C
Hi Rafael, (resend for broken content) > -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Monday, March 07, 2016 9:19 PM > To: Chen, Yu C > Cc: ACPI Devel Maling List; x...@kernel.org; linux-...@vger.kernel.org; Linux >

[PATCH] ARM: mm: fix address check in change_memory_common()

2016-03-07 Thread Dmitry Vasilyanov
The (start >= MODULES_END) is checked twice. The second check has no sense. Clearly, the intention was: (end >= MODULE_CHECK). Seems to be a typo, so this patch fixes it. --- arch/arm/mm/pageattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mm/pageattr.c

[PATCH] Do not modify perf bias performance setting by default at boot

2016-03-07 Thread Thomas Renninger
It came out that on certain CPUs perf bias MSR has to be set to performance, so that the CPU enters turbo states at all. Better do not try to wrongly adjust perf bias value, its value probably is intended by BIOS. This is a revert of mainline git commits: commit

Re: [PATCH 29/41] clk: max77{686,802}: Remove CLK_IS_ROOT

2016-03-07 Thread Javier Martinez Canillas
Hello Stephen, On 03/01/2016 04:00 PM, Stephen Boyd wrote: > This flag is a no-op now. Remove usage of the flag. > Doing some search I found the patch that makes the flag to be a no-op: https://lkml.org/lkml/2016/2/2/1037. It would had been nice though to have that information somewhere in the

Re: [PATCH v3 0/2] arm64/efi: query Secure Boot status according to UEFI spec

2016-03-07 Thread Matt Fleming
On Thu, 03 Mar, at 02:45:48PM, Linn Crosetto wrote: > This series modifies the function that queries the status of UEFI Secure Boot > in the EFI stub to match the UEFI specification, and allow the caller to > determine if it is enabled, disabled, or in an unknown state due to an > unexpected error

[PATCH 5/9] KVM: MMU: invert return value of mmu.sync_page and *kvm_sync_page*

2016-03-07 Thread Paolo Bonzini
Return true if the page was synced (and the TLB must be flushed) and false if the page was zapped. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/mmu.c | 31 ++- arch/x86/kvm/paging_tmpl.h | 4 ++-- 2 files changed, 16 insertions(+), 19

[PATCH v2 0/2] iio: add support for signed conversions

2016-03-07 Thread Ludovic Desroches
Hi Jonathan, I hope these patches are in adequacy with your comments. They are based on the the previous two patches you have taken. I am not sure about the correctness of the documentation. Ludovic Desroches (2): iio: core: introduce IIO_CHAN_INFO_SIGNED iio:adc:at91-sama5d2: add support

[PATCH v2 1/2] iio: core: introduce IIO_CHAN_INFO_SIGNED

2016-03-07 Thread Ludovic Desroches
The same channel can be used to perform a signed or an unsigned conversion. Add a new infomask element to be able to select the type of conversion wanted: a raw one or a signed raw one. Signed-off-by: Ludovic Desroches --- Documentation/ABI/testing/sysfs-bus-iio |

Kernel WARNING via bochsdrmfb mmap

2016-03-07 Thread Takashi Iwai
Hi, Jiri Slaby reported a kernel WARNING triggered by syzkaller. It can be reliably reproduced via fbdev mmap access on bochs drm. The warning looks like below: WARNING: CPU: 3 PID: 29356 at ../drivers/gpu/drm/ttm/ttm_bo_vm.c:265 ttm_bo_vm_open+0x11a/0x180 [ttm]() Modules linked in: ...

[PATCH v3 2/7] perf tools: Use own hpp_list for hierarchy mode

2016-03-07 Thread Namhyung Kim
Now each hists has its own hpp lists in hierarchy. So instead of having a pointer to a single perf_hpp_fmt in a hist entry, make it point the hpp_list for its level. This will be used to support multiple sort keys in a single hierarchy level. Signed-off-by: Namhyung Kim

[PATCHSET 0/7] perf tools: Support multiple keys in a single hierarchy level (v3)

2016-03-07 Thread Namhyung Kim
Hello, This implements what Arnaldo suggested in previous discussion of hierarchy patchset [1]. Originally each level in a hierarchy can have a single sort key in it, but with this patches it's possible to have more than one sort keys using a syntax similar to event grouping. I added the struct

Re: [PATCH 1/3] crypto: authenc - add TLS type encryption

2016-03-07 Thread Tadeusz Struk
Hi Cristian, On 03/07/2016 01:05 AM, Cristian Stoica wrote: > Hi Tadeusz, > > > +static int crypto_encauth_dgst_verify(struct aead_request *req, > + unsigned int flags) > +{ > + struct crypto_aead *tfm = crypto_aead_reqtfm(req); > + unsigned int

[PATCH v3 1/7] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-07 Thread Namhyung Kim
The perf_hpp__setup_hists_formats() is to build hists-specific output formats (and sort keys). Currently it's only used in order to build the output format in a hierarchy with same sort keys, but it could be used with different sort keys in non-hierarchy mode later. Signed-off-by: Namhyung Kim

Re: [TRIVIAL PATCH] treewide: Remove unnecessary 0x prefixes before %pa extension uses

2016-03-07 Thread Vinod Koul
On Fri, Mar 04, 2016 at 11:46:32PM -0800, Joe Perches wrote: > Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code > to special_hex_number()") %pa uses have been ouput with a 0x prefix. > > These 0x prefixes in the formats are unnecessary. > For this: >

[PATCH] rtc: ds1685: actually spin forever in poweroff error path

2016-03-07 Thread Josh Poimboeuf
objtool reports the following warnings: drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x0: duplicate frame pointer save drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_work_queue()+0x3: duplicate frame pointer setup drivers/rtc/rtc-ds1685.o: warning: objtool:

Re: [ceph] what's going on with d_rehash() in splice_dentry()?

2016-03-07 Thread Al Viro
On Mon, Mar 07, 2016 at 06:25:13AM -0500, Sage Weil wrote: > That looks okay, but changing d_rehash to d_add still means you're doing > te d_instantiate(dn, NULL) in the d_unhashed case; is there a reason you > changed that line? Is the dentry_rcuwalk_invalidate in __d_instantiate is >

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-07 Thread Toshi Kani
On Sun, 2016-03-06 at 19:35 -0500, Paul Gortmaker wrote: > [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is > disabled"] On 04/03/2016 (Fri 15:12) Toshi Kani wrote: > > > On Fri, 2016-03-04 at 13:37 -0500, Paul Gortmaker wrote: > > > [Re: runtime regression with "x86/mm/pat:

Re: [PATCH v2] locktorture: Fix NULL pointer when torture_type is invalid

2016-03-07 Thread Paul E. McKenney
On Mon, Mar 07, 2016 at 03:02:05PM +0800, Kefeng Wang wrote: > > > On 2016/3/7 13:40, Davidlohr Bueso wrote: > > On Mon, 07 Mar 2016, Kefeng Wang wrote: > >> On 2016/3/3 16:36, Davidlohr Bueso wrote: > > > >>> +/* > >>> + * Indicates early cleanup, meaning that the test has not run, >

Re: Question about percpu_free_rwsem function

2016-03-07 Thread Paul E. McKenney
On Mon, Mar 07, 2016 at 03:28:11AM +, Daeho Jeong wrote: > Hi, > > I got a trouble while I am developing a patch for EXT4 filesytem. > Actually, I used a percpu rw semaphore in my patch and there was no > problem when I built EXT4 filesystem as built-in mode. However, when > kbuild auto build

[PATCH v7 4/4] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2016-03-07 Thread Shawn Lin
This patch adds Generic PHY access for sdhci-of-arasan. Driver can get PHY handler from dt-binding, and power-on/init the PHY. Currently, it's just mandatory for arasan,sdhci-5.1. Signed-off-by: Shawn Lin --- Changes in v7: None Changes in v6: None Changes in v5: None

[PATCH v7 3/4] mmc: sdhci-of-arasan: fix missing sdhci_pltfm_free for err handling

2016-03-07 Thread Shawn Lin
Currently, some err handling of sdhci_arasan_probe return directly without calling sdhci_pltfm_free. This patch fixes them. Signed-off-by: Shawn Lin --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume

2016-03-07 Thread Shawn Lin
We don't really need disable clk_ahb when failing to resume. Otherwise we may take risk of bus error for accessing register without clk_ahb. Signed-off-by: Shawn Lin --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

Re: [PATCH RESEND v2 11/18] fs: Ensure the mounter of a filesystem is privileged towards its inodes

2016-03-07 Thread Seth Forshee
On Sun, Mar 06, 2016 at 04:07:49PM -0600, Eric W. Biederman wrote: > Seth Forshee writes: > > > On Fri, Mar 04, 2016 at 04:43:06PM -0600, Eric W. Biederman wrote: > >> Seth Forshee writes: > >> > >> > On Mon, Jan 04, 2016 at 12:03:50PM

Re: [PATCH v3 1/2] ARM: at91/dt: shdwc binding: add new shutdown controller documentation

2016-03-07 Thread Nicolas Ferre
Le 03/10/2015 19:02, Alexandre Belloni a écrit : > On 30/09/2015 at 18:22:00 +0200, Nicolas Ferre wrote : >> +SHDWC Shutdown Controller (Alternative) >> + >> +1) shdwc node >> + >> +required properties: >> +- compatible: should be "atmel,sama5d2-shdwc". >> +- reg: should contain registers location

Re: [PATCHv2] perf tools: Pass perf_hpp_list all the way through setup_sort_list

2016-03-07 Thread Arnaldo Carvalho de Melo
Em Sun, Mar 06, 2016 at 08:21:52PM +0100, Jiri Olsa escreveu: > On Mon, Jan 18, 2016 at 10:24:15AM +0100, Jiri Olsa wrote: > > Passing perf_hpp_list all the way through setup_sort_list > > so the sort entry could be added on the arbitrary list. > > > > looks like this one got forgotten.. >

[PATCH] EDAC, sb_edac: Fixed logic error in sb_edac driver

2016-03-07 Thread Hubert Chrzaniuk
Patch corrects a typo introduced previously. As a result under some configurations dimms were not correctly recognized. Problem affects only Xeon Phi architecture. Signed-off-by: Hubert Chrzaniuk --- drivers/edac/sb_edac.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 11/11] rxrpc: Rename rxrpc_UDP_error_report() to rxrpc_error_report()

2016-03-07 Thread David Howells
Rename rxrpc_UDP_error_report() to rxrpc_error_report() as it might get called for something other than UDP. Signed-off-by: David Howells --- net/rxrpc/ar-internal.h |2 +- net/rxrpc/local-object.c |2 +- net/rxrpc/peer-event.c |2 +- 3 files changed, 3

[PATCH 07/11] rxrpc: Rename ar-peer.c to peer-object.c

2016-03-07 Thread David Howells
Rename ar-peer.c to peer-object.c for consistency (to be) with the other new object cache management files. It will be modified in a later commit. Signed-off-by: David Howells --- net/rxrpc/Makefile |4 - net/rxrpc/ar-internal.h | 16 +- net/rxrpc/ar-peer.c

Re: [PATCH] tools/perf: Document perf-stat's --detailed option

2016-03-07 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 07, 2016 at 11:41:34AM +0100, Borislav Petkov escreveu: > From: Borislav Petkov > > I'm surprised this remained undocumented since at least 2011. And it is > actually a very useful switch, as Steve and I came to realize recently. > > Add the text from > >

[PATCH 08/11] rxrpc: Implement peer endpoint cache

2016-03-07 Thread David Howells
Implement the peer RxRPC endpoint cache. Only the primary cache is used. This is indexed on the following details: - Network transport family - currently only AF_INET. - Network transport type - currently only UDP. - Peer network transport address. We use the RCU read lock to handle

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Sergey Senozhatsky
On (03/07/16 20:10), Tetsuo Handa wrote: [..] > > > > hm. yes, seems that it may take some time until workqueue wakeup() a > > > > ->rescuer thread. > > > > need to look more. > > > > > > Yes, it takes some time (0.1s or 2 jiffies) before workqueue code gives up > > > creating a worker process

[PATCH 00/11] RxRPC: Rewrite part 2

2016-03-07 Thread David Howells
http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite Tagged thusly: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git rxrpc-rewrite-20160307 This is based on net-next/master David --- David Howells (11): rxrpc: Add a

[PATCH 05/11] rxrpc: procfs file to list local endpoints

2016-03-07 Thread David Howells
Add a proc file to list local rxrpc endpoints using the object cache facility to do much of the work. Signed-off-by: David Howells --- net/rxrpc/af_rxrpc.c |3 +++ net/rxrpc/local-object.c | 29 + 2 files changed, 32 insertions(+)

[PATCH 2/7] leds: lp8788: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove lp8788_led_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

[PATCH 6/7] leds: max8997: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove max8997_led_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

[PATCH 5/7] leds: da903x: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove da903x_led_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

[PATCH 3/7] leds: wm381x-status: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove wm831x_status_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

[PATCH 7/7] leds: lm3533: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. To be compatible with this change, remove an unnecessary label by replacing it with direct return statement. The Coccinelle semantic patch used to make

[PATCH 0/7] leds: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. The Coccinelle semantic patch used to make this change is as follows: // @platform@ identifier p, probefn, removefn; @@ struct platform_driver p = {

[PATCH 4/7] leds: s3c24xx: Use devm_led_classdev_register

2016-03-07 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove s3c24xx_led_remove as it is now has nothing to do. The Coccinelle semantic patch used to make this change is as follows: // @platform@

Re: [PATCH 2/4 v2] drm: Add DT bindings documentation for ARC PGU display controller

2016-03-07 Thread Alexey Brodkin
Hi Rob, On Fri, 2016-03-04 at 22:30 -0600, Rob Herring wrote: > On Thu, Mar 03, 2016 at 05:39:14PM +0300, Alexey Brodkin wrote: > > > > This add DT bindings documentation for ARC PGU display controller. > > > > Signed-off-by: Alexey Brodkin > > Cc: Rob Herring

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-07 Thread Li, Liang Z
> Cc: Roman Kagan; Dr. David Alan Gilbert; ehabk...@redhat.com; > k...@vger.kernel.org; quint...@redhat.com; linux-kernel@vger.kernel.org; > qemu-de...@nongnu.org; linux...@kvack.org; amit.s...@redhat.com; > pbonz...@redhat.com; a...@linux-foundation.org; >

[PATCH v3 02/14] i2c-octeon: Cleanup i2c-octeon driver

2016-03-07 Thread Jan Glauber
Cleanup only without functional change. - Removed DRV_VERSION - use BIT_ULL macro - use defines instead of plain values - rename waitqueue return value to time_left - prefix TWSI_INT defines - sort local variables by length - fix indentation and whitespace errors - make function return void if

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