Re: perf & rasd integration plan

2014-10-05 Thread Jean Pihet
Hi Jiri, On 5 October 2014 20:24, Jiri Olsa wrote: > On Sun, Oct 05, 2014 at 07:48:01PM +0200, Borislav Petkov wrote: >> Top-posting on purpose: >> >> Btw, jolsa, if you get your LCE proposal for the perf splitting >> approved, please post the time here so people can come. > > yep, it got accept

Re: [PATCH 8/9] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-10-05 Thread Brian Norris
On Wed, Aug 27, 2014 at 01:42:23PM +0100, Lee Jones wrote: > Reviewed-By: Pekon Gupta > Signed-off-by: Lee Jones > --- > drivers/mtd/nand/Kconfig|7 + > drivers/mtd/nand/Makefile |1 + > drivers/mtd/nand/stm_nand_bch.c | 1616 > +++ > dr

Re: [patch 1/3] mm: memcontrol: lockless page counters

2014-10-05 Thread Vladimir Davydov
On Fri, Oct 03, 2014 at 05:41:34PM +0200, Michal Hocko wrote: > On Fri 03-10-14 19:36:23, Vladimir Davydov wrote: > > On Thu, Oct 02, 2014 at 08:07:48AM -0400, Johannes Weiner wrote: > [...] > > > The barriers are implied in change-return atomics, which is why there > > > is an xchg. But it's clea

Re: [PATCH 9/9] mtd: nand: stm_nand_bch: provide ST's implementation of Back Block Table

2014-10-05 Thread Brian Norris
Hi Lee, On Wed, Aug 27, 2014 at 01:42:24PM +0100, Lee Jones wrote: > This is the BBT format ST use internally. It has to be used on boards > which were flashed with or actively use ST's tooling and boards which > are booted using ST's bootloaders. > > Signed-off-by: Lee Jones > --- > drivers/m

[PATCH 1/1] Kconfig: cosmetics, as Mauro suggested

2014-10-05 Thread Буди Романто, AreMa Inc
PT3 is wrongly categorized, fix it Signed-off-by: Буди Романто, AreMa Inc --- drivers/media/dvb-frontends/Kconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/Kconfig b/drivers/media/dvb-frontends/Kconfig index 5a13454..6c75418 100644 --- a

[PATCH] usb: ehci/ohci-exynos: Fix of_node_put() for child when getting PHYs

2014-10-05 Thread Vivek Gautam
On enabling CONFIG_OF_SELFTEST which enables CONFIG_OF_DYNAMIC, we found out that while getting PHYs for the controller we were doing an extra of_node_put on the child node in our routines - exynos_e/ohci_get_phy(). This child is however already put by of_get_next_available_child() which does a of_

Re: [PATCH 8/9] mtd: nand: stm_nand_bch: add support for ST's BCH NAND controller

2014-10-05 Thread Brian Norris
Hi Lee, First off, this patch has several checkpatch warnings, some of which should be addressed: WARNING: unnecessary whitespace before a quoted newline #425: FILE: drivers/mtd/nand/stm_nand_bch.c:369: + "%s: erased page detected: \n" WARNING: Possible unnecessary

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Al Viro
On Mon, Oct 06, 2014 at 05:29:57AM +, Gregory Smith wrote: You really can't live without audience, can you? Adding cc to list to reply to a private flame... Piss-poor. > Go and fuck yourself. > > You're a weak piece of shit if words of derision pull you from a goal. > If your community is

Re: [rcu] 5057f55e543: dmesg.BUG:soft_lockup-CPU_stuck_for_s

2014-10-05 Thread Fengguang Wu
On Mon, Oct 06, 2014 at 01:50:24PM +0800, Fengguang Wu wrote: > Hi Paul, > > FYI, we noticed a number of ups and downs for commit > > 5057f55e543b7859cfd26bc281291795eac93f8a ("rcu: Bind RCU grace-period > kthreads if NO_HZ_FULL") Here is an overview of the performance/power/latency/kernel size

Re: dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Al Viro
On Mon, Oct 06, 2014 at 12:39:16AM -0400, Sasha Levin wrote: > if (!IS_ROOT(dentry)) { > parent = dentry->d_parent; > if (unlikely(!spin_trylock(&parent->d_lock))) { <=== here > if (inode) > spin_unlock(

[PATCH] zram: implement rw_page operation of zram block device operation

2014-10-05 Thread karam . lee
From: "karam.lee" Recently rw_page block device operation is added. This patch implements rw_page operation for zram block device so zram can process page sized I/O without bio. --- --- drivers/block/zram/zram_drv.c | 60 +++-- 1 file changed, 52 insertions(

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Gregory Smith
Go and fuck yourself. You're a weak piece of shit if words of derision pull you from a goal. If your community is affected by being "associated" with someone they don't like arguing in the same direction that they are then they are a bunch of women and faggots. But we knew that since 2006 when yo

[NFS] WARNING: CPU: 0 PID: 879 at fs/proc/generic.c:521 remove_proc_entry+0x153/0x16b()

2014-10-05 Thread Fengguang Wu
Hi Eric, FYI, we noticed the below changes on commit 65b38851a17472d31fec9019fc3a55b0802dab88 ("NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes") +--+++ | | db181c

[fentry] WARNING: CPU: 0 PID: 1 at kernel/trace/trace_functions_graph.c:224 ftrace_return_to_handler+0xd2/0x1a8()

2014-10-05 Thread Fengguang Wu
FYI, we noticed the below changes on git://flatbed.openfabrics.org/~amirv/linux.git for-netdev commit de89e9380c82b0da22a6609f973dd6e9d67656e3 ("regression: Disable FENTRY") +-+++ |

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Guenter Roeck
On 10/05/2014 08:25 PM, Greg KH wrote: On Sun, Oct 05, 2014 at 07:09:50PM -0700, Guenter Roeck wrote: On Sun, Oct 05, 2014 at 04:24:57PM -0700, Greg KH wrote: On Sun, Oct 05, 2014 at 06:13:05PM -0400, Jason Noakes wrote: No driver should be working with "raw" kobjects. I don't agree, but it'

Re: [PATCH 1/8] x86, microcode, intel: forbid some incorrect metadata

2014-10-05 Thread Borislav Petkov
On Sun, Oct 05, 2014 at 06:49:08PM -0300, Henrique de Moraes Holschuh wrote: > How about this: > > /* >* 0 is not a valid microcode revision as it is used to detect the >* absence of any sucessful microcode update since reset / >* power-on, see MSR 0x8b (IA32_BIOS_SIG

[PATCH V5 01/13] namespaces: assign each namespace instance a serial number

2014-10-05 Thread Richard Guy Briggs
Generate and assign a serial number per namespace instance since boot. Use a serial number per namespace (unique across one boot of one kernel) instead of the inode number (which is claimed to have had the right to change reserved and is not necessarily unique if there is more than one proc fs) to

[PATCH V5 00/13] namespaces: log namespaces per task

2014-10-05 Thread Richard Guy Briggs
The purpose is to track namespace instances in use by logged processes from the perspective of init_*_ns by assigning each a per-kernel, per-boot serial number. 1/13 defines a function to generate them and assigns them. Use a serial number per namespace (unique across one boot of one kernel) inst

[PATCH V5 02/13] namespaces: expose namespace instance serial number in proc_ns_operations

2014-10-05 Thread Richard Guy Briggs
Expose the namespace instance serial number for each namespace type in the proc namespace operations structure to make it available for the proc filesystem. Signed-off-by: Richard Guy Briggs --- fs/namespace.c |7 +++ include/linux/proc_ns.h |1 + ipc/namespace.c

[PATCH V5 07/13] audit: dump namespace IDs for pid on receipt of AUDIT_NS_INFO

2014-10-05 Thread Richard Guy Briggs
When a task with CAP_AUDIT_CONTROL sends a NETLINK_AUDIT message of type AUDIT_NS_INFO with a PID of interest, dump the namespace IDs of that task to the audit log. --- kernel/audit.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/kernel/audit.c b/kernel/aud

[PATCH V5 03/13] namespaces: expose ns_entries

2014-10-05 Thread Richard Guy Briggs
Expose ns_entries so subsystems other than proc can use this set of namespace operations. Signed-off-by: Richard Guy Briggs --- fs/proc/namespaces.c|2 +- include/linux/proc_ns.h |1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fs/proc/namespaces.c b/fs/proc/names

[PATCH V5 04/13] audit: log namespace serial numbers

2014-10-05 Thread Richard Guy Briggs
Log the namespace serial numbers of a task in a new record type (1329) (usually accompanies audit_log_task_info() type=SYSCALL record) which is used by syscall audits, among others.. Idea first presented: https://www.redhat.com/archives/linux-audit/2013-March/msg00020.html Typical output

[PATCH V5 08/13] sched: add a macro to ref all CLONE_NEW* flags

2014-10-05 Thread Richard Guy Briggs
--- include/uapi/linux/sched.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/sched.h b/include/uapi/linux/sched.h index 34f9d73..5aceba2 100644 --- a/include/uapi/linux/sched.h +++ b/include/uapi/linux/sched.h @@ -28,6 +28,12 @@ #define CLONE_NEW

[PATCH V5 06/13] audit: log creation and deletion of namespace instances

2014-10-05 Thread Richard Guy Briggs
Log the creation and deletion of namespace instances in all 6 types of namespaces. Twelve new audit message types have been introduced: AUDIT_NS_INIT_MNT 1330/* Record mount namespace instance creation */ AUDIT_NS_INIT_UTS 1331/* Record UTS namespace instance creation */ AUDIT_

[PATCH V5 05/13] audit: initialize at subsystem time rather than device time

2014-10-05 Thread Richard Guy Briggs
The audit subsystem should be initialized a bit earlier so that it is in place in time for initial namespace serial number logging. --- kernel/audit.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index ff1630d..8ff7f28 100644 --- a/kerne

[PATCH V5 12/13] namespaces: expose ns instance serial numbers in proc

2014-10-05 Thread Richard Guy Briggs
Expose the namespace instace serial numbers in the proc filesystem at /proc//ns/_snum. The link text gives the serial number in hex. "snum" was chosen instead of "seq" for consistency with inum and there are a number of other uses of "seq" in the namespace code. Suggested-by: Serge E. Hallyn Si

[PATCH V5 09/13] fork: audit on creation of new namespace(s)

2014-10-05 Thread Richard Guy Briggs
When clone(2) is called to fork a new process creating one or more namespaces, audit the event to tie the new pid with the namespace IDs. Signed-off-by: Richard Guy Briggs --- kernel/fork.c|3 +++ kernel/nsproxy.c |1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/ke

[PATCH V5 11/13] audit: emit AUDIT_NS_INFO record with AUDIT_VIRT_CONTROL record

2014-10-05 Thread Richard Guy Briggs
Signed-off-by: Richard Guy Briggs --- include/uapi/linux/audit.h |2 ++ kernel/audit.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/uapi/linux/audit.h b/include/uapi/linux/audit.h index 7ec7209..beb23f7 100644 --- a/include/uapi/linux/audit.h +

[PATCH V5 13/13] Documentation: add a section for /proc//ns/

2014-10-05 Thread Richard Guy Briggs
--- Documentation/filesystems/proc.txt | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index ddc531a..c4bfd6f 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesy

[PATCH V5 10/13] audit: log on switching namespace (setns)

2014-10-05 Thread Richard Guy Briggs
Added six new audit message types, AUDIT_NS_SET_* and function audit_log_ns_set() to log a switch of namespace. Signed-off-by: Richard Guy Briggs --- include/linux/audit.h |4 +++ include/uapi/linux/audit.h |6 + kernel/audit.c | 46

Re: [PATCH 7/9] mtd: nand: stm_nand_bch: adding BBT header

2014-10-05 Thread Brian Norris
Hi Lee, On Wed, Aug 27, 2014 at 01:42:22PM +0100, Lee Jones wrote: > This header will be used firstly by the BCH main driver, then the > Bad Block Table (BBT) code which will be added immediately after. > Doing it this way provides the cleanest method of keeping the > patch-set bisectable. > > Si

Re: [PATCH 5/9] mtd: nand: stm_nand_bch: provide Device Tree documentation

2014-10-05 Thread Brian Norris
On Wed, Aug 27, 2014 at 01:42:20PM +0100, Lee Jones wrote: > This is where we describe the different new and generic options used by > the ST BCH driver. > > Cc: devicet...@vger.kernel.org > Reviewed-By: Pekon Gupta > Signed-off-by: Lee Jones > --- > Documentation/devicetree/bindings/mtd/stm-na

Re: [RFC v2] arm64: kgdb: fix single stepping

2014-10-05 Thread AKASHI Takahiro
On 10/04/2014 01:03 AM, Will Deacon wrote: Hi Akashi, On Fri, Sep 26, 2014 at 12:54:13PM +0100, AKASHI Takahiro wrote: I tried to verify kgdb in vanilla kernel on fast model, but it seems that the single stepping with kgdb doesn't work correctly since its first appearance at v3.15. On v3.15, '

Re: [PATCH] cpufreq: respect the min/max settings from user space

2014-10-05 Thread Viresh Kumar
On 6 October 2014 10:20, Vince Hsu wrote: > I did test with Chrome kernel on Tegra platform. I can't do that with > mainline kernel because we haven't had the CPU EDP driver upstream yet. You should have mentioned this clearly :) Looks fine to me then. -- To unsubscribe from this list: send the

Re: [PATCH] cpufreq: respect the min/max settings from user space

2014-10-05 Thread Vince Hsu
Hi Viresh, On 10/06/2014 12:45 PM, Viresh Kumar wrote: On 2 October 2014 12:25, Vince Hsu wrote: When the user space tries to set scaling_(max|min)_freq through sysfs, the cpufreq_set_policy() asks other driver's opinions for the max/min frequencies. Some device drivers, like Tegra CPU EDP whi

Re: [PATCH] drivers/net/phy/Kconfig: Let MDIO_BCM_UNIMAC depend on HAS_IOMEM

2014-10-05 Thread David Miller
From: Chen Gang Date: Sat, 04 Oct 2014 17:54:33 +0800 > MDIO_BCM_UNIMAC needs HAS_IOMEM, so depend on it, the related error ( > with allmodconfig under um): > > MODPOST 1205 modules > ERROR: "devm_ioremap" [drivers/net/phy/mdio-bcm-unimac.ko] undefined! > > Signed-off-by: Chen Gang Appl

Re: [PATCH] cpufreq: respect the min/max settings from user space

2014-10-05 Thread Viresh Kumar
On 2 October 2014 12:25, Vince Hsu wrote: > When the user space tries to set scaling_(max|min)_freq through > sysfs, the cpufreq_set_policy() asks other driver's opinions > for the max/min frequencies. Some device drivers, like Tegra > CPU EDP which is not upstreamed yet though, may constrain the

Re: dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Sasha Levin
On 10/06/2014 12:25 AM, Al Viro wrote: > On Sun, Oct 05, 2014 at 11:42:40PM -0400, Sasha Levin wrote: >> On 10/05/2014 11:13 PM, Al Viro wrote: >>> On Sun, Oct 05, 2014 at 08:27:47PM -0400, Sasha Levin wrote: >>> [ 434.580818] BUG: unable to handle kernel NULL pointer dereference at 000

Re: dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Al Viro
On Sun, Oct 05, 2014 at 11:42:40PM -0400, Sasha Levin wrote: > On 10/05/2014 11:13 PM, Al Viro wrote: > > On Sun, Oct 05, 2014 at 08:27:47PM -0400, Sasha Levin wrote: > > > >> [ 434.580818] BUG: unable to handle kernel NULL pointer dereference at > >> 0090 > >> [ 434.582208] IP: do_

Re: [PATCH v2 1/2] workqueue: add quiescent state between work items

2014-10-05 Thread Paul E. McKenney
On Sun, Oct 05, 2014 at 03:47:48PM -0400, Tejun Heo wrote: > On Sun, Oct 05, 2014 at 03:21:19PM -0400, Tejun Heo wrote: > > On Sun, Oct 05, 2014 at 01:24:21PM -0400, Joe Lawrence wrote: > > > Similar to the stop_machine deadlock scenario on !PREEMPT kernels > > > addressed in b22ce2785d97 "workqueu

Urgent Enquiry..

2014-10-05 Thread Douglas Kloof
Hi, Good Day! This is Douglas Kloof from JHC Company Inc, United States. I need more information about your product. I will appreciate your urgent reply. Best Regards Douglas Kloof Greenwich, Branch Manager. - JHC Company Inc. Address: 400 Steamboat R

Re: dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Sasha Levin
On 10/05/2014 11:13 PM, Al Viro wrote: > On Sun, Oct 05, 2014 at 08:27:47PM -0400, Sasha Levin wrote: > >> [ 434.580818] BUG: unable to handle kernel NULL pointer dereference at >> 0090 >> [ 434.582208] IP: do_raw_spin_trylock >> (./arch/x86/include/asm/spinlock.h:108 kernel/lockin

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Gregory Smith
I'm not sure if we are speaking the same language. In my language a metal bar chair is a bar stool with a back that is made from metal, usually steel. I guess it's something else in san-francisco. Don't really want to know. On 10/6/14, Joel Rees wrote: > Having forgotten to remove the list from

Re: [PATCH] seq_file: Fix seq_putc() to be consistent with seq_puts()

2014-10-05 Thread Joe Perches
On Mon, 2014-09-29 at 09:08 -0700, Joe Perches wrote: > On Mon, 2014-09-29 at 16:47 +0100, Al Viro wrote: > > On Mon, Sep 29, 2014 at 04:41:22PM +0200, Petr Mladek wrote: > > > Hmm, this inconsistency seems to be in more functions. I would divide > > > it into three categories: > [] > > No. _Any_

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Greg KH
On Sun, Oct 05, 2014 at 07:09:50PM -0700, Guenter Roeck wrote: > On Sun, Oct 05, 2014 at 04:24:57PM -0700, Greg KH wrote: > > On Sun, Oct 05, 2014 at 06:13:05PM -0400, Jason Noakes wrote: > > > > No driver should be working with "raw" kobjects. > > > > > > I don't agree, but it's irrelevant. > >

Re: dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Al Viro
On Sun, Oct 05, 2014 at 08:27:47PM -0400, Sasha Levin wrote: > [ 434.580818] BUG: unable to handle kernel NULL pointer dereference at > 0090 > [ 434.582208] IP: do_raw_spin_trylock (./arch/x86/include/asm/spinlock.h:108 > kernel/locking/spinlock_debug.c:143) [snip] spin_lock((void

[PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-10-05 Thread Chen Gang
When pcifront_rescan_root() or pcifront_scan_root() fails, need return error code, neither set XenbusStateConnected state, just like the other areas have done. For pcifront_rescan_root(), it will return error code ("num_roots = 0;", skip xenbus_switch_state return value). For pcifront_scan_root()

RE: [PATCH V7 0/4] perf tools: pmu event new style format fix

2014-10-05 Thread Liang, Kan
> > Kan Liang (4): > > Revert "perf tools: Default to cpu// for events v5" > > perf tools: parse the pmu event prefix and suffix > > perf tools: Add support to new style format of kernel PMU event > > perf tools: Add test case for pmu event new style format > > got test failure with your

[PATCH net-next v2] r8152: nway reset after setting eee

2014-10-05 Thread Hayes Wang
Restart autonegotiation is necessary after setting EEE. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index b9a9815..6532620 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Guenter Roeck
On Sun, Oct 05, 2014 at 04:24:57PM -0700, Greg KH wrote: > On Sun, Oct 05, 2014 at 06:13:05PM -0400, Jason Noakes wrote: > > > No driver should be working with "raw" kobjects. > > > > I don't agree, but it's irrelevant. > > Not at all. I'd wager that if a driver is messing around with a "raw" >

Re: pull request: wireless-next 2014-10-03

2014-10-05 Thread David Miller
From: David Miller Date: Sun, 05 Oct 2014 21:35:11 -0400 (EDT) > From: "John W. Linville" > Date: Fri, 3 Oct 2014 14:01:52 -0400 > >> Please pull tihs batch of updates intended for the 3.18 stream! > > Pulled, thanks for the stellar pull request text, as always. John, what's the deal with the

Re: pull request: wireless-next 2014-10-03

2014-10-05 Thread David Miller
From: "John W. Linville" Date: Fri, 3 Oct 2014 14:01:52 -0400 > Please pull tihs batch of updates intended for the 3.18 stream! Pulled, thanks for the stellar pull request text, as always. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [PATCH RESEND] net: pxa168_eth: avoid using signed char for bitops

2014-10-05 Thread David Miller
From: Antoine Tenart Date: Fri, 3 Oct 2014 17:08:19 +0200 > Signedness bugs may occur when using signed char for bitops, > depending on if the highest bit is ever used. > > Signed-off-by: Antoine Tenart > Reported-by: Dan Carpenter Applied, thanks. -- To unsubscribe from this list: send the

Re: [PATCH 0/2] net: spider_net: fix possible bitops errors

2014-10-05 Thread David Miller
From: Antoine Tenart Date: Fri, 3 Oct 2014 17:01:53 +0200 > Dan reported a possible signedness issue on the pxa168_eth driver. While > having a look at it, I came across a similar problem in the spider_net > driver. > > Here is one proposal to fix it. The first patch rework the > spider_net_set

Re: [PATCH net 1/1] hyperv: Fix a bug in netvsc_send()

2014-10-05 Thread David Miller
From: "K. Y. Srinivasan" Date: Sun, 5 Oct 2014 10:42:51 -0700 > After the packet is successfully sent, we should not touch the packet > as it may have been freed. This patch is based on the work done by > Long Li . > > David, please queue this up for stable. > > Signed-off-by: K. Y. Srinivasa

Re: [x86, kaslr] Initramfs unpacking failed: junk in compressed archive

2014-10-05 Thread Fengguang Wu
On Mon, Oct 06, 2014 at 08:51:18AM +0800, Fengguang Wu wrote: > Hi Kees, > > Here is some less reproducible bugs that are bisected to > > commit 6145cfe394a7f138f6b64491c5663f97dba12450 > Author: Kees Cook > AuthorDate: Thu Oct 10 17:18:18 2013 -0700 > Commit: H. Peter Anvin > CommitDat

[PATCH 1/5] perf report: Set callchain_param.record_mode for future use

2014-10-05 Thread Namhyung Kim
Normally the callchain_param.record_mode is used only for record path. But as it might need to prepare something for dwarf unwinding, setup this info for perf report too. Cc: Jiri Olsa Cc: David Ahern Cc: Jean Pihet Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-r

[PATCH 4/5] perf kvm: Use thread_{,_set}_priv helpers

2014-10-05 Thread Namhyung Kim
This is mechanical changes only for accounting access to thread->priv properly in the source level. Cc: David Ahern Signed-off-by: Namhyung Kim --- tools/perf/builtin-kvm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kv

[PATCH 5/5] perf trace: Use thread_{,_set}_priv helpers

2014-10-05 Thread Namhyung Kim
This is mechanical changes only for accounting access to thread->priv properly in the source level. Cc: David Ahern Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/perf/builtin-trace.c b/tools/

[PATCHSET 0/5] perf tools: Speed up dwarf callchain post-unwinding for libunwind (v4)

2014-10-05 Thread Namhyung Kim
Hello, This is v4 for libunwind callchain post processing speed up. It was able to reduce 50% of processing time by using global cache provided in libunwind. In this version, I decided to use the existing callchain_param.record_mode instead of adding a new field in the symbol_conf. The patch 4

[PATCH 3/5] perf callchain: Use global caching provided by libunwind

2014-10-05 Thread Namhyung Kim
The libunwind provides two caching policy which are global and per-thread. As perf unwinds callchains in a single thread, it'd sufficient to use global caching. This speeds up my perf report from 14s to 7s on a ~260MB data file. Although the output sometimes contains a slight difference (~0.01% i

[PATCH 2/5] perf callchain: Create an address space per thread

2014-10-05 Thread Namhyung Kim
The unw_addr_space_t in libunwind represents an address space to be used for stack unwinding. It doesn't need to be create/destory everytime to unwind callchain (as in get_entries) and can have a same lifetime as thread (unless exec called). So move the address space construction/destruction logi

dcache: NULL ptr deref in dentry_kill

2014-10-05 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel, I've stumbled on the following spew: [ 434.580818] BUG: unable to handle kernel NULL pointer dereference at 0090 [ 434.582208] IP: do_raw_spin_trylock (./arch/x86/include/asm/spinlock.h:108

Re: [rfcomm_run] WARNING: CPU: 1 PID: 79 at kernel/sched/core.c:7156 __might_sleep()

2014-10-05 Thread Oleg Nesterov
On 10/04, Peter Zijlstra wrote: > > On Fri, Oct 03, 2014 at 09:30:29PM +0200, Oleg Nesterov wrote: > > > Or. perhaps we can change wait_woken > > > > > > - set_current_state(mode); > > > + if (mode) > > > + set_current_state(mode); > > > > > > > > > then rfcomm_run()

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Gregory Smith
Lol, that was my metal bar chair moving. Fucking idiot. On 10/5/14, Al Viro wrote: > On Mon, Oct 06, 2014 at 07:42:32AM +0900, Joel Rees wrote: >> I don't know which side you're on. >> >> All I know is that with all the shock treatment from the noisiest part >> of the supposedly anti-crowd and th

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-05 Thread Eric Dumazet
On Sun, 2014-10-05 at 23:49 +0200, Thomas Gleixner wrote: > Whats so hard about 64bit counters on 32bit machines? Not hard, but not trivial either. > > > expensive to handle in particular because these counters are used in > > performance critical hotpaths. > > The expensive overhead is a sing

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-05 Thread Eric Dumazet
On Sun, 2014-10-05 at 18:24 -0500, Christoph Lameter wrote: > Subject: Increase irq counters to 64 bit V2 > -unsigned int kstat_irqs_cpu(unsigned int irq, int cpu) > +u64 kstat_irqs_cpu(unsigned int irq, int cpu) > { > struct irq_desc *desc = irq_to_desc(irq); Well, this can not safely wo

Re: [PATCH 0/1] stop the unbound recursion in preempt_schedule_context()

2014-10-05 Thread Oleg Nesterov
And, Frederic, this is off-topic but I am just curious... I can't understand why exception_enter() calls context_tracking_user_exit() unconditionally (unlike exception_exit), and why enter/exit need to check context_tracking.state with irqs disabled. IOW, any reason why the patch below is wrong?

Re: [PATCH] drivers: base: power: domain: Use 'pm_cpu_data' instead of 'cpu_data' for compiling break

2014-10-05 Thread Chen Gang
On 10/6/14 5:32, Rafael J. Wysocki wrote: > On Saturday, October 04, 2014 10:19:50 PM Chen Gang wrote: >> 'cpu_data' is too common to be already used by some architectures (e.g. >> um, m32r, and mn10300), so need use 'pm_cpu_data' instead of, or cause >> compiling break. The related error (with all

Re: [GIT PULL] ring-buffer: Fix infinite spin in reading buffer

2014-10-05 Thread Greg Kroah-Hartman
On Fri, Oct 03, 2014 at 04:20:43PM -0400, Steven Rostedt wrote: > > Linus, > > While testing some new changes for 3.18, I kept hitting a bug every so > often in the ring buffer. At first I thought it had to do with some > of the changes I was working on, but then testing something else I > realiz

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Al Viro
On Mon, Oct 06, 2014 at 07:42:32AM +0900, Joel Rees wrote: > I don't know which side you're on. > > All I know is that with all the shock treatment from the noisiest part > of the supposedly anti-crowd and the arrogance, lies, petulance, > pretense, and other primadonna behavior that business-type

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-05 Thread Christoph Lameter
Subject: Increase irq counters to 64 bit V2 V1->V2 - Wrong sie and percpu alloc. - Use u64 so that this will also work on 32 bit machines Irq counters can overflow easily if they are just 32 bit. For example the timer interrupt occurs 1000 times per second, so it is predictable that the time

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Greg KH
On Sun, Oct 05, 2014 at 06:13:05PM -0400, Jason Noakes wrote: > > No driver should be working with "raw" kobjects. > > I don't agree, but it's irrelevant. Not at all. I'd wager that if a driver is messing around with a "raw" kobject, it is doing something seriously wrong. Of course there are ex

Linux 3.10.56

2014-10-05 Thread Greg KH
I'm announcing the release of the 3.10.56 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web browser:

Linux 3.14.20

2014-10-05 Thread Greg KH
I'm announcing the release of the 3.14.20 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web browser:

Linux 3.16.4

2014-10-05 Thread Greg KH
I'm announcing the release of the 3.16.4 kernel. All users of the 3.16 kernel series must upgrade. The updated 3.16.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.16.y and can be browsed at the normal kernel.org git web browser:

[GIT PULL 3.18] tinification for 3.18

2014-10-05 Thread Josh Triplett
Resending this for the 3.18 merge window. The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/josh/linux.git tags/tiny/for-3.18 for y

Re: [PATCH 0/8] Armada XP pinctrl consolidation and ix4-300d fixes

2014-10-05 Thread Benoit Masson
Le 3 oct. 2014 à 17:41, Sebastian Hesselbarth a écrit : > On 10/03/2014 05:29 PM, Benoit Masson wrote: >> Le 3 oct. 2014 à 17:06, Sebastian Hesselbarth >> a écrit : >>> On 10/03/2014 04:11 PM, Jason Cooper wrote: On Sun, Sep 21, 2014 at 04:11:23PM +0200, Benoit Masson wrote: >> Le 19

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Gregory Smith
Believe whatever you want. No one seems to give a damn about good engineering practices, if they did there would be no debate at all. KISS is a very simple principal, systemd obviously violates it at the most basic level. All the arguments from the systemd crowd are appeals to authority, appeals

Re: [PATCH] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat.

2014-10-05 Thread Mateusz Guzik
On Sun, Oct 05, 2014 at 11:46:03PM +0200, Rickard Strandqvist wrote: > I have now eliminate the need to use the temporary string, > and therefore also the use of strncat. > And I think this code is clearer and more effective. > The code is definitely less clear. > Signed-off-by: Rickard Strandqvi

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Joel Rees
I don't know which side you're on. All I know is that with all the shock treatment from the noisiest part of the supposedly anti-crowd and the arrogance, lies, petulance, pretense, and other primadonna behavior that business-types seem to like from the pro-crowd, good engineering practices are bei

Re: [PATCH] posix-timers: fix stack info leak in timer_create()

2014-10-05 Thread Oleg Nesterov
On 10/05, Mathias Krause wrote: > > On 5 October 2014 23:06, Oleg Nesterov wrote: > > On 10/04, Mathias Krause wrote: > >> > >> Cc: # v2.6.28+ > > > > not sure this is -stable material but I won't really argue. > > > > This should fall into the class "security fixes". Info leaks like that > -- i

[PATCH] Add zero-object requirement to kobject documentation

2014-10-05 Thread Jason Noakes
Explicitly document the requirement that the memory passed to kobject_init() must be zero-initialized beforehand. Signed-off-by: Jason J. Noakes diff --git a/Documentation/kobject.txt b/Documentation/kobject.txt index f87241d..1b38727 100644 --- a/Documentation/kobject.txt +++ b/Documentation/ko

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Jason Noakes
> No driver should be working with "raw" kobjects. I don't agree, but it's irrelevant. If the functions are exported and documented, the documentation should be complete. > kobject_init() has been there for a very long time, and yes, we don't > always have the best naming scheme in the kernel, th

Re: sock puppets (Re: (Song) ** SystemD)

2014-10-05 Thread Ken Moffat
On Sun, Oct 05, 2014 at 09:15:11PM +, Gregory Smith wrote: > Just because you disagree with something does not make it a troll. > Just because someone continued to post to a mailing list which he > was unrightly banned from (because systemd negativity is a no-no > for some), does not mean the m

Re: [PATCH v3 04/15] ACPI: Document ACPI device specific properties

2014-10-05 Thread Rafael J. Wysocki
On Saturday, October 04, 2014 12:59:59 PM Arnd Bergmann wrote: > On Saturday 04 October 2014 02:13:23 Rafael J. Wysocki wrote: > > > Because people get the format wrong regardless of documentation. The > > > format: > > > > > > Package () { > > > Package () { ^ref1, data, data }, > > >

[PATCH v2 6/7] ARM: meson: document meson8 compatible properties

2014-10-05 Thread Beniamino Galvani
Add device tree bindings documentation for Amlogic Meson8 SoCs. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/amlogic.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/de

[PATCH v2 3/7] ARM: dts: add dts for Tronsmart S89 Elite TV box

2014-10-05 Thread Beniamino Galvani
This adds a dts for the Tronsmart S89 Elite, a set-top box based on the Amlogic S802 SoC with a 8GiB NAND flash, USB ports, 10/100 Mbps Ethernet adapter, WiFi, HDMI and a micro SD slot. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8-vega-s89e.dts | 65 +

[PATCH v2 1/7] ARM: meson: add meson8 support

2014-10-05 Thread Beniamino Galvani
Add a MACH_MESON8 symbol and add "amlogic,meson8" to the list of compatible strings for the Meson DT machine to support devices based on the Meson8 family of SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/mach-meson/Kconfig | 5 + arch/arm/mach-meson/meson.c | 8 2 files change

[PATCH v2 7/7] ARM: meson: enable L2 cache

2014-10-05 Thread Beniamino Galvani
This enables the L2 cache controller available in Amlogic SoCs. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson.dtsi | 7 +++ arch/arm/boot/dts/meson6.dtsi | 2 ++ arch/arm/boot/dts/meson8.dtsi | 4 arch/arm/mach-meson/Kconfig | 1 + arch/arm/mach-meson/meson.c | 2 ++

[PATCH v2 2/7] ARM: dts: add dtsi for Amlogic Meson8 SoCs

2014-10-05 Thread Beniamino Galvani
This adds a dtsi for Amlogic Meson8 SoCs. It differs from the Meson6 dtsi for the number of Cortex-A9 cores (4 vs 2) and for the frequency of clk81. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/meson8.dtsi | 88 +++ 1 file changed, 88 insertions(

[PATCH v2 4/7] of: add vendor prefix for Tronsmart

2014-10-05 Thread Beniamino Galvani
This adds Tronsmart to the list of device tree vendor prefixes. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/binding

[PATCH v2 5/7] ARM: document Tronsmart compatible properties

2014-10-05 Thread Beniamino Galvani
Document device tree bindings for Tronsmart devices. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/tronsmart.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/tronsmart.txt diff --git a/Documentation/devicetre

[PATCH v2 0/7] ARM: meson: add support for Meson8

2014-10-05 Thread Beniamino Galvani
Hi, this patchset introduces support for Amlogic Meson8, which is a family of quad-core Cortex-A9 SoCs used in tablets and set-top boxes. Changes since v1: - reused the existing DT machine definition and renamed it to be more generic - added L2 cache support Beniamino Galvani (7): ARM: me

Re: [PATCH] posix-timers: fix stack info leak in timer_create()

2014-10-05 Thread Mathias Krause
On 5 October 2014 23:06, Oleg Nesterov wrote: > On 10/04, Mathias Krause wrote: >> >> If userland creates a timer without specifying a sigevent info, we'll >> create one ourself, using a stack local variable. Particularly will we >> use the timer ID as sival_int. But as sigev_value is a union cont

Re: kobject_init and the zeroed-out-memory requirement

2014-10-05 Thread Greg KH
On Sun, Oct 05, 2014 at 04:47:42PM -0400, Jason Noakes wrote: > > Is there any in-kernel code that does not properly zero out the memory > > before calling kobject_init()? > > I'm not sure. I didn't find any, but I've seen it bite people writing > drivers more than once where I work, and the lates

Re: Why do we still have 32 bit counters? Interrupt counters overflow within 50 days

2014-10-05 Thread Thomas Gleixner
On Fri, 3 Oct 2014, Christoph Lameter wrote: > On Fri, 3 Oct 2014, Richard Cochran wrote: > > > > DECLARE_PER_CPU(char *, irq_stack_ptr); > > > -DECLARE_PER_CPU(unsigned int, irq_count); > > > +DECLARE_PER_CPU(unsigned long, irq_count); > > > > Still 32 bit on 32 bit machines... > > 64 bit count

Re: [PATCH 1/8] x86, microcode, intel: forbid some incorrect metadata

2014-10-05 Thread Henrique de Moraes Holschuh
On Sun, 05 Oct 2014, Borislav Petkov wrote: > On Sun, Oct 05, 2014 at 04:37:03PM -0300, Henrique de Moraes Holschuh wrote: > > Not realy, because it got you confused! :-) > > No, it didn't get me confused - it got you confused that I'm confused. Indeed. > You need to read the comment as a *whole

Re: [PATCH 3.16 000/357] 3.16.4-stable review

2014-10-05 Thread Greg Kroah-Hartman
On Sun, Oct 05, 2014 at 03:50:57PM -0500, Chuck Ebbert wrote: > On Sun, 5 Oct 2014 13:39:14 -0700 > Greg Kroah-Hartman wrote: > > > On Sat, Oct 04, 2014 at 07:38:39AM -0500, Chuck Ebbert wrote: > > > On Fri, 3 Oct 2014 14:26:26 -0700 > > > Greg Kroah-Hartman wrote: > > > > > > > --

[PATCH] gpu: drm: drm_dp_mst_topology.c: Fix improper use of strncat.

2014-10-05 Thread Rickard Strandqvist
I have now eliminate the need to use the temporary string, and therefore also the use of strncat. And I think this code is clearer and more effective. Signed-off-by: Rickard Strandqvist --- drivers/gpu/drm/drm_dp_mst_topology.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions

  1   2   3   >