[PATCH 02/56] moved kernel_write out of splice translation unit

2014-11-13 Thread Pieter Smith
kernel_write shares infrastructure with the read_write translation unit but not with the splice translation unit. Grouping kernel_write with the read_write translation unit is more logical. It also paves the way to compiling out the splice group of syscalls for embedded systems that do not need the

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-13 Thread Borislav Petkov
On Thu, Nov 13, 2014 at 11:59:37AM +0100, Borislav Petkov wrote: > I've been thinking about it recently too - adding MCA functionality to > qemu/kvm could be very useful, especially the thresholding stuff, for > testing RAS kernel code. Btw, qemu monitor has a mce injection command with which I wa

[PULL] vhost: cleanups and fixes

2014-11-13 Thread Michael S. Tsirkin
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 65eca3a20264a8999570c2694

Re: [PATCH net-next 2/2] r8152: adjust rtl_start_rx

2014-11-13 Thread David Miller
From: David Miller Date: Wed, 12 Nov 2014 22:31:46 -0500 (EST) > From: Hayes Wang > Date: Thu, 13 Nov 2014 02:31:14 + > >> My last method which I mentioned yesterday is similar to >> this one. The difference is that I would re-use the rx >> buffers, so I have to add them to the list for re-

[GIT PULL] Ceph fixes for -rc5

2014-11-13 Thread Sage Weil
Hi Linus, Please pull the following Ceph fixes from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus There is an overflow bug fix for cephfs from Zheng, a fix for handling large authentication ticket buffers in libceph from Ilya, and a few fixes for the request ha

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-13 Thread Alan Stern
On Thu, 13 Nov 2014, Benson Leung wrote: > On Thu, Nov 13, 2014 at 12:41 PM, Alan Stern > wrote: > > usbhid_stop probably doesn't need it. And it should be possible to fix > > usbhid_close more easily just by interchanging the two lines: > > > > - usb_kill_urb(usbhid->urbi

[PATCH] devcoredump: provide a one-way disable function

2014-11-13 Thread Johannes Berg
From: Johannes Berg Since device/firmware coredumps can contain private data, it can be desirable to turn them off unconditionally to be certain that no such data will be collected by the system. To achieve this, provide a "disabled" sysfs class attribute that can only be changed from 0 to 1 and

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

2014-11-13 Thread David Miller
From: Stephen Rothwell Date: Thu, 13 Nov 2014 11:35:55 +1100 > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/ethernet/chelsio/cxgb4vf/sge.c between commit 65f6ecc93e7c > ("cxgb4vf: Move fl_starv_thres into adapter->sge data structure") from > the net tree and commi

Re: [PATCH 10/10] tools, perf: Add asprintf replacement

2014-11-13 Thread Andi Kleen
> > diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c > > index fb272ff..493f011 100644 > > --- a/tools/perf/builtin-report.c > > +++ b/tools/perf/builtin-report.c > > @@ -762,6 +762,7 @@ repeat: > > } > > if (branch_call_mode) { > > callchain_param.branch_c

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Thomas Gleixner
On Thu, 13 Nov 2014, Marc Zyngier wrote: > With the new stacked irq domains, it becomes pretty tempting > to allocate an MSI domain per PCI bus, which would remove > the requirement of either relying on arch-specific code, or > a default PCI MSI domain. Right. That's what I roughly had in mind. An

HSA RT is now Open Source

2014-11-13 Thread Oded Gabbay
Hi, I'm pleased to announce that AMD has published the full code of the HSA Runtime library. The code can be found at: https://github.com/HSAFoundation/HSA-Runtime-Reference-Source As I stated in the amdkfd v5 cover letter, this release, coupled with the r600 LLVM back-end, provides a complete u

Re: [PATCHv6 4/5] hwspinlock/core: add common OF helpers

2014-11-13 Thread Suman Anna
Hi Ohad, On 11/13/2014 01:45 PM, Ohad Ben-Cohen wrote: > Hi Suman, > > On Thu, Nov 13, 2014 at 7:38 PM, Suman Anna wrote: >> No, not always, because, either of them can be optional between >> different platform implementations. For example, on OMAP, the number of >> locks is read from an IP regi

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-13 Thread Marc Zyngier
On 13/11/14 11:43, Jiang Liu wrote: > This patch set is based on tip/irq/irqdomain and tries to refine > interfaces to support irqdomain for generic MSI and PCI MSI. > > Patch 1 is just minor fixes for tip/irq/irqdomain. > > Patch 2 introduces some helpers to hide struct msi_desc implementation >

[PATCH 1/2] dmaengine: Add binding document for IMG MDC

2014-11-13 Thread Andrew Bresticker
Add a binding document for the IMG Multi-threaded DMA Controller (MDC) present on the MIPS-based Pistachio and other IMG SoCs. Signed-off-by: Andrew Bresticker --- .../devicetree/bindings/dma/img-mdc-dma.txt| 57 ++ 1 file changed, 57 insertions(+) create mode 100644

[PATCH 2/2] dmaengine: Add driver for IMG MDC

2014-11-13 Thread Andrew Bresticker
Add support for the IMG Multi-threaded DMA Controller (MDC) found on certain IMG SoCs. Currently this driver supports the variant present on the MIPS-based Pistachio SoC. Signed-off-by: Andrew Bresticker --- drivers/dma/Kconfig |9 + drivers/dma/Makefile |1 + drivers/dma/img

[PATCH 0/2] dmaengine: Support for IMG MDC

2014-11-13 Thread Andrew Bresticker
This series adds support for the IMG Multi-threaded DMA Controller (MDC) which is found on IMG SoCs. Currently this driver only supports the variant found on the MIPS-based Pistachio SoC. The MDC supports slave and memory-to-memory transfers on up to 32 channels. Requests from channels are handle

Re: [PATCH v4 1/2] of: Rename "poweroff-source" property to "system-power-controller"

2014-11-13 Thread Grant Likely
On Thu, 13 Nov 2014 13:34:58 + , Auto Configured wrote: > From: Romain Perier > > It reverts commit a4b4e0461ec5 ("of: Add standard property for poweroff > capability"). > As discussed on the mailing list, it makes more sense to rename back to the > old established property name, without t

Re: [PATCH 10/10] tools, perf: Add asprintf replacement

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:28PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > asprintf corrupts memory on some older glibc versions. > Provide a replacement. This fixes various segfaults > with --branch-history on older Fedoras. > > v2: Remove bogus hunk. > Support arbitrary size (Ge

Re: [PATCH 08/10] perf, tools: Support source line numbers in annotate

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:26PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > With srcline key/sort'ing it's useful to have line numbers > in the annotate window. This patch implements this. > > Use objdump -l to request the line numbers and > save them in the line structure. Then the br

Re: [PATCH 16/16] rxrpc: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread David Howells
Pranith Kumar wrote: > Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Actually, the use of smp_read_barrier_depends() is wrong in circular buffering. See Documentation/circular-buffers.txt

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-13 Thread Benson Leung
On Thu, Nov 13, 2014 at 12:41 PM, Alan Stern wrote: > usbhid_stop probably doesn't need it. And it should be possible to fix > usbhid_close more easily just by interchanging the two lines: > > - usb_kill_urb(usbhid->urbin); > usbhid->intf->needs_remot

Re: [PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 13, 2014 at 09:15:24PM +0100, Andi Kleen escreveu: > On Thu, Nov 13, 2014 at 05:08:33PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Thu, Nov 13, 2014 at 08:52:08PM +0100, Andi Kleen escreveu: > > > On Thu, Nov 13, 2014 at 04:14:17PM -0300, Arnaldo Carvalho de Melo wrote: > > > > Em We

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-13 Thread Alan Stern
On Thu, 13 Nov 2014, Benson Leung wrote: > usbhid->intf->needs_remote_wakeup is set when a device is > opened, and is cleared when a device is closed. > > When a usbhid device that does not support remote wake > ( i.e. !device_can_wakeup() ) is closed, we fail out of > autosuspend_check() because

Re: [RFC PATCH 1/5] mm/page_ext: resurrect struct page extending code for debugging

2014-11-13 Thread Andrew Morton
On Thu, 13 Nov 2014 15:40:35 +0900 Joonsoo Kim wrote: > On Wed, Nov 12, 2014 at 08:33:40AM -0800, Dave Hansen wrote: > > On 11/12/2014 12:27 AM, Joonsoo Kim wrote: > > > @@ -1092,6 +1096,14 @@ struct mem_section { > > > > > > /* See declaration of similar field in struct zone */ > > > unsig

[PATCH v6 06/24] Update MAINTAINERS and CREDITS files with amdkfd info

2014-11-13 Thread Oded Gabbay
v6: Update entries to reflect new name & location of driver Signed-off-by: Oded Gabbay --- CREDITS | 7 +++ MAINTAINERS | 10 ++ 2 files changed, 17 insertions(+) diff --git a/CREDITS b/CREDITS index bb62788..c56d8aa 100644 --- a/CREDITS +++ b/CREDITS @@ -1197,6 +1197,13 @@ S:

Re: [PATCH] audit: convert status version to a feature bitmap

2014-11-13 Thread Joe Perches
On Thu, 2014-11-13 at 15:29 -0500, Richard Guy Briggs wrote: > The version field defined in the audit status structure was found to have > limitations in terms of its expressibility of features supported. This is > distict from the get/set features call to be able to command those features > that

[GIT] Networking

2014-11-13 Thread David Miller
1) sunhme driver lacks DMA mapping error checks, based upon a report by Meelis Roos. 2) Fix memory leak in mvpp2 driver, from Sudip Mukherjee. 3) DMA memory allocation sizes are wrong in systemport ethernet driver, fix from Florian Fainelli. 4) Fix use after free in mac80211 defragmentati

[PATCH] audit: convert status version to a feature bitmap

2014-11-13 Thread Richard Guy Briggs
The version field defined in the audit status structure was found to have limitations in terms of its expressibility of features supported. This is distict from the get/set features call to be able to command those features that are present. Converting this field from a version number to a featur

Re: [PATCH v10 2/3] power-domain: rockchip: add power doamin driver

2014-11-13 Thread Kevin Hilman
Heiko Stübner writes: > Am Dienstag, 11. November 2014, 08:53:13 schrieb Kevin Hilman: >> Caesar Wang writes: >> > In order to meet high performance and low power requirements, a power >> > management unit is designed or saving power when RK3288 in low power mode. >> > The RK3288 PMU is dedicate

Re: [Patch V1 3/6] genirq: Introduce msi_domain_{alloc|free}_irqs()

2014-11-13 Thread Marc Zyngier
On 13/11/14 11:43, Jiang Liu wrote: > Introduce msi_domain_{alloc|free}_irqs() to alloc/free interrupts > from generic MSI irqdomain. > > Signed-off-by: Jiang Liu > --- > include/linux/msi.h | 35 ++ > kernel/irq/msi.c| 59 > ++

Re: [PATCH v11 2/3] power-domain: rockchip: add power doamin driver

2014-11-13 Thread Dmitry Torokhov
On Friday, November 14, 2014 03:35:44 AM Daniel Kurtz wrote: > On Thu, Nov 13, 2014 at 6:01 AM, Caesar Wang > wrote: > > + > > + error = -ENXIO; > > + > > + for_each_available_child_of_node(np, node) { > > + error = rockchip_pm_add_one_domain(pmu, node); > > +

Re: [PATCH net-next] rhashtable: Drop gfp_flags arg in insert/remove functions

2014-11-13 Thread David Miller
From: Thomas Graf Date: Thu, 13 Nov 2014 13:45:46 +0100 > Reallocation is only required for shrinking and expanding and both rely > on a mutex for synchronization and callers of rhashtable_init() are in > non atomic context. Therefore, no reason to continue passing allocation > hints through the

Re: [PATCH 16/16] rxrpc: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread David Howells
Pranith Kumar wrote: >loop != call->acks_head || stop; >loop = (loop + 1) & (call->acks_winsz - 1) >) { > - p_txb = call->acks_window + loop; > - smp_read_barrier_depends(); > + p_txb = lockless_dereference(call)->acks_windo

[PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-13 Thread Benson Leung
usbhid->intf->needs_remote_wakeup is set when a device is opened, and is cleared when a device is closed. When a usbhid device that does not support remote wake ( i.e. !device_can_wakeup() ) is closed, we fail out of autosuspend_check() because the autosuspend check is called before the flag is cl

Re: [PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-13 Thread Andi Kleen
On Thu, Nov 13, 2014 at 05:08:33PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Nov 13, 2014 at 08:52:08PM +0100, Andi Kleen escreveu: > > On Thu, Nov 13, 2014 at 04:14:17PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Wed, Nov 12, 2014 at 06:05:20PM -0800, Andi Kleen escreveu: > > > > +stat

Re: [PATCHv7 0/3] syscalls,x86: Add execveat() system call

2014-11-13 Thread Andrew Morton
On Thu, 13 Nov 2014 14:42:58 + David Drysdale wrote: > On Wed, Nov 12, 2014 at 9:50 PM, Andrew Morton > wrote: > > On Fri, 7 Nov 2014 17:01:01 + David Drysdale > > wrote: > > > >> This patch set adds execveat(2) for x86, and is derived from Meredydd > >> Luff's patch from Sept 2012 (h

Re: [PATCH 06/16] assoc_array: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread David Howells
Pranith Kumar wrote: > static inline bool assoc_array_ptr_is_meta(const struct assoc_array_ptr *x) > { > - return (unsigned long)x & ASSOC_ARRAY_PTR_TYPE_MASK; > + return (unsigned long)lockless_dereference(x) & > + ASSOC_ARRAY_PTR_TYPE_MASK;

Re: [PATCH 02/16] doc: memory-barriers.txt: Document use of lockless_dereference()

2014-11-13 Thread Paul E. McKenney
On Thu, Nov 13, 2014 at 02:24:08PM -0500, Pranith Kumar wrote: > Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). The following PATCH makes the change. > > Signed-off-by: Pranith Kumar > --- > Documentation/memory-barriers.txt | 2

Re: [PATCH 01/16] crypto: caam - Remove unnecessary smp_read_barrier_depends()

2014-11-13 Thread Paul E. McKenney
On Thu, Nov 13, 2014 at 02:24:07PM -0500, Pranith Kumar wrote: > Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). The following PATCH makes the change. > > Signed-off-by: Pranith Kumar > --- > drivers/crypto/caam/jr.c | 3 --- > 1

Re: [PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Thu, Nov 13, 2014 at 08:52:08PM +0100, Andi Kleen escreveu: > On Thu, Nov 13, 2014 at 04:14:17PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 12, 2014 at 06:05:20PM -0800, Andi Kleen escreveu: > > > +static int remove_loops(struct branch_entry *l, int nr) > > > +{ > > > + int i, j, off

Re: [RFC PATCH 00/16] Replace smp_read_barrier_depends() with lockless_derefrence()

2014-11-13 Thread Paul E. McKenney
On Thu, Nov 13, 2014 at 02:24:06PM -0500, Pranith Kumar wrote: > Recently lockless_dereference() was added which can be used in place of > hard-coding smp_read_barrier_depends(). > > http://lkml.iu.edu/hypermail/linux/kernel/1410.3/04561.html > > The following series tries to do this. > > There

[GIT PULL] HID

2014-11-13 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive - fix for oops in HID core upon repeated subdriver insertion/removal under certain circumstances, by Benjamin Tissoires - quirk for another Elan Touchscreen device, by Adel Gadllah T

Re: [GIT PULL] USB fixes for v3.18-rc5

2014-11-13 Thread Felipe Balbi
Hi, On Thu, Nov 13, 2014 at 11:18:39AM -0800, Greg KH wrote: > On Thu, Nov 13, 2014 at 01:13:44PM -0600, Felipe Balbi wrote: > > > I just got back from Korea, sorry for the delay, will get to this > > > today... > > > > no problem, let me add your G+ to my 'following' circle :-p > > I was only t

Re: [PATCH V3 5/8] x86: Introduce function to get pmd entry pointer

2014-11-13 Thread Konrad Rzeszutek Wilk
On Thu, Nov 13, 2014 at 07:54:57AM +0100, Juergen Gross wrote: > On 11/12/2014 11:12 PM, Konrad Rzeszutek Wilk wrote: > >On Tue, Nov 11, 2014 at 06:43:43AM +0100, Juergen Gross wrote: > >>Introduces lookup_pmd_address() to get the address of the pmd entry > >>related to a virtual address in the cur

Re: [PATCH] leds: lp8860: Introduce TI lp8860 4 channel LED driver

2014-11-13 Thread Dan Murphy
Bryan Thanks for the review On 11/13/2014 01:43 PM, Bryan Wu wrote: > On Thu, Nov 13, 2014 at 4:35 AM, Dan Murphy wrote: >> Introduce the Texas Instruments lp8860 >> 4 channel LED driver. >> >> This driver configures the device in display custer mode > custer or cluster? Ooops cluster it is. >

[PATCH] hp_accel: Add support for HP ZBook 15

2014-11-13 Thread Takashi Iwai
From: Dominique Leuenberger HP ZBook 15 laptop needs a non-standard mapping (x_inverted). BugLink: http://bugzilla.opensuse.org/show_bug.cgi?id=905329 Signed-off-by: Dominique Leuenberger Cc: Signed-off-by: Takashi Iwai --- drivers/platform/x86/hp_accel.c | 1 + 1 file changed, 1 insertion(+

Re: [PATCH V3 4/8] xen: Delay invalidating extra memory

2014-11-13 Thread Konrad Rzeszutek Wilk
On Thu, Nov 13, 2014 at 07:49:24AM +0100, Juergen Gross wrote: > On 11/12/2014 11:10 PM, Konrad Rzeszutek Wilk wrote: > >>@@ -376,12 +374,14 @@ void __init xen_build_dynamic_phys_to_machine(void) > >>unsigned long max_pfn; > >>unsigned long pfn; > >> > >>-if (xen_feature(XENFEAT_auto_tr

Re: [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-13 Thread Konrad Rzeszutek Wilk
> >>+ mfn_save = virt_to_mfn(buf); > >>+ > >>+ while (xen_remap_mfn != INVALID_P2M_ENTRY) { > > > >So the 'list' is constructed by going forward - that is from low-numbered > >PFNs to higher numbered ones. But the 'xen_remap_mfn' is going the > >other way - from the highest PFN to the lowest PF

spatch for trivial pointer comparison style?

2014-11-13 Thread Joe Perches
I added a checkpatch entry for this. Maybe some cocci test like this would be useful? @@ type t; t *p; @@ - p == NULL + !p @@ type t; t *p; @@ - p != NULL + p @@ type t; t *p; @@ - NULL == p + !p @@ type t; t *p; @@ - NULL != p + p -- To unsubsc

Re: [PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-13 Thread Andi Kleen
On Thu, Nov 13, 2014 at 04:14:17PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Nov 12, 2014 at 06:05:20PM -0800, Andi Kleen escreveu: > > +static int remove_loops(struct branch_entry *l, int nr) > > +{ > > + int i, j, off; > > + unsigned char chash[CHASHSZ]; > > + > > + memset(chash, NO_

Re: [PATCH net-next v2] net: generic dev_disable_lro() stacked device handling

2014-11-13 Thread David Miller
From: Michal Kubecek Date: Thu, 13 Nov 2014 07:54:50 +0100 (CET) > Large receive offloading is known to cause problems if received packets > are passed to other host. Therefore the kernel disables it by calling > dev_disable_lro() whenever a network device is enslaved in a bridge or > forwarding

Re: [Patch V1 6/6] PCI, MSI: Provide mechanism to alloc/free MSI/MSIX interrupt from irqdomain

2014-11-13 Thread Marc Zyngier
Hi Jiang, On 13/11/14 11:43, Jiang Liu wrote: > Provide mechanism to directly alloc/free MSI/MSIX interrupt from > irqdomain, which will be used to replace arch_setup_msi_irq()/ > arch_setup_msi_irqs()/arch_teardown_msi_irq()/arch_teardown_msi_irqs(). > > To kill weak functions, this patch introd

Re: [PATCHv6 4/5] hwspinlock/core: add common OF helpers

2014-11-13 Thread Ohad Ben-Cohen
Hi Suman, On Thu, Nov 13, 2014 at 7:38 PM, Suman Anna wrote: > No, not always, because, either of them can be optional between > different platform implementations. For example, on OMAP, the number of > locks is read from an IP register, and not coded in DT. Similarly, > base_id can be optional o

Re: [PATCH] leds: lp8860: Introduce TI lp8860 4 channel LED driver

2014-11-13 Thread Bryan Wu
On Thu, Nov 13, 2014 at 4:35 AM, Dan Murphy wrote: > Introduce the Texas Instruments lp8860 > 4 channel LED driver. > > This driver configures the device in display custer mode custer or cluster? > as this seems to be the most used configuration at the > time of the driver configuration. > > For

[PATCH v3 1/3] i2c: meson: add device tree bindings documentation

2014-11-13 Thread Beniamino Galvani
This commit adds device tree bindings documentation for the I2C bus controller found on Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- .../devicetree/bindings/i2c/i2c-meson.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devi

[PATCH v3 0/3] i2c: add driver for Amlogic Meson I2C controller

2014-11-13 Thread Beniamino Galvani
Hi, this patchset adds a driver for the I2C controller available in Amlogic Meson SoCs. It has been tested on a Meson8 based board with the following devices: - Ricoh RN5T618 PMIC - NXP PCF8564 RTC Changes since v2: - fixed token generation for split reads - simplified meson_i2c_prepare_xfer(

Re: [PATCH v11 2/3] power-domain: rockchip: add power doamin driver

2014-11-13 Thread Daniel Kurtz
On Thu, Nov 13, 2014 at 6:01 AM, Caesar Wang wrote: > In order to meet high performance and low power requirements, a power > management unit is designed or saving power when RK3288 in low power mode. > The RK3288 PMU is dedicated for managing the power ot the whole chip. > > Signed-off-by: Jack D

[PATCH v3 3/3] ARM: dts: meson: add I2C controller nodes

2014-11-13 Thread Beniamino Galvani
Add nodes for I2C controllers A,B,AO, which are available in both Meson6 and Meson8. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi i

Re: [PATCH net-next] tun: fix issues of iovec iterators using in tun_put_user()

2014-11-13 Thread David Miller
From: Herbert Xu Date: Thu, 13 Nov 2014 16:58:38 +0800 > On Thu, Nov 13, 2014 at 04:54:14PM +0800, Jason Wang wrote: >> This patch fixes two issues after using iovec iterators: >> - vlan_offset should be initialized to zero, otherwise unexpected offset >> will be used in skb_copy_datagram_iter(

[PATCH v3 2/3] i2c: add support for Amlogic Meson I2C controller

2014-11-13 Thread Beniamino Galvani
This is a driver for the I2C controller found in Amlogic Meson SoCs. Signed-off-by: Beniamino Galvani --- drivers/i2c/busses/Kconfig | 7 + drivers/i2c/busses/Makefile| 1 + drivers/i2c/busses/i2c-meson.c | 492 + 3 files changed, 500 insertion

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-13 Thread Sebastian Andrzej Siewior
I try to get through my ctf mailbox and I hoped I can finish it today but I don't make it completely… On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: > "mvn clean install". It is the Maven equivalent of "./configure && make" ;) > > Or if you want to build a standalone application (RCP): > mv

[PATCH 01/16] crypto: caam - Remove unnecessary smp_read_barrier_depends()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- drivers/crypto/caam/jr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/crypto/caam/jr.c b/drivers

Re: [PATCH] PM / Domains: restore calling of .suspend/resume_noirq() callbacks

2014-11-13 Thread Grygorii Strashko
On 11/13/2014 09:11 PM, Geert Uytterhoeven wrote: > On Thu, Nov 13, 2014 at 7:43 PM, Grygorii Strashko > wrote: >> On 11/13/2014 03:33 AM, Rafael J. Wysocki wrote: >>> On Wednesday, November 12, 2014 06:00:47 PM Grygorii Strashko wrote: Now .suspend/resume_noirq() callbacks will not be called

Re: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-13 Thread Sebastian Andrzej Siewior
On 11/05/2014 06:21 PM, Mathieu Desnoyers wrote: > A very good example is the semantic of the sched_wakeup event. It has > changed due to scheduler code modification, and is now called from an > IPI context, which changes its semantic (not called from the same > PID). Unfortunately, there is little

Re: [PATCH] tty: serial: msm_serial: Use DT aliases

2014-11-13 Thread Stephen Boyd
On 11/12/2014 10:14 AM, Frank Rowand wrote: > On 11/10/2014 7:20 PM, Frank Rowand wrote: >> On 11/10/2014 6:07 PM, Stephen Boyd wrote: >>> On 11/10/2014 05:56 PM, Frank Rowand wrote: On 11/10/2014 11:42 AM, Stephen Boyd wrote: > diff --git a/drivers/tty/serial/msm_serial.c > b/drivers

[PATCH 05/16] overlayfs: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- fs/overlayfs/super.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/overlayfs/super.c

[PATCH 02/16] doc: memory-barriers.txt: Document use of lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- Documentation/memory-barriers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentati

[PATCH 03/16] drivers: dma: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- drivers/dma/ioat/dma_v2.c | 3 +-- drivers/dma/ioat/dma_v3.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletio

[PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-13 Thread Alexander Duyck
It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as reviewing an IBM website that goes over the use of PowerPC barriers at h

[PATCH 08/16] rcupdate: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- include/linux/rcupdate.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/l

[PATCH 0/3] Introduce load_acquire() and store_release()

2014-11-13 Thread Alexander Duyck
These patches introduce uniprocessor or CPU<->device equivalents for smp_load_acquire() and smp_store_release(). These two new primitives are: load_acquire() store_release() The first patch adds the primitives for the applicable architectures and asm-generic. The second patch ad

[PATCH 2/3] r8169: Use load_acquire() and store_release() to reduce memory barrier overhead

2014-11-13 Thread Alexander Duyck
The r8169 use a pair of wmb() calls when setting up the descriptor rings. The first is to synchronize the descriptor data with the descriptor status, and the second is to synchronize the descriptor status with the use of the MMIO doorbell to notify the device that descriptors are ready. This can c

[PATCH 3/3] fm10k/igb/ixgbe: Use load_acquire on Rx descriptor

2014-11-13 Thread Alexander Duyck
This change makes it so that load_acquire is used when reading the Rx descriptor. The advantage of load_acquire is that it allows for a much lower cost barrier on x86, ia64, powerpc, arm64, and s390 architectures than a traditional memory barrier when dealing with reads that only have to synchroni

[PATCH 06/16] assoc_array: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. I replaced the inline functions dereferencing pointer 'x' to use lockless_dereference() because of which we do not need to litter the code with smp_

[PATCH 12/16] task_work: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- kernel/task_work.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/task_work.c b/ker

[PATCH 07/16] hyperv: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- include/linux/hyperv.h | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/include/linux

[PATCH 09/16] percpu: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- include/linux/percpu-refcount.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/li

[PATCH 11/16] seccomp: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- kernel/seccomp.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/seccomp.c b/ke

[PATCH 13/16] ksm: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- mm/ksm.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mm/ksm.c b/mm/ksm.c index d24

[PATCH 10/16] perf: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- kernel/events/core.c| 3 +-- kernel/events/uprobes.c | 8 2 files changed, 5 insertions(+), 6 deleti

[PATCH 15/16] netfilter: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- net/ipv4/netfilter/arp_tables.c | 3 +-- net/ipv4/netfilter/ip_tables.c | 3 +-- net/ipv6/netfilter/ip6_tables.c

[PATCH 16/16] rxrpc: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- net/rxrpc/ar-ack.c | 22 +- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/ne

[PATCH 04/16] dcache: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- fs/dcache.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c

[PATCH 14/16] slab: Replace smp_read_barrier_depends() with lockless_dereference()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). The following PATCH makes the change. Signed-off-by: Pranith Kumar --- mm/slab.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/slab.h b/mm/slab.h index 3

[RFC PATCH 00/16] Replace smp_read_barrier_depends() with lockless_derefrence()

2014-11-13 Thread Pranith Kumar
Recently lockless_dereference() was added which can be used in place of hard-coding smp_read_barrier_depends(). http://lkml.iu.edu/hypermail/linux/kernel/1410.3/04561.html The following series tries to do this. There are still some hard-coded locations which I was not sure how to replace with.

Re: [PATCH 07/10] perf, tools: Only print base source file for srcline

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:25PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > For perf report with --sort srcline only print the base source file > name. This makes the results generally fit much better to the > screen. The path is usually not that useful anyways because it is > often fro

Re: randconfig build error with next-20141113, in fs/pstore/inode.c

2014-11-13 Thread Kees Cook
On Thu, Nov 13, 2014 at 11:18 AM, Luck, Tony wrote: >> Building with the attached random configuration file, >> >> fs/built-in.o: In function `pstore_check_syslog_permissions': >> inode.c:(.text+0x13a1bd): undefined reference to `check_syslog_permissions' >> make: *** [vmlinux] Error 1 > > Sebasti

Re: [PATCH 06/10] perf, tools: Enable printing the srcline in the history

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:24PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > For lbr-as-callgraph we need to see the line number in the history, > because many LBR entries can be in a single function, and just > showing the same function name many times is not useful. > > When the histo

Re: [GIT PULL] USB fixes for v3.18-rc5

2014-11-13 Thread Greg KH
On Thu, Nov 13, 2014 at 01:13:44PM -0600, Felipe Balbi wrote: > > I just got back from Korea, sorry for the delay, will get to this > > today... > > no problem, let me add your G+ to my 'following' circle :-p I was only there for 48 hours, not even long enough to post anything there... greg "I f

RE: randconfig build error with next-20141113, in fs/pstore/inode.c

2014-11-13 Thread Luck, Tony
> Building with the attached random configuration file, > > fs/built-in.o: In function `pstore_check_syslog_permissions': > inode.c:(.text+0x13a1bd): undefined reference to `check_syslog_permissions' > make: *** [vmlinux] Error 1 Sebastian, This looks to come from your "Honor dmesg_restrict sysct

Re: [PATCH 05/10] perf, tools: Use a common function to resolve symbol or name

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:23PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Refactor the duplicated code to resolve the symbol name or > the address of a symbol into a single function. > > Used in next patch to add common functionality. Applied. -- To unsubscribe from this list: send

Re: [PATCH 0/3] miscellaneous fixes in coresight

2014-11-13 Thread Greg KH
On Thu, Nov 13, 2014 at 11:12:40AM -0700, Mathieu Poirier wrote: > On 13 November 2014 01:42, Pankaj Dubey wrote: > > This patch series fixes some typo and minor issues in coresight which > > I observed while going through this driver. > > > > Pankaj Dubey (3): > > coresight: fix typo in comment

Re: [PATCH 03/10] perf, tools: Use al.addr to set up call chain

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:21PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Use the relative address, this makes get_srcline work correctly > in the end. Applied. > Signed-off-by: Andi Kleen > --- > tools/perf/util/machine.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH 02/10] perf, tools: Support handling complete branch stacks as histograms

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:20PM -0800, Andi Kleen escreveu: > +static int remove_loops(struct branch_entry *l, int nr) > +{ > + int i, j, off; > + unsigned char chash[CHASHSZ]; > + > + memset(chash, NO_ENTRY, sizeof(chash)); > + > + BUG_ON(nr >= 256); What is wrong with return -

Re: [PATCH 01/10] perf, tools: Factor out adding new call chain entries

2014-11-13 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 12, 2014 at 06:05:19PM -0800, Andi Kleen escreveu: > From: Andi Kleen > > Move the code to resolve and add a new callchain entry > into a new add_callchain_ip function. This will be used > in the next patches to add LBRs too. > > No change in behavior. Applied. - Arnaldo -- To unsu

Re: [GIT PULL] USB fixes for v3.18-rc5

2014-11-13 Thread Felipe Balbi
On Thu, Nov 13, 2014 at 11:11:59AM -0800, Greg KH wrote: > On Thu, Nov 13, 2014 at 12:05:17PM -0600, Felipe Balbi wrote: > > Hi, > > > > On Mon, Nov 10, 2014 at 02:52:59PM -0600, Felipe Balbi wrote: > > > Hi Greg, > > > > > > Here's another minor for v3.18-rc5. Please consider > > > merging to yo

Re: [GIT PULL] USB fixes for v3.18-rc5

2014-11-13 Thread Greg KH
On Mon, Nov 10, 2014 at 02:52:59PM -0600, Felipe Balbi wrote: > Hi Greg, > > Here's another minor for v3.18-rc5. Please consider > merging to your usb-linus branch. > > Tested with AM437x SK and testusb. > > cheers > > The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108:

Re: [GIT PULL] USB fixes for v3.18-rc5

2014-11-13 Thread Greg KH
On Thu, Nov 13, 2014 at 12:05:17PM -0600, Felipe Balbi wrote: > Hi, > > On Mon, Nov 10, 2014 at 02:52:59PM -0600, Felipe Balbi wrote: > > Hi Greg, > > > > Here's another minor for v3.18-rc5. Please consider > > merging to your usb-linus branch. > > > > Tested with AM437x SK and testusb. > > > >

Re: [PATCH] PM / Domains: restore calling of .suspend/resume_noirq() callbacks

2014-11-13 Thread Geert Uytterhoeven
On Thu, Nov 13, 2014 at 7:43 PM, Grygorii Strashko wrote: > On 11/13/2014 03:33 AM, Rafael J. Wysocki wrote: >> On Wednesday, November 12, 2014 06:00:47 PM Grygorii Strashko wrote: >>> Now .suspend/resume_noirq() callbacks will not be called during >>> system wide suspend/resume for devices which

Re: [PATCH v4] mmc: dw_mmc: add support for the other bit of sdio interrupt

2014-11-13 Thread Doug Anderson
Addy, On Tue, Nov 4, 2014 at 6:03 AM, Addy Ke wrote: > The bit of sdio interrupt is 16 in designware implementation, > but it is 24 on Rockchip SoCs.This patch add sdio_id0 for the > number of slot0 in the SDIO interrupt registers. > > Signed-off-by: Addy Ke > --- > Changes in v2: > - rebase on

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