Re: [PATCH v3 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-10-22 Thread Masami Hiramatsu
(2014/10/22 17:20), Hemant Kumar wrote: From file_sdt_ent we will find out the file name. Convert this sdt note into a perf event and then write this into uprobe_events file to be able to record the event. Then, corresponding entries are added to uprobe_events file for the SDT events.

[PATCHv4] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-10-22 Thread Jingchang Lu
The offset of all 8-/16-bit registers in big-endian eDMA model are swapped in a 32-bit size opposite those in the little-endian model. The hardware Scatter/Gather requires the subsequent TCDs stored in memory in little endian independent of the register endian model, the eDMA engine will do the

Re: [RFC] sched/dl: Fix preemption checks

2014-10-22 Thread Juri Lelli
Hi Kirill, On 21/10/14 17:35, Kirill Tkhai wrote: 1)switched_to_dl() check is wrong. We reschedule only if rq-curr is deadline task, and we do not reschedule if it's a lower priority task. But we must always preempt a task of other classes. 2)dl_task_timer(): Policy does not change in

[PATCH 3/4] of: Grammar s/an/a/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/of/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 48d6673fa9a28bf0..cff3afcff1951faf 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -923,7

[PATCH 4/4] of: Remove spaces before tabs

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/of/base.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index cff3afcff1951faf..19075e770d8b6306 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c

linux-kernel,We are distributors of mailbox production

2014-10-22 Thread Rankin
Hi We are suppliers of Mailbox, If you are interested, please contact us. Email:i...@tdmailbox.com Web: www.tdmailbox.comN�Р骒r��yb�X�肚�v�^�)藓{.n�+�伐�{��赙zXФ�≤�}��财�z�j:+v�����赙zZ+��+zf"�h���~i���z��wア�?�ㄨ���)撷f��^j谦y�m��@A�a囤� 0鹅h���i

[PATCH 2/4] of: Improve grammar for of_alias_scan() documentation

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/of/base.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index e3f9043860c81b5d..48d6673fa9a28bf0 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@

[PATCH 1/4] of: Correct of_phandle_args node reference in comments

2014-10-22 Thread Geert Uytterhoeven
The device_node pointer in struct of_phandle_args is called np, not node. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- drivers/of/base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index

[PATCH v2 RESEND] extcon: Fix sleeping in atomic context after connecting USB cable

2014-10-22 Thread Krzysztof Kozlowski
Sleeping in atomic context happens because: 1. Extcon is notifying with raw notifier chain under spin lock. 2. Notified charger-manager calls sleeping functions. Actually the problem is not only charger-manager specific because the extcon is also exporting as API its raw notifier chain with

[PATCH/TRIVIAL 2/5] net: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: David S. Miller da...@davemloft.net --- drivers/net/ethernet/ti/tlan.c| 2 +- drivers/net/wireless/ath/ath10k/wmi.h | 2 +- drivers/net/wireless/atmel.c | 2 +- include/net/iw_handler.h | 2 +-

[PATCH/TRIVIAL 4/5] [SCSI] isci: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: James E.J. Bottomley jbottom...@parallels.com --- drivers/scsi/isci/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index 5d6fda72d659770d..c086c075e8c498bd

[PATCH/TRIVIAL 1/5] drm/radeon: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Alex Deucher alexander.deuc...@amd.com Cc: Christian König christian.koe...@amd.com --- drivers/gpu/drm/radeon/atombios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/atombios.h

[PATCH/TRIVIAL 3/5] of: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Grant Likely grant.lik...@linaro.org Cc: Rob Herring robh...@kernel.org --- drivers/of/dynamic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/dynamic.c b/drivers/of/dynamic.c index

[PATCH/TRIVIAL 5/5] usb: gadget: zero: Spelling s/infrastucture/infrastructure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Felipe Balbi ba...@ti.com --- drivers/usb/gadget/legacy/zero.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/legacy/zero.c b/drivers/usb/gadget/legacy/zero.c index

[PATCH] clk: st: Spelling s/stucture/structure/

2014-10-22 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Mike Turquette mturque...@linaro.org --- Documentation/devicetree/bindings/clock/st/st,flexgen.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/st/st,flexgen.txt

Re: lockdep splat in CPU hotplug

2014-10-22 Thread Jiri Kosina
On Tue, 21 Oct 2014, Jiri Kosina wrote: Hi, I am seeing the lockdep report below when resuming from suspend-to-disk with current Linus' tree (c2661b80609). The reason for CCing Ingo and Peter is that I can't make any sense of one of the stacktraces lockdep is providing. Please have

Re: [PATCH] usb: serial: Fix indentation style issue

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 07:20:49AM -0700, Greg Kroah-Hartman wrote: On Sat, Oct 11, 2014 at 03:49:43PM +0200, Philip Munksgaard wrote: Fix a style issue Signed-off-by: Philip Munksgaard pmunksga...@gmail.com --- drivers/usb/serial/option.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v6 0/4] Qualcomm SPMI PMIC pin controller drivers

2014-10-22 Thread Ivan T. Ivanov
Changes since v4: - Rebased on v3.18-rc1: pinmux_ops.enable is now pinmux_ops.set_mux gpiochip_remove() did not return a value. - Added Ack's from Bjorn Short description: Patches adds pin control drivers for Multi-Purpose Pin (MPP) and General-purpose pin (GPIO) controllers found in

[PATCH v6 4/4] pinctrl: Qualcomm SPMI PMIC MPP pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm MPP sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/pinctrl/qcom/Makefile | 1 +

Re: [RFC PATCH] UBSan: run-time undefined behavior sanity checker

2014-10-22 Thread Rasmus Villemoes
On Mon, Oct 20 2014, Andrey Ryabinin a.ryabi...@samsung.com wrote: UBSan uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that perform certain kinds of checks before operations that could cause UB. If check fails (i.e. UB detected) __ubsan_handle_*

[PATCH v6 3/4] pinctrl: Qualcomm SPMI PMIC GPIO pin controller driver

2014-10-22 Thread Ivan T. Ivanov
This is the pinctrl, pinmux, pinconf and gpiolib driver for the Qualcomm GPIO sub-function blocks found in the PMIC chips. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- drivers/pinctrl/qcom/Kconfig | 13 +

[PATCH v6 1/4] pinctrl: Device tree bindings for Qualcomm PMIC GPIO block

2014-10-22 Thread Ivan T. Ivanov
From: Bjorn Andersson bjorn.anders...@sonymobile.com This introduced the device tree bindings for the GPIO block found in PMIC's from Qualcomm. Signed-off-by: Bjorn Andersson bjorn.anders...@sonymobile.com Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com ---

Re: [PATCH v3] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-10-22 Thread Ivan T. Ivanov
On Sun, 2014-10-19 at 21:54 +0200, Hartmut Knaack wrote: Ivan T. Ivanov schrieb am 01.10.2014 18:14: The current ADC is peripheral of Qualcomm SPMI PMIC chips. It has 16 bits resolution and register space inside PMIC accessible across SPMI bus. The driver registers itself

[PATCH v6 2/4] pinctrl: Device tree bindings for Qualcomm PMIC MPP block

2014-10-22 Thread Ivan T. Ivanov
DeviceTree binding documentation for Qualcomm SPMI PMIC MPP pinctrl drivers. Signed-off-by: Ivan T. Ivanov iiva...@mm-sol.com Acked-by: Bjorn Andersson bjorn.anders...@sonymobile.com --- .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 162 +

Re: [PATCH v2 1/3] sched/dl: Implement cancel_dl_timer() to use in switched_from_dl()

2014-10-22 Thread Juri Lelli
On 21/10/14 15:21, Kirill Tkhai wrote: В Вт, 21/10/2014 в 12:41 +0100, Juri Lelli пишет: On 21/10/14 11:48, Kirill Tkhai wrote: В Вт, 21/10/2014 в 11:30 +0100, Juri Lelli пишет: Hi Kirill, sorry for the late reply, but I was busy doing other stuff and then travelling. On 02/10/14 11:05,

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Peter Zijlstra
On Fri, Oct 10, 2014 at 10:21:56AM +0800, Yuyang Du wrote: +/* Group cfs_rq's load_avg is used for task_h_load and update_cfs_share */ +static inline int update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) { + int decayed; + if (atomic_long_read(cfs_rq-removed_load_avg)) { +

Re: [PATCH] sysctl: terminate strings also on \r

2014-10-22 Thread Aaron Tomlin
On Tue, Oct 21, 2014 at 01:21:37PM -0700, Kees Cook wrote: From: Paul Wise pa...@bonedaddy.net This partially mitigates a common strategy used by attackers for hiding the full contents of strings in procfs from naive sysadmins who use cat, more or sysctl to inspect the contents of strings in

Re: [tpmdd-devel] [PATCH] tpm: fix multiple race conditions in tpm_ppi.c

2014-10-22 Thread Jarkko Sakkinen
On Tue, Oct 21, 2014 at 03:02:15PM -0600, Jason Gunthorpe wrote: On Tue, Oct 21, 2014 at 11:42:51PM +0300, Jarkko Sakkinen wrote: Personally, I'd sequence this commit right after your 'tpm: two-phase chip management functions' commit because it makes it much saner (no half step toward

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Baoquan He
Hi Zhenhua, I tested your latest patch on 3.18.0-rc1+, there are still some dmar errors. I remember it worked well with Bill's original patchset. 0console [earlya[0.00] allocate tes of page_cg 'a ong[ 0.00] tsc: Fast TSC calibration using PIT 0031] Calibrating delay loop (skipped),

Re: [PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 10:30 AM, Dominik Dingel wrote: As use_skey is already the condition on which we call s390_enable_skey we need to introduce a new flag for the mm-context on which we decide if zero page mapping is allowed. Can you explain better why mm-context.use_skey = 1 cannot be done before

Re: [PATCH V2] kernel, add bug_on_warn

2014-10-22 Thread Prarit Bhargava
On 10/22/2014 12:27 AM, Rusty Russell wrote: Prarit Bhargava pra...@redhat.com writes: There have been several times where I have had to rebuild a kernel to cause a panic when hitting a WARN() in the code in order to get a crash dump from a system. Sometimes this is easy to do, other times

Re: [PATCH] KVM: x86: Enable Intel AVX-512 for guest

2014-10-22 Thread Paolo Bonzini
On 10/22/2014 11:35 AM, Chao Peng wrote: Expose Intel AVX-512 feature bits to guest. Also add checks for xcr0 AVX512 related bits according to spec: http://download-software.intel.com/sites/default/files/managed/71/2e/319433-017.pdf Signed-off-by: Chao Peng chao.p.p...@linux.intel.com The

Re: [3.16.1 BISECTED REGRESSION]: Simtec Entropy Key (cdc-acm) broken in 3.16

2014-10-22 Thread Johan Hovold
On Wed, Oct 22, 2014 at 10:31:17AM +0100, Nix wrote: On 14 Oct 2014, Johan Hovold verbalised: On Sun, Oct 12, 2014 at 10:36:30PM +0100, Nix wrote: I have checked: this code is being executed against a symlink that points to /dev/ttyACM0, and the tcsetattr() succeeds. (At least, it's

Re: [PATCH 09/12] rtc: omap: add support for pmic_power_en

2014-10-22 Thread Johan Hovold
On Fri, Oct 10, 2014 at 01:07:27PM -0500, Felipe Balbi wrote: On Thu, Oct 09, 2014 at 09:06:31PM +0200, Johan Hovold wrote: - /* clear pending irqs, and set 1/second periodic, -* which we'll use instead of update irqs + /* +* disable interrupts +* +* NOTE: ALARM2

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Li, Zhen-Hua
Hi Baoquan, I tested it on 3.17, it does not have these faults. There are little differences between this version and Bill's last version. I will test it on 3.18.0-rc1+ on my system and let you know the result. And could you send me the result of lspci -vvv on your system? Thanks Zhenhua 在

Re: [PATCH v3 1/5] perf/sdt: ELF support for SDT

2014-10-22 Thread Hemant Kumar
On 10/22/2014 08:09 AM, Namhyung Kim wrote: Hi Hemant, On Fri, 10 Oct 2014 16:27:53 +0530, Hemant Kumar wrote: This patch serves the initial support to identify and list SDT events in binaries. When programs containing SDT markers are compiled, gcc with the help of assembler directives

Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-22 Thread Johan Hovold
On Wed, Oct 15, 2014 at 12:08:32PM -0500, Felipe Balbi wrote: On Wed, Oct 15, 2014 at 07:06:28PM +0200, Johan Hovold wrote: On Wed, Oct 15, 2014 at 11:55:02AM -0500, Felipe Balbi wrote: BTW, how do you test this series ? Set a 30 second wakealarm using the sysfs attribute of the rtc

Re: [RESUBMIT PATCH v4 7/8] regulator: sky81452: Add compatible string for device binding

2014-10-22 Thread Mark Brown
On Mon, Oct 20, 2014 at 03:10:24PM +0900, Gyungoh Yoo wrote: On Fri, Oct 17, 2014 at 04:26:05PM +0200, Mark Brown wrote: The thing I'm seeing is that the binding for your device with the subnode looks very much like the device trees of devices with multiple regulators. The fact that you

Re: [PATCH 0/5] iommu/vt-d: Fix crash dump failure caused by legacy DMA/IO

2014-10-22 Thread Baoquan He
On 10/22/14 at 10:22am, Li, Zhen-Hua wrote: Hi Baoquan, I tested it on 3.17, it does not have these faults. There are little differences between this version and Bill's last version. I will test it on 3.18.0-rc1+ on my system and let you know the result. And could you send me the

Re: [RESEND PATCH 2/3 v5] sched: Rewrite per entity runnable load average tracking

2014-10-22 Thread Peter Zijlstra
So I would really like to hear from others on this, as it stands I tend to rather like this code -- and it removes a fair amount of icky lines of code. That said, it does change semantics slightly in that it removes the blocked/runnable split and last time we added the blocked component to the

Re: [RESEND PATCH 3/3 v5] sched: Remove task and group entity load_avg when they are dead

2014-10-22 Thread Peter Zijlstra
On Fri, Oct 10, 2014 at 10:21:57AM +0800, Yuyang Du wrote: When task exits or group is destroyed, the entity's load_avg should be removed from its parent cfs_rq's load_avg. Otherwise, it will take time for the parent cfs_rq to decay the dead entity's load_avg to 0, which is not desired.

Re: [PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Dominik Dingel
On Wed, 22 Oct 2014 12:09:31 +0200 Paolo Bonzini pbonz...@redhat.com wrote: On 10/22/2014 10:30 AM, Dominik Dingel wrote: As use_skey is already the condition on which we call s390_enable_skey we need to introduce a new flag for the mm-context on which we decide if zero page mapping is

[no subject]

2014-10-22 Thread OUTLOOK 2014 Award winner
Open the attached file and view the information OUTLOOK AWARD OUTLOOK AWARD.doc Description: MS-Word document

regression: checkpatch.pl fails when called via symlink

2014-10-22 Thread Jani Nikula
Since commit 66b47b4a9dad00e45c049d79966de9a3a1f4d337 Author: Kees Cook keesc...@chromium.org Date: Mon Oct 13 15:51:57 2014 -0700 checkpatch: look for common misspellings checkpatch.pl dies with checkpatch.pl: Can't open /path/to/spelling.txt for reading: No such file or directory if

Re: [PATCH 1/2] ARM: perf: armv7 remove useless return and check of idx in counter handling

2014-10-22 Thread Mark Rutland
Hi, On Wed, Oct 22, 2014 at 09:21:46AM +0100, chai wen wrote: Idx sanity check was once implemented separately in these counter handling functions and then return value was treated as a judgement. armv7_pmnc_select_counter() armv7_pmnc_enable_counter()

Re: [PATCH v3] ASoC: rockchip-i2s: add MAX98090 support to Kconfig

2014-10-22 Thread Mark Brown
On Wed, Oct 22, 2014 at 10:59:59AM +0800, Jianqun wrote: +config SND_SOC_MAX98090 + tristate ASoC support for max98090 driver + depends on I2C GPIOLIB + help + Say Y or M here if you want to add support for max98090 codec. No, you're missing what Lars was saying here -

Re: [PATCH] dell-wmi: Update code for processing WMI events

2014-10-22 Thread Pali Rohár
On Tuesday 21 October 2014 23:32:12 Darren Hart wrote: On Tue, Oct 21, 2014 at 12:15:24AM +0200, Pali Rohár wrote: WMI buffer can contains more events. First value in buffer is length of event followed by data of specified length. After that is next length and next data. When length is

Re: [PATCH 08/12] rtc: omap: restore irq state after reading TC registers

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 07:47:58PM -0500, Felipe Balbi wrote: On Sat, Oct 11, 2014 at 12:12:01PM +0200, Johan Hovold wrote: On Fri, Oct 10, 2014 at 01:02:31PM -0500, Felipe Balbi wrote: Hi, On Thu, Oct 09, 2014 at 09:06:30PM +0200, Johan Hovold wrote: Make sure to restore local

Re: [PATCH v2 1/2] timekeeping: add EXPORT_SYMBOL_GPL for do_adjtimex()

2014-10-22 Thread Mike Surcouf
I get that NTP can be installed locally. This is how I regulate time on my guests. I agree the admin argument probably doesn't stand up. The problem is hyperv_clocksource (pluggable time source used by hyperv guests) is systematically fast in my environment. by around -250 PPM. I get away with

Re: [PATCH 2/2] ARM: perf: armv7: wrap unsupported arch init functions via micro

2014-10-22 Thread Mark Rutland
Hi, On Wed, Oct 22, 2014 at 09:21:47AM +0100, chai wen wrote: Signed-off-by: chai wen chaiw.f...@cn.fujitsu.com --- arch/arm/kernel/perf_event_v7.c | 52 +- 1 files changed, 13 insertions(+), 39 deletions(-) I'm currently in the process of decoupling

Re: [PATCH 00/19] MIPS GIC cleanup, part 2

2014-10-22 Thread Qais Yousef
On 10/20/2014 08:03 PM, Andrew Bresticker wrote: Second round of cleanups for the MIPS GIC drivers: - Patches 1 through 5 get rid of the ugly REG() macros and instead use proper iomem accessors. - Patches 6 and 7 move the GIC header to linux/irqchip/ and clean it up. - Patches 8

RE: [PATCH v7] mfd: syscon: Decouple syscon interface from platform devices

2014-10-22 Thread Pankaj Dubey
Hello Lee, On Tuesday, October 07, 2014 2:39 PM, Lee Jones wrote, On Tue, 30 Sep 2014, Pankaj Dubey wrote: Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a

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

2014-10-22 Thread David Drysdale
On Tue, Oct 21, 2014 at 5:29 AM, Eric W. Biederman ebied...@xmission.com wrote: Andy Lutomirski l...@amacapital.net writes: On Mon, Oct 20, 2014 at 6:48 AM, David Drysdale drysd...@google.com wrote: On Sun, Oct 19, 2014 at 1:20 AM, Eric W. Biederman ebied...@xmission.com wrote: Andy

[PATCH 1/4] s390/mm: recfactor global pgste updates

2014-10-22 Thread Dominik Dingel
Replace the s390 specific page table walker for the pgste updates with a call to the common code walk_page_range function. There are now two pte modification functions, one for the reset of the CMMA state and another one for the initialization of the storage keys. Signed-off-by: Dominik Dingel

[PATCH 4/4] s390/mm: disable KSM for storage key enabled pages

2014-10-22 Thread Dominik Dingel
When storage keys are enabled unmerge already merged pages and prevent new pages from being merged. Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com Acked-by: Christian Borntraeger borntrae...@de.ibm.com --- arch/s390/include/asm/pgtable.h | 2 +- arch/s390/kvm/priv.c| 17

[PATCH 2/4] mm: introduce mm_forbids_zeropage function

2014-10-22 Thread Dominik Dingel
Add a new function stub to allow architectures to disable for an mm_structthe backing of non-present, anonymous pages with read-only empty zero pages. Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com --- include/linux/mm.h | 4 mm/huge_memory.c | 2 +- mm/memory.c| 2 +- 3

Re: [PATCH 00/12] rtc: omap: fixes and power-off feature

2014-10-22 Thread Johan Hovold
On Sat, Oct 11, 2014 at 12:08:18PM -0700, Tony Lindgren wrote: * Johan Hovold jo...@kernel.org [141011 02:42]: On Fri, Oct 10, 2014 at 12:54:22PM -0500, Felipe Balbi wrote: is this power-off feature RTC-only mode ? Yes, I believe so, at least as long as RTC power is maintained. The

[PATCH 3/4] s390/mm: prevent and break zero page mappings in case of storage keys

2014-10-22 Thread Dominik Dingel
As soon as storage keys are enabled we need to stop working on zero page mappings to prevent inconsistencies between storage keys and pgste. Otherwise following data corruption could happen: 1) guest enables storage key 2) guest sets storage key for not mapped page X - change goes to PGSTE 3)

[PATCH v3 0/4] mm: new function to forbid zeropage mappings for a process

2014-10-22 Thread Dominik Dingel
s390 has the special notion of storage keys which are some sort of page flags associated with physical pages and live outside of direct addressable memory. These storage keys can be queried and changed with a special set of instructions. The mentioned instructions behave quite nicely under

Re: [RFC PATCH] UBSan: run-time undefined behavior sanity checker

2014-10-22 Thread Andrey Ryabinin
On 10/22/2014 01:58 PM, Rasmus Villemoes wrote: On Mon, Oct 20 2014, Andrey Ryabinin a.ryabi...@samsung.com wrote: UBSan uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that perform certain kinds of checks before operations that could cause UB. If

Re: [PATCHv5 2/7] usb: dwc2: Move gadget probe function into platform code

2014-10-22 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, October 20, 2014 01:52:01 PM dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com This patch will aggregate the probing of gadget/hcd driver into platform.c. The gadget probe funtion is converted into gadget_init that is now only responsible

Re: [PATCH] memcg: remove mem_cgroup_reclaimable check from soft reclaim

2014-10-22 Thread Michal Hocko
On Tue 21-10-14 14:22:39, Johannes Weiner wrote: [...] From 27bd24b00433d9f6c8d60ba2b13dbff158b06c13 Mon Sep 17 00:00:00 2001 From: Johannes Weiner han...@cmpxchg.org Date: Tue, 21 Oct 2014 09:53:54 -0400 Subject: [patch] mm: memcontrol: do not filter reclaimable nodes in NUMA round-robin

Re: [PATCH v2 36/47] arm64: psci: Register with kernel poweroff handler

2014-10-22 Thread Catalin Marinas
On Tue, Oct 21, 2014 at 05:12:52AM +0100, Guenter Roeck wrote: Register with kernel poweroff handler instead of setting pm_power_off directly. Cc: Catalin Marinas catalin.mari...@arm.com Cc: Will Deacon will.dea...@arm.com Signed-off-by: Guenter Roeck li...@roeck-us.net Acked-by: Catalin

Re: [PATCH v2 2/3] ARM: keystone: pm: switch to use generic pm domains

2014-10-22 Thread Grygorii Strashko
Hi Santosh, On 10/21/2014 09:05 PM, Santosh Shilimkar wrote: On 10/20/2014 05:56 AM, Grygorii Strashko wrote: This patch switches Keystone 2 PM code to use Generic PM domains instead of PM clock domains because of the lack of DT support for the last. Reviewed-by: Kevin Hilman

[PATCH] watchdog: hpwdt: Fix initialization message in hpwdt.c

2014-10-22 Thread Masanari Iida
allow_kdump was enabled as default since following commit. commit a089361cf5f1d6a5295aa5385238bd044998e1e9, watchdog: hpwdt: Unregister NMI events on exit. But the initialization message was not modified. So it still shows HP Watchdog Timer Driver: NMI decoding initialized, allow kernel

Re: [PATCH 10/15] media: davinci: vpbe: add support for VIDIOC_CREATE_BUFS

2014-10-22 Thread Hans Verkuil
Hi Prabhakar, This patch series looks good, except for this one. If you add create_bufs support, then you should also update queue_setup. If the fmt argument to queue_setup is non-NULL, then check that the fmt.pix.sizeimage field is = the current format's sizeimage. If not, return -EINVAL.

Re: [PATCH 2/2] ARM: perf: armv7: wrap unsupported arch init functions via micro

2014-10-22 Thread Chai Wen
On 10/22/2014 07:01 PM, Mark Rutland wrote: Hi, On Wed, Oct 22, 2014 at 09:21:47AM +0100, chai wen wrote: Signed-off-by: chai wen chaiw.f...@cn.fujitsu.com --- arch/arm/kernel/perf_event_v7.c | 52 +- 1 files changed, 13 insertions(+), 39

Re: [PATCH] Documentation: Fix a typo in mailbox.txt

2014-10-22 Thread Jonathan Corbet
On Wed, 22 Oct 2014 08:36:07 +0900 Masanari Iida standby2...@gmail.com wrote: This patch fix a typo in Documentation/mailbox.txt bool async is defined in struct demo_client. This seems worthy of application, but it makes me worry: clearly the example code in this file was not taken from a

Re: [RFC][PATCH 3/6] mm: VMA sequence count

2014-10-22 Thread Kirill A. Shutemov
On Mon, Oct 20, 2014 at 11:56:36PM +0200, Peter Zijlstra wrote: Wrap the VMA modifications (vma_adjust/unmap_page_range) with sequence counts such that we can easily test if a VMA is changed. The unmap_page_range() one allows us to make assumptions about page-tables; when we find the

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-22 Thread Kirill A. Shutemov
On Wed, Oct 22, 2014 at 12:34:49AM -0700, Davidlohr Bueso wrote: On Mon, 2014-10-20 at 23:56 +0200, Peter Zijlstra wrote: Hi, I figured I'd give my 2010 speculative fault series another spin: https://lkml.org/lkml/2010/1/4/257 Since then I think many of the outstanding issues

Re: [PATCH 1/2] ARM: perf: armv7 remove useless return and check of idx in counter handling

2014-10-22 Thread Chai Wen
On 10/22/2014 06:47 PM, Mark Rutland wrote: Hi, On Wed, Oct 22, 2014 at 09:21:46AM +0100, chai wen wrote: Idx sanity check was once implemented separately in these counter handling functions and then return value was treated as a judgement. armv7_pmnc_select_counter()

[PATCH v6 2/7] ARM: kprobes: seprates load and store actions

2014-10-22 Thread Wang Nan
This patch seprates actions for load and store. Following patches will check store instructions for more informations. Coverage test complains register test coverage missing after this sepration. This patch introduces one testcase for it. Signed-off-by: Wang Nan wangn...@huawei.com ---

[PATCH v6 6/7] kprobes: copy ainsn after alloc aggr kprobe

2014-10-22 Thread Wang Nan
Copy old kprobe to newly alloced optimized_kprobe before arch_prepare_optimized_kprobe(). Original kprove can brings more information to optimizer. v1 - v2: - Bugfix: copy p-addr when alloc_aggr_kprobe. Signed-off-by: Wang Nan wangn...@huawei.com --- kernel/kprobes.c | 6 ++ 1 file

[PATCH v6 1/7] ARM: kprobes: replace 'union decode_action' to 'struct decode_action'

2014-10-22 Thread Wang Nan
This patch is generated simply using: $ sed -i s/union decode_action/struct decode_action/g `grep decode_action * -rl` Which allows futher expansion to decode_action. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/arm/kernel/kprobes-arm.c | 2 +- arch/arm/kernel/kprobes-thumb.c | 4

[PATCH v6 4/7] ARM: kprobes: collects stack consumption for store instructions

2014-10-22 Thread Wang Nan
This patch use previous introduced checker on store instructions, record stack consumption informations to arch_probes_insn. With such information, kprobe opt can decide how much stack needs to be protected. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/arm/include/asm/probes.h | 1 +

[PATCH v6 5/7] ARM: kprobes: disallow probing stack consuming instructions

2014-10-22 Thread Wang Nan
This patch prohibit probing instructions for which the stack requirement are unable to be determined statically. Some test cases are found not work again after the modification, this patch also removes them. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/arm/kernel/kprobes-test-arm.c | 16

[patch] rtc: bq3000: fix register value

2014-10-22 Thread Pavel Machek
Fix register value in bq32000 trickle charging. Mike reported that I'm using wrong value in one trickle-charging case, and after checking docs, I must admit he's right. Signed-off-by: Pavel Machek pa...@denx.de Reported-by: Mike Bremford m...@bfo.com diff --git a/drivers/rtc/rtc-bq32k.c

[PATCH v6 7/7] ARM: kprobes: enable OPTPROBES for ARM 32

2014-10-22 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make

[PATCH v6 3/7] ARM: kprobes: introduces checker

2014-10-22 Thread Wang Nan
This patch introdces a 'checker' field to decode_action, and calls checkers when instruction decoding. This allows further analysis for specific instructions. Signed-off-by: Wang Nan wangn...@huawei.com --- arch/arm/kernel/probes.c | 10 ++ arch/arm/kernel/probes.h | 10 -- 2

[PATCH v6 0/7] ARM: kprobes: enable OPTPROBES for ARM 32.

2014-10-22 Thread Wang Nan
Previous 5 version of ARM OPTPROBES patches are unable to deal with stack storing instructions correctly. V5 patches disallow optimizing every protential stack store instructions based on pessimistic assumption. Which, as Tixy comments, 'excludes the main use of kprobes'.

Re: [PATCH fixes v2] mfd: max77693: Fix always masked MUIC interrupts

2014-10-22 Thread Lee Jones
On Wed, 22 Oct 2014, Krzysztof Kozlowski wrote: On pią, 2014-10-10 at 11:56 +0100, Lee Jones wrote: On Fri, 10 Oct 2014, Krzysztof Kozlowski wrote: All interrupts coming from MUIC were ignored because interrupt source register was masked. The Maxim 77693 has a interrupt source

Re: [PATCH] mfd: max77693: Fix a truncate warning

2014-10-22 Thread Lee Jones
On Tue, 14 Oct 2014, Krzysztof Kozlowski wrote: Fix warning on x86_64, make allyesconfig: drivers/mfd/max77693.c: In function ‘max77693_i2c_probe’: drivers/mfd/max77693.c:259:5: warning: large integer implicitly truncated to unsigned type [-Woverflow] SRC_IRQ_ALL, ~SRC_IRQ_ALL);

Re: lockdep splat in CPU hotplug

2014-10-22 Thread Jiri Kosina
On Wed, 22 Oct 2014, Jiri Kosina wrote: Still, the lockdep stacktrace is bogus and didn't really help understanding this. Any idea why it's wrong? == [ INFO: possible circular locking dependency detected ] 3.18.0-rc1-00069-gc2661b8

Re: [RFC][PATCH 3/6] mm: VMA sequence count

2014-10-22 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 02:26:57PM +0300, Kirill A. Shutemov wrote: On Mon, Oct 20, 2014 at 11:56:36PM +0200, Peter Zijlstra wrote: Wrap the VMA modifications (vma_adjust/unmap_page_range) with sequence counts such that we can easily test if a VMA is changed. The unmap_page_range() one

RE: [alsa-devel] [PATCH] ASoC: atmel_ssc_dai: Track playback and capture CMR dividers separately.

2014-10-22 Thread Peter Rosin
Bo Chen wrote: with this piece of code, I reproduce your issue. Now, I know the reason of this issue, work in oss mode, it will set the default clock to 8KHz, and then if change to other sample rate, for example 48KHz, the div is different, then it reports -EBUSY. Indeed. So, I think we

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-22 Thread Peter Zijlstra
On Wed, Oct 22, 2014 at 02:29:25PM +0300, Kirill A. Shutemov wrote: On Wed, Oct 22, 2014 at 12:34:49AM -0700, Davidlohr Bueso wrote: On Mon, 2014-10-20 at 23:56 +0200, Peter Zijlstra wrote: Hi, I figured I'd give my 2010 speculative fault series another spin:

[PATCHv5 1/3] syscalls,x86: implement execveat() system call

2014-10-22 Thread David Drysdale
Add a new system execveat(2) syscall. execveat() is to execve() as openat() is to open(): it takes a file descriptor that refers to a directory, and resolves the filename relative to that. In addition, if the filename is empty and AT_EMPTY_PATH is specified, execveat() executes the file to which

[PATCHv5 2/3] syscalls,x86: add selftest for execveat(2)

2014-10-22 Thread David Drysdale
Signed-off-by: David Drysdale drysd...@google.com --- tools/testing/selftests/Makefile| 1 + tools/testing/selftests/exec/.gitignore | 6 + tools/testing/selftests/exec/Makefile | 22 +++ tools/testing/selftests/exec/execveat.c | 295 4 files

Re: [PATCH v2 2/4] phy: exynos5-usbdrd: Add pipe-clk and utmi-clk support

2014-10-22 Thread Kishon Vijay Abraham I
Hi, On Tuesday 07 October 2014 03:49 PM, Vivek Gautam wrote: Exynos7 SoC has now separate gate control for 125MHz pipe3 phy clock, as well as 60MHz utmi phy clock. So get the same and control in the phy-exynos5-usbdrd driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com ---

Re: [RFC][PATCH 3/6] mm: VMA sequence count

2014-10-22 Thread Kirill A. Shutemov
On Wed, Oct 22, 2014 at 01:39:51PM +0200, Peter Zijlstra wrote: On Wed, Oct 22, 2014 at 02:26:57PM +0300, Kirill A. Shutemov wrote: On Mon, Oct 20, 2014 at 11:56:36PM +0200, Peter Zijlstra wrote: Wrap the VMA modifications (vma_adjust/unmap_page_range) with sequence counts such that we

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

2014-10-22 Thread Christoph Hellwig
On Wed, Oct 22, 2014 at 04:54:05AM -0700, Christoph Hellwig wrote: [adding Rich Felker to the Cc list, who has been very interested in a O_SEARCH implementation for which this would be an important building block] s/O_SEARCH/O_EXEC/, sorry. -- To unsubscribe from this list: send the line

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

2014-10-22 Thread Christoph Hellwig
[adding Rich Felker to the Cc list, who has been very interested in a O_SEARCH implementation for which this would be an important building block] On Fri, Oct 17, 2014 at 02:45:03PM -0700, Andy Lutomirski wrote: [Added Eric Biederman, since I think your tree might be a reasonable route forward

Re: [RFC][PATCH 0/6] Another go at speculative page faults

2014-10-22 Thread Kirill A. Shutemov
On Wed, Oct 22, 2014 at 01:45:58PM +0200, Peter Zijlstra wrote: On Wed, Oct 22, 2014 at 02:29:25PM +0300, Kirill A. Shutemov wrote: On Wed, Oct 22, 2014 at 12:34:49AM -0700, Davidlohr Bueso wrote: On Mon, 2014-10-20 at 23:56 +0200, Peter Zijlstra wrote: Hi, I figured I'd give my

[PATCH v1 2/2] ARM: dts: hip04: add GPIO pieces

2014-10-22 Thread Zhou Wang
Hisilicon Soc hip04 has four GPIO controllers, each one has 32 GPIOs and can be configured to be an interrupt controller.The GPIO controllers are compatible with the snps,dw-apb-gpio driver. This patch add the corresponding device tree nodes. Signed-off-by: Zhou Wang wangzhou@gmail.com ---

[PATCH v1 1/2] ARM: hip04: set ARCH_NR_GPIO to 128

2014-10-22 Thread Zhou Wang
Set ARCH_NR_GPIO for Hisilicon Soc Hip04, which has 4 GPIO controllers with 32 GPIOs each. Signed-off-by: Zhou Wang wangzhou@gmail.com --- arch/arm/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 89c4b5c..26aae1e 100644 ---

[PATCH v1 0/2] ARM: hip04: add GPIO support

2014-10-22 Thread Zhou Wang
This series add the support for the GPIOs of Hisilicon Soc hip04. Hip04 uses synopsis' GPIO IP, and we use the dwapb GPIO driver here. This series add the corresponding dts. As the hip04 basic dts has been merged in 3.18 mainline kernel, I just resend this patchset for review. Zhou Wang (2):

RE

2014-10-22 Thread MMA Open the attachment
AA D.pdf Description: Adobe PDF document

[PATCH] staging: comedi: Kconfig: fix config COMEDI_ADDI_APCI_3120 dependants

2014-10-22 Thread Ian Abbott
A merge conflict between commits fbfd9c8a1782f33d7b67294b2a42587063e61c0c (staging: comedi: addi_apci_3120: use dma_alloc_coherent()) and aff5b1f8eb71b64bb613dc64c50b6904e89f79b9 (staging: comedi: remove comedi_fc module) left the COMEDI_ADDI_APCI_3120 config option depending on VIRT_TO_BUS when

Re: [PATCH 0/4] (CMA_AGGRESSIVE) Make CMA memory be more aggressive about allocation

2014-10-22 Thread Peter Hurley
On 10/16/2014 04:55 AM, Laura Abbott wrote: On 10/15/2014 8:35 PM, Hui Zhu wrote: In fallbacks of page_alloc.c, MIGRATE_CMA is the fallback of MIGRATE_MOVABLE. MIGRATE_MOVABLE will use MIGRATE_CMA when it doesn't have a page in order that Linux kernel want. If a system that has a lot of

[PATCHv5 man-pages 3/3] execveat.2: initial man page for execveat(2)

2014-10-22 Thread David Drysdale
Signed-off-by: David Drysdale drysd...@google.com --- man2/execveat.2 | 144 1 file changed, 144 insertions(+) create mode 100644 man2/execveat.2 diff --git a/man2/execveat.2 b/man2/execveat.2 new file mode 100644 index

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