Re: [appleir] BUG: unable to handle kernel NULL pointer dereference

2013-11-07 Thread Benjamin Tissoires
Hi James, On 07/11/13 02:52, James Henstridge wrote: On Wed, Nov 6, 2013 at 11:38 PM, Jiri Kosina jkos...@suse.cz wrote: On Tue, 29 Oct 2013, Luis Henriques wrote: James has reported a NULL pointer dereference[1] on the appleir driver. From the bug report[2] it looks like it is 100%

[RFC][PATCH 0/6] ima: support per-measurement templates

2013-11-07 Thread Roberto Sassu
Hi everyone one functionality that is missing in the new template management mechanism is the possibility to specify a custom template format per-measurement entry. Until now, once the template is determined from the kernel configuration or from the kernel command line parameters 'ima_template'

[RFC][PATCH 1/6] ima: connect defined IMA templates through a linked list

2013-11-07 Thread Roberto Sassu
This patch connects defined templates through a linked list so that it will be possible to append new descriptors when the functionality of specifying a custom template in the policy will be introduced. Template search by name is still performed by iterating over 'defined_templates' array items.

[RFC][PATCH 2/6] ima: added new template helper lookup_template_desc_by_fmt()

2013-11-07 Thread Roberto Sassu
This patch adds a new helper to search a template descriptor by its format. Also, the old function lookup_template_desc(), which performs the search by name, has been renamed to lookup_template_desc_by_name(). Signed-off-by: Roberto Sassu roberto.sa...@polito.it ---

[RFC][PATCH 3/6] ima: added ima_get_template_desc() for templates dynamic registration

2013-11-07 Thread Roberto Sassu
This patch introduces the ima_get_template_desc() function which returns a template descriptor depending on the template name and format passed as arguments. If the first argument is not NULL, the new function searches an existing template descriptor by name among those defined and returns it to

[RFC][PATCH 5/6] ima: added ima_template and ima_template_fmt new policy options

2013-11-07 Thread Roberto Sassu
This patch adds the support for 'ima_template' and 'ima_template_fmt' policy options. They allow to define which template and, thus, which information should be included in measurements entries generated from events that match other rules' criteria. With this feature, it is possible to include

[RFC][PATCH 4/6] ima: replace ima_template_desc_current() with ima_get_template_desc()

2013-11-07 Thread Roberto Sassu
This patch replaces calls to ima_template_desc_current() in ima_api.c and ima_main.c with ima_get_template_desc() as the former function is called by the latter when passed arguments are both NULL. The patch also declares the former function as static so that it will not be longer available

[RFC][PATCH 6/6] ima: use custom template obtained from a matched policy rule

2013-11-07 Thread Roberto Sassu
This patch modifies existing IMA functions to retrieve the template name or format specified in a matched policy rule and provide it to ima_alloc_init_template(). The latter calls ima_get_template_desc() to obtain the template descriptor to use for creating a new measurement entry. Signed-off-by:

Re: [PATCH v9 03/18] arm/xen,arm64/xen: introduce p2m

2013-11-07 Thread Stefano Stabellini
On Thu, 7 Nov 2013, Ian Campbell wrote: On Fri, 2013-10-25 at 11:51 +0100, Stefano Stabellini wrote: Introduce physical to machine and machine to physical tracking mechanisms based on rbtrees for arm/xen and arm64/xen. We need it because any guests on ARM are an autotranslate guests,

Re: 答复:答复:[PATCH 2/4] perf tools: relate 'start' 'end' to perf_session

2013-11-07 Thread David Ahern
On 11/7/13, 5:14 AM, 秦承刚 wrote: Hi, David The samples for the task before the end of the time window are not influenced by the time window. The time window only cover the sample events in the ordered_samples. FORK, MMAP, COMM events are not in the ordered_samples. They are delivered in the

LED MINING LIGHTS GARDEN LIGHT CANDLE LIGHT

2013-11-07 Thread LED FLASH LIGHT CAMCORDERS DIMMABLE LED BULBS
Dear Mr/Ms, From the internet we have konw that you are interested in our products We are a leading exporter of LED lamps for so many years .for details about our products welcome to browse our website www.JRS-LED.net we believe that flavorable price and high quality will help you to extend

Re: [tip:perf/core] tools/perf: Add required memory barriers

2013-11-07 Thread Ingo Molnar
* Vince Weaver vi...@deater.net wrote: On Thu, 7 Nov 2013, Ingo Molnar wrote: I don't want a library that is external and under-tested: for example quite a few of the PAPI breakages were found very late, after a new kernel has been released - that's the big disadvantage of

Re: [PATCH] kcore: add Kconfig help text

2013-11-07 Thread David Howells
Randy Dunlap rdun...@infradead.org wrote: + Exports kernel core in ELF format. Provides a virtual ELF core file of the live kernel. This can be read with gdb and other ELF tools. No modifications can be made using this mechanism. maybe? -- To unsubscribe from this list: send the line

Re: [PATCH 0/4] perf record: Cleanups and mmap-based output

2013-11-07 Thread David Ahern
On 11/7/13, 6:21 AM, Jiri Olsa wrote: CC builtin-record.o builtin-record.c: In function ‘do_mmap_output’: builtin-record.c:118:13: error: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Werror=unused-result] ftruncate(file-fd, offset);

Re: [PATCH] ext4: Fix reading of extended tv_sec (bug 23732)

2013-11-07 Thread Jan Kara
On Thu 07-11-13 02:16:30, David Turner wrote: In ext4, the bottom two bits of {a,c,m}time_extra are used to extend the {a,c,m}time fields, deferring the year 2038 problem to the year 2446. The representation (which this patch does not alter) is a bit hackish, in that the most-significant bit

Re: [PATCH] INPUT: wacom: Added definition for Wacom CTH680 The Wacom Creative Pen Touch Tablet M (CTH680, 056A:0303) is a newer revision of the Bamboo series. This patch adds product 0303 to wacom.

2013-11-07 Thread Chris Bagwell
On Sat, Nov 2, 2013 at 2:04 PM, matt...@incomplete.io wrote: From: Matthew Geddes matt...@incomplete.io Your whole commit message appears to be crammed into first summary line. Could you please align with git conventions: put a line break after CTH680, a blank line, and then the remaining

Re: [PATCH v4 3/4] usb: ffs: check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-07 Thread Alan Stern
On Wed, 6 Nov 2013, Michal Nazarewicz wrote: On Tue, Nov 05 2013, Alan Stern wrote: Maybe Michal can enlighten us. Sorry for late response, this thread fell under my radar for some reason. So here's how it works: epfile represents an end point file on the fuctionfs file system, i.e.

Re: [PATCH 4/4] perf record: mmap output file - v3

2013-11-07 Thread David Ahern
On 11/7/13, 1:03 AM, Ingo Molnar wrote: * David Ahern dsah...@gmail.com wrote: +--out-pages=:: + Number of pages to mmap while writing data to file (must be a power of two). + Specification can be appended with unit character - B/K/M/G. The + size is rounded up to have

Re: [PATCH] mm/slub: Switch slub_debug kernel option to early_param to avoid boot panic

2013-11-07 Thread Christoph Lameter
On Thu, 7 Nov 2013, Andreas Herrmann wrote: And for sake of completeness. Here is some debug output with a kernel that had your slub: Handle NULL parameter in kmem_cache_flags patch applied. And of course there were a couple of unnamed slabs: ... .bss : 0xc089fd80 - 0xc094cc4c

Re: [PATCH v3 9/9] ARM: add initial support for Marvell Berlin SoCs

2013-11-07 Thread Arnd Bergmann
On Thursday 07 November 2013, Sebastian Hesselbarth wrote: Actually, IIRC smp_twd does not compile without SMP set, so the above should at least be 'HAVE_ARM_TWD if SMP'. If you shrink MULTI_V7 down to non-SMP cores, you can disable it and it will fail to compile. If there are UP-systems for

Re: [PATCH] Wrong symbol resolved for RIP on OOPS/BUG

2013-11-07 Thread H. Peter Anvin
On 11/06/2013 11:54 PM, Ingo Molnar wrote: There's a recent commit from Jiri Slaby that I think tries to address the same problem: 8d4c812a3e5f x86/dumpstack: Fix printk_address for direct addresses You can find it in the -tip tree: git remote add tip

Re: [GIT PULL] uprobes: preparations for arm port

2013-11-07 Thread Oleg Nesterov
On 11/07, Ingo Molnar wrote: * Oleg Nesterov o...@redhat.com wrote: and we need to cleanup copy_insn() first. Heh. I never read it carefully, I always knew it should be cleanuped. But when I looked at it now I realized that it is very wrong, and it is very easy to crash the kernel

[PATCH v2] kcore: add Kconfig help text

2013-11-07 Thread Randy Dunlap
From: Randy Dunlap rdun...@infradead.org Under Pseudo filesystems, /proc/kcore support has no help. Fixes a portion of kernel bugzilla #52671: https://bugzilla.kernel.org/show_bug.cgi?id=52671 Thanks for David Howells for the help text. Signed-off-by: Randy Dunlap rdun...@infradead.org

Re: [PATCH] mm/slub: Switch slub_debug kernel option to early_param to avoid boot panic

2013-11-07 Thread Christoph Lameter
There is still something not optimal with the patch since it would disable debuggin on the kmalloc stack. Ccheck name for NULL only if slub_debug_slabs. Subject: slub: Handle NULL parameter in kmem_cache_flags V2 V1-V2 - flags need to be applied regardless if !slub_debug_slabs

Re: [patch] net: make ndev-irq signed for error handling

2013-11-07 Thread Mugunthan V N
On Thursday 07 November 2013 05:52 PM, Dan Carpenter wrote: On Thu, Nov 07, 2013 at 05:44:38PM +0530, Mugunthan V N wrote: On Thursday 07 November 2013 01:18 PM, Dan Carpenter wrote: There is a bug in cpsw_probe() where we do: ndev-irq = platform_get_irq(pdev, 0); if (ndev-irq 0) {

Re: [PATCH] iommu: Split iommu_unmaps

2013-11-07 Thread David Woodhouse
On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: iommu_map splits requests into pages that the iommu driver reports that it can handle. The iommu_unmap path does not do the same. This can cause problems not only from callers that might expect the same behavior as the map path, but

Re: [patch 1/6] hardirq: Make hardirq bits generic

2013-11-07 Thread Thomas Gleixner
On Thu, 7 Nov 2013, Geert Uytterhoeven wrote: Hi Thomas, On Wed, Nov 6, 2013 at 6:23 PM, Thomas Gleixner t...@linutronix.de wrote: Also note that the value of nested doesn't match the indentation level, which depends on my own bookkeeping using nesting. Well, nested is just an

Re: [PATCH 1/2] of: irq: Fix interrupt-map entry matching

2013-11-07 Thread Rob Herring
On Thu, Nov 7, 2013 at 5:32 AM, Tomasz Figa t.f...@samsung.com wrote: Hi Grant, Could you pick this patch up? It fixes boot-up at least on several Exynos based platforms, which use interrupt-map nodes with #interrupt-cells higher than 1. Also please disregard patch 2/2, as your fix that has

Re: [PATCH 14/14] sched: add sched_dl documentation.

2013-11-07 Thread Randy Dunlap
Hi, Just a few minor edits... On 11/07/13 05:47, Juri Lelli wrote: From: Dario Faggioli raist...@linux.it Add in Documentation/scheduler/ some hints about the design choices, the usage and the future possible developments of the sched_dl scheduling class and of the SCHED_DEADLINE policy.

[PATCH] kmod: Run usermodehelpers only on cpus allowed for kthreadd V2

2013-11-07 Thread Christoph Lameter
usermodehelper() threads can currently run on all processors. This is an issue for low latency cores. Spawnig a new thread causes cpu holdoffs in the range of hundreds of microseconds to a few milliseconds. Not good for cores on which processes run that need to react as fast as possible. kthreadd

[GIT PULL] Please pull NFS client changes for 3.13

2013-11-07 Thread Myklebust, Trond
Hi Linus, The following changes since commit f927318840745095cc7003f1564ca4b87655745d: Merge tag 'nfs-for-3.12-4' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (2013-09-30 17:10:26 -0700) are available in the git repository at:

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-07 Thread Luigi Semenzato
If I may add my usual 2c (and some news): zram is used by default on all Chrome OS devices. I can't say how many devices, but it's not a small number, google it, and it's an important market, low-end laptops for education and the less affluent. It has been available experimentally for well over

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-07 Thread Rik van Riel
On 11/07/2013 02:04 AM, Minchan Kim wrote: I'm guilty and I have been busy by other stuff. Sorry for that. Fortunately, I discussed this issue with Hugh in this Linuxcon for a long time(Thanks Hugh!) he felt zram's block device abstraction is better design rather than frontswap backend stuff

Re: [PATCH v2] ths7303: Declare as static a private function

2013-11-07 Thread Prabhakar Lad
Hi Ricardo, Thanks for the patch. On Wed, Nov 6, 2013 at 8:10 PM, Ricardo Ribalda Delgado ricardo.riba...@gmail.com wrote: git grep shows that the function is only called from ths7303.c Fix this build warning: CC drivers/media/i2c/ths7303.o drivers/media/i2c/ths7303.c:86:5: warning:

Re: [PATCH] net: x86: bpf: don't forget to free sk_filter (v2)

2013-11-07 Thread Alexei Starovoitov
On Wed, Nov 6, 2013 at 8:35 PM, Andrey Vagin ava...@openvz.org wrote: sk_filter isn't freed if bpf_func is equal to sk_run_filter. This memory leak was introduced by v3.12-rc3-224-gd45ed4a4 net: fix unsafe set_memory_rw from softirq. Before this patch sk_filter was freed in

Re: [PATCH] clk: mvebu: staticize of_cpu_clk_setup

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 09:59, Jisheng Zhang wrote: This symbol is used only in this file. The patch fix the following sparse warning: warning: symbol 'of_cpu_clk_setup' was not declared. Should it be static? Signed-off-by: Jisheng Zhang jszh...@marvell.com Acked-by: Gregory CLEMENT

[RFC PATCH 1/4] x86: move arch_cpu_uevent() to generic code

2013-11-07 Thread Ard Biesheuvel
Only x86 implements arch_cpu_uevent(), and there is nothing arch specific about it, so move it to drivers/base/cpu.c. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- arch/x86/kernel/cpu/match.c | 11 --- drivers/base/cpu.c | 15 ++- include/linux/cpu.h

[RFC PATCH 4/4] arm64: advertise CPU features using module aliases

2013-11-07 Thread Ard Biesheuvel
This enables the generic implementation in drivers/base/cpu.c that allows modules to be loaded automatically based on the optional features supported (and advertised) by the CPU. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- arch/arm64/Kconfig| 3 +++

[RFC PATCH 3/4] scripts/mod: add generic CPU features as module alias

2013-11-07 Thread Ard Biesheuvel
This implements the changes needed to turn CPU features declared as being depended upon by modules into module aliases in the .ko metadata. Signed-off-by: Ard Biesheuvel ard.biesheu...@linaro.org --- include/linux/mod_devicetable.h | 11 +++ scripts/mod/devicetable-offsets.c | 3 +++

[RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Ard Biesheuvel
This patch implements a generic modalias 'cpu:feature:...' which enables CPU feature flag based module loading in a generic way. All the arch needs to do is enable CONFIG_ARCH_HAS_CPU_AUTOPROBE and export a u32 called 'cpu_features'. (What each bit actually means is irrelevant on this level.)

[RFC PATCH 0/4] wire up CPU features to udev based module loading

2013-11-07 Thread Ard Biesheuvel
This series implements automatic module loading based on optional CPU features, and tries to do so in a generic way. Currently, 32 feature bits are supported, and how they map to actual CPU features is entirely up to the architecture. There is some GCC attribute foo in here which people may

Re: [PATCH v5 3/4] perf,x86: add Intel RAPL PMU support

2013-11-07 Thread Stephane Eranian
Peter, Working on it. Found other bugs and cleanups, so I will respin the entire series. It will be easier that way. On Wed, Nov 6, 2013 at 11:52 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Nov 05, 2013 at 06:01:25PM +0100, Stephane Eranian wrote: +static void rapl_exit_cpu(int

Re: [PATCH v2 09/13] ARM: Disable jprobe selftests in thumb kernels

2013-11-07 Thread Jon Medhurst (Tixy)
On Tue, 2013-10-15 at 17:04 -0400, David Long wrote: From: David A. Long dave.l...@linaro.org jprobe kernel selftests are not supported for thumb kernels. Conditionally disable them in the kernel kprobes-test module. I don't think it's fair to say they aren't supported, it's just that the

Re: [PATCH] seccomp: not compatible with ARM OABI

2013-11-07 Thread Kees Cook
On Thu, Nov 7, 2013 at 2:59 AM, James Hogan james.ho...@imgtec.com wrote: Hi, On 06/11/13 23:31, Kees Cook wrote: diff --git a/arch/Kconfig b/arch/Kconfig index af2cc6eabcc7..6eaca7d92399 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -331,12 +331,15 @@ config HAVE_ARCH_SECCOMP_FILTER

Re: [PATCH] staging: zsmalloc: Ensure handle is never 0 on success

2013-11-07 Thread Luigi Semenzato
On Thu, Nov 7, 2013 at 9:06 AM, Luigi Semenzato semenz...@google.com wrote: - Android 4.4 KitKat is also using zram, to better support devices with - less than 1 MB RAM. (That's the news.) Sorry, I meant 1 GB RAM. http://dilbert.com/strips/comic/1991-09-27/ -- To unsubscribe from this list:

Re: [PATCH] arm: mvebu: fix some sparse warnings

2013-11-07 Thread Gregory CLEMENT
Hi Jisheng, On 07/11/2013 10:02, Jisheng Zhang wrote: This patch fixes conflicting types for 'set_cpu_coherent' and fixes the following sparse warnings. arch/arm/mach-mvebu/system-controller.c:42:38: warning: symbol 'armada_370_xp_system_controller' was not declared. Should it be static?

Re: [Xen-devel] [PATCH] xen/balloon: Set balloon's initial state to number of existing RAM pages

2013-11-07 Thread Konrad Rzeszutek Wilk
On Thu, Nov 07, 2013 at 03:38:32PM +0100, Daniel Kiper wrote: On Wed, Nov 06, 2013 at 08:25:04PM -0500, Konrad Rzeszutek Wilk wrote: Bob Liu bob@oracle.com wrote: On 11/07/2013 04:37 AM, Boris Ostrovsky wrote: Currently balloon's initial value is set to max_pfn which includes

Re: Bench for testing scheduler

2013-11-07 Thread Morten Rasmussen
Hi Vincent, On Thu, Nov 07, 2013 at 10:54:30AM +, Vincent Guittot wrote: Hi, During the Energy-aware scheduling mini-summit, we spoke about benches that should be used to evaluate the modifications of the scheduler. I’d like to propose a bench that uses cyclictest to measure the wake

[PATCH v2] seccomp: not compatible with ARM OABI

2013-11-07 Thread Kees Cook
Make sure that seccomp filter won't be built when ARM OABI is in use, since there is work needed to distinguish calling conventions. Until that is done (which is likely never since OABI is deprecated), make sure seccomp filter is unavailable in the OABI world. Signed-off-by: Kees Cook

Re: ARM audit, seccomp, etc are broken wrt OABI syscalls

2013-11-07 Thread Kees Cook
On Thu, Nov 7, 2013 at 4:55 AM, Henrique de Moraes Holschuh h...@hmh.eng.br wrote: On Tue, 05 Nov 2013, Andy Lutomirski wrote: Maybe the thing to do is to put a warning in the config text for CONFIG_OABI_COMPAT that describes the problems (malicious userspace can confuse syscall auditors,

Re: [PATCH v5 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 04:08, Jisheng Zhang wrote: Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang jszh...@marvell.com Reviewed-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Seems ok for me too Acked-by: Gregory CLEMENT

Re: [PATCH v5 2/3] bus: mvebu: add missing of_node_put() to fix reference leak

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 04:08, Jisheng Zhang wrote: Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang jszh...@marvell.com Reviewed-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Acked-by: Gregory CLEMENT

Re: [PATCH v5 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-11-07 Thread Gregory CLEMENT
On 07/11/2013 04:08, Jisheng Zhang wrote: The resource mapped by of_iomap() isn't unmapped in error path. This patch fix the resource leakage by using devm_ioremap_resource() instead of of_iomap(). Signed-off-by: Jisheng Zhang jszh...@marvell.com Reviewed-by: Ezequiel Garcia

[PATCH bz 60724] tty/serial/8250: fix typo in help text

2013-11-07 Thread Randy Dunlap
From: Randy Dunlap rdun...@infradead.org Commit 9326b047e4fd4a8da72e59d913214a1803e9709c includes a typo of 8350_core instead of 8250_core, so correct it. Fixes kernel bugzilla #60724: https://bugzilla.kernel.org/show_bug.cgi?id=60724 Reported-by: Christoph Biedl

[PATCH v3 0/2] clk/zynq: fclk-enable feature

2013-11-07 Thread Soren Brinkmann
Hi, this is v3. The only change is a doc fix. Regarding the vendor prefix for properties, I counted one vote for it and one against + the already existing bindings that don't have a vendor prefix and my personal preference; and nobody else seems to have a strong opinion on this. Therefore I left

[PATCH v3 1/2] clk/zynq/clkc: Add 'fclk-enable' feature

2013-11-07 Thread Soren Brinkmann
In some use cases Zynq's FPGA clocks are used as static clock generators for IP in the FPGA part of the SOC for which no Linux driver exists and would control those clocks. To avoid automatic gating of these clocks in such cases a new property - fclk-enable - is added to the clock controller's DT

[PATCH v3 2/2] arm: dt: zynq: Add fclk-enable property to clkc node

2013-11-07 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com Acked-by: Michal Simek michal.si...@xilinx.com --- --- arch/arm/boot/dts/zynq-7000.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi index

Re: [PATCH 1/1] IOMMU: Save pci device id instead of pci_dev* pointer for DMAR devices

2013-11-07 Thread Bjorn Helgaas
On Tue, Nov 05, 2013 at 04:24:58PM +0800, Yijing Wang wrote: Currently, DMAR driver save target pci devices pointers for drhd/rmrr/atsr in (pci_dev *) array. This is not safe, because pci devices maybe hot added or removed during system running. They will have new pci_dev * pointer. So if

[PATCH 1/6] nohz: Convert a few places to use local per cpu accesses

2013-11-07 Thread Frederic Weisbecker
A few functions use remote per CPU access APIs when they deal with local values. Just to the right conversion to improve performance, code readability and debug checks. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@kernel.org

Re: [PATCH v2] seccomp: not compatible with ARM OABI

2013-11-07 Thread Andy Lutomirski
On Thu, Nov 7, 2013 at 9:47 AM, Kees Cook keesc...@chromium.org wrote: Make sure that seccomp filter won't be built when ARM OABI is in use, since there is work needed to distinguish calling conventions. Until that is done (which is likely never since OABI is deprecated), make sure seccomp

[PATCH 3/6] context_tracking: Wrap static key check into more intuitive function name

2013-11-07 Thread Frederic Weisbecker
Use a function with a meaningful name to check the global context tracking state. static_key_false() is a bit confusing for reviewers. Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@kernel.org Cc: Peter Zijlstra

[PATCH 6/6] posix-timers: Fix full dynticks CPUs kick on timer rescheduling

2013-11-07 Thread Frederic Weisbecker
A posix CPU timer can be rearmed while it is firing or after it is notified with a signal. This can happen for example with timers that were set with a non zero interval in timer_settime(). This rearming can happen in two places: 1) On timer firing time, which happens on the target's tick. If

[PATCH 5/6] posix-timers: Spare workqueue if there is no full dynticks CPU to kick

2013-11-07 Thread Frederic Weisbecker
After a posix cpu timer is set, a workqueue is scheduled in order to kick the full dynticks CPUs and let them restart their tick if necessary in case the task they are running is concerned by the new timer. This kick is implemented by way of IPIs, which require interrupts to be enabled, hence the

[PATCH 0/6] timers: updates for 3.13 preview

2013-11-07 Thread Frederic Weisbecker
Hi, This is a bunch of improvements and cleanups for dynticks. If no comment arise I'll send this to Ingo in a few days. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git timers/core It passed through 0-day testing with success. Thanks, Frederic ---

[PATCH 4/6] context_tracking: Rename context_tracking_active() to context_tracking_cpu_is_enabled()

2013-11-07 Thread Frederic Weisbecker
We currently have a confusing couple of API naming with the existing context_tracking_active() and context_tracking_is_enabled(). Lets keep the latter one, context_tracking_is_enabled(), for global context tracking state check and use context_tracking_cpu_is_enabled() for local state check.

[PATCH 2/6] trivial: fix spelling in CONTEXT_TRACKING_FORCE help text

2013-11-07 Thread Frederic Weisbecker
From: Paul Gortmaker paul.gortma...@windriver.com Signed-off-by: Paul Gortmaker paul.gortma...@windriver.com Signed-off-by: Frederic Weisbecker fweis...@gmail.com Cc: Thomas Gleixner t...@linutronix.de Cc: Ingo Molnar mi...@kernel.org Cc: Peter Zijlstra pet...@infradead.org Cc: Oleg Nesterov

[PATCH] intel_mid: do not re-introduce usage of obsolete __cpuinit

2013-11-07 Thread Paul Gortmaker
The commit 712b6aa8731a7e148298c58cea66a5209c659e3c [Nov7 linux-next via tip/auto-latest] (intel_mid: Renamed *mrst* to *intel_mid*) adds a __cpuinit. We removed this a couple versions ago; we now want to remove the compat no-op stubs. Introducing new users is not what we want to see at this

Re: [PATCH v2] seccomp: not compatible with ARM OABI

2013-11-07 Thread Kees Cook
On Thu, Nov 7, 2013 at 10:16 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Nov 7, 2013 at 9:47 AM, Kees Cook keesc...@chromium.org wrote: Make sure that seccomp filter won't be built when ARM OABI is in use, since there is work needed to distinguish calling conventions. Until that is

Re: Async runtime put in __device_release_driver()

2013-11-07 Thread Rafael J. Wysocki
On Thursday, November 07, 2013 09:18:52 AM Ulf Hansson wrote: On 7 November 2013 02:05, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, November 06, 2013 04:21:48 PM Kevin Hilman wrote: On Wed, Nov 6, 2013 at 4:16 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday,

Re: [PATCH] cpufreq: conservative: fix requested_freq reduction issue

2013-11-07 Thread Rafael J. Wysocki
On Thursday, November 07, 2013 10:39:38 AM Viresh Kumar wrote: On 7 November 2013 07:58, Xiaoguang Chen che...@marvell.com wrote: When decreasing frequency, requested_freq may be less than freq_target, So requested_freq minus freq_target may be negative, But reqested_freq's unit is unsigned

Re: [PATCH] usb: hub: Use correct reset for wedged USB3 devices that are NOTATTACHED

2013-11-07 Thread Julius Werner
I don't know either. But Sarah has said that ports can spontaneously go into Compliance Mode for no apparent reason. If that can happen, maybe it can happen while the port is in U3 and the device is suspended. In such cases, though, you'd need to do a reset-resume rather than a simple

Re: [PATCH v2] seccomp: not compatible with ARM OABI

2013-11-07 Thread Eric Paris
On Thu, 2013-11-07 at 10:39 -0800, Kees Cook wrote: On Thu, Nov 7, 2013 at 10:16 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Nov 7, 2013 at 9:47 AM, Kees Cook keesc...@chromium.org wrote: Make sure that seccomp filter won't be built when ARM OABI is in use, since there is work

Re: [PATCH 2/2] ARM: SMMU: return NULL on error in arm_smmu_iova_to_phys

2013-11-07 Thread Will Deacon
On Mon, Oct 14, 2013 at 06:09:48PM +0100, Will Deacon wrote: On Mon, Oct 14, 2013 at 04:17:51PM +0100, Antonios Motakis wrote: On Mon, Oct 14, 2013 at 2:48 PM, Will Deacon will.dea...@arm.com wrote: On Fri, Oct 11, 2013 at 02:24:47PM +0100, Antonios Motakis wrote: VFIO will exercise this

Re: [PATCH v2 01/11] rbtree: Fix rbtree_postorder_for_each_entry_safe() iterator

2013-11-07 Thread Cody P Schafer
On 11/07/2013 03:51 AM, Michel Lespinasse wrote: On Wed, Nov 6, 2013 at 5:42 PM, Cody P Schafer c...@linux.vnet.ibm.com wrote: From: Jan Kara j...@suse.cz [...] +#define rb_entry_safe(ptr, type, member) \ + ({ typeof(ptr) ptr = (ptr); \ + ptr ? rb_entry(ptr, type,

[PATCH v2] usb: hub: Use correct reset for wedged USB3 devices that are NOTATTACHED

2013-11-07 Thread Julius Werner
This patch adds a check for USB_STATE_NOTATTACHED to the hub_port_warm_reset_required() workaround for ports that end up in Compliance Mode in hub_events() when trying to decide which reset function to use. Trying to call usb_reset_device() with a NOTATTACHED device will just fail and leave the

Re: Corrupted low memory in v3.9+

2013-11-07 Thread Olof Johansson
On Thu, Oct 17, 2013 at 1:39 PM, Olof Johansson o...@lixom.net wrote: On Thu, Oct 17, 2013 at 12:39 PM, H. Peter Anvin h...@linux.intel.com wrote: On 10/17/2013 11:57 AM, Olof Johansson wrote: And the low memory checker never even ran before, since it had nothing to check. Earlier the lower

[PATCH-next] block/blk-mq: remove newly added instances of __cpuinit

2013-11-07 Thread Paul Gortmaker
commit 320ae51feed5c2f13664aa05a76bec198967e04d [Nov7 linux-next via Merge remote-tracking branch 'block/for-next'] adds blk-mq: new multi-queue block IO queueing mechanism. This commit added new instances of __cpuinit usage. We removed this a couple versions ago; we now want to remove the

Re: ARM audit, seccomp, etc are broken wrt OABI syscalls

2013-11-07 Thread Henrique de Moraes Holschuh
On Thu, 07 Nov 2013, Kees Cook wrote: On Thu, Nov 7, 2013 at 4:55 AM, Henrique de Moraes Holschuh h...@hmh.eng.br wrote: On Tue, 05 Nov 2013, Andy Lutomirski wrote: Maybe the thing to do is to put a warning in the config text for CONFIG_OABI_COMPAT that describes the problems (malicious

Re: [PATCH v2] seccomp: not compatible with ARM OABI

2013-11-07 Thread Andy Lutomirski
On Thu, Nov 7, 2013 at 10:56 AM, Eric Paris epa...@redhat.com wrote: On Thu, 2013-11-07 at 10:39 -0800, Kees Cook wrote: On Thu, Nov 7, 2013 at 10:16 AM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Nov 7, 2013 at 9:47 AM, Kees Cook keesc...@chromium.org wrote: Make sure that seccomp

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

2013-11-07 Thread Olof Johansson
/kernel-next/fs/bio.c:1725! [3.649266] invalid opcode: [#1] SMP [3.653473] Modules linked in: [3.656610] CPU: 0 PID: 107 Comm: loop0 Tainted: GW 3.12.0-next-20131107 #6 [3.664645] Hardware name: SAMSUNG Stumpy, BIOS Google_Stumpy.2183.0.2012_05_01_1303 05/01/2012

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

2013-11-07 Thread Kent Overstreet
here ] [3.641345] kernel BUG at /mnt/host/source/src/third_party/kernel-next/fs/bio.c:1725! [3.649266] invalid opcode: [#1] SMP [3.653473] Modules linked in: [3.656610] CPU: 0 PID: 107 Comm: loop0 Tainted: GW 3.12.0-next-20131107 #6 [3.664645

[PATCH] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-07 Thread Stephen Boyd
If we're running on a v7 ARM CPU, detect if the CPU supports the sdiv/udiv instructions and replace the signed and unsigned division library functions with an sdiv/udiv instruction. Running the perf messaging benchmark in pipe mode $ perf bench sched messaging -p shows a modest improvement on

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

2013-11-07 Thread Dave Kleikamp
On 11/02/2013 03:50 PM, Dave Kleikamp wrote: On 11/01/2013 03:53 PM, Jens Axboe wrote: So we've three immediate options: 1) You base it on top of the block tree 2) I carry the loop updates 3) You hand Stephen a merge patch for the resulting merge of the two Attached is a merge patch and

[PATCH] n_tty: Protect minimum_to_wake reset for concurrent readers

2013-11-07 Thread Peter Hurley
With multiple, concurrent readers (each waiting to acquire the atomic_read_lock mutex), a departing reader may mistakenly reset minimum_to_wake after a new reader has already set a new value. Protect the minimum_to_wake reset with the atomic_read_lock critical section. Signed-off-by: Peter

[PATCH] n_tty: Ensure reader restarts worker for next reader

2013-11-07 Thread Peter Hurley
A departing reader must restart a flush_to_ldisc() worker _before_ the next reader enters the read loop; this is to avoid the new reader concluding no more i/o is available and prematurely exiting, when the old reader simply hasn't re-started the worker yet. Cc: sta...@kernel.org # 3.12

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

2013-11-07 Thread Kent Overstreet
On Thu, Nov 07, 2013 at 01:20:26PM -0600, Dave Kleikamp wrote: On 11/02/2013 03:50 PM, Dave Kleikamp wrote: On 11/01/2013 03:53 PM, Jens Axboe wrote: So we've three immediate options: 1) You base it on top of the block tree 2) I carry the loop updates 3) You hand Stephen a merge

Re: [PATCH 0/3 - V2] Introducing Device Tree Overlays

2013-11-07 Thread Sebastian Andrzej Siewior
On 06.11.13, Guenter Roeck wrote: |… thanks for the explanation. We use DT overlays to describe the hardware on those boards and, if necessary, its configuration. For example, if there is a PCIe switch, the overlay would describe its memory and bus number configuration. So have your fix

[PATCH 1/2] dt: disable self-tests for !OF_IRQ

2013-11-07 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Fix OF selftest compile on sparc which does not enable OF_IRQ. drivers/of/selftest.c:177: undefined reference to `of_irq_parse_one' drivers/of/selftest.c:197: undefined reference to `of_irq_parse_one' drivers/of/selftest.c:248: undefined reference to

[PATCH 2/2] dt/irq: add empty of_irq_count for !OF_IRQ

2013-11-07 Thread Rob Herring
From: Rob Herring rob.herr...@calxeda.com Add an empty version of of_irq_count for !OF_IRQ. This fixes build error on sparc in linux-next: drivers/gpio/gpio-bcm-kona.c:542: undefined reference to `of_irq_count' Signed-off-by: Rob Herring rob.herr...@calxeda.com --- include/linux/of_irq.h | 10

[tip:x86/intel-mid] x86, intel-mid: Do not re-introduce usage of obsolete __cpuinit

2013-11-07 Thread tip-bot for Paul Gortmaker
Commit-ID: aeeca404266c8ed2997905afc342ba9561f49ca7 Gitweb: http://git.kernel.org/tip/aeeca404266c8ed2997905afc342ba9561f49ca7 Author: Paul Gortmaker paul.gortma...@windriver.com AuthorDate: Thu, 7 Nov 2013 13:34:50 -0500 Committer: H. Peter Anvin h...@zytor.com CommitDate: Thu, 7 Nov

[PATCH v2 0/5] OF: Fixes in preperation of DT overlays

2013-11-07 Thread Pantelis Antoniou
This patchset introduces a number of fixes that are required for the subsequent patches that add DT overlays support. Most of them are trivial, adding small bits that are missing, or exporting functions that were private before. Changes in V2: * Reorded patchset so that bisect works Pantelis

[PATCH v2 1/5] OF: Introduce device tree node flag helpers.

2013-11-07 Thread Pantelis Antoniou
Helper functions for working with device node flags. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- include/linux/of.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index f95aee3..786c4f6 100644 ---

[PATCH v2 2/5] OF: Clear detach flag on attach

2013-11-07 Thread Pantelis Antoniou
When attaching a node always clear the detach flag. Without this change the sequence detach, attach fails. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/base.c b/drivers/of/base.c index

[PATCH v2 5/5] OF: Introduce utility helper functions

2013-11-07 Thread Pantelis Antoniou
Introduce helper functions for working with the live DT tree. __of_free_property() frees a dynamically created property __of_free_tree() recursively frees a device node tree __of_copy_property() copies a property dynamically __of_create_empty_node() creates an empty node

Re: Corrupted low memory in v3.9+

2013-11-07 Thread H. Peter Anvin
On 11/07/2013 11:02 AM, Olof Johansson wrote: [0.00] reserving inaccessible SNB gfx pages [0.00] memblock_reserve: [0x00-0x10] This is on a Sandy Bridge system, which I guess I managed to miss the first time. Unfortunately low memory corruption is

[PATCH v2 3/5] OF: export of_property_notify

2013-11-07 Thread Pantelis Antoniou
of_property_notify can be utilized by other users too, export it. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/base.c | 8 +--- include/linux/of.h | 11 +++ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/of/base.c

[PATCH v2 4/5] OF: Export all DT proc update functions

2013-11-07 Thread Pantelis Antoniou
There are other users for the proc DT functions. Export them. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/of/base.c | 70 ++ include/linux/of.h | 29 ++ 2 files changed, 68 insertions(+), 31

Re: [RFC PATCH 2/4] cpu: advertise CPU features over udev in a generic way

2013-11-07 Thread Dave Martin
On Thu, Nov 07, 2013 at 06:17:35PM +0100, Ard Biesheuvel wrote: This patch implements a generic modalias 'cpu:feature:...' which enables CPU feature flag based module loading in a generic way. All the arch needs to do is enable CONFIG_ARCH_HAS_CPU_AUTOPROBE and export a u32 called

Re: [PATCH] mm, oom: Fix race when selecting process to kill

2013-11-07 Thread Sameer Nanda
On Wed, Nov 6, 2013 at 4:35 PM, David Rientjes rient...@google.com wrote: On Wed, 6 Nov 2013, Sameer Nanda wrote: David -- I think we can make the duration that the tasklist_lock is held smaller by consolidating the process selection logic that is currently split across select_bad_process and

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

2013-11-07 Thread Dave Kleikamp
On 11/07/2013 01:25 PM, Kent Overstreet wrote: On Thu, Nov 07, 2013 at 01:20:26PM -0600, Dave Kleikamp wrote: On 11/02/2013 03:50 PM, Dave Kleikamp wrote: On 11/01/2013 03:53 PM, Jens Axboe wrote: So we've three immediate options: 1) You base it on top of the block tree 2) I carry the

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