Re: [PATCH v2] Documentation: devicetree: Clean up gpio-keys example

2016-03-19 Thread Julien Chauveau
> Le 16 mars 2016 à 15:47, Javier Martinez Canillas a > écrit : > > Hello Andreas, > > On Wed, Mar 16, 2016 at 8:53 AM, Andreas Färber wrote: >> Drop #address-cells and #size-cells, which are not required by the >> gpio-keys binding documentation, as button sub-nodes are not devices. >> >> R

Re: [PATCH v2 06/18] dt-bindings: Add Oxford Semiconductors to vendor prefixes

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:24:08AM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Acked-by: Rob Herring

Re: linux-next: Tree for Feb 24

2016-03-19 Thread Sedat Dilek
On Wed, Feb 24, 2016 at 3:37 PM, Benjamin LaHaise wrote: > On Wed, Feb 24, 2016 at 07:32:17AM +0100, Sedat Dilek wrote: >> On Wed, Feb 24, 2016 at 6:34 AM, Stephen Rothwell >> wrote: >> > Hi all, >> > >> > Changes since 20160223: >> > >> ... >> > The aio tree still had a build failure so I used

[PATCH 3.19.y-ckt 30/70] ALSA: hdspm: Fix wrong boolean ctl value accesses

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 537e48136295c5860a92138c5ea3959b9542868b upstream. snd-hdspm driver accesses enum item values (int) instead of boo

Re: [PATCH] arm64: dma-mapping: fix dma_to_phys API for IOMMU attached devices

2016-03-19 Thread Robin Murphy
On 17/03/16 15:50, Sinan Kaya wrote: This patch modifies dma_to_phys to call iommu_iova_to_phys to perform dma to phys conversions for IOMMU attached devices where dma and physical addresses often have distinct values. What's this for? dma_to_phys() is only used by SWIOTLB, and that's mutually

[git pull] FireWire (IEEE 1394) updates post v4.5

2016-03-19 Thread Stefan Richter
Linus, please pull from the tag "firewire-updates" at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-updates to receive the following IEEE 1394 subsystem patches: - move away from outmoded timekeeping API, - error reporting fix, - documentation bits. Am

Re: linux-next: manual merge of the tip tree with the drm tree

2016-03-19 Thread Dave Hansen
On 03/17/2016 02:00 AM, Arnd Bergmann wrote: > On Thursday 17 March 2016 13:00:29 Stephen Rothwell wrote: >> > - r = get_user_pages(current, current->mm, userptr, >> > num_pages, >> > - write, 0, p, NULL); >> > + r = get_user_pages(userp

[PATCH v5 2/2] i2c: rk3x: add i2c support for rk3399 soc

2016-03-19 Thread David Wu
From: David Wu - new method to caculate i2c timings for rk3399: There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the rule(.875x) isn't enough to meet

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-19 Thread Leon Romanovsky
On Wed, Mar 16, 2016 at 11:36:38AM +0100, Jiri Pirko wrote: > >so, I continue to have it. > > I will continue to bash on your odd codingstyle. Please fix it! Jiri, Checkpatch errors is an easiest issue with this patch. It is full of functions without use, unconnected macros and if you replace "

Re: [PATCH] net: phy: at803x: don't depend on GPIOLIB

2016-03-19 Thread Mason
[ CCing a few devs who might be interested ] On 16/03/2016 18:25, Sebastian Frias wrote: > Commit 687908c2b649 ("net: phy: at803x: simplify using > devm_gpiod_get_optional and its 4th argument") introduced a dependency > on GPIOLIB that was not there before. > > This commit removes such dependen

[patch] drm/tegra: fixup error handling in tegra_dc_init()

2016-03-19 Thread Dan Carpenter
1) There was a chance that "cursor" or "primary" were error pointers leading to an oops. 2) The error handling wasn't very complete. When I started working on this, the one err label style error handling became unwieldy so I just re-wrote it with multiple exit labels. Signed-off-by: Dan Car

[PATCH 1/5] mm: memcontrol: Remove redundant hot plug notifier test.

2016-03-19 Thread Richard Cochran
The test for ONLINE is redundant because the following test for !DEAD already includes the online case. This patch removes the superfluous code. Cc: Johannes Weiner Cc: Michal Hocko Cc: Vladimir Davydov Cc: cgro...@vger.kernel.org Cc: linux...@kvack.org Signed-off-by: Richard Cochran --- mm/

[PATCH v3 1/5] mmc: davinci_mmc: Use dma_request_chan() to requesting DMA channel

2016-03-19 Thread David Lechner
From: Peter Ujfalusi With the new dma_request_chan() the client driver does not need to look for the DMA resource and it does not need to pass filter_fn anymore. By switching to the new API the driver can now support deferred probing against DMA. Signed-off-by: Peter Ujfalusi --- v3 changes: T

[PATCH v20 03/23] vfs: Add MAY_DELETE_SELF and MAY_DELETE_CHILD permission flags

2016-03-19 Thread Andreas Gruenbacher
Normally, deleting a file requires MAY_WRITE access to the parent directory. With richacls, a file may be deleted with MAY_DELETE_CHILD access to the parent directory or with MAY_DELETE_SELF access to the file. To support that, pass the MAY_DELETE_CHILD mask flag to inode_permission() when checki

Re: [PATCH v3 1/2] mm, vmstat: calculate particular vm event

2016-03-19 Thread Vlastimil Babka
On 03/14/2016 10:40 PM, Ebru Akagunduz wrote: Currently, vmstat can calculate specific vm event with all_vm_events() however it allocates all vm events to stack. This patch introduces a helper to sum value of a specific vm event over all cpu, without loading all the events. Signed-off-by: Ebru A

Re: [Xen-devel] [PATCH] xen/events: Mask a moving irq

2016-03-19 Thread David Vrabel
On 17/03/16 12:45, Boris Ostrovsky wrote: > Moving an unmasked irq may result in irq handler being invoked on both > source and target CPUs. > > With 2-level this can happen as follows: > > On source CPU: > evtchn_2l_handle_events() -> > generic_handle_irq() -> >

Re: [PATCH v2 03/04] iommu/ipmmu-vmsa: Break out 32-bit ARM mapping code

2016-03-19 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Tuesday 15 March 2016 13:22:04 Magnus Damm wrote: > From: Magnus Damm > > Make the driver compile on more than just 32-bit ARM > by breaking out and wrapping ARM specific functions > in #ifdefs. Not pretty, but needed to be able to use > the driver on othe

[PATCH 5/8] lib/mpi: mpi_write_sgl(): replace open coded endian conversion

2016-03-19 Thread Nicolai Stange
Currently, the endian conversion from CPU order to BE is open coded in mpi_write_sgl(). Replace this by the centrally provided cpu_to_be*() macros. Signed-off-by: Nicolai Stange --- lib/mpi/mpicoder.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --gi

[GIT PULL] Audit patches for 4.6

2016-03-19 Thread Paul Moore
Hi Linus, A small set of patches for audit this time; just three in total and one is a spelling fix. The two patches with actual content are designed to help prevent new instances of auditd from displacing an existing, functioning auditd and to generate a log of the attempt. Not to worry, dea

[PATCH] crypto: marvell/cesa - forward devm_ioremap_resource() error code

2016-03-19 Thread Boris Brezillon
Forward devm_ioremap_resource() error code instead of returning -ENOMEM. Signed-off-by: Boris Brezillon Reported-by: Russell King - ARM Linux Fixes: f63601fd616a ("crypto: marvell/cesa - add a new driver for Marvell's CESA") Cc: # 4.2+ --- drivers/crypto/marvell/cesa.c | 2 +- 1 file changed,

[PATCH 1/2] xen/x86: Move irq allocation from Xen smp_op.cpu_up()

2016-03-19 Thread Boris Ostrovsky
Commit ce0d3c0a6fb1 ("genirq: Revert sparse irq locking around __cpu_up() and move it to x86 for now") reverted irq locking introduced by commit a89941816726 ("hotplug: Prevent alloc/free of irq descriptors during cpu up/down") because of Xen allocating irqs in both of its cpu_up ops. We can move

KASAN overhead?

2016-03-19 Thread Valdis Kletnieks
So I built linux-next next-20160417 with KASAN enabled: CONFIG_KASAN_SHADOW_OFFSET=0xdc00 CONFIG_HAVE_ARCH_KASAN=y CONFIG_KASAN=y # CONFIG_KASAN_OUTLINE is not set CONFIG_KASAN_INLINE=y CONFIG_TEST_KASAN=m and saw an *amazing* slowdown. For compar

Re: [PATCH 4/8] cpufreq/schedutil: sysfs capacity margin tunable

2016-03-19 Thread Michael Turquette
Quoting Steve Muckle (2016-03-15 20:36:57) > On 03/15/2016 03:37 PM, Michael Turquette wrote: > Yuck sysfs.. I would really rather we did not expose this per default. > > > > And certainly not in this weird form. > >>> > > > >>> > > I'm happy to change capacity_margin to up_threshold and

Re: [PATCH 1/5] ftrace perf: Check sample types only for sampling events

2016-03-19 Thread Steven Rostedt
On Wed, 16 Mar 2016 15:34:29 +0100 Jiri Olsa wrote: > Currently we check sample type for ftrace:function event > even if it's not created as sampling event. That prevents > creating ftrace_function event in counting mode. > > Making sure we check sample types only for sampling events. > > Befor

[PATCH v20 09/23] richacl: Permission check algorithm

2016-03-19 Thread Andreas Gruenbacher
A richacl roughly grants a requested access if the NFSv4 acl in the richacl grants the requested permissions according to the NFSv4 permission check algorithm and the file mask that applies to the process includes the requested permissions. Signed-off-by: Andreas Gruenbacher Reviewed-by: "J. Bruc

Re: [PATCH] cpufreq: acpi: Allow new dynamics attributes to be added to acpi_cpufreq_attr

2016-03-19 Thread Rafael J. Wysocki
On Wed, Mar 16, 2016 at 5:53 AM, Viresh Kumar wrote: > On 09-03-16, 14:13, Rafael J. Wysocki wrote: >> On Wed, Mar 9, 2016 at 10:41 AM, Viresh Kumar >> wrote: >> > On 03-03-16, 18:29, Rafael J. Wysocki wrote: >> >> Srinivas, can you please take this and rebase your patch on top of it? >> >> Or

Re: [PATCH v4 2/4] ACPI: enable ACPI_SPCR_TABLE on ARM64

2016-03-19 Thread Timur Tabi
On Mon, Feb 29, 2016 at 6:02 AM, Aleksey Makarov wrote: > SBBR mentions SPCR as a mandatory ACPI table. > So enable it for ARM64 > > Signed-off-by: Aleksey Makarov Tested-by: Timur Tabi I know another version of patch is coming, but I tested this version and it works.

Re: [ANNOUNCE] Git v2.7.4 (and updates to older maintenance tracks)

2016-03-19 Thread Torsten Bögershausen
> Git v2.7.4 Release Notes > > > Fixes since v2.7.3 > -- > > * Bugfix patches were backported from the 'master' front to plug heap >corruption holes, to catch integer overflow in the computation of >pathname lengths, and to get rid of the name_pat

Re: kallsyms failure: relative symbol value 0xffffffff810002a0 out of range in relative mode

2016-03-19 Thread Markus Trippelsdorf
On 2016.03.17 at 08:03 +0100, Ard Biesheuvel wrote: > On 16 March 2016 at 22:25, Markus Trippelsdorf wrote: > > Since: > > commit 2213e9a66bb87d8344a1256b4ef568220d9587fb > > Author: Ard Biesheuvel > > Date: Tue Mar 15 14:58:19 2016 -0700 > > > > kallsyms: add support for relative offsets i

[GIT PULL] EFI changes for v4.6

2016-03-19 Thread Ingo Molnar
Linus, Please pull the latest efi-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-core-for-linus # HEAD: d367cef0a7f0c6ee86e997c0cb455b21b3c6b9ba x86/mm/pat: Fix boot crash when 1GB pages are not supported by the CPU The main changes are: - U

[3.19.y-ckt stable] Linux v3.19.8-ckt17 stable review

2016-03-19 Thread Kamal Mostafa
This is the start of the review cycle for the Linux v3.19.8-ckt17 stable kernel. This version contains 70 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.19.y-

Re: [PATCH] rtc: asm9260: remove incorrect __init/__exit annotations

2016-03-19 Thread Alexandre Belloni
On 15/03/2016 at 22:44:31 +0100, Arnd Bergmann wrote : > The probe and remove callbacks of the platform driver are marked __init > and __exit, respectively. However, this is not a correct way to annotate > them, as it will result in those sections to be discarded at link time > or after boot, while

Re: [PATCH v2] ata: add AMD Seattle platform driver

2016-03-19 Thread Brijesh Singh
Hi Tejun, On 03/17/2016 12:36 PM, Arnd Bergmann wrote: > On Wednesday 16 March 2016 14:07:13 Tejun Heo wrote: >> Hello, Arnd. >> >> On Mon, Feb 01, 2016 at 09:14:17PM +0100, Arnd Bergmann wrote: I am not debating on your AML call recommendation, it sounds like a good idea however BIOS is

[PATCH v20 14/23] vfs: Cache richacl in struct inode

2016-03-19 Thread Andreas Gruenbacher
Cache richacls in struct inode so that this doesn't have to be done individually in each filesystem. This is similar to POSIX ACLs. Signed-off-by: Andreas Gruenbacher --- fs/inode.c | 11 +-- fs/posix_acl.c | 2 +- fs/richacl.c| 77

Re: [PATCH] mmc: card: don't use PF_MEMALLOC

2016-03-19 Thread Jens Axboe
On 03/16/2016 04:43 AM, Martin Kepplinger wrote: PF_MEMALLOC is assigned to processes by mm. If drivers prevent memory reclaim and mm is not in control, strange hang-up or OOM Killer invocation could happen. Signed-off-by: Martin Kepplinger --- I use MMC cards with this change perfectly fine. A

Re: [PATCH v20 00/23] Richacls (Core and Ext4)

2016-03-19 Thread Steve French
Reviewing the current version of your patch series in your tree git://git.kernel.org/pub/scm/linux/kernel/git/agruen/linux-richacl.git \ richacl-2016-03-16 you can add my reviewed by to the following patches so far: 0001-vfs-Add-IS_ACL-and-IS_RICHACL-tests.patch 0002-vfs-Add-MAY_CREATE_FI

Re: Page migration issue with UBIFS

2016-03-19 Thread Kirill A. Shutemov
On Wed, Mar 16, 2016 at 05:21:56PM +0300, Kirill A. Shutemov wrote: > On Wed, Mar 16, 2016 at 12:18:50AM +0100, Richard Weinberger wrote: > > Am 15.03.2016 um 16:37 schrieb Christoph Hellwig: > > > On Tue, Mar 15, 2016 at 04:32:40PM +0100, Richard Weinberger wrote: > > >>> Or if ->page_mkwrite() wa

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Fu Wei
On 18 March 2016 at 08:55, Timur Tabi wrote: > Rafael J. Wysocki wrote: >> >> I will have a couple of comments for patch [1/6] (in the v3), but it's >> not been a priority due to the apparent overall lack of interest in this >> series. > > > Well, I am very interested in this series, if that count

Re: [PATCH v2] Documentation: devicetree: Clean up gpio-keys example

2016-03-19 Thread Javier Martinez Canillas
Hello Andreas, On Wed, Mar 16, 2016 at 8:53 AM, Andreas Färber wrote: > Drop #address-cells and #size-cells, which are not required by the > gpio-keys binding documentation, as button sub-nodes are not devices. > > Rename sub-nodes to avoid new dtc unit address warnings when copied. > > While at

Re: [PATCH v2 1/2] Documentation: dt: reset: Add syscon reset binding

2016-03-19 Thread Suman Anna
Hi Rob, On 03/18/2016 11:39 AM, Rob Herring wrote: > On Thu, Mar 10, 2016 at 03:46:04PM -0600, Andrew F. Davis wrote: >> Add syscon reset controller binding. This will hook to the reset >> framework and use syscon/regmap to set reset bits. This allows >> reset control of individual SoC subsytems a

Re: [PATCH v2 all 04/14] arc: use of_platform_default_populate() to populate default bus

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 9:19 AM, Vineet Gupta wrote: > On Thursday 17 March 2016 06:58 PM, Rob Herring wrote: >>> Perhaps too late - but can't of_platform_default_populate just be a static >>> inline >>> > calling of_platform_populate in the header rather than exporting yet >>> > another symbol

[PATCH 3.19.y-ckt 33/70] USB: qcserial: add Dell Wireless 5809e Gobi 4G HSPA+ (rev3)

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Patrik Halfar commit 013dd239d6220a4e0dfdf0d45a82c34f1fd73deb upstream. New revision of Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broad

Re: [PATCH V5 02/10] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-03-19 Thread Joerg Roedel
On Fri, Mar 18, 2016 at 11:39:18AM +0100, Borislav Petkov wrote: > Yeah, so arch/x86/include/asm/ has all the x86-specific stuff which is > not exported to userspace, so moving stuff there makes sense to me. While the AMD IOMMU is only available on x86 today, there is nothing x86-specific in its a

[PATCH v2 4/9] drm: atmel-hlcdc: remove leftovers from atomic mode setting migration

2016-03-19 Thread Boris Brezillon
The ->dpms field is no longer used and can be removed. The same goes for the dummy ->mode_fixup() implementation which always returns true. Signed-off-by: Boris Brezillon Acked-by: Nicolas Ferre Tested-by: Nicolas Ferre --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c | 12 1

Re: [PATCH 07/15] irqdomain: Don't set type when mapping an IRQ

2016-03-19 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Jon Hunter wrote: > --- a/kernel/irq/manage.c > +++ b/kernel/irq/manage.c > @@ -1117,6 +1117,13 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, > struct irqaction *new) > new->irq = irq; > > /* > + * If the trigger type is not specified by the caller

Re: [PATCH v5 6/7][Update] cpufreq: Support for fast frequency switching

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 12:48 PM, Juri Lelli wrote: > On 17/03/16 12:40, Peter Zijlstra wrote: >> On Thu, Mar 17, 2016 at 11:35:07AM +, Juri Lelli wrote: >> >> > > + pr_warn("cpufreq: CPU%u: Fast freqnency switching not >> > > enabled\n", >> > >> > Ultra-minor nit: s/freqnency/frequen

[PART1 RFC v3 06/12] KVM: x86: Detect and Initialize AVIC support

2016-03-19 Thread Suravee Suthikulpanit
This patch introduces AVIC-related data structure, and AVIC initialization code. There are three main data structures for AVIC: * Virtual APIC (vAPIC) backing page (per-VCPU) * Physical APIC ID table (per-VM) * Logical APIC ID table (per-VM) Currently, AVIC is disabled by default. Use

Re: [PATCH v2] ARM: rockchip: Fix use of plain integer as NULL pointer

2016-03-19 Thread Heiko Stuebner
Am Donnerstag, 17. März 2016, 13:43:11 schrieb Peter Griffin: > This fixes the following sparse build warning: > > mach-rockchip/platsmp.c:68:43: Using plain integer as NULL pointer > > Signed-off-by: Peter Griffin applied to soc32-fixes for 4.6 with Lee's Ack Thanks Heiko

Re: [PATCH] net: consolidate lock/unlock into unlock_wait

2016-03-19 Thread Nicholas Mc Guire
On Fri, Mar 18, 2016 at 03:35:18PM -0700, Joe Perches wrote: > On Fri, 2016-03-18 at 17:37 -0400, David Miller wrote: > > From: Nicholas Mc Guire > > > The spin_lock()/spin_unlock() is synchronizing on the adapter->work_lock > > > as the comment also suggests, which is equivalent to spin_unlock_wa

Re: [PATCH 1/3] crypto: marvell/cesa - replace dma_to_phys with dma_map_single

2016-03-19 Thread okaya
On 2016-03-17 18:54, Russell King - ARM Linux wrote: On Thu, Mar 17, 2016 at 06:02:15PM -0400, Sinan Kaya wrote: Getting ready to remove dma_to_phys API. Drivers should not be using this API for DMA operations. Instead, they should go through the dma_map or dma_alloc APIs. Signed-off-by: Sinan

[PATCH v10 1/3] staging/android: remove redundant comments on sync_merge_data

2016-03-19 Thread Gustavo Padovan
From: Gustavo Padovan struct sync_merge_data already have documentation on top of the struct definition. No need to duplicate it. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/uapi/sync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 3/5] ftrace perf: Use ftrace_ops::private to store event pointer

2016-03-19 Thread Jiri Olsa
Having following commands running concurrently: # perf record -e ftrace:function -a -o krava.data sleep 10 # perf record -e ftrace:function --filter 'ip == SyS_read' ls will end up in the latter one to fail on the filter rules and store all functions (in perf.data) as instructed by the first

Re: [PATCH] regulator: Don't print error in devm_regulator_bulk_get() on -EPROBE_DEFER

2016-03-19 Thread Javier Martinez Canillas
Hello Mark, On 03/16/2016 08:37 AM, Mark Brown wrote: > On Wed, Mar 16, 2016 at 08:19:42AM -0300, Javier Martinez Canillas wrote: [snip] > >> Basically I want to get rid of things like this: > >> [1.438422] exynos-hdmi 1453.hdmi: Failed to get supply 'vdd': -517 >> [1.443638] [drm:

Re: [PATCH] zram: export the number of available comp streams

2016-03-19 Thread Minchan Kim
On Fri, Mar 18, 2016 at 10:09:37AM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > On (03/18/16 09:32), Minchan Kim wrote: > [..] > > > do I need 21? may be no. do I nede 18? if 18 streams are needed only 10% > > > of the time (I can figure it out by doing repetitive cat zramX/mm_stat), > >

Re: [PATCH 5/5] regulator: pwm: Add DT binding details for Linear Equal Step Mode

2016-03-19 Thread Rob Herring
On Tue, Mar 08, 2016 at 04:23:25PM +0530, Laxman Dewangan wrote: > Add support for Linear Equal Step mode in pwm regulators on which > specified regulator's minimum and maximum voltages are divided into > specified equal steps. The number of steps must divided the range of > minimum to maximum as

[PATCH v6 03/17] Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao Make xen_xlate_map_ballooned_pages work with 64K pages. In that case Kernel pages are 64K in size but Xen pages remain 4K in size. Xen pfns refer to 4K pages. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- drivers/xen/xlate_mmu.c | 26 --

[PATCH v2] powercap: intel_rapl: PSys support

2016-03-19 Thread Srinivas Pandruvada
Skylake processor supports a new set of RAPL registers for controlling entire platform instead of just CPU package. This is useful for thermal and power control when source of power/thermal is not just CPU/GPU. This change adds a new platform domain (AKA PSys) to the current power capping Intel RAP

Re: [PART1 RFC v3 05/12] svm: Introduce new AVIC VMCB registers

2016-03-19 Thread Paolo Bonzini
On 18/03/2016 07:09, Suravee Suthikulpanit wrote: > Introduce new AVIC VMCB registers. > > Signed-off-by: Suravee Suthikulpanit > --- > arch/x86/include/asm/svm.h | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/as

RE: [PATCH] iwlwifi: dvm: convert create_singlethread_workqueue() to alloc_workqueue()

2016-03-19 Thread Grumbach, Emmanuel
> > Use alloc_workqueue() to allocate the workqueue instead of > create_singlethread_workqueue() since the latter is deprecated and is > scheduled > for removal. I can't see any indication of that in the code of workqueue. Can you share details about that? > > There are work items doing relate

[PATCH v2] mmc: sdhci-of-at91: fix wake-up issue when using runtime pm

2016-03-19 Thread Ludovic Desroches
It is impossible to wake-up on card detect event because when sdhci controller is runtime suspended, it is assumed that all clocks are disabled so we can't get irqs. If the device is removable and there is no gpio to manage the card detection then polling is used. It doesn't mean card detection is

[RESEND PATCH v4 1/5] clocksource: move some enums and marcos to header file for arm_arch_timer

2016-03-19 Thread fu . wei
From: Fu Wei The patch sorts out the code for arm_arch_timer: (1)move enum ppi_nr to the header file (2)move "ARCH_*_TIMER" marcos to the header file (3)add enum spi_nr in the header file, and use it in the driver (4)add ARCH_WD_TIMER and ARCH_TIMER_MEM_MAX_FRAME marcos Signed-of

Re: [PATCH] mtd: only use __xipram annotation when XIP_KERNEL is set

2016-03-19 Thread Arnd Bergmann
On Friday 04 March 2016 16:43:36 Brian Norris wrote: > On Sat, Mar 05, 2016 at 12:28:38AM +, David Woodhouse wrote: > > On Fri, 2016-03-04 at 16:22 -0800, Brian Norris wrote: > > > > > > ...but, does anyone care about XIP / MTD_XIP then, if the first two > > > examples we have both have long-s

Re: [PATCH] iio: adc: rockchip_saradc: add saradc support for rk3399

2016-03-19 Thread Jonathan Cameron
On 15/03/16 17:44, David Wu wrote: > The ADC is a 6-channel signal-ended 10-bit Successive > Approximation Register (SAR) A/D Converter. > > Signed-off-by: David Wu Looks straight forward so applied to the togreg branch of iio.git, pushed out as testing for the autobuilders to play with it. Than

Re: [PATCH 2/2] usb: dwc3: gadget: usb: dwc3: run/stop metastability workaround

2016-03-19 Thread Felipe Balbi
Roger Quadros writes: > [ text/plain ] > The existing workaround of forcing DEVSPD to SUPER_SPEED > for HIGH_SPEED ports is causing another side effect > which causes erratic interrupts and delayed gadget > enumeration of upto 2 seconds. > > Work around the run/stop issue by detecting if > it hap

[PATCH v2 0/1] arm64/dma-mapping: reduce an unnecessary conversion for coherent DMA

2016-03-19 Thread Zhen Lei
Changelog: v1 -> v2: 1. Give up removing the conversion, because of thoughtless, instead moved it into branch if (!is_device_dma_coherent(dev)). Thanks for Catalin's detailed explanation, I directly take some relies as comment in the code. Zhen Lei (1): arm64/dma-mapping: reduce an unnecessary c

[PATCH v2] efi: Introduce EFI bootloader control driver

2016-03-19 Thread Daniel Baluta
From: Matt Gumbel This driver intercepts system reboot requests and populates the LoaderEntryOneShot EFI variable with the user-supplied reboot argument. EFI bootloaders such as Gummiboot will consume this variable and use it to control which OS is booted next. We use this with Android where reb

Re: [PATCH] ARM: dts: rockchip: Add mdio node to ethernet node

2016-03-19 Thread Andreas Färber
Am 18.03.2016 um 12:20 schrieb Tomeu Vizoso: > So the dwmac device manages to probe again. > > Signed-off-by: Tomeu Vizoso > Fixes: 88f8b1bb41c6 ("stmmac: Fix 'eth0: No PHY found' regression") > --- > arch/arm/boot/dts/rk3288-rock2-som.dtsi | 8 > 1 file changed, 8 insertions(+) > > di

Re: kallsyms failure: relative symbol value 0xffffffff810002a0 out of range in relative mode

2016-03-19 Thread Ard Biesheuvel
On 17 March 2016 at 08:14, Markus Trippelsdorf wrote: > On 2016.03.17 at 08:03 +0100, Ard Biesheuvel wrote: >> On 16 March 2016 at 22:25, Markus Trippelsdorf >> wrote: >> > Since: >> > commit 2213e9a66bb87d8344a1256b4ef568220d9587fb >> > Author: Ard Biesheuvel >> > Date: Tue Mar 15 14:58:19 2

Re: usb: gadget breakage on N900: bind UDC by name passed via usb_gadget_driver structure

2016-03-19 Thread Pavel Machek
Hi! > > USB gadget stops working for me on n900, if I merge > > Could you please give us more details? > Which gadget driver do you use (g_nokia?) Ok, so I could get it to work with v4.5, and this patch. I'm including my config, too. No, I don't think I'm using g_nokia. Best regards,

Re: [PATCH v2 1/5] perf config: Introduce perf_config_set class

2016-03-19 Thread Namhyung Kim
On Thu, Mar 17, 2016 at 11:10:12PM +0900, Taeung Song wrote: > Hi, Namhyung > > On 03/17/2016 09:31 PM, Namhyung Kim wrote: > >Hi Taeung, > > > >On Mon, Mar 14, 2016 at 09:16:05PM +0900, Taeung Song wrote: > >>This infrastructure code was designed for > >>upcoming features of perf-config. > >> > >

[PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Chris Metcalf
Currently you can only request a backtrace of either all cpus, or all cpus but yourself. It can also be helpful to request a remote backtrace of a single cpu, and since we want that, the logical extension is to support a cpumask as the underlying primitive. This change modifies the existing lib/n

Re: [RFC][PATCH v3 1/5] mm/zsmalloc: introduce class auto-compaction

2016-03-19 Thread Sergey Senozhatsky
On (03/18/16 13:03), Minchan Kim wrote: [..] > > I have some concerns here. WQ_MEM_RECLAIM implies that there is a kthread > > attached to wq, a rescuer thread, which will be idle until wq declares > > mayday. > > But the kthread will be allocated anyway. And we can queue only one global > > compa

Re: [PATCH v2] ARM: rockchip: Fix use of plain integer as NULL pointer

2016-03-19 Thread Heiko Stübner
Hi Peter, no need to resend for that (will be lost when applying anyway), but for future patches please consider the things below: Am Donnerstag, 17. März 2016, 13:43:11 schrieb Peter Griffin: > This fixes the following sparse build warning: > > mach-rockchip/platsmp.c:68:43: Using plain i

Re: [lkp] [of] 854fc7d606: kmsg.dt-test###FAIL_of_unittest_parse_phandle_with_args():#of_count_phandle_with_args()returned-#,expected

2016-03-19 Thread Joerg Roedel
Hi, On Thu, Mar 17, 2016 at 02:19:45PM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > Joerg-Roedel/of-Implement-iterator-for-phandles/20160317-004643 > commit 854fc7d60637a7eac7bb1b43789c7901bfa70cff ("of: Implement iterator for > p

Re: [PATCH 3.12 00/58] 3.12.57-stable review

2016-03-19 Thread Shuah Khan
On 03/16/2016 04:58 AM, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.57 release. > There are 58 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses should be

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-19 Thread Andreas Dilger
On Mar 15, 2016, at 7:51 PM, Darrick J. Wong wrote: > > On Tue, Mar 15, 2016 at 06:52:24PM -0400, Theodore Ts'o wrote: >> On Wed, Mar 16, 2016 at 09:33:13AM +1100, Dave Chinner wrote: >>> >>> Stale data escaping containment is a security issue. Enabling >>> generic kernel mechanisms to *enable c

[PATCH 3.19.y-ckt 46/70] ALSA: hda - Fix mic issues on Acer Aspire E1-472

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Simon South commit 02322ac9dee9aff8d8862e8d6660ebe102f492ea upstream. This patch applies the microphone-related fix created for the Ac

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-19 Thread Stephane Gasparini
Rafael, Something still obscure to me 1) on commit 303ae7230751 core were using wrmsrl_on_cpu() in core_set_pstate() atom were using wrmsrl() in byt_set_pstate() call sequence is intel_state_init_cpu -> intel_pstate_get_cpu_pstates() -> intel_pstate_set_pstate() -> pstate_funcs.set

[PATCH v4 2/7] extcon: usb-gpio: add support for ACPI gpio interface

2016-03-19 Thread Lu Baolu
GPIO resource could be retrieved through APCI as well. Signed-off-by: Lu Baolu Reviewed-by: Felipe Balbi Acked-by: Chanwoo Choi --- drivers/extcon/extcon-usb-gpio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-usb-gpio.c b/drivers/extcon/extcon-us

[PATCH v4 0/7] cpufreq: schedutil governor

2016-03-19 Thread Rafael J. Wysocki
Hi, Here's a new iteration of the schedutil governor series. It is based on linux-next (particularly on the material from my pull request for 4.6-rc1), so I'm not resending the patches already included there. It has been present in my pm-cpufreq-experimental branch for a few days. The first pat

Re: [PATCH 00/22] ncr5380: Eliminate macros, reduce code duplication, fix bugs etc

2016-03-19 Thread Michael Schmitz
Finn, tested successfully on Atari Falcon, so: Tested-by: Michael Schmitz Am 14.03.2016 um 17:27 schrieb Finn Thain: > This patch series has more macro elimination and some tweaks to the > DMA hooks so that all the wrapper drivers can share the same core > DMA algorithm. This resolves the major

[PATCH v20 17/23] richacl: Create-time inheritance

2016-03-19 Thread Andreas Gruenbacher
When a new file is created, it can inherit an acl from its parent directory; this is similar to how default acls work in POSIX ACLs. As with POSIX ACLs, if a file inherits an acl from its parent directory, the intersection between the create mode and the permissions granted by the inherited acl de

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-19 Thread Peter Chen
On Thu, Mar 17, 2016 at 04:52:55PM +0100, Arnd Bergmann wrote: > On Monday 14 March 2016 18:51:08 Peter Chen wrote: > > On Wed, Mar 09, 2016 at 05:16:50PM -0600, Li Yang wrote: > > > On Tue, Mar 8, 2016 at 9:40 PM, Bjorn Andersson > > > wrote: > > > > On Tue, Mar 8, 2016 at 11:52 AM, Li Yang wrot

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-19 Thread Laxman Dewangan
On Saturday 19 March 2016 10:01 AM, Bjorn Andersson wrote: On Tue, Mar 15, 2016 at 6:41 AM, Laxman Dewangan wrote: On Wednesday 02 March 2016 10:05 AM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Mar 02, 2016 at 09:05:26AM +0530, Laxman Dewangan wrote: On Wednesday 02 March 201

Re: [PATCH] net: consolidate lock/unlock into unlock_wait

2016-03-19 Thread David Miller
From: Nicholas Mc Guire Date: Fri, 18 Mar 2016 10:32:05 +0100 > The spin_lock()/spin_unlock() is synchronizing on the adapter->work_lock > as the comment also suggests, which is equivalent to spin_unlock_wait() > but the later should be more efficient. > > Signed-off-by: Nicholas Mc Guire Ther

[PATCH] gpu/drm: Use u64_to_user_pointer

2016-03-19 Thread Joe Perches
Use the newly added u64_to_user_pointer a bit more frequently. Signed-off-by: Joe Perches --- drivers/gpu/drm/armada/armada_gem.c| 2 +- drivers/gpu/drm/nouveau/nouveau_gem.c | 7 --- drivers/gpu/drm/tegra/drm.c| 15 --- drivers/gpu/drm/vc4/vc4_bo.c |

Re: [PATCH] usb/core: usb_alloc_dev(): fix setting of ->portnum

2016-03-19 Thread Nicolai Stange
Please drop in favour of v2 where the issue reported by the kbuild test robot has been fixed. Thanks and sorry, Nicolai

Re: [PATCH 1/2] pinctrl: sh-pfc: enable to indicate GPSR/IPSR/MOD_SEL for debug

2016-03-19 Thread Kuninori Morimoto
Hi Geert > > From: Kuninori Morimoto > > > > Current sh_pfc can't indicate GPSR/IPSR/MOD_SEL name for debug. > > Of course we can get it from indicated register address, but it > > is not convenient. This patch enables to indicate these. > > > > Signed-off-by: Kuninori Morimoto > > > --- a/dri

[PATCH v20 12/23] vfs: Cache base_acl objects in inodes

2016-03-19 Thread Andreas Gruenbacher
POSIX ACLs and richacls are both objects allocated by kmalloc() with a reference count which are freed by kfree_rcu(). An inode can either cache an access and a default POSIX ACL, or a richacl (richacls do not have default acls). To allow an inode to cache either of the two kinds of acls, introdu

[PATCH v3 0/5] davinci_mmc fixes

2016-03-19 Thread David Lechner
I have replaced one of my patches with the patch from Peter Ujfalusi and fixed a mistake in the "fix unwinding..." patch. Tested working on LEGO MINDSTORMS EV3 (da850-ish). David Lechner (4): mmc: davinci: remove matching string mmc: davinci: fix unwinding in probe mmc: davinci: prepare clo

[PATCH v3 2/2] irqchip/mbigen:Change the mbigen driver based on the new mbigen node definition.

2016-03-19 Thread MaJun
From: Ma Jun In current mbigen driver, each mbigen device is initialized as a platform device. When these devices belong to same mbigen hardware module(chip), they use the same register definition in their device node and caused the problem of registers remapped repeatedly. Now, I try to initi

Re: [PATCH 5/5] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

2016-03-19 Thread Rob Herring
On Thu, Mar 17, 2016 at 2:25 PM, Franklin S Cooper Jr. wrote: > +Sekhar > > On 03/17/2016 01:56 PM, Rob Herring wrote: >> On Thu, Mar 17, 2016 at 1:20 PM, Franklin S Cooper Jr. >> wrote: >>> >>> On 03/17/2016 01:00 PM, Rob Herring wrote: On Thu, Mar 17, 2016 at 11:49 AM, Franklin S Cooper J

Re: [PATCH v9 2/3] kernel.h: add to_user_ptr()

2016-03-19 Thread Gustavo Padovan
2016-03-17 Joe Perches : > On Thu, 2016-03-17 at 18:19 -0300, Gustavo Padovan wrote: > > 2016-03-17 Joe Perches : > > > On Thu, 2016-03-17 at 16:50 -0400, Rob Clark wrote: > > > > On Thu, Mar 17, 2016 at 4:40 PM, Joe Perches wrote: > > > [] > > > > > It's a name that seems like it should be a str

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-19 Thread Rafael J. Wysocki
On Friday, March 18, 2016 08:37:15 AM Josh Boyer wrote: > On Thu, Mar 17, 2016 at 8:20 PM, Rafael J. Wysocki wrote: > > On Thursday, March 17, 2016 12:44:54 PM Josh Boyer wrote: > >> On Thu, Mar 17, 2016 at 10:07 AM, Rafael J. Wysocki > >> wrote: > >> > On Thursday, March 17, 2016 09:02:29 AM Jo

Re: [PATCH] ASoC: dapm: Do not traverse widget hooks to snd-soc-dummy

2016-03-19 Thread Pan, Harry
> I'd say as a quick fix for stable check that card is not NULL in > dapm_widget_show_component(). And as a longterm fix get rid of > dapm_widget > file. Nobody should hopefully use it anymore with debugfs being > available as > the far better alternative. > > - Lars Well, that was my original ap

Re: [REGRESSION] 774ac8b7eff6 ("Thermal: initialize thermal zone device correctly") causes performance drop

2016-03-19 Thread Greg Kroah-Hartman
On Wed, Mar 16, 2016 at 05:00:07PM -0700, Laura Abbott wrote: > On 03/16/2016 03:46 PM, Greg Kroah-Hartman wrote: > >On Wed, Mar 16, 2016 at 03:27:57PM -0700, Laura Abbott wrote: > >>Hi, > >> > >>Fedora received a bug report > >>(https://bugzilla.redhat.com/show_bug.cgi?id=1317190) > >>of a major

[PATCH 1/2] crypto: marvell/cesa - fix memory leak

2016-03-19 Thread Boris Brezillon
Crypto requests are not guaranteed to be finalized (->final() call), and can be freed at any moment, without getting any notification from the core. This can lead to memory leaks of the ->cache buffer. Make this buffer part of the request object, and allocate an extra buffer from the DMA cache poo

Re: [PATCH 7/7] mtd: nand: sunxi: update DT bindings

2016-03-19 Thread Rob Herring
On Tue, Mar 08, 2016 at 12:15:15PM +0100, Boris Brezillon wrote: > Document dmas and dma-names properties. > > Signed-off-by: Boris Brezillon > --- > Documentation/devicetree/bindings/mtd/sunxi-nand.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring

Re: [PATCH 6/8] dmi: Move memdev_dmi_entry definition to dmi.h (v2)

2016-03-19 Thread Jean Delvare
Hi Matt, On Tue, 8 Mar 2016 10:32:37 -0800, Matt Roper wrote: > A couple of the EDAC drivers have a nice memdev_dmi_entry structure for > decoding DMI memory device entries. Move the structure definition to > dmi.h so that it can be shared between those drivers and also other > parts of the kern

Re: [PATCH] ACPI / property: Export a couple of symbols.

2016-03-19 Thread Rafael J. Wysocki
On Thu, Mar 17, 2016 at 1:23 AM, David Daney wrote: > From: David Daney > > The acpi_dev_prop_read() and acpi_dev_prop_read_single() can be called > by drivers. May I see the driver code that uses them? Thanks, Rafael

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