[PATCH v3 1/2] test: add minimal module for verification testing

2013-12-04 Thread Kees Cook
When doing module loading verification tests (for example, with module singing, or LSM hooks), it is very handy to have a module that can be built on all systems under test, isn't auto-loaded at boot, and has no device or similar dependencies. This creates the "test_module.ko" module for that purpo

Re: [PATCH 0/2 V1] arm-mmp-build-sram-driver-alone

2013-12-04 Thread Dan Williams
On Wed, Dec 4, 2013 at 3:24 AM, Qiao Zhou wrote: > On 12/04/2013 07:17 PM, Haojian Zhuang wrote: >> >> Dan indicated that you could pack these two patches into one. Whatever >> it's also OK to use two patches. > > Misunderstood it... Thanks for correcting. > Please combine the patches for two rea

Re: [PATCH v2 2/2] clk: add accuracy support for fixed clock

2013-12-04 Thread Mike Turquette
Quoting Jason Cooper (2013-12-01 19:15:58) > On Thu, Nov 28, 2013 at 09:02:58AM +0100, boris brezillon wrote: > > On 27/11/2013 19:10, Mike Turquette wrote: > > >Quoting boris brezillon (2013-11-27 09:19:08) > > >>>On Wed, Nov 27, 2013 at 01:44:45PM +0100, Boris BREZILLON wrote: > ... > > >>>I woul

Re: [PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread ivan.khoronzhuk
On 12/04/2013 08:58 PM, Guenter Roeck wrote: On Wed, Dec 04, 2013 at 08:42:31PM +0200, ivan.khoronzhuk wrote: On 12/04/2013 08:28 PM, Guenter Roeck wrote: On Wed, Dec 04, 2013 at 11:34:46PM +0530, Sekhar Nori wrote: On 11/27/2013 6:18 PM, Ivan Khoronzhuk wrote: To reduce code duplicate and in

[PATCH] thp: move preallocated PTE page table on move_huge_pmd()

2013-12-04 Thread Kirill A. Shutemov
Andrey Wagin reported crash on VM_BUG_ON() in pgtable_pmd_page_dtor() with fallowing backtrace: [] free_pgd_range+0x2bf/0x410 [] free_pgtables+0xce/0x120 [] unmap_region+0xe0/0x120 [] ? move_page_tables+0x526/0x6b0 [] do_munmap+0x249/0x360 [] move_vma+0x144/0x270 [] SyS_mremap+0x3b9/

Re: [PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Ingo Molnar
* Stephane Eranian wrote: > Ingo, > > Ok, I have asked Maria to clean the patch up add more comments and > repost a new version of the > patch. She will repost ASAP. Ok! Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread Guenter Roeck
On Wed, Dec 04, 2013 at 08:42:31PM +0200, ivan.khoronzhuk wrote: > On 12/04/2013 08:28 PM, Guenter Roeck wrote: > > On Wed, Dec 04, 2013 at 11:34:46PM +0530, Sekhar Nori wrote: > >> On 11/27/2013 6:18 PM, Ivan Khoronzhuk wrote: > >>> To reduce code duplicate and increase code readability use WDT co

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-12-04 Thread Stas Sergeev
04.12.2013 03:53, Peter Hurley пишет: On 12/03/2013 02:18 PM, Stas Sergeev wrote: 03.12.2013 21:00, Peter Hurley пишет: Any unit test is specifically designed to break the code under test. This unit test does in fact break a possible input: note specifically that the writer is not changing the

Re: [PATCH v2] serial: 8250_dw: Improve unwritable LCR workaround

2013-12-04 Thread Tim Kryger
On Wed, Dec 4, 2013 at 5:01 AM, Ezequiel Garcia wrote: > On Thu, Nov 28, 2013 at 04:53:37PM -0300, Ezequiel Garcia wrote: >> On Thu, Nov 28, 2013 at 04:47:20PM -0300, Ezequiel Garcia wrote: >> > Changing the console port by setting "console=ttyS1,115200" gives this: >> > >> > [..] >> > Serial: 82

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 03:50:24PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > > Adding udis86 disassembler feature check which support > > is needed for kvm:kvm_emulate_insn tracepoint. > > +$(call feature_check,udis86) > > +ifeq ($(

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 03, 2013 at 02:09:42PM +0100, Jiri Olsa escreveu: > Adding udis86 disassembler feature check which support > is needed for kvm:kvm_emulate_insn tracepoint. > > +$(call feature_check,udis86) > +ifeq ($(feature-udis86), 1) > + LIBTRACEEVENT_CFLAGS += -DHAVE_UDIS86 > + EXTLIBS += -ludi

Re: Using perf to locate source of context switches

2013-12-04 Thread David Ahern
On 12/4/13, 10:42 AM, Pavey, Nicholas wrote: NB: I have also used 'perf record -e cs -g -a -- sleep 2', while the Add -c 1 to capture *all* context switch events. perf script will show each event. perf report provides a histogram summary. I have a time-history command for analyzing scheduling

Re: [PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread ivan.khoronzhuk
On 12/04/2013 08:28 PM, Guenter Roeck wrote: > On Wed, Dec 04, 2013 at 11:34:46PM +0530, Sekhar Nori wrote: >> On 11/27/2013 6:18 PM, Ivan Khoronzhuk wrote: >>> To reduce code duplicate and increase code readability use WDT core >>> code to handle WDT interface. >>> >>> Remove io_lock as the WDT co

Re: [PATCH] perf/x86: fix bug in event constraint end marker macro

2013-12-04 Thread Stephane Eranian
Ingo, Ok, I have asked Maria to clean the patch up add more comments and repost a new version of the patch. She will repost ASAP. Thanks. On Wed, Dec 4, 2013 at 10:03 AM, Ingo Molnar wrote: > > * Stephane Eranian wrote: > >> #define EVENT_CONSTRAINT_END \ >> - EVENT_CONSTRAINT(0,

Re: pull request for clk-tegra-next

2013-12-04 Thread Mike Turquette
Quoting Stephen Warren (2013-12-03 09:35:21) > On 11/28/2013 07:18 AM, Peter De Schrijver wrote: > > The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: > > > > Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) > > > > are available in the git repository at: > > git://nv-teg

Re: [PATCH] x86: mcheck: call put_device on device_register failure

2013-12-04 Thread Levente Kurusa
2013-12-04 08:38, Chen, Gong: > On Tue, Dec 03, 2013 at 06:01:50PM +0100, Borislav Petkov wrote: >> Date: Tue, 3 Dec 2013 18:01:50 +0100 >> From: Borislav Petkov >> To: "Chen, Gong" >> Cc: Levente Kurusa , Ingo Molnar , >> Thomas Gleixner , Tony Luck , "H. >> Peter Anvin" , x...@kernel.org, EDA

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 06:09:41PM +, Serban Constantinescu wrote: > +#define size_helper(x) ({\ > + size_t __size; \ > + if (!is_compat_task())

[PATCH 2/4] arm64: add missing dts entry for X-Gene platform.

2013-12-04 Thread Feng Kan
This add missing dts entry for X-Gene reboot driver. Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index bfdc578..4478bee 100644

[PATCH 0/4] Add missing components for X-Gene reboot drivers.

2013-12-04 Thread Feng Kan
Add dts node for X-Gene reboot driver. Apply documentation dts binding. Some minor compile warning fix and enable reboot driver by default. Feng Kan (4): Documentation: add dts binding for X-Gene reboot dts node. arm64: add missing dts entry for X-Gene platform. arm64: Enable system reset vi

[PATCH 4/4] arm64: removed using of the mask attribute in the dts for reset bit.

2013-12-04 Thread Feng Kan
Remove the use of the mask attribute from original reboot driver. The use of the mask attribute provided unneeded complexity and security risk. Also fix minor compilation warning. Signed-off-by: Feng Kan --- drivers/power/reset/xgene-reboot.c |5 ++--- 1 files changed, 2 insertions(+), 3 del

[PATCH 3/4] arm64: Enable system reset via arch Kconfig for X-Gene system.

2013-12-04 Thread Feng Kan
This enable the system reset via arch Kconfig for X-Gene platforms. Signed-off-by: Feng Kan --- arch/arm64/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index c044548..188e787 100644 --- a/arch/arm64/Kconfig +++ b/arch/ar

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread H. Peter Anvin
On 12/04/2013 09:15 AM, Linus Torvalds wrote: > On Wed, Dec 4, 2013 at 8:54 AM, H. Peter Anvin wrote: >> >> That is why I talk about the atomic instruction word... most (but not >> *all*) architectures have a fundamental minimum unit of instructions >> which is aligned and can be atomically writte

[PATCH 1/4] Documentation: add dts binding for X-Gene reboot dts node.

2013-12-04 Thread Feng Kan
Add dts documentation for X-Gene reboot driver. Signed-off-by: Feng Kan --- .../devicetree/bindings/arm64/xgene/reboot.txt | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm64/xgene/reboot.txt diff --git a/Document

Re: [PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread Guenter Roeck
On Wed, Dec 04, 2013 at 11:34:46PM +0530, Sekhar Nori wrote: > On 11/27/2013 6:18 PM, Ivan Khoronzhuk wrote: > > To reduce code duplicate and increase code readability use WDT core > > code to handle WDT interface. > > > > Remove io_lock as the WDT core uses mutex to lock each wdt device. > > Remo

Re: [PATCH 1/3] Introduce FW_INFO* functions and messages

2013-12-04 Thread Arnd Bergmann
On Tuesday 03 December 2013, Andrew Morton wrote: > I do wonder if it all should be generalised a bit - it creates a bunch > of infrastructure which is specific to system firmware issues, but > what's so special about firmware? Why can't I use this infrastructure > to log netdev errors or acpi err

Re: Supporting 4 way connections in LKSCTP

2013-12-04 Thread Vlad Yasevich
On 12/04/2013 11:25 AM, Michael Tuexen wrote: > On Dec 4, 2013, at 5:12 PM, Vlad Yasevich wrote: > >> On 12/04/2013 11:01 AM, Michael Tuexen wrote: >>> On Dec 4, 2013, at 4:41 PM, Vlad Yasevich wrote: >>> On 12/04/2013 09:50 AM, David Laight wrote: >>> In normal operation, IP-A sends IN

Notice

2013-12-04 Thread Web Security
Dear Email User, Your mailbox has exceeded the storage limit which is 20.00 GB as set by your administrator, you are currently running on 19.99 GB, you may not be able to send or receive new mail until you re-validate your email box. Kindly click the link below to re-validate your email accou

[PATCH v1 5/9] staging: android: binder: Add deref_helper() macro

2013-12-04 Thread Serban Constantinescu
This patch adds a deref_helper() macro that will be used to dereference the binder offsets on 64bit systems where the offset is either a 32bit or a 64bit value, depending on the userpace used (32bit /64bit) This patch is a temporary patch that will be extended with 32bit compat handling. Signed-o

Re: Supporting 4 way connections in LKSCTP

2013-12-04 Thread Vlad Yasevich
On 12/04/2013 12:57 PM, Sun Paul wrote: > As I know, the A to C and A to D case must have a router in between to form > SCTP multihome topology. Not necessary. I've produced proper multihoming topologies with just VLANs and different subnet assignment. You can even remove VLANs if you correctly

[PATCH v1 4/9] staging: android: binder: Add align_helper() macro

2013-12-04 Thread Serban Constantinescu
This patch adds align_helper() macro that will be used for enforcing the desired alignment on 64bit systems where the alignment will differ depending on the userspace used (32bit /64bit). This patch is a temporary patch that will be extended with 32bit compat handling. Signed-off-by: Serban Const

[PATCH v1 8/9] staging: android: binder: Add binder compat handling to binder.h

2013-12-04 Thread Serban Constantinescu
This patch adds all the needed compat structures to binder.h. All the structures defined in this patch mirror the structure and size of 32bit ones. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.h | 109 ++ 1 file changed, 109 inserti

[GIT PULL] Btrfs Maintainer update

2013-12-04 Thread Chris Mason
Hi Linus, I'm still getting settled into new devel hardware etc, but I do have one commit for the next rc. Please grab it from my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus This changes my email over to fb.com, and adds a MAINTAINERS entry fo

[PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Serban Constantinescu
This patch adds support for 32bit userspace running on 64bit kernels. All the changes done in this patch have been tested on 32bit and 64bit systems. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.c | 355 +- 1 file changed, 353 inser

[PATCH v1 3/9] staging: android: binder: Add cmd == CMD_NAME handling

2013-12-04 Thread Serban Constantinescu
This patch modifies the functions that need to be passed the explicit command to use a boolean flag. This way we can reuse the code for 64bit compat commands. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.c | 35 ++- 1 file changed, 18

[PATCH v1 7/9] staging: android: binder: Add copy_flat_binder_object()

2013-12-04 Thread Serban Constantinescu
This patch adds copy_flat_binder_object macro() that will help dereference struct flat_binder_object on 64bit systems where the structure differs between 32bit and 64bit userspace. This patch is a temporary patch that will be extended with 32bit compat handling. Signed-off-by: Serban Constantines

[PATCH v1 6/9] staging: android: binder: Add size_helper() macro

2013-12-04 Thread Serban Constantinescu
This patch adds size_helper() macro that will be used for indexing into different buffers on 64bit systems where the size of particular structures will differ depending on the userspace used (32bit /64bit). This patch is a temporary patch that will be extended with 32bit compat handling. Signed-o

[PATCH v1 0/9] Android: Add Support for Binder Compat

2013-12-04 Thread Serban Constantinescu
Hi all, The patches attached add support for 32bit userspace running on 64bit kernels. This is the last series of patches needed for basic 32bit Android bring-up on 64bit kernels. The series is split into refactoring the binder driver and the addition of the compat layer. Please note that the hel

[PATCH v1 2/9] staging: android: binder: Add binder_copy_to_user()

2013-12-04 Thread Serban Constantinescu
This patch adds binder_copy_to_user() to be used for copying binder commands to user address space. This way we can abstract away the copy_to_user() calls and add separate handling for the compat layer. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.c | 39

[PATCH v1 1/9] staging: android: binder: Move some of the logic into subfunction

2013-12-04 Thread Serban Constantinescu
This patch moves some of the logic for binder_thread_write() into subfunctions. This way we can share more code with the binder compat layer. Signed-off-by: Serban Constantinescu --- drivers/staging/android/binder.c | 403 +- 1 file changed, 220 insertions(+)

Re: [PATCH v4 0/5] Update Davinci watchdog driver

2013-12-04 Thread Sekhar Nori
On 11/29/2013 6:48 PM, Grygorii Strashko wrote: > Hi Sekhar, > > On 11/27/2013 02:48 PM, Ivan Khoronzhuk wrote: >> These patches are intended to update Davinci watchdog to use WDT core >> and reuse driver for keystone arch, because Keystone uses the similar >> IP like Davinci. >> >> See Documentat

Re: [PATCH 6/7] perf tools: Do not need to read symbols for source line lookup

2013-12-04 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 04, 2013 at 04:00:18PM +0200, Adrian Hunter escreveu: > On 03/12/13 22:24, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 03, 2013 at 09:23:09AM +0200, Adrian Hunter escreveu: > >> When using libbfd to lookup source filename and line number, > >> libbfd does not need the symbol table.

Re: Need help on Linux PCIe

2013-12-04 Thread Bjorn Helgaas
On Wed, Dec 4, 2013 at 10:00 AM, Jagan Teki wrote: > On Wed, Dec 4, 2013 at 8:41 PM, Bjorn Helgaas wrote: >> On Tue, Dec 3, 2013 at 11:20 PM, Jagan Teki wrote: >>> Thanks for your quick response. >>> Please find my comments below. >>> >>> On Tue, Dec 3, 2013 at 11:09 PM, Bjorn Helgaas wrote: >>

Re: [PATCH v4 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread Sekhar Nori
On 11/27/2013 6:18 PM, Ivan Khoronzhuk wrote: > To reduce code duplicate and increase code readability use WDT core > code to handle WDT interface. > > Remove io_lock as the WDT core uses mutex to lock each wdt device. > Remove wdt_state as the WDT core tracks state with its own variable. > > The

[no subject]

2013-12-04 Thread ilrh5egr
-- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 07/10] ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case

2013-12-04 Thread Lee Jones
> Today's next (next-20131204) has a new boot failure[1] on > ux500/snowball which bisected down to this commit. Full boot log > attached. Right. Anyone not on CC (which I think you are Kevin) can follow the fun here: http://www.spinics.net/lists/arm-kernel/msg291374.html >

Re: [PATCHv2] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);

2013-12-04 Thread Matt Walker
From: Matt Walker Added detection for newer Elantech touchpads, so that kernel doesn't fall-back to default PS/2 driver. Supports touchpads released after ~August 2013. Fixes bug: https://lists.launchpad.net/kernel-packages/msg18481.html Signed-off by: Matt Walker on an Acer Aspire S7-392-6302

Re: [PATCH v3 00/15] uprobes: Add uprobes support for ARM

2013-12-04 Thread Taras Kondratiuk
On 11/27/2013 04:53 AM, David Long wrote: > From: "David A. Long" > > This patch series adds basic uprobes support to ARM. It is based on patches > developed earlier by Rabin Vincent. That approach of adding hooks into > the kprobes instruction parsing code was not well received. This approach >

Re: [PATCH 07/10] ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case

2013-12-04 Thread Kevin Hilman
+-- > 1 file changed, 40 insertions(+), 2 deletions(-) Today's next (next-20131204) has a new boot failure[1] on ux500/snowball which bisected down to this commit. Full boot log attached. It doesn't find the alsa device which in turn seems to prevent the

Using perf to locate source of context switches

2013-12-04 Thread Pavey, Nicholas
This is my first post here. Apologies in advance if I don't get the etiquette quite right. Background == We have an application which is exhibiting very large performance problems under some loads. We noticed extremely high context switch rates under the load in question. Rates can be u

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread Oleg Nesterov
Peter, Linus, I got lost. So what do you finally think about this change? Please see v2 below: - update the comment above gup(write, force) - add flush_icache_page() before set_pte_at() (nop on x86 and powerpc) - fix the returned value, and with this change it

Re: [PATCH tty-next 0/4] tty: Fix ^C echo

2013-12-04 Thread Peter Hurley
On 12/03/2013 09:20 AM, One Thousand Gnomes wrote: These types of nested lock problems are common when different layers use the same interface (the fb subsystem's use of the vt driver is another example). They are, and they end up nasty and eventually become impossible to fix. Better to fix the

Using perf to locate source of context switches

2013-12-04 Thread Pavey, Nicholas
This is my first post here. Apologies in advance if I don't get the etiquette quite right. Background == We have an application which is exhibiting very large performance problems under some loads. We noticed extremely high context switch rates under the load in question. Rates can be u

Re: [PATCH v9] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 03:24:43PM +0900, HATAYAMA Daisuke wrote: > (2013/12/04 12:08), HATAYAMA Daisuke wrote: > >(2013/12/04 0:25), Vivek Goyal wrote: > >>On Tue, Dec 03, 2013 at 10:32:26AM +0900, HATAYAMA Daisuke wrote: > >> > >>[..] > >>> > >>>diff --git a/Documentation/kernel-parameters.txt >

Re: [PATCH 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-04 Thread Tony Lindgren
* Roger Quadros [131204 03:35]: > Commit 0b2aa8be introduced a regression that causes failure > in setting LED GPO direction to OUT. > > This causes USB host probe failures for Beagleboard C4. > > [2.075469] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv > requests probe deferral >

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-04 Thread Alexei Starovoitov
On Wed, Dec 4, 2013 at 1:34 AM, Ingo Molnar wrote: > > * Alexei Starovoitov wrote: > >> On Tue, Dec 3, 2013 at 1:16 AM, Ingo Molnar wrote: >> > >> > Very cool! (Added various other folks who might be interested in >> > this to the Cc: list.) >> > >> > I have one generic concern: >> > >> > It wou

Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 09:56:57AM +0800, Baoquan He wrote: > On 11/20/13 at 12:50pm, Vivek Goyal wrote: > > + * that kexec_mutex is held. > > + */ > > I think kexec_add_buffer is guaranteed to be called before allocating > control pages, why not updating image->control_page after each time > kexe

Re: [PATCH v3 14/15] ARM: add uprobes support

2013-12-04 Thread Taras Kondratiuk
On 11/27/2013 04:53 AM, David Long wrote: > From: "David A. Long" > > Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes > support on ARM. > > Caveats: > > - Thumb is not supported > - XOL abort/trap handling is not implemented > > Signed-off-by: David A. Long > --- > arch

Re: [PATCH 6/6] kexec: Support for Kexec on panic using new system call

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 09:51:27AM +0800, Baoquan He wrote: > On 12/02/13 at 10:30am, Vivek Goyal wrote: > > On Thu, Nov 28, 2013 at 07:28:16PM +0800, Baoquan He wrote: > > > > [..] > > > > +int crash_copy_backup_region(struct kimage *image) > > > > +{ > > > > > > Why need this func be called, ba

Re: [PATCH 1/3] Introduce FW_INFO* functions and messages

2013-12-04 Thread Joe Perches
On Wed, 2013-12-04 at 06:51 -0500, Prarit Bhargava wrote: > > On 12/03/2013 04:21 PM, Andrew Morton wrote: > > On Mon, 2 Dec 2013 10:19:37 -0500 Prarit Bhargava > > wrote: > > A slight simplification: > > > >> +static inline char *dump_hadware_arch_desc(void) > >> +{ > >> + return NULL; > >>

Re: [PATCH 6/6] kexec: Support for Kexec on panic using new system call

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 09:41:05AM +0800, Baoquan He wrote: > On 11/20/13 at 12:50pm, Vivek Goyal wrote: > > This patch adds support for loading a kexec on panic (kdump) kernel usning > > new system call. > > +int load_crashdump_segments(struct kimage *image) > > +{ > > + unsigned long src_start,

Re: [PATCH 4/6] kexec: A new system call, kexec_file_load, for in kernel kexec

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 09:35:29AM +0800, Baoquan He wrote: > On 12/02/13 at 10:44am, Vivek Goyal wrote: > > On Fri, Nov 29, 2013 at 11:10:48AM +0800, Baoquan He wrote: > > > > [..] > > > > +void *arch_kexec_kernel_image_load(struct kimage *image, char *kernel, > > > > + unsi

Re: [PATCH] drivers/input/mouse: add support for newer elantech touchpads (released ca. August 2013);

2013-12-04 Thread Dmitry Torokhov
On Tue, Dec 03, 2013 at 12:42:34PM -0500, Matt Walker wrote: > From: Matt Walker > > Added detection for newer Elantech touchpads, so that kernel doesn't > fall-back to default PS/2 driver. Supports touchpads released after > ~August 2013. Fixes bug: > https://lists.launchpad.net/kernel-packages

Re: 3.12.x looses serial mouse over hibernate + resume

2013-12-04 Thread Dmitry Torokhov
On Mon, Dec 02, 2013 at 09:40:20PM +0100, Manuel Krause wrote: > On 2013-12-02 20:07, Dmitry Torokhov wrote: > > > >Thank you Manuel, but IO think the patch is not complete as we need to > >re-enable PNP devices after we make a snapshot to make sure they are > >working and can handle saving the dat

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread Linus Torvalds
On Wed, Dec 4, 2013 at 8:54 AM, H. Peter Anvin wrote: > > That is why I talk about the atomic instruction word... most (but not > *all*) architectures have a fundamental minimum unit of instructions > which is aligned and can be atomically written. Typically this is 1, 2, > or 4 bytes. Note that

[RESEND PATCH v7 5/5] clk: Implement clk_unregister

2013-12-04 Thread Sylwester Nawrocki
clk_unregister() is currently not implemented and it is required when a clock provider module needs to be unloaded. Normally the clock supplier module is prevented to be unloaded by taking reference on the module in clk_get(). For cases when the clock supplier module deinitializes despite the con

[RESEND PATCH v7 4/5] clk: Add common __clk_get(), __clk_put() implementations

2013-12-04 Thread Sylwester Nawrocki
This patch adds common __clk_get(), __clk_put() clkdev helpers that replace their platform specific counterparts when the common clock API is used. The owner module pointer field is added to struct clk so a reference to the clock supplier module can be taken by the clock consumers. The owner modu

[RESEND PATCH v7 3/5] clkdev: Fix race condition in clock lookup from device tree

2013-12-04 Thread Sylwester Nawrocki
There is currently a race condition in the device tree part of clk_get() function, since the pointer returned from of_clk_get_by_name() may become invalid before __clk_get() call. E.g. due to the clock provider driver remove() callback being called in between of_clk_get_by_name() and __clk_get().

[RESEND PATCH v7 2/5] clk: Provide not locked variant of of_clk_get_from_provider()

2013-12-04 Thread Sylwester Nawrocki
Add helper functions for the of_clk_providers list locking and an unlocked variant of of_clk_get_from_provider(). These functions are intended to be used in the clkdev to avoid race condition in the device tree based clock look up in clk_get(). Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyu

[RESEND PATCH v7 1/5] omap3isp: Modify clocks registration to avoid circular references

2013-12-04 Thread Sylwester Nawrocki
The clock core code is going to be modified so clk_get() takes reference on the clock provider module. Until the potential circular reference issue is properly addressed, we pass NULL as the first argument to clk_register(), in order to disallow sub-devices taking a reference on the ISP module back

[RESEND PATCH v7 0/5] clk: clock deregistration support

2013-12-04 Thread Sylwester Nawrocki
This patch series implements clock deregistration in the common clock framework. Detailed changes are listed at each patch. There is included an additional patch for the omap3isp driver, required to avoid regressions. These patches were rebased on top of 3.13-rc1 and re-retested, are also availabl

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Dmitry Torokhov
On Wed, Dec 04, 2013 at 11:48:03AM -0500, Konrad Rzeszutek Wilk wrote: > > > which is hardly nice. This patch fixes this by having each > > > PV driver check for: > > > - if running in PV, then it is fine to execute (as that is their > > >native environment). > > > - if running in HVM, check

Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control

2013-12-04 Thread Greg Kroah-Hartman
On Wed, Dec 04, 2013 at 11:52:34AM -0500, Adrien Vergé wrote: > Hi all, > > First, please excuse me for these misformatted patches that my email > client messed up. Next time I will use git send-email. The 3 patches > can be found on > http://git.dorsal.polymtl.ca/~averge?p=linux.git;a=shortlog;h=

Re: Supporting 4 way connections in LKSCTP

2013-12-04 Thread Michael Tuexen
On Dec 4, 2013, at 5:48 PM, David Laight wrote: >> The point is that address scoping should be used. When sending an >> INIT from 10.10.10.1 to 10.10.10.4 you should not list 192.168.1.1, >> since you are transmitting an address to a node which might or might >> not "be in the same scope". > > Y

Re: [PATCH 3/3] ARM Coresight: Add PID control support for ETM tracing

2013-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 11:40:59PM -0500, Adrien Vergé wrote: > In the same manner as for enabling tracing, an entry is created in > sysfs to set the PID that triggers tracing. This change requires > CONFIG_PID_IN_CONTEXTIDR to be set when using on-chip ETM. > > Signed-off-by: Adrien Vergé > Cc:

Re: [PATCH V2 2/2] ARM: tegra: convert device tree file of Dalmore to use pinctrl defines

2013-12-04 Thread Stephen Warren
On 12/03/2013 06:16 AM, Laxman Dewangan wrote: > Signed-off-by: Laxman Dewangan Patch description? Why convert only 1 board DT file? -- 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 http://vger

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Greg Kroah-Hartman
On Wed, Dec 04, 2013 at 08:04:23PM +0900, Satoru Takeuchi wrote: > At Mon, 2 Dec 2013 11:13:11 -0800, > Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle for the 3.12.3 release. > > There are 212 patches in this series, all will be posted as a response > > to this one

Re: [PATCH V2 1/2] ARM: tegra: Add header file for pinctrl constants

2013-12-04 Thread Stephen Warren
On 12/03/2013 06:16 AM, Laxman Dewangan wrote: > This new header file defines pincontrol constants for Tegra to > use from Tegra's DTS file for pincontrol properties option. > diff --git a/include/dt-bindings/pinctrl/pinctrl-tegra.h > b/include/dt-bindings/pinctrl/pinctrl-tegra.h > +#define TEGR

Re: [PATCH 3.12 000/212] 3.12.3-stable review

2013-12-04 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 02:53:29PM -0700, Shuah Khan wrote: > On 12/02/2013 12:13 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.12.3 release. > >There are 212 patches in this series, all will be posted as a response > >to this one. If anyone has any issues

Re: [PATCH 00/41] percpu: Consistent per cpu operations V1

2013-12-04 Thread Ingo Molnar
* Christoph Lameter wrote: > On Wed, 4 Dec 2013, Ingo Molnar wrote: > > > > > * Christoph Lameter wrote: > > > > > The kernel has never been audited to ensure that this_cpu operations > > > are consistently used throughout the kernel. The code generated in > > > many places can be improved thr

Re: Need help on Linux PCIe

2013-12-04 Thread Jagan Teki
On Wed, Dec 4, 2013 at 8:41 PM, Bjorn Helgaas wrote: > On Tue, Dec 3, 2013 at 11:20 PM, Jagan Teki wrote: >> Thanks for your quick response. >> Please find my comments below. >> >> On Tue, Dec 3, 2013 at 11:09 PM, Bjorn Helgaas wrote: >>> On Tue, Dec 3, 2013 at 4:24 AM, Jagan Teki wrote: H

Re: [PATCH 2/2] ARM: tegra: convert device tree file of Dalmore to use pinctrl defines

2013-12-04 Thread Stephen Warren
On 12/03/2013 10:51 PM, Laxman Dewangan wrote: > On Wednesday 04 December 2013 01:39 AM, Stephen Warren wrote: >> On 12/02/2013 06:55 AM, Laxman Dewangan wrote: >>> Signed-off-by: Laxman Dewangan >> Patch description? >> >> BTW, did you compile all the Tegra DT files before and after this >> chang

Re: [PATCH 03/15] mm: thp: give transparent hugepage code a separate copy_page

2013-12-04 Thread Alex Thorlton
> -void copy_huge_page(struct page *dst, struct page *src) > -{ > - int i; > - struct hstate *h = page_hstate(src); > - > - if (unlikely(pages_per_huge_page(h) > MAX_ORDER_NR_PAGES)) { With CONFIG_HUGETLB_PAGE=n, the kernel fails to build, throwing this error: mm/migrate.c: In functio

Re: [PATCH v4 07/12] efi: passing kexec necessary efi data via setup_data

2013-12-04 Thread Toshi Kani
On Wed, 2013-12-04 at 10:46 +0800, Dave Young wrote: > Hi, Toshi > > > Oh, I think I now understand what the issue was. The z420 firmware > > updates the SMBIOS table address in the EFI system table to a virtual > > address after calling EFI SetVirtualAddressMap. So, you are passing the > > orig

Re: [PATCH v2] ARM: tegra: switch FUSE clock on before usage

2013-12-04 Thread Stephen Warren
On 12/04/2013 12:09 AM, Alexandre Courbot wrote: > Hi Stephen, > > On Fri, Nov 22, 2013 at 10:35 AM, Alex Courbot wrote: >> On 11/22/2013 05:30 AM, Stephen Warren wrote: >>> >>> On 11/20/2013 07:40 PM, Alexandre Courbot wrote: FUSE clock is enabled by most bootloaders, but we cannot exp

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread H. Peter Anvin
On 12/04/2013 08:48 AM, Oleg Nesterov wrote: > On 12/04, H. Peter Anvin wrote: >> >> On 12/04/2013 03:11 AM, Oleg Nesterov wrote: >>> >>> It is still not clear to me if we can simply change a single byte on >>> x86 or not, but at least on powerpc we need to update 4 bytes. Perhaps >>> we can condit

[PATCH] avr32: pm: Fix section mismatch

2013-12-04 Thread Matthias Brugger
The power management has a section mismatch which leads to the following warning during compilation: WARNING: arch/avr32/mach-at32ap/built-in.o(.text+0x16d4): Section mismatch in reference from the function avr32_pm_offset() to the function .init.text:pm_exception() The function avr32_pm_offset()

Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control

2013-12-04 Thread Adrien Vergé
Hi all, First, please excuse me for these misformatted patches that my email client messed up. Next time I will use git send-email. The 3 patches can be found on http://git.dorsal.polymtl.ca/~averge?p=linux.git;a=shortlog;h=refs/heads/etm_with_addr_and_pid Greg: you're right, sysfs is a questiona

Re: [PATCH 21/41] block: Replace __this_cpu_ptr with raw_cpu_ptr

2013-12-04 Thread Jens Axboe
On 12/04/2013 09:38 AM, Christoph Lameter wrote: > On Tue, 3 Dec 2013, Jens Axboe wrote: > >> Christoph, I applied the fs/buffer.c bit, the ext4 one should probably >> go through Ted. > > This is not going to work unless earlier patchses have been applied since > raw_cpu_ptr is otherwise not avai

Re: [PATCH] mm: numa: return the number of base pages altered by protection changes

2013-12-04 Thread Luis Henriques
On Tue, Dec 03, 2013 at 03:04:00PM +, Mel Gorman wrote: > commit 72403b4a0fbdf433c1fe0127e49864658f6f6468 upstream. Thank you Mel, I'll queue this backport for the 3.11 kernel. Cheers, -- Luis > > Commit 0255d4918480 ("mm: Account for a THP NUMA hinting update as > one PTE update") was add

RE: Supporting 4 way connections in LKSCTP

2013-12-04 Thread David Laight
> The point is that address scoping should be used. When sending an > INIT from 10.10.10.1 to 10.10.10.4 you should not list 192.168.1.1, > since you are transmitting an address to a node which might or might > not "be in the same scope". You might have two machines that are connected via the publ

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Konrad Rzeszutek Wilk
> > which is hardly nice. This patch fixes this by having each > > PV driver check for: > > - if running in PV, then it is fine to execute (as that is their > >native environment). > > - if running in HVM, check if user wanted 'xen_emul_unplug=never', > >in which case bail out and don't l

Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly

2013-12-04 Thread Oleg Nesterov
On 12/04, H. Peter Anvin wrote: > > On 12/04/2013 03:11 AM, Oleg Nesterov wrote: > > > > It is still not clear to me if we can simply change a single byte on > > x86 or not, but at least on powerpc we need to update 4 bytes. Perhaps > > we can conditionalize these pte games later. > > > > But 4 ali

smp_call_function_single with wait=0 considered harmful

2013-12-04 Thread Christoph Hellwig
While doing my recent work on the generic smp function calls I noticed that smp_call_function_single without the wait flag can't work, as it allocates struct call_single_data on stack, and without the wait flag will happily return before the IPI has been executed. This affects the following caller

Re: [PATCH v2 08/23] mm/memblock: Add memblock memory allocation apis

2013-12-04 Thread Santosh Shilimkar
On Wednesday 04 December 2013 11:07 AM, Tejun Heo wrote: > Hello, > > On Wed, Dec 04, 2013 at 10:54:47AM -0500, Santosh Shilimkar wrote: >> Well as you know there are architectures still using bootmem even after >> this series. Changing MAX_NUMNODES to NUMA_NO_NODE is too invasive and >> actually

Re: [patch 2/2] fs: buffer: move allocation failure loop into the allocator

2013-12-04 Thread Christoph Lameter
On Thu, 5 Dec 2013, Joonsoo Kim wrote: > Now we have cpu partial slabs facility, so I think that slowpath isn't really > slow. And it doesn't much increase the management overhead in the node > partial lists, because of cpu partial slabs. Well yes that may address some of the issues here. > And

Re: Regression due to 0c44c2d0f459 x86: Use asm goto to implement better modify_and_test() functions

2013-12-04 Thread H. Peter Anvin
On 12/04/2013 12:59 AM, Ingo Molnar wrote: > > * H. Peter Anvin wrote: > >> Hi guys, >> >> 0c44c2d0f459 x86: Use asm goto to implement better modify_and_test() >> functions >> >> causes a regression, because it incorrectly changed the constraints of >> bitops. >> >> Specifically, the GEN_BINARY_

Re: [PATCH] xen/pvhvm: If xen_platform_pci=0 is set don't blow up.

2013-12-04 Thread Dmitry Torokhov
Hi Konrad, On Tue, Dec 03, 2013 at 04:14:06PM -0500, Konrad Rzeszutek Wilk wrote: > The user has the option of disabling the platform driver: > 00:02.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01) > > which is used to unplug the emulated drivers (IDE, Realtek 8169, etc) >

Re: [PATCH 22/41] rcu: Replace __this_cpu_ptr uses with raw_cpu_ptr

2013-12-04 Thread Christoph Lameter
On Tue, 3 Dec 2013, Paul E. McKenney wrote: > This does not build on 3.13-rc2. Ah, need a couple of patches earlier > in the series. > > But... But... Didn't we recently change -to- __this_cpu_ptr() from > the older __get_cpu_var()? We moved from __get_cpu_var to this_cpu_ptr in a earlier patc

Re: [PATCH 00/41] percpu: Consistent per cpu operations V1

2013-12-04 Thread Christoph Lameter
On Wed, 4 Dec 2013, Ingo Molnar wrote: > > * Christoph Lameter wrote: > > > The kernel has never been audited to ensure that this_cpu operations > > are consistently used throughout the kernel. The code generated in > > many places can be improved through the use of this_cpu operations > > (which

Re: [PATCH 1/2] ARM: default PHYS_OFFSET if !MMU

2013-12-04 Thread Jonathan Austin
Hi all, On 13/11/13 11:46, Jonathan Austin wrote: Hi Ming, On 13/11/13 11:15, Ming Lei wrote: From: Jonathan Austin Set CONFIG_PAGE_OFFSET as PHYS_OFFSET when !MMU so that we can keep CONFIG_PAGE_OFFSET same with PAGE_OFFSET. I'm not so sure about this commit message - I don't think it ma

<    1   2   3   4   5   6   7   8   >