Re: [PATCH 1/2] ASoC: da7218: Add bindings documentation for DA7218 audio codec

2015-11-06 Thread Mark Brown
On Thu, Nov 05, 2015 at 05:59:29PM +, Opensource [Adam Thomson] wrote: > On November 05, 2015 14:59, Mark Brown wrote: > > > +- dlg,ldo-lvl : Required internal LDO voltage (mV) level > > > + [<1050>, <1100>, <1200>, <1400>] > > Why would this ever be anything other than the minimum voltage,

Re: [PATCH v2] mm: hwpoison: adjust for new thp refcounting

2015-11-06 Thread Kirill A. Shutemov
On Fri, Nov 06, 2015 at 05:03:12PM +0900, Naoya Horiguchi wrote: > Some mm-related BUG_ON()s could trigger from hwpoison code due to recent > changes in thp refcounting rule. This patch fixes them up. > > In the new refcounting, we no longer use tail->_mapcount to keep tail's > refcount, and

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Tomasz Nowicki
On 06.11.2015 09:52, Jiang Liu wrote: On 2015/11/6 2:19, Lorenzo Pieralisi wrote: On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: On 14.10.2015 08:29, Jiang Liu wrote: [...] +static void acpi_pci_root_validate_resources(struct device *dev, +

Re: [PATCH 03/23] usb: gadget: f_sourcesink: free requests in sourcesink_disable()

2015-11-06 Thread Robert Baldyga
On 11/06/2015 09:15 AM, Peter Chen wrote: > On Tue, Nov 03, 2015 at 01:53:42PM +0100, Robert Baldyga wrote: >> USB requests in SourceSink function are allocated in sourcesink_get_alt() >> function, so we prefer to free them rather in sourcesink_disable() than >> in source_sink_complete() when

[PATCH v8 3/4] irqchip:create irq domain for each mbigen device

2015-11-06 Thread MaJun
From: Ma Jun For peripheral devices which connect to mbigen,mbigen is a interrupt controller. So, we create irq domain for each mbigen device and add mbigen irq domain into irq hierarchy structure. Signed-off-by: Ma Jun ---

RE: [PATCH 1/1] I2C: designware: fix IO timeout issue for AMD controller

2015-11-06 Thread Yu, Xiangliang
> -Original Message- > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Sent: Friday, November 06, 2015 3:46 PM > To: Yu, Xiangliang > Cc: andriy.shevche...@linux.intel.com; jarkko.nik...@linux.intel.com; > w...@the-dreams.de; linux-...@vger.kernel.org; linux- >

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 2:19, Lorenzo Pieralisi wrote: > On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: >> On 14.10.2015 08:29, Jiang Liu wrote: > > [...] > >>> +static void acpi_pci_root_validate_resources(struct device *dev, >>> +struct list_head

Re: [RFC 3/3] ARM: e3xx: Add header file for pinctrl constants

2015-11-06 Thread Arnd Bergmann
On Thursday 05 November 2015 15:41:23 Moritz Fischer wrote: > +/* Pin names for the E31x usecase */ > +#define E31X_TX_BANDSEL_2 "DB_1" > +#define E31X_RX1B_BANDSEL_0"DB_3" > +#define E31X_RX1B_BANDSEL_1"DB_5" > +#define E31X_VCTXRX2_V2"DB_7" > +#define

[PATCH] x86/fpu: Fix get_xsave_addr which returns error pointer to KVM

2015-11-06 Thread Huaitong Han
when KVM uses the get_xsave_addr, xsave parameter belongs to guest vcpu, if xsave is replaced with current task (host) xsave, get_xsave_addr will return error xsave addr to KVM. Signed-off-by: Huaitong Han --- arch/x86/kernel/fpu/xstate.c | 1 - 1 file changed, 1

Re: [PATCH v10 1/5] configfs: Allow dynamic group creation

2015-11-06 Thread Daniel Baluta
On Fri, Nov 6, 2015 at 9:50 AM, Christoph Hellwig wrote: > Is this going into 4.4 through the iio tree? If not is there any chance > to get it in through some other tree? While we're not past the merge > window is trivial new functionality that doesn't change code, and I'd like to

Re: [PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-06 Thread Heiko Stuebner
Am Freitag, 6. November 2015, 09:17:24 schrieb Zain Wang: > Add DT bindings documentation for the rk3288 crypto drivers. > > Signed-off-by: Zain Wang > --- > > Changde in v2: > - None > > Changed in v1: > - remove the _crypto suffix > - use "rockchip,rk3288-crypto"

Re: "compatible" and "model" properties in .dts for ARC boards

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 04:45:24 Vineet Gupta wrote: > > > > During OpenWRT upsreaming process one interesting topic was raised. > > See in the middle of > > https://lists.openwrt.org/pipermail/openwrt-devel/2015-November/036959.html > > > > In Device Tree descriptions for our boards we don't

Re: [PATCH] mmc: pxamci: fix read-only gpio detection polarity

2015-11-06 Thread Ulf Hansson
On 5 November 2015 at 20:46, Robert Jarzmik wrote: > The commit converting pxamci to slot-gpio API inverted the logic of the > read-only gpio. Fix it by inverting the logic again. > > Fixes: fd546ee6a7dc ("mmc: pxamci: fix card detect with slot-gpio API") > Signed-off-by:

Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 04:15:37PM +0800, Shunqian Zheng wrote: > On 2015年11月06日 00:13, Mark Brown wrote: > >On Thu, Nov 05, 2015 at 05:53:13PM +0800, Shunqian Zheng wrote: > >This looks like a simple boolean control rather than an enum - it looks > >like it's just turning antipop on and off. >

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-06 Thread Lee Jones
On Wed, 04 Nov 2015, Robert Jarzmik wrote: > Charles Keepax writes: > > > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik wrote: > >> The Wolfson WM9713 provides 8 GPIOs. If the gpiolib is compiled in the > >> kernel, declare a gpio chip. > >> > >>

Re: [PATCH v10 1/5] configfs: Allow dynamic group creation

2015-11-06 Thread Lars-Peter Clausen
On 11/06/2015 09:48 AM, Daniel Baluta wrote: > On Fri, Nov 6, 2015 at 9:50 AM, Christoph Hellwig wrote: >> Is this going into 4.4 through the iio tree? If not is there any chance >> to get it in through some other tree? While we're not past the merge >> window is trivial new

Re: [PATCH v2 4/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-06 Thread Zain
Hi On 2015年11月06日 17:00, Heiko Stuebner wrote: > Am Freitag, 6. November 2015, 09:17:24 schrieb Zain Wang: >> Add DT bindings documentation for the rk3288 crypto drivers. >> >> Signed-off-by: Zain Wang >> --- >> >> Changde in v2: >> - None >> >> Changed in v1: >> -

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Michael Ellerman
On Fri, 2015-11-06 at 13:17 +0530, Madhavan Srinivasan wrote: > On Friday 06 November 2015 08:28 AM, Sukadev Bhattiprolu wrote: > > Peter Zijlstra [pet...@infradead.org] wrote: > > > On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: > > > > Second patch updates struct

[PATCH] SRAM: Delete an unnecessary check before the function call "of_node_put"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 10:36:49 +0100 The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-06 Thread Charles Keepax
On Fri, Nov 06, 2015 at 09:29:13AM +, Lee Jones wrote: > On Wed, 04 Nov 2015, Robert Jarzmik wrote: > > > Charles Keepax writes: > > > > > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik wrote: > > >> The Wolfson WM9713 provides 8 GPIOs. If the

Re: [PATCH v2 3/4] ARM: dts: rockchip: Add Crypto drivers for rk3288

2015-11-06 Thread Zain
Hi: On 2015年11月06日 10:00, Caesar Wang wrote: > the subject should be add the node/info for crypto... ok! done! > > 在 2015年11月06日 09:17, Zain Wang 写道: >> Add Crypto drivers for rk3288 including crypto controller and dma clk. >> >> Signed-off-by: Zain Wang >> --- >> >>

Re: [PATCH v2 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-06 Thread Zain
Hi On 2015年11月06日 09:54, Caesar Wang wrote: > I guess the subject: > "crypto: rockchip: " > > Maybe better. ok! done! > > 在 2015年11月06日 09:17, Zain Wang 写道: >> The names registered are: >> ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) >> You can alloc tags above in your

Re: [PATCH v2 0/4] Crypto: add crypto accelerator support for rk3288

2015-11-06 Thread Zain
On 2015年11月06日 09:36, Caesar Wang wrote: > Hi > > 在 2015年11月06日 09:17, Zain Wang 写道: >> This commit support three cipher(AES/DES/DES3) and two >> chainmode(ecb/cbc), >> and the more algorithms and new hash drivers will be added later on. >> >> Changed in v2: >> - remove some part about hash >> -

Re: [PATCH v5 3/6] iommu: add ARM short descriptor page table allocator

2015-11-06 Thread Yong Wu
On Fri, 2015-10-09 at 10:23 +0800, Yong Wu wrote: > This patch is for ARM Short Descriptor Format. > > Signed-off-by: Yong Wu > --- Hi Will, Robin, Is there any comment about this patch? As our project request, We are going to prepare the next version. Thanks very

Re: [PATCH] PCI: dra7xx: mark dra7xx_pcie_msi irq as IRQF_NO_THREAD

2015-11-06 Thread Sebastian Andrzej Siewior
On 11/05/2015 07:43 PM, Grygorii Strashko wrote: > diff --git a/drivers/pci/host/pci-dra7xx.c b/drivers/pci/host/pci-dra7xx.c > index 6589e7e..31460f4 100644 > --- a/drivers/pci/host/pci-dra7xx.c > +++ b/drivers/pci/host/pci-dra7xx.c > @@ -302,8 +302,30 @@ static int __init

Re: [RFC 1/3] Documentation: dt: Add devicetree bindings for NI USRP E3xx pinconf

2015-11-06 Thread Arnd Bergmann
On Thursday 05 November 2015 15:41:21 Moritz Fischer wrote: > + e3xx_pinctrl: e3xx-pinctrl@40200a00 { Just "pinctrl@40200a00" > + compatible = "ettus,e3xx-pinctrl-1.0"; no wildcards in the name, use exact chip revisions here. If two chips use the same one, add a fallback to

Re: [PATCH 1/1] I2C: designware: fix IO timeout issue for AMD controller

2015-11-06 Thread Jarkko Nikula
On 06.11.2015 06:34, Yu, Xiangliang wrote: -Original Message- From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] --- a/drivers/i2c/busses/i2c-designware-core.c +++ b/drivers/i2c/busses/i2c-designware-core.c @@ -783,6 +783,9 @@ irqreturn_t i2c_dw_isr(int this_irq, void

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Vladimir Davydov
On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: ... > > 3) keep only some (safe) cache types enabled by default with the current > >failing semantic and require an explicit enabling for the complete > >kmem

Re: [PATCH v3] clocksource/drivers/dw_apb_timer_of: Implement ARM delay timer

2015-11-06 Thread Daniel Lezcano
On 11/05/2015 03:32 AM, Jisheng Zhang wrote: Implement an ARM delay timer to be used for udelay(). This allows us to skip the delay loop calibration at boot on Marvell BG2, BG2Q, BG2CD platforms. And after this patch, udelay() will be unaffected by CPU frequency changes. Note: Although in case

RE: [PATCH 1/1] I2C: designware: fix IO timeout issue for AMD controller

2015-11-06 Thread Yu, Xiangliang
> -Original Message- > From: Jarkko Nikula [mailto:jarkko.nik...@linux.intel.com] > Sent: Friday, November 06, 2015 5:00 PM > To: Yu, Xiangliang; Mika Westerberg > Cc: andriy.shevche...@linux.intel.com; w...@the-dreams.de; linux- > i...@vger.kernel.org; linux-kernel@vger.kernel.org; Xue,

[PATCH] SGI-XPC: Delete unnecessary checks before unregister_sysctl_table()

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 10:08:46 +0100 The unregister_sysctl_table() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH 1/3] pwm: lpss: Add support for multiple PWMs

2015-11-06 Thread Mika Westerberg
On Tue, Oct 20, 2015 at 04:53:05PM +0300, Mika Westerberg wrote: > New Intel SoCs such as Broxton will have four PWMs per PCI (or ACPI) > device. Each PWM has 1k of register space allocated from the parent device. > Add support for this. Hi Thierry, Are you going to pick these up to PWM tree?

Re: [RFC PATCH 0/3]perf/core: extend perf_reg and perf_sample_regs_intr

2015-11-06 Thread Peter Zijlstra
On Fri, Nov 06, 2015 at 12:57:17PM +0530, Madhavan Srinivasan wrote: > > > On Thursday 05 November 2015 06:37 PM, Peter Zijlstra wrote: > > On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: > >> Second patch updates struct arch_misc_reg for arch/powerpc with pmu > >>

Re: [RFC PATCH 0/7] reset: make RESET_CONTROLLER a select'ed option

2015-11-06 Thread Arnd Bergmann
On Friday 06 November 2015 14:58:04 Masahiro Yamada wrote: > 2015-11-05 23:49 GMT+09:00 Arnd Bergmann : > [1] > Why is ARCH_HAS_RESET_CONTROLLER select'ed by > ARCH_MULTIPLATFORM, but not by others? > This seems weird. I tried to avoid having to set this from each platform

Re: [PATCH 2/2] perf tools: Fix find_perf_probe_point_from_map() which incorrectly returns success

2015-11-06 Thread Wangnan (F)
On 2015/11/6 16:30, Wangnan (F) wrote: On 2015/11/6 15:12, 平松雅巳 / HIRAMATU,MASAMI wrote: From: a...@kernel.org [mailto:a...@kernel.org] Em Thu, Nov 05, 2015 at 02:08:48PM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: From: Wang Nan [mailto:wangn...@huawei.com] [SNIP] Ah, finally I got what

[RFC] usb: dwc2: hcd: fix split schedule issue

2015-11-06 Thread Yunzhi Li
Fix dwc2 split schedule sequence issue. Not schedule a SSPLIT_IN packet between SSPLIT-begin and SSPLIT-end. Signed-off-by: Yunzhi Li --- drivers/usb/dwc2/hcd.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-06 Thread Lee Jones
On Fri, 06 Nov 2015, Charles Keepax wrote: > On Fri, Nov 06, 2015 at 09:29:13AM +, Lee Jones wrote: > > On Wed, 04 Nov 2015, Robert Jarzmik wrote: > > > > > Charles Keepax writes: > > > > > > > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik

[PATCH v2] perf probe: Verify parameters for two functions

2015-11-06 Thread Wang Nan
On kernel with only one of CONFIG_KPROBE_EVENTS and CONFIG_UPROBE_EVENTS enabled, 'perf probe -d' causes segfault because perf_del_probe_events() calls probe_file__get_events() with a negative fd. This patch fixes it by add parameter validation at the entry of probe_file__get_events() and

Re: [PATCH v1 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-11-06 Thread Heiko Stuebner
Hi Zain, Am Dienstag, 3. November 2015, 13:52:05 schrieb Zain Wang: > Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher > mode. > The names registered are: > ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) > You can alloc tags above in your case. > >

Re: [PATCH v2 3/3] livepatch: Cleanup module page permission changes

2015-11-06 Thread Petr Mladek
On Thu 2015-11-05 15:18:05, Josh Poimboeuf wrote: > Calling set_memory_rw() and set_memory_ro() for every iteration of the > loop in klp_write_object_relocations() is messy, inefficient, and > error-prone. > > Change all the read-only pages to read-write before the loop and convert > them back to

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-06 Thread Mark Brown
On Thu, Nov 05, 2015 at 12:04:00PM -0600, Andrew F. Davis wrote: > On 11/05/2015 04:14 AM, Mark Brown wrote: > >That sounds like a bug to me, it'll have broken a bunch of existing > >devices. > Most OF drivers have the OF MODALIAS. That's nice but not relevant to non-OF devices. >

[PATCH] stm class: Hide STM-specific options if STM is disabled

2015-11-06 Thread Geert Uytterhoeven
If STM=n, it doesn't make sense to ask about STM_DUMMY and STM_SOURCE_CONSOLE support, which are not even built when enabled anyway. Hence hide these options if STM=n. Signed-off-by: Geert Uytterhoeven --- drivers/hwtracing/stm/Kconfig | 4 1 file changed, 4

Re: [PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 04:39:21PM +0800, Shunqian Zheng wrote: > + SOC_ENUM("Anti-pop", rk3036_codec_antipop_enum), As discussed this shouldn't be an enum. signature.asc Description: PGP signature

Re: [PATCH v2 00/12] KVM: x86: add support for VMX TSC scaling

2015-11-06 Thread Paolo Bonzini
On 20/10/2015 09:39, Haozhong Zhang wrote: > This patchset adds support for VMX TSC scaling feature which is > available on Intel Skylake CPU. The specification of VMX TSC scaling > can be found at >

Re: [PATCH] decnet: remove macro-local declarations

2015-11-06 Thread Julia Lawall
> > Would it be preferable to remove the macro entirely and inline the for > > loop header? > > Could you show me an example of how this would look exactly? One possible solution is below. I moved the initialization of the nh pointer inside the loop to reduce the size of the loop header. One

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 17:52:00, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 03:55:22PM -0500, Johannes Weiner wrote: > > On Thu, Nov 05, 2015 at 03:40:02PM +0100, Michal Hocko wrote: > > > This would be true if they moved on to the new cgroup API intentionally. > > > The reality is more complicated

Re: "compatible" and "model" properties in .dts for ARC boards

2015-11-06 Thread Jonas Gorski
On 06.11.2015 09:59, Arnd Bergmann wrote: > On Friday 06 November 2015 04:45:24 Vineet Gupta wrote: >>> >>> During OpenWRT upsreaming process one interesting topic was raised. >>> See in the middle of >>> https://lists.openwrt.org/pipermail/openwrt-devel/2015-November/036959.html >>> >>> In

Re: [PATCH 2/2] drm/imx: Remove the primary plane created by create_primary_plane()

2015-11-06 Thread Liu Ying
On Fri, Nov 06, 2015 at 11:05:48AM +0100, Philipp Zabel wrote: > Am Mittwoch, den 04.11.2015, 18:15 +0800 schrieb Liu Ying: > > Since we are using ipu_plane_init() to add one primary plane for each > > IPU CRTC, it's unnecessary to create the safe one by using the helper > >

Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP

2015-11-06 Thread Kapil Hali
On 11/5/2015 3:04 PM, Russell King - ARM Linux wrote: > On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: >> Hi, >> >> This series adds SMP support for Broadcom's Northstar Plus SoC. >> >> There are similar SMP enablement methods for many ARMv7 bsed SoCs. >> BCM NSP SoC, has a typical

Re: [PATCH RESEND 3/4] ARM: BCM: Add SMP support for Broadcom NSP

2015-11-06 Thread Kapil Hali
On 11/5/2015 3:14 PM, Linus Walleij wrote: > On Thu, Nov 5, 2015 at 6:51 AM, Kapil Hali wrote: > >> Add SMP support for Broadcom's Northstar Plus SoC, >> cpu enable method and pen_release procedures. This >> changes also consolidates iProc family's - BCM NSP >> and BCM

[PATCH 1/8] block/genhd.c: Add error handling

2015-11-06 Thread Vishnu Pratap Singh
This patch adds error handling for blk_register_region(), register_disk(), add_disk(), disk_alloc_events() & disk_add_events(). add_disk() & register_disk() functions error handling is very much needed as this is used mainly by many modules like mmc, zram, mtd, scsi etc. But there is no error

Re: [PATCH] GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 6 Nov 2015 13:38:22 +0100 > > The pwm_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 20:40, Tomasz Nowicki wrote: > On 06.11.2015 12:46, Jiang Liu wrote: >> On 2015/11/6 18:37, Tomasz Nowicki wrote: >>> On 06.11.2015 09:52, Jiang Liu wrote: >>> Sure, ARM64 (0-16M IO space) QEMU example: >>> DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange, >>>

Re: [PATCH] x86/setup: fix low identity map for >= 2GB kernel range

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 02:18:36PM +0100, Krzysztof Mazur wrote: > The commit f5f3497cad8c8416a74b9aaceb127908755d020a (x86/setup: Extend > low identity map to cover whole kernel range) extended the low identity > mapping. However, if the kernel uses more than 2 GB (VMSPLIT_2G_OPT or > VMSPLIT_1G

[PATCH v2 1/7] bpf tools: Improve libbpf error reporting

2015-11-06 Thread Wang Nan
In this patch, a series libbpf specific error numbers and libbpf_strerror() are created to help reporting error to caller. Functions are updated to pass correct error number through macro CHECK_ERR(). All users of bpf_object__open{_buffer}() and bpf_program__title() in perf are modified

[PATCH v2 3/7] perf tools: Make fetch_kernel_version() public available

2015-11-06 Thread Wang Nan
There are 2 places in llvm-utils.c which find kernel version information through uname. This patch extracts uname related code into one fetch_kernel_version() function and put it into util.h so other part of code can use it. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de

[PATCH v2 4/7] perf tools: Improve BPF related error messages output

2015-11-06 Thread Wang Nan
A series of bpf loader related error code is introduced to help error delivering. Functions are improved to return those new error code. Functions which return pointers are adjusted to encode error code into return value using "ERR_PTR". bpf_loader_strerror() is improved to convert those error

[PATCH] HDMI-HDCP: Delete an unnecessary check before the function call "kfree"

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 15:00:22 +0100 The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by:

[PATCH] GPU-DRM: Delete unnecessary checks before drm_property_unreference_blob()

2015-11-06 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 6 Nov 2015 12:03:46 +0100 The drm_property_unreference_blob() function tests whether its argument is NULL and then returns immediately. Thus the tests around the calls are not needed. This issue was detected by using the Coccinelle

Re: [PATCH 6/7] regulator: hisilicon: Add hi655x pmic voltage regulator driver

2015-11-06 Thread kbuild test robot
Hi Chen, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.3 next-20151106] url: https://github.com/0day-ci/linux/commits/Chen-Feng/Add-Support-for-Hi6220-PMIC-Hi6553-MFD-Core/20151105-215603 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie

Re: [PATCH v3 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 07:35:11PM +0800, Shunqian Zheng wrote: > Sure, I'll write the .get/.put/.info() for this. > Here is the preview of it. > Do you think the following is good to go? Yes, that looks sane. signature.asc Description: PGP signature

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-06 Thread Jiang Liu
On 2015/11/6 18:37, Tomasz Nowicki wrote: > On 06.11.2015 09:52, Jiang Liu wrote: >> On 2015/11/6 2:19, Lorenzo Pieralisi wrote: >>> On Thu, Nov 05, 2015 at 03:21:34PM +0100, Tomasz Nowicki wrote: On 14.10.2015 08:29, Jiang Liu wrote: >>> >>> [...] >>> > +static void

Re: [PATCH v11 5/5] xen/arm: account for stolen ticks

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 11:41:49AM +, David Vrabel wrote: > On 06/11/15 11:39, Stefano Stabellini wrote: > > On Thu, 5 Nov 2015, Mark Rutland wrote: > >>> static void xen_percpu_init(void) > >>> { > >>> struct vcpu_register_vcpu_info info; > >>> @@ -104,6 +120,8 @@ static void

Re: [PATCH v3 1/3] ASoC: rockchip: i2s: add 8 channels capture support

2015-11-06 Thread Mark Brown
On Fri, Nov 06, 2015 at 09:38:09AM +0800, Sugar Zhang wrote: > + /* refine capture channels */ > + if (!of_property_read_u32(node, "rockchip,capture-channels", )) { > + if (val >= 2 && val <= 8) > + rockchip_i2s_dai.capture.channels_max = val; > +

Re: [PATCH v11 1/5] xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c

2015-11-06 Thread Mark Rutland
On Fri, Nov 06, 2015 at 11:11:40AM +, Stefano Stabellini wrote: > On Thu, 5 Nov 2015, Mark Rutland wrote: > > Hi, > > > > > +static u64 get64(const u64 *p) > > > +{ > > > + u64 ret; > > > + > > > + if (BITS_PER_LONG < 64) { > > > + u32 *p32 = (u32 *)p; > > > + u32 h, l; > > >

[RESEND PATCH] drm/rockchip: vop: Correct enabled clocks during setup

2015-11-06 Thread Sjoerd Simons
When doing the initial setup both the hclk and the aclk need to be enabled otherwise the board will simply hang. This only occurs when building the vop driver as a module, when its built-in the initial setup happens to run before the clock framework shuts of unused clocks (including the aclk).

Re: [RFC] iommu: arm-smmu: correct reference count

2015-11-06 Thread Will Deacon
On Wed, Nov 04, 2015 at 10:48:28AM +0800, Peng Fan wrote: > On Tue, Nov 03, 2015 at 01:17:34PM +, Will Deacon wrote: > >On Tue, Nov 03, 2015 at 08:59:17PM +0800, Peng Fan wrote: > >> iommu_group_alloc will initialize the reference count for group to 1. > >> iommu_group_add_device also increase

[PATCH 3/8] block/floppy.c: handle blk_register_region() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles blk_register_region() return value. Earlier blk_register_region() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error

[PATCH 7/8] cdrom/gdrom.c: handle add_disk() return value

2015-11-06 Thread Vishnu Pratap Singh
This patch handles add_disk() return value. Earlier add_disk() function doesn't handle error cases, now it is added, so the callers of this function should also handle it. Verfied on X86 based ubuntu machine. This patch depends on [PATCH 1/8] block/genhd.c: Add error handling Signed-off-by:

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-11-06 Thread Michal Hocko
On Thu 05-11-15 17:32:51, Johannes Weiner wrote: > On Thu, Nov 05, 2015 at 05:28:03PM +0100, Michal Hocko wrote: [...] > > Yes, that part is clear and Johannes made it clear that the kmem tcp > > part is disabled by default. Or are you considering also all the slab > > usage by the networking code

Re: [PATCH] mm: slab: Only move management objects off-slab for sizes larger than KMALLOC_MIN_SIZE

2015-11-06 Thread Geert Uytterhoeven
On Thu, Nov 5, 2015 at 5:08 PM, Catalin Marinas wrote: > From fda8f306b6941f4ddbefcbcfaa59fedef4a679a3 Mon Sep 17 00:00:00 2001 > From: Catalin Marinas > Date: Thu, 5 Nov 2015 11:14:48 + > Subject: [PATCH] mm: slab: Only move management

Re: GPU-DRM-i915: Delete an unnecessary check before the function call "pwm_put"

2015-11-06 Thread Jani Nikula
On Fri, 06 Nov 2015, SF Markus Elfring wrote: >>> The pwm_put() function tests whether its argument is NULL and then >>> returns immediately. Thus the test around the call is not needed. >> >> The compiler doesn't need it, but IMO it's useful documentation for

Re: [GIT PULL] x86/mm changes for v4.4

2015-11-06 Thread Borislav Petkov
On Fri, Nov 06, 2015 at 01:09:48PM +, Matt Fleming wrote: > On Thu, 05 Nov, at 11:05:35PM, Andy Lutomirski wrote: > > > > Admittedly, we might need to use a certain amount of care to avoid > > interesting conflicts with the vmap mechanism. We might need to vmap > > all of the EFI stuff, and

Re: [PATCH 02/25] perf stat record: Add record command

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 09:24:00AM +0100, Jiri Olsa escreveu: > On Thu, Nov 05, 2015 at 05:51:01PM -0300, Arnaldo Carvalho de Melo wrote: > > SNIP > > > In the second case it almost works, modulo that warning. > > > > I think that what we need to achieve is for older tools to be able to, with

Re: [PATCH v5 3/6] ftrace: allow arch-specific stack tracer

2015-11-06 Thread Steven Rostedt
On Fri, 6 Nov 2015 15:44:42 +0900 AKASHI Takahiro wrote: > A stack frame may be used in a different way depending on cpu architecture. > Thus it is not always appropriate to slurp the stack contents, as current > check_stack() does, in order to calcurate a stack

[PATCH v2 2/7] bpf tools: Add new API bpf_object__get_kversion()

2015-11-06 Thread Wang Nan
bpf_object__get_kversion() can be used to fetch value of object's 'version' section. Following patch will use it for error reporting. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Namhyung Kim --- tools/lib/bpf/libbpf.c | 8

[PATCH v2 6/7] perf test: Enforce LLVM test: add kbuild test

2015-11-06 Thread Wang Nan
This patch adds a kbuild testcase to check whether kernel headers can be correctly found. For example: # mv /lib/modules/4.3.0-rc5{,.bak} # perf test LLVM 38: Test LLVM searching and compiling: Skip # perf test -v LLVM ... :11:10: fatal error: 'uapi/linux/fs.h'

Re: [PATCH] thinkpad_acpi: don't yell on unsupported brightness interfaces

2015-11-06 Thread David Herrmann
Hi Darren! On Wed, Oct 21, 2015 at 4:44 PM, Darren Hart wrote: > On Wed, Oct 21, 2015 at 12:33:52PM -0200, Henrique de Moraes Holschuh wrote: >> On Wed, Oct 21, 2015, at 08:46, David Herrmann wrote: >> > The thinkpad_acpi driver currently emits error messages on unsupported

[PATCH 2/3] Staging: lustre: tracefile: Remove wrapper function

2015-11-06 Thread Shivani Bhardwaj
Remove the function cfs_trace_free_string_buffer() as it can be replaced with the standard function kfree(). Signed-off-by: Shivani Bhardwaj --- drivers/staging/lustre/lustre/libcfs/tracefile.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git

[PATCH 3/5] block: add block polling support

2015-11-06 Thread Jens Axboe
Add basic support for polling for specific IO to complete. This uses the cookie that blk-mq passes back, which enables the block layer to pass this cookie to the driver to spin for a specific request. This will be combined with request latency tracking, so we can make qualified decisions about

[PATCH 4/5] NVMe: add blk polling support

2015-11-06 Thread Jens Axboe
Add nvme_poll(), which will check a specific completion queue for command completions. Wire that up to the new block layer poll mechanism. Later on we'll setup specific sq/cq pairs that don't have interrups enabled, so we can do more efficient polling. As of this patch, an IRQ will still trigger

[PATCH 2/5] blk-mq: return tag/queue combo in the make_request_fn handlers

2015-11-06 Thread Jens Axboe
Return a cookie, blk_qc_t, from the blk-mq make request functions, that allows a later caller to uniquely identify a specific IO. The cookie doesn't mean anything to the caller, but the caller can use it to later pass back to the block layer. The block layer can then identify the hardware queue

[PATCH 1/5] block: change ->make_request_fn() and users to return a queue cookie

2015-11-06 Thread Jens Axboe
No functional changes in this patch, but it prepares us for returning a more useful cookie related to the IO that was queued up. Signed-off-by: Jens Axboe --- arch/m68k/emu/nfblock.c | 3 ++- arch/powerpc/sysdev/axonram.c | 5 +++--

Re: [PATCH 0/4] dm verity: add support for error correction

2015-11-06 Thread Mikulas Patocka
On Thu, 5 Nov 2015, Milan Broz wrote: > On 11/05/2015 03:02 AM, Sami Tolvanen wrote: > > This patch set adds error correction support to dm-verity, which > > makes it possible to recover from data corruption in exchange of > > increased space overhead. > > > > The feature is implemented as

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-06 Thread Eduardo Valentin
Caesar, On Thu, Nov 05, 2015 at 01:17:56PM +0800, Caesar Wang wrote: > This series patchs are working for RK3368 on Rockchip platform. > Good to see the perseverance! :-) > @Heiko, > The PATCH [5/6] is working based on big/littel cluster cpufreq > added. Anyway, the PATCH [5/6] also

[PATCH] net: netfilter: fix GCC uninitialized warning

2015-11-06 Thread Dmitry Safonov
With x86_64_defconfig: GCC thinks that in nfulnl_recv_config flags parameter is not inited but it was under the same condition (nfula[NFULA_CFG_FLAGS] == true). Suppress this warning: net/netfilter/nfnetlink_log.c: In function ‘nfulnl_recv_config’:

Re: [PATCH] perf symbols/KCORE: Rebuild rbtree when adjusting symbols for kcore

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 03:59:29PM +0200, Adrian Hunter escreveu: > On 06/11/15 15:19, Arnaldo Carvalho de Melo wrote: > > Em Fri, Nov 06, 2015 at 09:46:12AM +, Wang Nan escreveu: > >> In dso__split_kallsyms_for_kcore(), current code adjusts symbol's > >> address but only reinsert it into

Re: [PATCH v2 4/9] thermal: rockchip: improve the conversion function

2015-11-06 Thread Eduardo Valentin
Hello Caesar, On Thu, Nov 05, 2015 at 01:18:00PM +0800, Caesar Wang wrote: > We should make the conversion table in as a parameter since the different > SoCs have the different conversionion table. > > Signed-off-by: Caesar Wang > --- > > Changes in v2: > - make the

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-06 Thread Heiko Stuebner
Hi Eduardo, Caesar, Am Freitag, 6. November 2015, 10:47:40 schrieb Eduardo Valentin: > On Thu, Nov 05, 2015 at 01:17:56PM +0800, Caesar Wang wrote: > > This series patchs are working for RK3368 on Rockchip platform. > > > > Good to see the perseverance! :-) > > > @Heiko, > > The PATCH

[PATCH] trace: ftrace: remove ftrace_cpu_disabled

2015-11-06 Thread Dmitry Safonov
Since the ring buffer is lockless, there is no need to disable ftrace on CPU. And no one doing so: after commit 68179686ac67cb ("tracing: Remove ftrace_disable/enable_cpu()") ftrace_cpu_disabled stays the same after initialization, nothing changes it. ftrace_cpu_disabled shouldn't be used by any

Re: [PATCH 0/4] dm verity: add support for error correction

2015-11-06 Thread Sami Tolvanen
On Fri, Nov 06, 2015 at 12:23:29PM -0500, Mikulas Patocka wrote: > I'm also wondering what is this patch useful for. Disks and flash > controllers have their own error detection and correction I think I addressed this earlier. Some storage devices are able to correct bit flips, but don't have

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 10:44 AM, Laura Abbott wrote: > On 11/05/2015 05:15 PM, Kees Cook wrote: >> >> On Thu, Nov 5, 2015 at 5:05 PM, Laura Abbott wrote: >>> >>> On 11/05/2015 08:27 AM, Russell King - ARM Linux wrote: On Thu, Nov 05, 2015 at

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-06 Thread Kees Cook
On Fri, Nov 6, 2015 at 11:08 AM, Kees Cook wrote: > On Fri, Nov 6, 2015 at 10:44 AM, Laura Abbott wrote: >> On 11/05/2015 05:15 PM, Kees Cook wrote: >>> >>> On Thu, Nov 5, 2015 at 5:05 PM, Laura Abbott wrote: On 11/05/2015

Re: [RFC PATCH 2/2] net: mvneta: Add naive RSS support

2015-11-06 Thread Marcin Wojtas
Hi Gregory, 2015-11-06 19:35 GMT+01:00 Gregory CLEMENT : > This patch add the support for the RSS related ethtool > function. Currently it only use one entry in the indirection table which > allows associating an mveneta interface to a given CPU. > >

Re: [PATCH v2 9/9] arm64: dts: Enable the Thermal on R88 board

2015-11-06 Thread Eduardo Valentin
On Thu, Nov 05, 2015 at 01:18:05PM +0800, Caesar Wang wrote: > This patch enable the TS-ADC. > > When a thermal temperature is invoked use the CRU to reset the chip > on R88 board. TSHUT is low active on this board. > Acked-by: Eduardo Valentin > Signed-off-by: Caesar

Re: [PATCH v2 8/9] arm64: dts: Add main Thermal info to rk3368.dtsi

2015-11-06 Thread Eduardo Valentin
On Thu, Nov 05, 2015 at 01:18:04PM +0800, Caesar Wang wrote: > This patch add the thermal needed info on RK3368. > Meanwhile, support the trips to throttle for thermal. > Acked-by: Eduardo Valentin > Signed-off-by: Caesar Wang > > --- -- To

Re: [PATCH v2 7/9] arm64: dts: Add the thermal data found on RK3368

2015-11-06 Thread Eduardo Valentin
On Thu, Nov 05, 2015 at 01:18:03PM +0800, Caesar Wang wrote: > This patchset add the thermal for RK3368 dts, > Since the two CPU clusters, with four CPU core for each cluster, > One cluster is optimized for high-performance(big cluster) and the othe > is optimized for low power(little cluster). >

Re: [PATCH v2 0/9] Better compatible for the rockchip thermal and support RK3368 SoCs

2015-11-06 Thread Eduardo Valentin
Hi, On Fri, Nov 06, 2015 at 08:03:24PM +0100, Heiko Stuebner wrote: > Hi Eduardo, Caesar, > > Am Freitag, 6. November 2015, 10:47:40 schrieb Eduardo Valentin: > > On Thu, Nov 05, 2015 at 01:17:56PM +0800, Caesar Wang wrote: > > > This series patchs are working for RK3368 on Rockchip platform. >

Re: [PATCH v2 0/7] perf tools: improve BPF related error delivering and testing

2015-11-06 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 06, 2015 at 01:49:36PM +, Wang Nan escreveu: > This patchset is based on Arnaldo's perf/core. > > Previous version can be found from [1]. > > Patch 1/7 - 4/7 are error message related patches. > > Patch 5/7 - 7/7 are testing related patches. > I'll try to fix this one and then

[PATCH] proc: fix /proc/*/coredump_filter write return value

2015-11-06 Thread Alexey Dobriyan
From: Joshua Baergen https://bugzilla.kernel.org/show_bug.cgi?id=107321 commit 774636e19ed514cdf560006813c0473409616de8 ("proc: convert to kstrto*()/kstrto*_from_user()") made write to /proc/*/coredump_filter always return -ESRCH (still new value was applied

<    8   9   10   11   12   13   14   15   16   17   >