[PATCH v13 5/8] s390: add pmd_[dirty|mkclean] for THP

2014-07-18 Thread Minchan Kim
MADV_FREE needs pmd_dirty and pmd_mkclean for detecting recent overwrite of the contents since MADV_FREE syscall is called for THP page but for s390 pmds only referenced bit is available because there is no free bit left in the pmd entry for the software dirty bit so this patch adds dumb pmd_dirty

[PATCH v13 8/8] mm: Don't split THP page when syscall is called

2014-07-18 Thread Minchan Kim
We don't need to split THP page when MADV_FREE syscall is called. It could be done when VM decide really frees it so we could avoid unnecessary THP split. Cc: Andrea Arcangeli Acked-by: Kirill A. Shutemov Signed-off-by: Minchan Kim --- include/linux/huge_mm.h | 4 mm/huge_memory.c

[PATCH] [RFC] initial getrandom wrapper to provide getentropy for LibreSSL

2014-07-18 Thread Brent Cook
From: Brent Cook This is not a kernel patch, but rather an initial test of the API to see how it might mesh LibreSSL's expectations for how getentropy works. It is a bit more code to carefully handle the extra return values, as not reading enough bytes, because there is an unhandled EINTR,

[PATCH] CMA/HOTPLUG: clear buffer-head lru before page migration

2014-07-18 Thread Gioh Kim
Hi, For page migration of CMA, buffer-heads of lru should be dropped. Please refer to https://lkml.org/lkml/2014/7/4/101 for the history. I have two solution to drop bhs. One is invalidating entire lru. Another is searching the lru and dropping only one bh that Laura proposed at

Re: [PATCH v1] mmc: mmci: Add qcom dml support to the driver.

2014-07-18 Thread Srinivas Kandagatla
Thanks Stephen for the comments. On 18/07/14 00:06, Stephen Boyd wrote: On 07/17/14 12:36, Srinivas Kandagatla wrote: diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index b66b351..a83b7b5 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -74,6 +75,7 @@

Re: [PATCH 06/11] perf, tools: Automatically look for event file name for cpu

2014-07-18 Thread Michael Ellerman
On Fri, 2014-07-11 at 16:59 -0700, Andi Kleen wrote: > From: Andi Kleen > > When no JSON event file is specified automatically look > for a suitable file in ~/.cache/pmu-events. A "perf download" can > automatically add files there for the current CPUs. ... > diff --git

Re: [PATCH 07/11] perf, tools: Add perf download to download event files

2014-07-18 Thread Michael Ellerman
On Fri, 2014-07-11 at 16:59 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a downloader to automatically download the right > files from a download site. ... > diff --git a/tools/perf/Documentation/perf-download.txt > b/tools/perf/Documentation/perf-download.txt > new file mode 100644 >

Re: [PATCH 5/5] tty: serial: Add 8250-core based omap driver

2014-07-18 Thread Tony Lindgren
* Sebastian Andrzej Siewior [140717 03:09]: > On 07/17/2014 10:12 AM, Tony Lindgren wrote: > > Hmm it could be that it works for a while because the clocks are on > > from the bootloader and pm_runtime calls won't do anything. This > > could happen if the interconnect data based on the ti,hwmods

Re: [PATCH v2 22/29] nios2: Miscellaneous header files

2014-07-18 Thread Chung-Lin Tang
Hi Arnd, Considering two other kernel interface issues that appeared earlier in the context of nios2 glibc/kernel upstreaming: (1) The 64-bit time_t/timespec issue. (2) Dropping renameat by default in favor of renameat2 What's the decision for these? Are they delayed to the next release?

[PATCH v6 1/1] xen: vnuma for pv guests

2014-07-18 Thread Elena Ufimtseva
Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the NUMA topology, otherwise sets dummy NUMA node and prevents numa_init from calling other numa initializators as they dont work with pv guests. Signed-off-by: Elena Ufimtseva --- arch/x86/include/asm/xen/vnuma.h | 10

[PATCH v6 0/1] introduce vnuma for Xen guests

2014-07-18 Thread Elena Ufimtseva
xen: vnuma for PV guests This patch is an addition to Xen vNUMA implementation posted to xen-devel mailing list. The patchset introduces vNUMA for paravirtualized Xen guests. Xen subop hypercall is used to retreive vnuma topology information. Bases on the retreived topology from Xen, NUMA number

Re: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool get_ethtool_stats()

2014-07-18 Thread Varka Bhadram
On 07/18/2014 11:35 AM, Ethan Zhao wrote: On Fri, Jul 18, 2014 at 11:47 AM, Varka Bhadram wrote: On 07/18/2014 09:13 AM, Ethan Zhao wrote: netxen driver has implemented netxen_nic_get_ethtool_stats() interface, but it doesn't collect stats.rxdropped in driver, so we will get different

Re: [PATCH v2 21/29] nios2: Futex operations

2014-07-18 Thread Ley Foon Tan
On Thu, Jul 17, 2014 at 7:07 PM, Arnd Bergmann wrote: > The get_user/put_user functions really need to be annotated might_fault(), > because that's what they do. > > The whole point of get_user() is to access an unchecked user space > pointer, which can do a number of things based on what the

Re: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool get_ethtool_stats()

2014-07-18 Thread Ethan Zhao
On Fri, Jul 18, 2014 at 11:47 AM, Varka Bhadram wrote: > On 07/18/2014 09:13 AM, Ethan Zhao wrote: >> >> netxen driver has implemented netxen_nic_get_ethtool_stats() interface, >> but it doesn't collect stats.rxdropped in driver, so we will get >> different rx_dropped statistic information while

[PATCHv6 0/4] iio: adc: exynos_adc: Support Exynos3250 ADC and code clean

2014-07-18 Thread Chanwoo Choi
This patchset support Exynos3250 ADC (Analog Digital Converter) because Exynos3250 has additional special clock for ADC IP. Changes from v5: - Add acked message by Kukjin Kim - Add reviewed messgae by Tomasz Figa - Fix typo (for for -> for) Changes from v4: - Use 'exynos_adc_data' structure

[PATCHv6 4/4] ARM: dts: Fix wrong compatible string for Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
This patchset fix wrong compatible string for Exynos3250 ADC. Exynos3250 SoC need to control only special clock for ADC. Exynos SoC except for Exynos3250 has not included special clock for ADC. The exynos ADC driver can control special clock if compatible string is 'exynos3250-adc-v2'.

[PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
This patch add DT binding documentation for Exynos3250 ADC IP. Exynos3250 has special clock ('sclk_adc') for ADC which provide clock to internal ADC. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa Acked-by: Kukjin Kim ---

[PATCHv6 2/4] iio: adc: exynos_adc: Control special clock of ADC to support Exynos3250 ADC

2014-07-18 Thread Chanwoo Choi
This patch control special clock for ADC in Exynos series's FSYS block. If special clock of ADC is registerd on clock list of common clk framework, Exynos ADC drvier have to control this clock. Exynos3250/Exynos4/Exynos5 has 'adc' clock as following: - 'adc' clock: bus clock for ADC Exynos3250

[PATCHv6 1/4] iio: adc: exynos_adc: Add exynos_adc_data structure to improve readability

2014-07-18 Thread Chanwoo Choi
This patchset add 'exynos_adc_data' structure which includes some functions to control ADC operation and specific data according to ADC version (v1 or v2). Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park Reviewed-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa ---

[PATCH v2 2/4] ARM: dts: exynos5250: cypress,cyapa trackpad is Snow only

2014-07-18 Thread Andreas Färber
Move it from exynos5250-cros-common.dtsi to exynos5250-snow.dts. Spring does not need it, it uses an Atmel maXTouch instead. Signed-off-by: Andreas Färber afaer...@suse.de --- v2: New (Doug Anderson) arch/arm/boot/dts/exynos5250-cros-common.dtsi | 8

Re: [PATCH v10 2/8] Documentation: bindings: add the Berlin SATA PHY

2014-07-18 Thread Sergei Shtylyov
Hello. On 07/18/2014 04:30 PM, Antoine Ténart wrote: The Berlin SATA PHY drives the PHY related to the SATA interface. Add the corresponding documentation. Signed-off-by: Antoine Ténart antoine.ten...@free-electrons.com --- .../devicetree/bindings/phy/berlin-sata-phy.txt| 34

[PATCH 1/1] rcu: Fix build failure

2014-07-18 Thread Pranith Kumar
Hi Paul, While running the kvm rcutorture test scripts, I encountered a build failure caused by Commit 918179699e4a (rcu: Don't keep timekeeping CPU tick running for non-nohz_full= CPUs) This commit fixes the failure. This is on top of paul/rcu/dev. Signed-off-by: Pranith Kumar

[PATCH 2/2] ASoC: tas2552: Add DAPM calls for amp and PLL

2014-07-18 Thread Dan Murphy
Add DAPM calls to enable/disable the Class D amp. Also add a DAPM call to turn off the PLL upon the stream completing. Signed-off-by: Dan Murphy dmur...@ti.com --- sound/soc/codecs/tas2552.c | 58 +++- 1 file changed, 41 insertions(+), 17 deletions(-)

Re: Alpha Checkpatch Errors

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 13:08:39 -0400 Nick Krause xerofo...@gmail.com wrote: Sorry I was trying to help , I guess this conversation is now closed. It was a fucking stupid idea. Are you afraid of sex? -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

[PATCH 1/2] ASoC: tas2552: Fix PM sequencing

2014-07-18 Thread Dan Murphy
In the pm suspend/resume it is better to disable the GPIO after the regmap_cache setting calls so that if the call is interrupted the new reg values will be cached and set on resume. Also add pm_runtime_put in the remove call. Signed-off-by: Dan Murphy dmur...@ti.com ---

[PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Nicholas Krause
I am removing two fix mes in this file as after dicussing then it seems there is no reason to check against Null for usb_device as it can never be NULL and this is check is therefore not needed. Signed-off-by: Nicholas Krause xerofo...@gmail.com --- drivers/usb/core/hcd.c | 4 1 file

Re: [PATCH 09/13] perf tools: Add perf download to download event files

2014-07-18 Thread Andi Kleen
Ingo Molnar mi...@kernel.org writes: We want these description files to be in the perf source code, somewhere in tools/perf/live-config/arch/x86/ or so, and installed during 'make install' - i.e. part of perf project and installed in ~/.debug or ~/.perf or so. I don't think that's a good

Re: [PATCH-v2] tracing: Fix wraparound problems in uptime tracer

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 10:05:00 -0700 Tony Luck tony.l...@gmail.com wrote: On Thu, Jul 17, 2014 at 7:08 PM, Steven Rostedt rost...@goodmis.org wrote: Do we really need to convert to nanoseconds? Couldn't we just return jiffies: Sure, and we can make it a counter. That is, the counters don't

Re: Alpha Checkpatch Errors

2014-07-18 Thread Nick Krause
On Fri, Jul 18, 2014 at 1:31 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 18 Jul 2014 13:08:39 -0400 Nick Krause xerofo...@gmail.com wrote: Sorry I was trying to help , I guess this conversation is now closed. It was a fucking stupid idea. Are you afraid of sex? -- Steve Why are

Re: [PATCH 05/11] perf, tools: Add support for reading JSON event files

2014-07-18 Thread Andi Kleen
On powerpc our event names are always uppercase, it would be nice if the perf list output honoured that. Can we instead just honour whatever case is in the input JSON ? Intel events are upper case too. However perf is not into shouting in general, so I chose to lower everything. It looks

[PATCH] kernel/debug/kdb/kdb_bp.c: fix argument range check

2014-07-18 Thread Andrey Utkin
Dropped negativity check; enhanced upper limit check as proposed by Walter Harms wha...@bfs.de Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80591 Reported-by: David Binderman dcb...@hotmail.com Signed-off-by: Andrey Utkin andrey.krieger.ut...@gmail.com --- kernel/debug/kdb/kdb_bp.c | 2

Re: [PATCH 4/5] kernel/debug/kdb/kdb_bp.c: drop negativity check on unsigned value

2014-07-18 Thread Andrey Utkin
2014-07-18 20:18 GMT+03:00 walter harms wha...@bfs.de: i would expect a ckeck for the upper limit with ARRAY_SIZE Thanks, resubmitted. -- Andrey Utkin -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 17:17 +, Elliott, Robert (Server Storage) wrote: From: James Bottomley [mailto:jbottom...@parallels.com] On Fri, 2014-07-18 at 00:51 +, Elliott, Robert (Server Storage) wrote: ... Also, in both sd_setup_flush_cmnd and sd_sync_cache:

[RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread Pawel Moll
This change is trying to make the sched clock similar to the monotonic raw one. The main goal is to provide some kind of unification between time flow in kernel and in user space, mainly to achieve correlation between perf timestamps and clock_gettime(CLOCK_MONOTONIC_RAW). This has been suggested

Re: pull request: bluetooth-next 2014-07-14

2014-07-18 Thread John W. Linville
On Mon, Jul 14, 2014 at 06:49:44PM -0300, Gustavo Padovan wrote: Hi John, Some more patches for 3.17. The most important change here is the move of the 6lowpan code to net/6lowpan. It has been agreed with Davem that this change will go through the bluetooth tree. The rest are mostly clean up

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Patrik Fimml
On Fri, Jul 18, 2014 at 02:43:02AM +0200, Rafael J. Wysocki wrote: From past discussions on similar topics it followed that there really was no generic way for individual drivers to quiesce devices on demand as long as user space was running. Everything we could come up with was racy, this way

Re: [PATCH net 1/4] xen-netback: Fix handling frag_list on grant op error path

2014-07-18 Thread Zoltan Kiss
On 18/07/14 16:24, Wei Liu wrote: On Thu, Jul 17, 2014 at 08:09:49PM +0100, Zoltan Kiss wrote: The error handling for skb's with frag_list was completely wrong, it caused double unmap attempts to happen if the error was on the first skb. Move it to the right place in the loop. Signed-off-by:

Re: Alpha Checkpatch Errors

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 13:35:48 -0400 Nick Krause xerofo...@gmail.com wrote: Why are you even asking this? What do you think? -- Steve -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2 1/3] perf/sdt : Listing of SDT markers by perf

2014-07-18 Thread Andi Kleen
Hemant Kumar hem...@linux.vnet.ibm.com writes: First I should say supporting these probes is very useful. Thanks for working on this. + +#define SDT_CACHE_DIR /var/cache/perf/ This requires running perf as root, right? It would be better to use the $HOME cache dir, like the recent JSON

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread John Stultz
On 07/18/2014 10:43 AM, Pawel Moll wrote: This change is trying to make the sched clock similar to the monotonic raw one. The main goal is to provide some kind of unification between time flow in kernel and in user space, mainly to achieve correlation between perf timestamps and

Re: [PATCH] CMA/HOTPLUG: clear buffer-head lru before page migration

2014-07-18 Thread Laura Abbott
On 7/17/2014 11:45 PM, Gioh Kim wrote: Hi, For page migration of CMA, buffer-heads of lru should be dropped. Please refer to https://lkml.org/lkml/2014/7/4/101 for the history. I have two solution to drop bhs. One is invalidating entire lru. Another is searching the lru and dropping

Re: [RFC 0/2] Memoryless nodes and kworker

2014-07-18 Thread Tejun Heo
Hello, On Fri, Jul 18, 2014 at 10:42:29AM -0700, Nish Aravamudan wrote: So, to be clear, this is not *necessarily* about memoryless nodes. It's about the semantics intended. The workqueue code currently calls cpu_to_node() in a few places, and passes that node into the core MM as a hint about

Re: [RFC 0/2] Memoryless nodes and kworker

2014-07-18 Thread Tejun Heo
On Fri, Jul 18, 2014 at 02:00:08PM -0400, Tejun Heo wrote: This isn't a huge issue but it shows that this is the wrong layer to deal with this issue. Let the allocators express where they are. ^ allocator users Choosing and

Re: [PATCH] drivers: Let several drivers depends on HAS_IOMEM for 'devm_ioremap_resource'

2014-07-18 Thread Chen Gang
On 07/18/2014 11:37 PM, Lennox Wu wrote: Score can provide dummy functions if HAS_IOMEM and NO_IOMEM will be removed, even if we indeed have no IOMEM. Thank you for your reply, for score, your ideas is OK to me. And for the COMPILE_TEST needs still discussing below: 2014-07-18 18:51

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Joe Perches
On Fri, 2014-07-18 at 09:43 -0700, Greg KH wrote: On Fri, Jul 18, 2014 at 12:22:13PM -0400, John W. Linville wrote: On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: We should prefer `const struct pci_device_id` over `DEFINE_PCI_DEVICE_TABLE` to meet kernel coding style

Re: [PATCH net 3/4] xen-netback: Fix releasing header slot on error path

2014-07-18 Thread Zoltan Kiss
On 18/07/14 16:25, Wei Liu wrote: On Thu, Jul 17, 2014 at 08:09:51PM +0100, Zoltan Kiss wrote: This patch makes this function aware that the first frag and the header might share the same ring slot. That could happen if the first slot is bigger than MAX_SKB_LEN. Due to this the error path might

[PATCH net 1/4 v2] xen-netback: Fix handling frag_list on grant op error path

2014-07-18 Thread Zoltan Kiss
The error handling for skb's with frag_list was completely wrong, it caused double unmap attempts to happen if the error was on the first skb. Move it to the right place in the loop. Signed-off-by: Zoltan Kiss zoltan.k...@citrix.com Reported-by: Armin Zentai armin.zen...@ezit.hu Cc:

[PATCH net 4/4 v2] xen-netback: Fix pointer incrementation to avoid incorrect logging

2014-07-18 Thread Zoltan Kiss
Due to this pointer is increased prematurely, the error log contains rubbish. Signed-off-by: Zoltan Kiss zoltan.k...@citrix.com Reported-by: Armin Zentai armin.zen...@ezit.hu Cc: net...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: xen-de...@lists.xenproject.org --- diff --git

[PATCH net 0/4 v2] xen-netback: Fixing up xenvif_tx_check_gop

2014-07-18 Thread Zoltan Kiss
This series fixes a lot of bugs on the error path around this function, which were introduced with my grant mapping series in 3.15. They apply to the latest net tree, but probably to net-next as well without any modification. I'll post an another series which applies to 3.15 stable, as the problem

[PATCH net 3/4 v2] xen-netback: Fix releasing header slot on error path

2014-07-18 Thread Zoltan Kiss
This patch makes this function aware that the first frag and the header might share the same ring slot. That could happen if the first slot is bigger than PKT_PROT_LEN. Due to this the error path might release that slot twice or never, depending on the error scenario. xenvif_idx_release is also

[PATCH net 2/4 v2] xen-netback: Fix releasing frag_list skbs in error path

2014-07-18 Thread Zoltan Kiss
When the grant operations failed, the skb is freed up eventually, and it tries to release the frags, if there is any. For the main skb nr_frags is set to 0 to avoid this, but on the frag_list it iterates through the frags array, and tries to call put_page on the page pointer which contains garbage

Re: Build Errors when building usb directory

2014-07-18 Thread Randy Dunlap
On 07/18/2014 10:45 AM, Nick Krause wrote: Hey Greg and others, When I built the usb directory today to check a patch I am also sending to. I seem to hitting a few compiler errors and a lot of warnings. I am going to attach a file of my log of this build. Cheers Nick Hi, What command(s)

Re: [PATCH v12 11/11] seccomp: add thread sync ability

2014-07-18 Thread Kees Cook
On Fri, Jul 18, 2014 at 10:17 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jul 17, 2014 at 8:26 PM, James Morris jmor...@namei.org wrote: On Thu, 17 Jul 2014, Kees Cook wrote: Twelfth time's the charm! :) Btw, there doesn't seem to be an official seccomp maintainer. Kees, would

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-07-18 Thread Douglas Gilbert
On 14-07-18 07:41 AM, James Bottomley wrote: On Fri, 2014-07-18 at 17:17 +, Elliott, Robert (Server Storage) wrote: From: James Bottomley [mailto:jbottom...@parallels.com] On Fri, 2014-07-18 at 00:51 +, Elliott, Robert (Server Storage) wrote: ... Also, in both sd_setup_flush_cmnd

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread Greg KH
On Fri, Jul 18, 2014 at 09:54:32AM -0700, James Bottomley wrote: On Fri, 2014-07-18 at 09:43 -0700, Greg KH wrote: On Fri, Jul 18, 2014 at 12:22:13PM -0400, John W. Linville wrote: On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine wrote: We should prefer `const struct pci_device_id`

Re: [RFC 0/2] Memoryless nodes and kworker

2014-07-18 Thread Tejun Heo
Hello, On Fri, Jul 18, 2014 at 11:12:01AM -0700, Nish Aravamudan wrote: why aren't these callers using kthread_create_on_cpu()? That API was It is using that. There just are other data structures too. already change to use cpu_to_mem() [so one change, rather than of all over the kernel

Re: Sparc: Fix Mes in highmem.c

2014-07-18 Thread Sam Ravnborg
On Fri, Jul 18, 2014 at 01:06:41PM -0400, Nick Krause wrote: On Fri, Jul 18, 2014 at 10:08 AM, Steven Rostedt rost...@goodmis.org wrote: On Thu, Jul 17, 2014 at 11:05:12PM -0400, Nick Krause wrote: On Thu, Jul 17, 2014 at 1:38 PM, Nick Krause xerofo...@gmail.com wrote: On Thu, Jul 17, 2014

RE: [PATCH V3] netxen: fix ethtool rx_dropped information in ethtool get_ethtool_stats()

2014-07-18 Thread Rajesh Borundia
-Original Message- From: Ethan Zhao [mailto:ethan.z...@oracle.com] Sent: Friday, July 18, 2014 9:13 AM To: Manish Chopra; Sony Chacko; Rajesh Borundia; netdev Cc: linux-kernel; ethan.ker...@gmail.com; Ethan Zhao Subject: [PATCH V3] netxen: fix ethtool rx_dropped information in

Re: [PATCH v6 1/1] xen: vnuma for pv guests

2014-07-18 Thread Konrad Rzeszutek Wilk
On Fri, Jul 18, 2014 at 01:57:25AM -0400, Elena Ufimtseva wrote: Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the NUMA topology, otherwise sets dummy NUMA node and prevents numa_init from calling other numa initializators as they dont work with pv guests. Signed-off-by: Elena

[PATCH 09/14] arm64: introduce aarch64_insn_gen_add_sub_shifted_reg()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate add/subtract (shifted register) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 11 ++ arch/arm64/kernel/insn.c | 49 +++ 2 files changed, 60 insertions(+) diff

[PATCH 11/14] arm64: introduce aarch64_insn_gen_data2()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate data-processing (2 source) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 20 ++ arch/arm64/kernel/insn.c | 48 +++ 2 files changed, 68 insertions(+) diff

[PATCH 12/14] arm64: introduce aarch64_insn_gen_data3()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate data-processing (3 source) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 14 ++ arch/arm64/kernel/insn.c | 42 ++ 2 files changed, 56 insertions(+) diff

[PATCH 14/14] arm64: eBPF JIT compiler

2014-07-18 Thread Zi Shen Lim
The JIT compiler emits A64 instructions. It supports eBPF only. Legacy BPF is supported thanks to conversion by BPF core. JIT is enabled in the same way as for other architectures: echo 1 /proc/sys/net/core/bpf_jit_enable Or for additional compiler output: echo 2

[PATCH 01/14] arm64: introduce aarch64_insn_gen_comp_branch_imm()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate compare branch (immediate) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 57 arch/arm64/kernel/insn.c | 88 --- 2 files changed, 140

[PATCH 04/14] arm64: introduce aarch64_insn_gen_load_store_reg()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate load/store (register offset) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 20 ++ arch/arm64/kernel/insn.c | 62 +++ 2 files changed, 82 insertions(+) diff

[PATCH 13/14] arm64: introduce aarch64_insn_gen_logical_shifted_reg()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate logical (shifted register) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 25 ++ arch/arm64/kernel/insn.c | 60 +++ 2 files changed, 85 insertions(+) diff

[PATCH 10/14] arm64: introduce aarch64_insn_gen_data1()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate data-processing (1 source) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 13 + arch/arm64/kernel/insn.c | 37 + 2 files changed, 50 insertions(+) diff --git

[PATCH 07/14] arm64: introduce aarch64_insn_gen_bitfield()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate bitfield instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 16 + arch/arm64/kernel/insn.c | 56 +++ 2 files changed, 72 insertions(+) diff --git

[PATCH 03/14] arm64: introduce aarch64_insn_gen_cond_branch_imm()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate conditional branch (immediate) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 21 + arch/arm64/kernel/insn.c | 17 + 2 files changed, 38 insertions(+) diff --git

[PATCH 08/14] arm64: introduce aarch64_insn_gen_movewide()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate move wide (immediate) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 13 + arch/arm64/kernel/insn.c | 43 +++ 2 files changed, 56 insertions(+) diff --git

[PATCH 06/14] arm64: introduce aarch64_insn_gen_add_sub_imm()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate add/subtract (immediate) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 16 arch/arm64/kernel/insn.c | 44 +++ 2 files changed, 60 insertions(+) diff

[PATCH 05/14] arm64: introduce aarch64_insn_gen_load_store_pair()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate load/store pair instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 16 +++ arch/arm64/kernel/insn.c | 65 +++ 2 files changed, 81 insertions(+) diff --git

[PATCH 02/14] arm64: introduce aarch64_insn_gen_branch_reg()

2014-07-18 Thread Zi Shen Lim
Introduce function to generate unconditional branch (register) instructions. Signed-off-by: Zi Shen Lim zlim@gmail.com --- arch/arm64/include/asm/insn.h | 7 +++ arch/arm64/kernel/insn.c | 35 +-- 2 files changed, 40 insertions(+), 2 deletions(-)

[PATCH 00/14] arm64: eBPF JIT compiler

2014-07-18 Thread Zi Shen Lim
This series implements eBPF JIT compiler for arm64. Please see [14/14] for change log. Patches [1-13/14] implement code generation functions. Patch [14/14] implements the actual eBPF JIT compiler. Many thanks to everyone who's reviewed the code from RFCv1-RFCv3, especially Alexei for BPF bits,

[PATCH] Staging: vt6655: apply kernel coding style to wCommandTimerWait function

2014-07-18 Thread Igor Bezukh
Since there is a lot of stuff that need to be changed in order to meet the kernel coding style in wcmd.c file, I've decided to fix function-per-patch. The following changes were made in vCommandTimerWait function: - Camel case change: - MSecond --- msec - hDdeviceContext --- private -

[PATCH] tracing: Fix wraparound problems in uptime tracer

2014-07-18 Thread Tony Luck
The uptime tracer added in: commit 8aacf017b065a805d27467843490c976835eb4a5 tracing: Add uptime trace clock that uses jiffies has wraparound problems when the system has been up more than 1 hour 11 minutes and 34 seconds. It converts jiffies to nanoseconds using:

Re: [PATCH] tracing: Fix wraparound problems in uptime tracer

2014-07-18 Thread Steven Rostedt
On Fri, 18 Jul 2014 11:43:01 -0700 Tony Luck tony.l...@intel.com wrote: The uptime tracer added in: commit 8aacf017b065a805d27467843490c976835eb4a5 tracing: Add uptime trace clock that uses jiffies has wraparound problems when the system has been up more than 1 hour 11 minutes

Re: [PATCH 0/25] Replace DEFINE_PCI_DEVICE_TABLE macro use

2014-07-18 Thread James Bottomley
On Fri, 2014-07-18 at 11:17 -0700, Greg KH wrote: On Fri, Jul 18, 2014 at 09:54:32AM -0700, James Bottomley wrote: On Fri, 2014-07-18 at 09:43 -0700, Greg KH wrote: On Fri, Jul 18, 2014 at 12:22:13PM -0400, John W. Linville wrote: On Fri, Jul 18, 2014 at 05:26:47PM +0200, Benoit Taine

Re: [PATCHv6 3/4] iio: devicetree: Add DT binding documentation for Exynos3250 ADC

2014-07-18 Thread Arnd Bergmann
On Saturday 19 July 2014 02:02:09 Chanwoo Choi wrote: On Sat, Jul 19, 2014 at 1:33 AM, Arnd Bergmann a...@arndb.de wrote: On Saturday 19 July 2014 01:23:15 Chanwoo Choi wrote: If don't add new compatible including specific exynos version, I would add new 'adc-needs-sclk' property with

Re: [PATCH 5/5] cgroup: introduce cgroup namespaces

2014-07-18 Thread Aditya Kali
On Fri, Jul 18, 2014 at 9:51 AM, Andy Lutomirski l...@amacapital.net wrote: On Jul 17, 2014 1:56 PM, Aditya Kali adityak...@google.com wrote: On Thu, Jul 17, 2014 at 12:57 PM, Andy Lutomirski l...@amacapital.net wrote: What happens if someone moves a task in a cgroup namespace outside of

Re: [PATCH v12 11/11] seccomp: add thread sync ability

2014-07-18 Thread Andy Lutomirski
On Fri, Jul 18, 2014 at 11:13 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jul 18, 2014 at 10:17 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jul 17, 2014 at 8:26 PM, James Morris jmor...@namei.org wrote: On Thu, 17 Jul 2014, Kees Cook wrote: Twelfth time's the charm! :)

Re: [RESPIN PATCH v6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-18 Thread Kukjin Kim
On 07/14/14 12:58, Pankaj Dubey wrote: As exynos_cpuidle_init and exynos_cpufreq_init function have just one lines of code for registering platform devices. We can move these lines to exynos_dt_machine_init and delete exynos_cpuidle_init and exynos_cpufreq_init function. This will help in

Re: [PATCH 3.12 100/170] hugetlb: fix copy_hugetlb_page_range() to handle migration/hwpoisoned entry

2014-07-18 Thread Hugh Dickins
On Fri, 18 Jul 2014, Jiri Slaby wrote: From: Naoya Horiguchi n-horigu...@ah.jp.nec.com 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4a705fef986231a3e7a6b1a6d3c37025f021f49f upstream. There's a race between fork() and hugepage

Re: [PATCH] tracing: Fix wraparound problems in uptime tracer

2014-07-18 Thread Tony Luck
On Fri, Jul 18, 2014 at 11:47 AM, Steven Rostedt rost...@goodmis.org wrote: Do you think this is worthy of stable and 3.16 material? Perhaps. Not sure that I need it (I'm stuck waiting for the extlog_trace pieces which are now queued in tip, but won't go in until 3.17). But I suppose we should

Re: [PATCH v10 5/7] arm: add basic support for Mediatek MT6589 boards

2014-07-18 Thread Daniel Lezcano
On 07/18/2014 12:47 PM, Heiko Stübner wrote: Hi Daniel, Am Freitag, 18. Juli 2014, 11:46:51 schrieb Daniel Lezcano: On 07/07/2014 05:13 PM, Matthias Brugger wrote: This adds a generic devicetree board file and a dtsi for boards based on MT6589 SoCs from Mediatek. Apart from the generic parts

Re: [PATCH 5/5] cgroup: introduce cgroup namespaces

2014-07-18 Thread Andy Lutomirski
On Fri, Jul 18, 2014 at 11:51 AM, Aditya Kali adityak...@google.com wrote: On Fri, Jul 18, 2014 at 9:51 AM, Andy Lutomirski l...@amacapital.net wrote: On Jul 17, 2014 1:56 PM, Aditya Kali adityak...@google.com wrote: On Thu, Jul 17, 2014 at 12:57 PM, Andy Lutomirski l...@amacapital.net

Re: [RFC 0/2] Memoryless nodes and kworker

2014-07-18 Thread Tejun Heo
Hello, On Fri, Jul 18, 2014 at 11:47:08AM -0700, Nish Aravamudan wrote: Why are any callers of the format kthread_create_on_node(..., cpu_to_node(cpu), ...) not using kthread_create_on_cpu(..., cpu, ...)? Ah, okay, that's because unbound workers are NUMA node affine, not CPU. It seems like

Re: [PATCH v12 11/11] seccomp: add thread sync ability

2014-07-18 Thread Kees Cook
On Fri, Jul 18, 2014 at 11:51 AM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Jul 18, 2014 at 11:13 AM, Kees Cook keesc...@chromium.org wrote: On Fri, Jul 18, 2014 at 10:17 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Jul 17, 2014 at 8:26 PM, James Morris jmor...@namei.org

Re: Power-managing devices that are not of interest at some point in time

2014-07-18 Thread Alan Stern
On Fri, 18 Jul 2014, Patrik Fimml wrote: 2. Give userspace a way of quiescing a device. Handles to the device stay open, but the device will no longer perform its function and, if possible, power down. Quiescing is the wrong word. Quiescing a device means stopping the device from

Re: [PATCH 6/7] firmware_class: add fd input file

2014-07-18 Thread Kees Cook
On Fri, Jul 18, 2014 at 10:11 AM, Mimi Zohar zo...@linux.vnet.ibm.com wrote: On Mon, 2014-07-14 at 14:38 -0700, Kees Cook wrote: As an alternative to loading bytes from the data blob when reading firmware, let kernel read from an fd, so that the LSM can reason about the origin of firmware

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 10:51:19AM -0700, John Stultz wrote: Very cool work! I've not been able to review it carefully, but one good stress test would be to pick a system where the hardware used for sched_clock is different from the hardware used for timekeeping. Probably easily done on x86

Re: [GIT PULL] Keyrings and asymmetric keys patches for 3.17

2014-07-18 Thread David Howells
, but it probably won't be till next week. Anyway, I've updated the keys-preparse-1 branch and tagged it anew with keys-preparse-1-20140718. There was a spelling fix in the docs and the patches have been rebased on the updated security/next. I've also rebuilt the keys-next branch, basing it on the updated

Re: [PATCH v3] ARM: dts: Add cros_ec to exynos5420-peach-pit and exynos5800-peach-pi

2014-07-18 Thread Kukjin Kim
On 07/18/14 07:42, Javier Martinez Canillas wrote: Hello Kukjin, Hi, On 06/24/2014 06:28 PM, Doug Anderson wrote: This adds cros_ec to exynos5420-peach-pit and exynos5800-peach-pi, including: * The keyboard * The i2c tunnel * The tps65090 under the i2c tunnel * The battery under the i2c

Re: [PATCH] usb-core: Remove Fix mes in file hcd.c

2014-07-18 Thread Alan Stern
On Fri, 18 Jul 2014, Nicholas Krause wrote: I am removing two fix mes in this file as after dicussing then it seems there is no reason to check against Null for usb_device as it can never be NULL and this is check is therefore not needed. Signed-off-by: Nicholas Krause xerofo...@gmail.com

Re: [PATCHv2] ARM: dts: Add I2S dt node for Exynos3250

2014-07-18 Thread Kukjin Kim
On 07/18/14 09:10, Chanwoo Choi wrote: On 07/09/2014 12:00 PM, Chanwoo Choi wrote: From: Tomasz Figat.f...@samsung.com This patch add I2S (Inter-IC Sound) dt node which supports 1-port stereo (1 channels) IIS-bus for audio interface with DMA-based operation. Signed-off-by: Tomasz

Re: [RFC] sched_clock: Track monotonic raw clock

2014-07-18 Thread Peter Zijlstra
On Fri, Jul 18, 2014 at 06:43:39PM +0100, Pawel Moll wrote: This change is trying to make the sched clock similar to the monotonic raw one. The main goal is to provide some kind of unification between time flow in kernel and in user space, mainly to achieve correlation between perf

Re: linux-next: build warning after merge of the tip tree

2014-07-18 Thread H. Peter Anvin
On 07/17/2014 10:00 PM, Stephen Rothwell wrote: Hi all, After merging the tip tree, today's linux-next build (x86_64 allmodconfig) produced these warnings: In file included from arch/x86/vdso/vdso2c.c:161:0: arch/x86/vdso/vdso2c.c: In function 'main': arch/x86/vdso/vdso2c.h:118:6:

RE: [PATCH v3 00/12] usb: dwc2/gadget: fix series

2014-07-18 Thread Paul Zimmerman
From: Robert Baldyga [mailto:r.bald...@samsung.com] Sent: Friday, July 18, 2014 4:39 AM This patchset contains fixes for dwc2 gadget driver. It touches PHY, FIFO configuration, initialization sequence and adds many other small fixes. Best regards Robert Baldyga Samsung RD Institute

[PULL] seccomp update (3.17)

2014-07-18 Thread Kees Cook
Hi James, Please pull these seccomp changes for 3.17. (And if I should base off something other than security-next, please let me know. Or if there are any things I should be doing differently with this tree.) Thanks! -Kees The following changes since commit

Re: [PATCH v3 1/7] printk: report dropped messages on separate line

2014-07-18 Thread Alex Elder
On 07/18/2014 09:14 AM, Alex Elder wrote: It is possible for the log to be filled too quickly for the consoles to be able to keep up. This is detected in console_unlock(), and when it occurs, a message is printed on the console. When reviewing some nearby code, Petr Mládek suggested it might

<    6   7   8   9   10   11   12   13   14   15   >