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

2015-11-05 Thread 平松雅巳 / HIRAMATU,MASAMI
From: a...@kernel.org [mailto:a...@kernel.org] > >Em Thu, Nov 05, 2015 at 02:08:48PM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: >> From: Wang Nan [mailto:wangn...@huawei.com] >> > >> >It is possible that find_perf_probe_point_from_map() fails to find >> >symbol but still returns 0 because of an small

[PATCH v2] livepatch: x86: bugfix about kASLR

2015-11-05 Thread Zhou Chengming
When enable KASLR, livepatch will adjust old_addr of changed function accordingly. So do the same thing for reloc. [PATCH v1] https://lkml.org/lkml/2015/11/4/91 Reported-by: Cyril B. Signed-off-by: Zhou Chengming --- kernel/livepatch/core.c |6 ++ 1 files changed, 6 insertions(+), 0 de

Re: [PATCH] vfs: clear remainder of 'full_fds_bits' in dup_fd()

2015-11-05 Thread Eric Biggers
Here's the revised patch: vfs: clear remainder of 'full_fds_bits' in dup_fd() This fixes a bug from commit f3f86e33dc3d ("vfs: Fix pathological performance case for __alloc_fd()"). v2: refactor to share fd bitmap copying code Signed-off-by: Eric Biggers --- fs/file.c | 64

[PATCH 3/3] Documentation: Add minimal Mutt config for using Gmail

2015-11-05 Thread Eddie Kovsky
This patch provides a minimal configuration to set up Mutt for submitting plain text patches using Gmail. Signed-off-by: Eddie Kovsky --- Documentation/email-clients.txt | 32 1 file changed, 32 insertions(+) diff --git a/Documentation/email-clients.txt b/Docume

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

2015-11-05 Thread Sasha Levin
On 11/06/2015 01:11 AM, Naoya Horiguchi wrote: > In the new refcounting, we no longer use tail->_mapcount to keep tail's > refcount, and thereby we can simplify get_hwpoison_page() and remove > put_hwpoison_page() (by replacing with put_page()). This is confusing for the reader (and some static an

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-11-05 Thread Huan Wang
Hi, Could you help to review this patch? Thanks. Best Regards, Alison Wang > On Fri, Jul 17, 2015 at 10:11:52AM +0100, Alison Wang wrote: > > Hrtimer based broadcast is used on ARM platform. It can be registered > > as the tick broadcast device in the absence of a real external

[GIT PULL] Please pull powerpc/linux.git powerpc-4.4-1 tag

2015-11-05 Thread Michael Ellerman
Hi Linus, Please pull powerpc updates for 4.4: The following changes since commit 9ffecb10283508260936b96022d4ee43a7798b4c: Linux 4.3-rc3 (2015-09-27 07:50:08 -0400) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-4.4-1

Re: [PATCH v5] clk: add CS2000 Fractional-N driver

2015-11-05 Thread Kuninori Morimoto
Hi again ping again ? > [R] 森本 wrote: > > > > From: Kuninori Morimoto > > > > This patch adds CS2000 Fractional-N driver as clock provider. > > > > Signed-off-by: Kuninori Morimoto > > --- > > v4 -> v5 > > > > - remove "clock-frequency" > > - use dev on clk_register() > > - remove CLK_IS

Re: [GIT] Sparc

2015-11-05 Thread Julia Lawall
On Fri, 6 Nov 2015, Julian Calaby wrote: > Hi Linus, > > On Fri, Nov 6, 2015 at 11:56 AM, Linus Torvalds > wrote: > > On Thu, Nov 5, 2015 at 4:43 PM, Linus Torvalds > > wrote: > >> > >> Not that this *matters*, but it's a bit odd to have to cast constants > >> to perfectly regular C types. > >

[PATCH v5 0/6] arm64: ftrace: fix incorrect output from stack tracer

2015-11-05 Thread AKASHI Takahiro
This is the fifth patch series for fixing stack tracer on arm64. The original issue was reported by Jungseok[1], and then I found more issues[2]. We don't have to care about the original issue because the root cause (patch "ARM64: unwind: Fix PC calculation") has been reverted in v4.3. I address

[PATCH v5 1/6] arm64: ftrace: modify a stack frame in a safe way

2015-11-05 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame by calling ftrace_prepare_return() in a traced function's function prologue. The current code does this modification before preserving an original address at ftrace_push_return_trace() and there is always a small window of incons

[PATCH v5 2/6] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-11-05 Thread AKASHI Takahiro
Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's output. This patch replaces such entries with originals values preserved in current->ret_stack[]. Signed-off

[PATCH v5 5/6] arm64: ftrace: add arch-specific stack tracer

2015-11-05 Thread AKASHI Takahiro
Stack tracer on arm64, check_stack(), is uniqeue in the following points: * analyze a function prologue of a traced function to estimate a more accurate stack pointer value, replacing naive ' + 0x10.' * use walk_stackframe(), instead of slurping stack contents as orignal check_stack() does, to

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

2015-11-05 Thread AKASHI Takahiro
A stack frame may be used in a different way depending on cpu architecture. Thus it is not always appropriate to slurp the stack contents, as current check_stack() does, in order to calcurate a stack index (height) at a given function call. At least not on arm64. In addition, there is a possibility

[PATCH v5 4/6] arm64: insn: add instruction decoders for ldp/stp and add/sub

2015-11-05 Thread AKASHI Takahiro
A function prologue analyzer is a requisite for implementing stack tracer and getting better views of stack usages on arm64. To implement a function prologue analyzer, we have to be able to decode, at least, stp, add, sub and mov instructions. This patch adds decoders for those instructions, that

[RFC PATCH v2 0/5] ACPICA / debugger: Add in-kernel AML debugger support

2015-11-05 Thread Lv Zheng
This patchset enables ACPICA debugger for Linux kernel and implements a userspace utility to access it. A. Build the AML debugger In order to build the kernel support of AML debugger, the following kconfig items should be enabled: CONFIG_ACPI_DEBUG=y CONFIG_ACPI_DEBUGGER=y CONFIG_DEBUG_FS=y CO

[PATCH v5 6/6] arm64: ftrace: add a test of function prologue analyzer

2015-11-05 Thread AKASHI Takahiro
The patch ("arm64: ftrace: add arch-specific stack tracer") introduced a function prologue analyzer. Given that there is no fixed template for a function prologue, at least on gcc for aarch64, a function prologue analyzer may be rather heuristic. So this patch adds a kernel command line option, fu

[RFC PATCH v2 3/5] ACPI / debugger: Add IO interface to access debugger functionalities

2015-11-05 Thread Lv Zheng
This patch adds /sys/kernel/debug/acpi/acpidbg, which can be used by userspace programs to access ACPICA debugger functionalities. Known issue: 1. IO flush support acpi_os_notify_command_complete() and acpi_os_wait_command_ready() can be used by acpi_dbg module to implement .flush() filesyst

[RFC PATCH v2 1/5] ACPICA: Debugger: Remove unnecessary status check

2015-11-05 Thread Lv Zheng
From: Colin Ian King ACPICA commit f9d5c6c9a25e9f5ac05458bfcd8b381e21bb2ba5 ACPICA BZ 1205. Colin Ian King. Link: https://bugs.acpica.org/show_bug.cgi?id=1205 Link: https://github.com/acpica/acpica/commit/f9d5c6c9 Signed-off-by: Colin Ian King Signed-off-by: Bob Moore Signed-off-by: Lv Zheng

[RFC PATCH v2 4/5] tools/power/acpi: Add userspace AML interface support

2015-11-05 Thread Lv Zheng
This patch adds a userspace tool to access Linux kernel AML debugger interface. Tow modes are supported by this tool: 1. Interactive: Users are able to launch a debugging shell to talk with in-kernel AML debugger. Note that it's user duty to ensure kernel runtime integrity by using this d

[RFC PATCH v2 2/5] ACPICA: Debugger: Convert some mechanisms to OSPM specific

2015-11-05 Thread Lv Zheng
The following mechanisms are OSPM specific: 1. Redirect output destination to console: no file redirection will be needed by an in-kernel debugger, there is even no file can be accessed when the debugger is running in the kernel mode. 2. Output command prompts: programs other than acpiexec ca

[RFC PATCH v2 5/5] ACPI / debugger: Add module support for ACPI debugger

2015-11-05 Thread Lv Zheng
This patch converts AML debugger into a loadable module. Note that, it implements driver unloading at the level dependent on the module reference count. Which means if ACPI debugger is being used by a userspace program, "rmmod acpi_dbg" should result in failure. Signed-off-by: Lv Zheng --- driv

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

2015-11-05 Thread Naoya Horiguchi
On Fri, Nov 06, 2015 at 01:31:49AM -0500, Sasha Levin wrote: > On 11/06/2015 01:11 AM, Naoya Horiguchi wrote: > > In the new refcounting, we no longer use tail->_mapcount to keep tail's > > refcount, and thereby we can simplify get_hwpoison_page() and remove > > put_hwpoison_page() (by replacing wi

[ANNOUNCE]: SCST 3.1 pre-release freeze

2015-11-05 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce SCST 3.1 pre-release code freeze in the SCST SVN branch 3.0.x. You can get it by command: $ svn co https://scst.svn.sourceforge.net/svnroot/scst/branches/3.1.x It is going to be released after few weeks of testing, if no significant issues found. Highlights for t

[GIT PULL] platform-drivers-x86 for 4.4-1

2015-11-05 Thread Darren Hart
Hi Linus, Please note the OLPC/MAINTAINERS changes described in the tag message. If adding this to my maintenance bin is innappropriate, please drop these two patches. Thanks, Darren Hart Intel Open Source Technology Center The following changes since commit 9ffecb10283508260936b96022d4ee43a779

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

2015-11-05 Thread Ingo Molnar
* Linus Torvalds wrote: > On Wed, Nov 4, 2015 at 6:17 PM, Dave Jones wrote: > > On Wed, Nov 04, 2015 at 05:31:59PM -0800, Linus Torvalds wrote: > > > > > > I don't have that later debug output at all. Presumably some config > > difference. > > > > CONFIG_X86_PTDUMP_CORE iirc. > > No, I have

Re: [PATCH V3 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc

2015-11-05 Thread Anju T
Hi Denis, On Wednesday 04 November 2015 02:26 PM, Denis Kirjanov wrote: On 11/3/15, Anju T wrote: This short patch series adds the ability to sample the interrupted machine state for each hardware sample. To test this patchset, Eg: $perf record -I ls // record machine state at interrupt $p

[PATCH v2] h8300: cleanup startup and remove module code.

2015-11-05 Thread Yoshinori Sato
h8300's clocksource driver update. Changes for v1 - Drop non-initialize changes. - Private data static allocation. - Avoid magic number. - Use request_irq. Signed-off-by: Yoshinori Sato --- drivers/clocksource/h8300_timer16.c | 142 + drivers/clocksource/h8300_tim

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

2015-11-05 Thread Andy Lutomirski
On Thu, Nov 5, 2015 at 10:55 PM, Ingo Molnar wrote: > > * Linus Torvalds wrote: > >> On Wed, Nov 4, 2015 at 6:17 PM, Dave Jones wrote: >> > On Wed, Nov 04, 2015 at 05:31:59PM -0800, Linus Torvalds wrote: >> > > >> > > I don't have that later debug output at all. Presumably some config >> > di

[PATCH 0/5] KVM: x86: MMU: Clean up x86's mmu code for future work

2015-11-05 Thread Takuya Yoshikawa
Patch 1/2/3 are easy ones. Following two, patch 4/5, may not be ideal solutions, but at least explain, or try to explain, the problems. Takuya Yoshikawa (5): KVM: x86: MMU: Remove unused parameter of __direct_map() KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap KVM

Re: [PATCH] vfs: clear remainder of 'full_fds_bits' in dup_fd()

2015-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2015 at 10:32 PM, Eric Biggers wrote: > Here's the revised patch: Thanks, applied. Linus -- 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

[PATCH 1/5] KVM: x86: MMU: Remove unused parameter of __direct_map()

2015-11-05 Thread Takuya Yoshikawa
Signed-off-by: Takuya Yoshikawa --- arch/x86/kvm/mmu.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 7d85bca..a76bc04 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2708,9 +2708,8 @@ static void direct_p

[PATCH 2/5] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-05 Thread Takuya Yoshikawa
Both __mmu_unsync_walk() and mmu_pages_clear_parents() have three line code which clears a bit in the unsync child bitmap; the former places it inside a loop block and uses a few goto statements to jump to it. A new helper function, clear_unsync_child_bit(), makes the code cleaner. Signed-off-by:

[PATCH 3/5] KVM: x86: MMU: Make mmu_set_spte() return emulate value

2015-11-05 Thread Takuya Yoshikawa
mmu_set_spte()'s code is based on the assumption that the emulate parameter has a valid pointer value if set_spte() returns true and write_fault is not zero. In other cases, emulate may be NULL, so a NULL-check is needed. Stop passing emulate pointer and make mmu_set_spte() return the emulate val

[PATCH 4/5] KVM: x86: MMU: Remove is_rmap_spte() and use is_shadow_present_pte()

2015-11-05 Thread Takuya Yoshikawa
is_rmap_spte(), originally named is_rmap_pte(), was introduced when the simple reverse mapping was implemented by commit cd4a4e5374110444 ("[PATCH] KVM: MMU: Implement simple reverse mapping"). At that point, its role was clear and only rmap_add() and rmap_remove() were using it to select sptes th

[PATCH 5/5] KVM: x86: MMU: Consolidate WARN_ON/BUG_ON checks for reverse-mapped sptes

2015-11-05 Thread Takuya Yoshikawa
At some call sites of rmap_get_first() and rmap_get_next(), BUG_ON is placed right after the call to detect unrelated sptes which should not be found in the reverse-mapping list. Move this check in rmap_get_first/next() so that all call sites, not just the users of the for_each_rmap_spte() macro,

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

2015-11-05 Thread 平松雅巳 / HIRAMATU,MASAMI
From: a...@kernel.org [mailto:a...@kernel.org] >> >>Em Thu, Nov 05, 2015 at 02:08:48PM +, 平松雅巳 / HIRAMATU,MASAMI escreveu: >>> From: Wang Nan [mailto:wangn...@huawei.com] >>> > >>> >It is possible that find_perf_probe_point_from_map() fails to find >>> >symbol but still returns 0 because of an

[PATCH V2] goldfish: add goldfish match node for dt driver probe

2015-11-05 Thread yalin wang
qemu use device tree to bootup linux kernel, we need add device node match table to plaftorm driver, so that can probe the goldfish driver correctly. test by this qemu: git clone https://android.googlesource.com/platform/external/qemu Signed-off-by: yalin wang --- drivers/input/keyboard/goldfish

[PATCH] DWC Ethernet QoS: Delete an unnecessary check before the function call "of_node_put"

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

Re: [PATCH 0/3] Documentation: Email client improvements

2015-11-05 Thread Darren Hart
On Thu, Nov 05, 2015 at 11:20:39PM -0700, Eddie Kovsky wrote: > A recent mailing list discussion about developer tools extended over > to Google+. > > https://plus.google.com/+DarrenHart/posts/EbVFWJu3FK9 > > Several members of the kernel community felt that improving the email > client documenta

Re: GSO with udp_tunnel_xmit_skb

2015-11-05 Thread Tom Herbert
On Thu, Nov 5, 2015 at 7:52 PM, Jason A. Donenfeld wrote: > Hi folks, > > When sending arbitrary SKBs with udp_tunnel_xmit_skb, the networking > stack does not appear to be utilizing UFO on the outgoing UDP packets, > which significantly caps the transmission speed. I see about 50% CPU > usage in

What's TRACE_IRQS_OFF_DEBUG for?

2015-11-05 Thread Andy Lutomirski
The comment says: /* * When dynamic function tracer is enabled it will add a breakpoint * to all locations that it is about to modify, sync CPUs, update * all the code, sync CPUs, then remove the breakpoints. In this time * if lockdep is enabled, it might jump back into the debug handler * ou

Re: [PATCH 01/23] usb: gadget: f_sourcesink: make ISO altset user-selectable

2015-11-05 Thread Robert Baldyga
On 11/06/2015 04:05 AM, Peter Chen wrote: > On Tue, Nov 03, 2015 at 01:53:40PM +0100, Robert Baldyga wrote: >> So far it was decided during the bind process whether is iso altsetting >> included to f_sourcesink function or not. This decision was based on >> availability of isochronous endpoints. >>

Urgent Business Proposal‏‏

2015-11-05 Thread Joe Adams
Attached is the full details of the Business Proposal view it and get back to me immediately for more details. Project Investment Deal.pdf Description: Adobe PDF document

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

2015-11-05 Thread Madhavan Srinivasan
On Thursday 05 November 2015 06:37 PM, Peter Zijlstra wrote: > On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: >> Second patch updates struct arch_misc_reg for arch/powerpc with pmu registers >> and adds offsetof macro for the same. It extends perf_reg_value() >> to use reg i

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

2015-11-05 Thread Madhavan Srinivasan
On Thursday 05 November 2015 08:12 PM, Stephane Eranian wrote: > Hi, > > On Wed, Nov 4, 2015 at 9:46 PM, Madhavan Srinivasan > wrote: >> This patchset extend the perf sample regs infrastructure >> to include architecture specific regs. Current perf_sample_regs_intr >> exports only registers in t

Re: [PATCH V3 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc

2015-11-05 Thread Denis Kirjanov
On 11/6/15, Anju T wrote: > Hi Denis, > > On Wednesday 04 November 2015 02:26 PM, Denis Kirjanov wrote: >> On 11/3/15, Anju T wrote: >>> This short patch series adds the ability to sample the interrupted >>> machine state for each hardware sample. >>> >>> To test this patchset, >>> Eg: >>> >>> $p

Re: [GIT PULL] platform-drivers-x86 for 4.4-1

2015-11-05 Thread Linus Torvalds
On Thu, Nov 5, 2015 at 10:56 PM, Darren Hart wrote: > > Please note the OLPC/MAINTAINERS changes described in the tag message. If > adding > this to my maintenance bin is innappropriate, please drop these two patches. Heh. The only thing inappropriate is your atrocious spelling of the word.

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

2015-11-05 Thread Ingo Molnar
(resent with Matt's email address fixed.) * Ingo Molnar wrote: > > * Linus Torvalds wrote: > > > On Wed, Nov 4, 2015 at 6:17 PM, Dave Jones wrote: > > > On Wed, Nov 04, 2015 at 05:31:59PM -0800, Linus Torvalds wrote: > > > > > > > > I don't have that later debug output at all. Presumably

Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 03:36:25PM -0800, Jacob Pan wrote: > I did some testing with the code below, it shows random > [ 150.442597] NOHZ: local_softirq_pending 02 > [ 153.032673] NOHZ: local_softirq_pending 202 > [ 153.203785] NOHZ: local_softirq_pending 202 > [ 153.206486] NOHZ: local_softir

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

2015-11-05 Thread Mika Westerberg
On Fri, Nov 06, 2015 at 04:34:19AM +, Yu, Xiangliang wrote: > > -Original Message- > > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > > Sent: Thursday, November 05, 2015 9:52 PM > > To: Yu, Xiangliang > > Cc: andriy.shevche...@linux.intel.com; jarkko.nik...@linux.intel

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

2015-11-05 Thread Madhavan Srinivasan
On Friday 06 November 2015 08:28 AM, Sukadev Bhattiprolu wrote: > Peter Zijlstra [pet...@infradead.org] wrote: > | On Thu, Nov 05, 2015 at 02:16:15AM +0530, Madhavan Srinivasan wrote: > | > Second patch updates struct arch_misc_reg for arch/powerpc with pmu > registers > | > and adds offsetof ma

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

2015-11-05 Thread Christoph Hellwig
Is this going into 4.4 through the iio tree? If not is there any chance to get it in through some other tree? While we're not past the merge window is trivial new functionality that doesn't change code, and I'd like to move existing configfs users over to it ASAP, so getting it into a baseline tr

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

2015-11-05 Thread Jiang Liu
On 2015/11/5 22:21, Tomasz Nowicki wrote: > On 14.10.2015 08:29, Jiang Liu wrote: >> Introduce common interface acpi_pci_root_create() and related data >> structures to create PCI root bus for ACPI PCI host bridges. It will >> be used to kill duplicated arch specific code for IA64 and x86. It may >

Re: [PATCH 0/2] [media] c8sectpfe: Deletion of a few unnecessary checks

2015-11-05 Thread Maxime Coquelin
Hi Markus, On 11/05/2015 07:45 PM, SF Markus Elfring wrote: From: Markus Elfring Date: Thu, 5 Nov 2015 19:39:32 +0100 Another update suggestion was taken into account after a patch was applied from static source code analysis. Markus Elfring (2): Delete unnecessary checks before two functi

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

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

[PATCH] net: brcm80211: Delete an unnecessary check before the function call "release_firmware"

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

<    4   5   6   7   8   9