Re: [PATCH 2/2] efi: Distinguish between "remaining space" and actually used space

2013-04-03 Thread Matthew Garrett
On Wed, 2013-04-03 at 18:12 +0100, Matt Fleming wrote: > The solution you're proposing has the same downsides as 3) - we risk > having to tweak things either way. The difference is that in the case of > 3) the tweaking is adding entries to the whitelist, whereas tweaking > your solution has more

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-04-03 Thread Pawel Moll
On Tue, 2013-04-02 at 17:19 +0100, John Stultz wrote: > But if we're going to have to do > this via a clockid, I'm going to want it to be done via a dynamic posix > clockid, so its clear its tightly tied with perf and not considered a > generic interface (and I can clearly point folks having

Re: [PATCH V3 2/2] cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor

2013-04-03 Thread Jacob Shin
On Wed, Apr 03, 2013 at 07:04:56PM +0200, Borislav Petkov wrote: > On Wed, Apr 03, 2013 at 11:53:24AM -0500, Jacob Shin wrote: > > Then Thomas, Boris, would it be acceptable if enable the frequency > > feedback feature by default with a sane powersave_bias tunable value? > > And also add proper

Re: [PATCH] pinctrl: tegra: add suspend-resume support

2013-04-03 Thread Stephen Warren
On 04/03/2013 08:09 AM, Linus Walleij wrote: > On Thu, Mar 28, 2013 at 6:48 PM, Stephen Warren wrote: > >> Why can't we just use the device suspend/resume functions rather than >> global (syscore) suspend/resume functions? Presumably this is to ensure >> that all other drivers suspend first,

Re: [PATCH 3/4] x86, kdump: Retore crashkernel= to allocate low

2013-04-03 Thread Yinghai Lu
On Wed, Apr 3, 2013 at 6:18 AM, Vivek Goyal wrote: > On Tue, Apr 02, 2013 at 01:36:02PM -0700, Yinghai Lu wrote: > > [..] >> > You are just describing what your code does. There is no theme or >> > justification behind this behavior. There is no uniformity. A user can >> > question that so far

Re: [PATCH 2/2] efi: Distinguish between "remaining space" and actually used space

2013-04-03 Thread Matt Fleming
On 03/04/13 14:48, Matthew Garrett wrote: > On Wed, 2013-04-03 at 14:11 +0100, Matt Fleming wrote: > >> This looks like something that will differ between implementations, and the >> fact that it's appearing in our code is a sure sign that this isn't the way >> to >> go. > > Our choices right

Re: [PATCH 10/10] perf sort: Consolidate sort_entry__setup_elide()

2013-04-03 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 03, 2013 at 09:26:19PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > The same code was duplicate to places, factor them out to common > sort__setup_elide(). Looks ok, applying after fixing up fuzzes due to this being at the end of the patchseries. Things like this that are

Re: [PATCH 8/9] spark: cpufreq: move cpufreq driver to drivers/cpufreq

2013-04-03 Thread Viresh Kumar
On 3 April 2013 22:08, David Miller wrote: > From: Viresh Kumar > Date: Wed, 3 Apr 2013 14:59:44 +0530 > >> On 1 April 2013 10:11, Viresh Kumar wrote: >>> On 31 March 2013 22:10, David Miller wrote: > On 26 March 2013 09:55, Viresh Kumar wrote: >> From: Viresh Kumar >> Date: Mon,

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2013 at 12:38:28PM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, Apr 03, 2013 at 09:01:06AM -0700, Greg Kroah-Hartman wrote: > > On Wed, Apr 03, 2013 at 04:01:54PM +0200, William Dauchy wrote: > > > On Tue, Mar 12, 2013 at 11:10 PM, Greg Kroah-Hartman > > > wrote: > > > >> > >>

Re: [PATCH 09/10] perf hist browser: Use sort__has_sym

2013-04-03 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 03, 2013 at 09:26:18PM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > The TUI hist browser had a similar variable has_symbols for the same > purpose. Let's get rid of the duplication. I'm ok with that, if it involves removing sort__has_sym, that is a global variable, making

Re: [PATCH 03/10] perf sort: Add 'addr' sort key

2013-04-03 Thread Arnaldo Carvalho de Melo
What I expected was that the result was this: perf report --sort addr | grep -v ^# | sort -k2 -n | less And in hexadecimal, can you fix this? - Arnaldo Em Wed, Apr 03, 2013 at 09:26:12PM +0900, Namhyung Kim escreveu: > static void hists__set_unres_dso_col_len(struct hists *hists, int dso) >

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Wed, Apr 03, 2013 at 08:30:00AM -0700, Guenter Roeck wrote: > On Wed, Apr 03, 2013 at 05:09:52PM +0200, Sascha Hauer wrote: > [ ... ] > > > > > > > On a side note, if the driver supports devicetree, it might make sense to > > > call > > > watchdog_init_timeout, since it initializes the

Re: [RFC: PATCH 2/2] iio: adc: exynos_adc: Handle timeout and race conditions

2013-04-03 Thread Doug Anderson
Lars, On Sat, Mar 16, 2013 at 7:41 AM, Lars-Peter Clausen wrote: > I think you still need the mutex for serialization, otherwise the requests > would just cancel each other out. Btw. what happens if you start a conversion > while another is still in progress? Is it possible to abort a

Re: [PATCH V3 2/2] cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor

2013-04-03 Thread Borislav Petkov
On Wed, Apr 03, 2013 at 11:53:24AM -0500, Jacob Shin wrote: > Then Thomas, Boris, would it be acceptable if enable the frequency > feedback feature by default with a sane powersave_bias tunable value? > And also add proper documentation for both vanila powersave_bias > and powersave_bias with AMD

NVIDIA RAID don't work with kernel 3.8

2013-04-03 Thread Илья
Hi! I have a motherboard ASUS M2N32-SLI DELUXE with chipset NVIDIA nForce ® 590 SLI ™ MCP (defined as the MCP55) with built-in hardware RAID which I have configured as a RAID 0 of 4-HDD When using kernel 3.8 in the openSUSE repository

Re: [PATCH] mm, x86: Do not zero hugetlbfs pages at boot. -v2

2013-04-03 Thread Robin Holt
On Wed, Apr 03, 2013 at 04:02:47PM +0200, Michal Hocko wrote: > On Tue 02-04-13 21:43:44, Robin Holt wrote: > [...] > > diff --git a/mm/hugetlb.c b/mm/hugetlb.c > > index ca9a7c6..7683f6a 100644 > > --- a/mm/hugetlb.c > > +++ b/mm/hugetlb.c > > @@ -1185,7 +1185,7 @@ int __weak

Re: [PATCH V3 2/2] cpufreq: AMD "frequency sensitivity feedback" powersave bias for ondemand governor

2013-04-03 Thread Jacob Shin
On Tue, Apr 02, 2013 at 11:01:24PM +0200, Borislav Petkov wrote: > On Tue, Apr 02, 2013 at 10:51:51PM +0200, Thomas Renninger wrote: > > powersave_bias is undocumented in Documentation/cpu-freq/... > > I guess its use-case is for people who want to get some percent more > > power savings out of

Re: s390x: kernel BUG at fs/ext4/inode.c:1591! (powerpc too!)

2013-04-03 Thread Zheng Liu
On 04/04/2013 12:46 AM, Christian Kujau wrote: > On Wed, 3 Apr 2013 at 15:02, Dmitry Monakhov wrote: >> Good news big endian cpu owners >> Please try following patches(second is most important): >> http://patchwork.ozlabs.org/patch/233396/ >> http://patchwork.ozlabs.org/patch/233397/ >> I hope

Re: s390x: kernel BUG at fs/ext4/inode.c:1591! (powerpc too!)

2013-04-03 Thread Dmitry Monakhov
On Wed, 3 Apr 2013 09:46:56 -0700 (PDT), Christian Kujau wrote: > On Wed, 3 Apr 2013 at 15:02, Dmitry Monakhov wrote: > > Good news big endian cpu owners > > Please try following patches(second is most important): > > http://patchwork.ozlabs.org/patch/233396/ > >

Re: [PATCH] ext4: fix big-endian bugs which could cause fs corruptions

2013-04-03 Thread Zheng Liu
On 04/04/2013 12:36 AM, Theodore Ts'o wrote: > From: Zheng Liu > > From: Zheng Liu > > When an extent was zeroed out, we forgot to do convert from cpu to le16. > It could make us hit a BUG_ON when we try to write dirty pages out. So > fix it. > > [ Also fix a bug found by Dmitry Monakhov

Re: [PATCH] sgy-cts1000: Remove __dev* attributes

2013-04-03 Thread Kumar Gala
On Mar 18, 2013, at 6:19 PM, Ben Collins wrote: > Somehow the driver snuck in with these still in it. > > Signed-off-by: Ben Collins > --- > arch/powerpc/platforms/85xx/sgy_cts1000.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) applied to next - k -- To unsubscribe from this

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-04-03 Thread Konrad Rzeszutek Wilk
On Wed, Apr 03, 2013 at 09:01:06AM -0700, Greg Kroah-Hartman wrote: > On Wed, Apr 03, 2013 at 04:01:54PM +0200, William Dauchy wrote: > > On Tue, Mar 12, 2013 at 11:10 PM, Greg Kroah-Hartman > > wrote: > > >> > >> IOW I don't see why this got proposed for stable at all. > > >> > > > > >> > > So,

Re: [PATCH v2] drivers/block/xen-blkback: preq.dev is used without initialized

2013-04-03 Thread Konrad Rzeszutek Wilk
On Wed, Apr 03, 2013 at 03:34:16PM +0100, Jan Beulich wrote: > >>> On 03.04.13 at 15:56, William Dauchy wrote: > > On Wed, Apr 3, 2013 at 3:42 PM, Jan Beulich wrote: > >> ChangeLog-3.8.3 for example has > > > > oh sorry, you are right. I wasn't looking is the 3.8.x branch. > > The thing is, the

Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
On 04/03/2013 10:32 AM, Viresh Kumar wrote: Please always mention Version number and history. Not everybody remembers what changed after last version. Your right. I was rushing and forgot. I need to develop the habit of adding some history to my git commits when I amend them. On 3 April

[PATCH] ext4: fix big-endian bugs which could cause fs corruptions

2013-04-03 Thread Theodore Ts'o
From: Zheng Liu From: Zheng Liu When an extent was zeroed out, we forgot to do convert from cpu to le16. It could make us hit a BUG_ON when we try to write dirty pages out. So fix it. [ Also fix a bug found by Dmitry Monakhov where we were missing le32_to_cpu() calls in the new indirect

Re: [PATCH 1/1] Introduce Intel RAPL cooling device driver

2013-04-03 Thread Greg KH
On Tue, Apr 02, 2013 at 09:48:18PM -0700, Jacob Pan wrote: > > Let's step back and start over, what exactly are you trying to tell > > userspace? What data do you have that you need to express to it? How > > do you want userspace to see/use it? > > It is a good idea to step back and let me

Re: [PATCH v4 0/6] Generic PHY Framework

2013-04-03 Thread David Miller
From: Kishon Vijay Abraham I Date: Wed, 3 Apr 2013 12:05:30 +0530 > This patch series is about drivers/phy which will be used for now by > usb, sata and maybe some video PHY's. Network itself has a > comprehensive PHY in drivers/net/phy which we'd like to merge it with > drivers/phy so that we

Re: [PATCH v8 5/5] hwmon: add ST-Ericsson ABX500 hwmon driver

2013-04-03 Thread Guenter Roeck
On Wed, Apr 03, 2013 at 08:18:12PM +0800, Hongbo Zhang wrote: > Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500 > chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for > all ABX500s, and the ab8500.c is specific for AB8500 chip. Under this

Re: [PATCH v8 4/5] ab8500: power: export abx500_res_to_temp tables for hwmon

2013-04-03 Thread Guenter Roeck
On Wed, Apr 03, 2013 at 08:18:11PM +0800, Hongbo Zhang wrote: > This patch exports the thermistor resistance-to-temperature tables, so that > the > hwmon driver can access them, and also adds the corresponding table size > variables. > > Signed-off-by: Hongbo Zhang Acked-by: Guenter Roeck --

Re: [PATCH] clk: divider: Introduce CLK_DIVIDER_ALLOW_ZERO flag

2013-04-03 Thread Sören Brinkmann
On Wed, Apr 03, 2013 at 08:40:27AM -0700, Mike Turquette wrote: > Quoting Soren Brinkmann (2013-04-02 15:36:56) > > Dividers which have CLK_DIVIDER_ONE_BASED set have a redundant state, > > being a divider value of zero. Some hardware implementations allow a > > zero divider which simply doesn't

Re: [PATCH 1/1] Introduce Intel RAPL cooling device driver

2013-04-03 Thread Greg KH
On Tue, Apr 02, 2013 at 05:17:14PM -0700, Jacob Pan wrote: > On Tue, 2 Apr 2013 16:48:05 -0700 > Greg KH wrote: > > > On Tue, Apr 02, 2013 at 04:33:57PM -0700, Jacob Pan wrote: > > > On Tue, 2 Apr 2013 16:00:42 -0700 > > > Greg KH wrote: > > > > > > > > +#include "intel_rapl.h" > > > > >

[PATCH] nfsd4: Fix NULL dereference in legacy_recdir_name_error()

2013-04-03 Thread Takashi Iwai
The recent rewrite of NFSv4 recovery client tracking options per net (commit 9a9c6478) introduced Oops when it faces an error for recdir generation. NFSD: unable to generate recoverydir name (-2). NFSD: disabling legacy clientid tracking. Reboot recovery will not function correctly! BUG:

Re: [PATCH 3.8-stable] thermal: return an error on failure to register thermal

2013-04-03 Thread Greg KH
On Wed, Apr 03, 2013 at 09:38:55AM +0900, Jonghwan Choi wrote: > 3.8-stable review patch. If anyone has any objections, please let me know. Ok, I object, given that I told you to change the format of the message you send out. Please look at how others on the stable@ mailing list send "should

Re: [PATCH v1] ARM: keep __my_cpu_offset consistent with generic one

2013-04-03 Thread Russell King - ARM Linux
On Tue, Mar 12, 2013 at 10:56:38AM +, Russell King - ARM Linux wrote: > On Tue, Mar 12, 2013 at 10:32:21AM +0800, Ming Lei wrote: > > On Thu, Mar 7, 2013 at 9:35 PM, Ming Lei wrote: > > > Commit 14318efb(ARM: 7587/1: implement optimized percpu variable access) > > > introduces arm's

Re: [PATCH] pinctrl: tegra: add suspend-resume support

2013-04-03 Thread Linus Walleij
On Thu, Mar 28, 2013 at 6:11 PM, Bibek Basu wrote: Hm I recognize this name :-) > This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Please be more verbose. How is this achieved? I have to guess what the code is doing.. > +#ifdef CONFIG_PM_SLEEP > + > +static int

Re: [PATCH] Kbuild: Avoid DTB rebuilds if source files are untouched

2013-04-03 Thread Stephen Warren
On 04/03/2013 01:14 AM, Vineet Gupta wrote: > forgot to CC linux-arch > > On 04/03/2013 12:42 PM, Vineet Gupta wrote: >> Currently, for every ARC kernel build I see the following: >> >> --->8- >> DTBarch/arc/boot/dts/angel4.dtb.S >> AS

Re: [PATCH bugfix 3.9] PCI: Don't try to disable Bus Master on disconnected PCI devices

2013-04-03 Thread Bjorn Helgaas
[+cc linux-pci] On Mon, Apr 1, 2013 at 2:00 AM, Konstantin Khlebnikov wrote: > BUMP. This is degradation from 3.8, so this patch must be in 3.9. > > I still don't like this forced clearing bus-master bit. But this hack > definitely fixes problems in kexec, so there is reason to keep it here.

[PATCH v1 9/9] uretprobes: Documentation update

2013-04-03 Thread Anton Arapov
add the uretprobe syntax and update an example Signed-off-by: Anton Arapov --- Documentation/trace/uprobetracer.txt | 114 --- 1 file changed, 67 insertions(+), 47 deletions(-) diff --git a/Documentation/trace/uprobetracer.txt

Re: [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-03 Thread Michael S. Tsirkin
On Tue, Apr 02, 2013 at 08:05:21PM +0300, Michael S. Tsirkin wrote: > On Tue, Apr 02, 2013 at 09:57:38AM -0700, Roland Dreier wrote: > > On Tue, Apr 2, 2013 at 8:51 AM, Michael S. Tsirkin wrote: > > >> At the moment registering an MR breaks COW. This breaks memory > > >> overcommit for users

Re: [PATCH] sysfs: check if one entry has been removed before freeing

2013-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2013 at 03:05:37PM +0800, Ming Lei wrote: > On Wed, Apr 3, 2013 at 1:35 PM, Greg Kroah-Hartman > wrote: > > On Wed, Apr 03, 2013 at 11:52:39AM +0800, Ming Lei wrote: > >> On Wed, Apr 3, 2013 at 11:04 AM, Dave Jones wrote: > >> > On Wed, Apr 03, 2013 at 10:58:23AM +0800, Ming Lei

Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired

2013-04-03 Thread Guenter Roeck
On Wed, Apr 03, 2013 at 08:50:26AM -0700, Guenter Roeck wrote: > On Wed, Apr 03, 2013 at 08:06:59AM -0700, Tony Chung wrote: > > On Tue, Apr 2, 2013 at 9:21 PM, Guenter Roeck wrote: > > > > > > > > > > > What is the exact chip type in your system ? I want to have a look into > > > the > > >

[PATCH v1 1/9] uretprobes: Introduce uprobe_consumer->ret_handler()

2013-04-03 Thread Anton Arapov
Enclose return probes implementation, introduce ->ret_handler() and update existing code to rely on ->handler() *and* ->ret_handler() for uprobe and uretprobe respectively. v1 changes: * add bp_vaddr argument to ->ret_handler() RFCv5 changes: * don't remove uprobe in case there are no uprobe

[PATCH v1 2/9] uretprobes: Reserve the first slot in xol_vma for trampoline

2013-04-03 Thread Anton Arapov
Allocate trampoline page, as the very first one in uprobed task xol area, and fill it with breakpoint opcode. Also introduce get_trampoline_vaddr() helper, to wrap the trampoline address extraction from area->vaddr. That removes confusion and eases the debug experience in case ->vaddr notion will

[PATCH v1 0/9] uretprobes: Return uprobes implementation

2013-04-03 Thread Anton Arapov
Hello All! Uretprobes' core implementation. Enables a function's return probes in uprobe- based event tracing. Patchset introduce additional handler (ret_handler) in uprobe consumer that defines uretprobe. There is a regular uprobe with return probe handler behind every uretprobe. Once hit the

[PATCH v1 6/9] uretprobes: Return probe exit, invoke handlers

2013-04-03 Thread Anton Arapov
Uretprobe handlers are invoked when the trampoline is hit, on completion the trampoline is replaced with the saved return address and the uretprobe instance deleted. v1 changes: * pass bp_vaddr to ret_handler() * simplify handle_uretprobe() RFCv6 changes: * rework handle_uretprobe() RFCv5

[PATCH v1 7/9] uretprobes: Limit the depth of return probe nestedness

2013-04-03 Thread Anton Arapov
Unlike the kretprobes we can't trust userspace, thus must have protection from user space attacks. User-space have "unlimited" stack, and this patch limits the return probes nestedness as a simple remedy for it. Note that this implementation leaks return_instance on siglongjmp until

[PATCH v1 8/9] uretprobes: Remove -ENOSYS as return probes implemented

2013-04-03 Thread Anton Arapov
Enclose return probes implementation. Signed-off-by: Anton Arapov --- kernel/events/uprobes.c | 4 1 file changed, 4 deletions(-) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index 489f5e3..9af52f7 100644 --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c @@

[PATCH v1 4/9] uretprobes/ppc: Hijack return address

2013-04-03 Thread Anton Arapov
Hijack the return address and replace it with a trampoline address. PowerPC implementation. Signed-off-by: Anton Arapov --- arch/powerpc/include/asm/uprobes.h | 1 + arch/powerpc/kernel/uprobes.c | 13 + 2 files changed, 14 insertions(+) diff --git

[PATCH v1 5/9] uretprobes: Return probe entry, prepare_uretprobe()

2013-04-03 Thread Anton Arapov
When a uprobe with return probe consumer is hit, prepare_uretprobe() function is invoked. It creates return_instance, hijacks return address and replaces it with the trampoline. * Return instances are kept as stack per uprobed task. * Return instance is chained, when the original return address

Re: [PATCH] xen: drop tracking of IRQ vector

2013-04-03 Thread Stefano Stabellini
On Wed, 3 Apr 2013, Jan Beulich wrote: > For quite a few Xen versions, this wasn't the IRQ vector anymore > anyway, and it is not being used by the kernel for anything. Hence > drop the field from struct irq_info, and respective function > parameters. > > Signed-off-by: Jan Beulich > Cc: Stefano

[PATCH v1 3/9] uretprobes/x86: Hijack return address

2013-04-03 Thread Anton Arapov
Hijack the return address and replace it with a trampoline address. v1 changes: * use force_sig_info() * rework and simplify logic RFCv5 changes: * change the fail return code, because orig_ret_vaddr=0 is possible * style fixup RFCv2 changes: * remove ->doomed flag, kill task immediately

Re: [ 34/77] xen/blkback: Dont trust the handle from the frontend.

2013-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2013 at 04:01:54PM +0200, William Dauchy wrote: > On Tue, Mar 12, 2013 at 11:10 PM, Greg Kroah-Hartman > wrote: > >> > >> IOW I don't see why this got proposed for stable at all. > >> > > > >> > > So, you suggest to just drop this patch for v3.8.3, don't you? > >> > > >> > I do,

RE: [PATCH 5/5 v11] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-04-03 Thread Yoder Stuart-B08248
> -Original Message- > From: Sethi Varun-B16395 > Sent: Wednesday, April 03, 2013 12:12 AM > To: Wood Scott-B07421; Timur Tabi > Cc: Joerg Roedel; lkml; Kumar Gala; Yoder Stuart-B08248; > io...@lists.linux-foundation.org; Benjamin > Herrenschmidt; linuxppc-...@lists.ozlabs.org >

Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired

2013-04-03 Thread Guenter Roeck
On Wed, Apr 03, 2013 at 08:06:59AM -0700, Tony Chung wrote: > On Tue, Apr 2, 2013 at 9:21 PM, Guenter Roeck wrote: > > > > > > > What is the exact chip type in your system ? I want to have a look into the > > datasheet; maybe I can find out how it can trigger without causing a reset. > >

Re: [PATCH v5 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-04-03 Thread Felipe Balbi
Hi, On Wed, Apr 03, 2013 at 02:55:47PM +, Arnd Bergmann wrote: > On Wednesday 03 April 2013, Felipe Balbi wrote: > > const ? Maybe provide a: > > > > #define DEFINE_PHY_OPS(name)\ > > const struct phy_ops #name_phy_ops = { > > > > macro ? This will force people to add the const keyword

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-03 Thread Felipe Balbi
Hi, On Wed, Apr 03, 2013 at 08:02:52PM +0530, Kishon Vijay Abraham I wrote: > + ret = -EINVAL; > + goto err0; > + } > + > + if (!phy_class) > + phy_core_init(); > >>> > >>>why don't you setup the class on module_init ? Then this would be a >

Re: [PATCH 0/3] check regulator_enable() return value

2013-04-03 Thread Felipe Balbi
Hi, On Wed, Apr 03, 2013 at 07:22:38AM -0700, Greg KH wrote: > On Wed, Apr 03, 2013 at 05:06:22PM +0300, Felipe Balbi wrote: > > Hi, > > > > On Wed, Apr 03, 2013 at 04:02:24PM +0200, Fabio Baltieri wrote: > > > While testing your 'next' branch merged with today's next I got some new > > >

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-03 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4/3/2013 7:41 AM, Jens Axboe wrote: >> Thanks for testing! I don't particularly like this stuff in >> loop, though. It's quite nasty and depends on other behaviour. It >> would be prettier if we just had rescan_partitions() do the right >> thing,

Re: linux-3.9.0-rc1+: Output from "make kernelrelease"contains incorrect data

2013-04-03 Thread Chris Clayton
On 04/03/13 15:32, Michal Marek wrote: On 1.4.2013 11:28, Chris Clayton wrote: Ping! This is still happening with 3.9-rc5. [chris:~/kernel/linux]$ make bzImage ... Kernel: arch/x86/boot/bzImage is ready (#14) [chris:~/kernel/linux]$ make kernelrelease scripts/kconfig/conf --silentoldconfig

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Eric Dumazet
On Wed, 2013-04-03 at 17:10 +0200, Sven Joachim wrote: > On 2013-04-03 16:00 +0200, Eric Dumazet wrote: > > > It might be a wrong sender (application bug or bad identity), and udevd > > correctly discards the incoming message. > > How would I find out the culprit? Change udevd to display the

Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Viresh Kumar
Please always mention Version number and history. Not everybody remembers what changed after last version. On 3 April 2013 20:33, Nathan Zimmer wrote: > We eventually would like to remove the rwlock cpufreq_driver_lock or convert > it back to a spinlock and protect the read sections with RCU.

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-03 Thread Michal Hocko
On Wed 03-04-13 17:12:21, Li Zefan wrote: > Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). > > Signed-off-by: Li Zefan > --- > mm/memcontrol.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index

[PATCH] block: avoid using uninitialized value in from queue_var_store

2013-04-03 Thread Arnd Bergmann
As found by gcc-4.8, the QUEUE_SYSFS_BIT_FNS macro creates functions that use a value generated by queue_var_store independent of whether that value was set or not. block/blk-sysfs.c: In function 'queue_store_nonrot': block/blk-sysfs.c:244:385: warning: 'val' may be used uninitialized in this

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Guenter Roeck
On Wed, Apr 03, 2013 at 05:09:52PM +0200, Sascha Hauer wrote: [ ... ] > > > > On a side note, if the driver supports devicetree, it might make sense to > > call > > watchdog_init_timeout, since it initializes the timeout from devicetree > > data. > > The driver does not support devicetree. >

Re: [RFC][PATCH 1/7] memcg: use css_get in sock_update_memcg()

2013-04-03 Thread Michal Hocko
On Wed 03-04-13 16:58:48, Glauber Costa wrote: > On 04/03/2013 01:11 PM, Li Zefan wrote: > > Use css_get/css_put instead of mem_cgroup_get/put. > > > > Note, if at the same time someone is moving @current to a different > > cgroup and removing the old cgroup, css_tryget() may return false, > >

Re: [ 000/124] 3.8.6-stable review

2013-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2013 at 09:17:33AM -0600, Shuah Khan wrote: > On Tue, Apr 2, 2013 at 4:09 PM, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 3.8.6 release. > > There are 124 patches in this series, all will be posted as a response > > to this one. If

Re: [v3.8, v3.9] [Regression] brcmsmac: move PHY functions

2013-04-03 Thread Joseph Salisbury
On 04/02/2013 05:02 AM, Piotr Haber wrote: On 04/01/13 17:18, Joseph Salisbury wrote: On 04/01/2013 10:42 AM, John W. Linville wrote: On Fri, Mar 29, 2013 at 03:52:39PM -0400, Joseph Salisbury wrote: Hi Piotr, A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, it was

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Greg Kroah-Hartman
On Wed, Apr 03, 2013 at 05:10:40PM +0200, Sven Joachim wrote: > On 2013-04-03 16:00 +0200, Eric Dumazet wrote: > > > On Wed, 2013-04-03 at 13:41 +0200, Sven Joachim wrote: > >> On 2013-04-03 00:11 +0200, Greg Kroah-Hartman wrote: > >> > >> > 3.8-stable review patch. If anyone has any

Re: [PATCH] x86: fix rebuild with EFI_STUB enabled

2013-04-03 Thread H. Peter Anvin
On 04/03/2013 07:58 AM, Jan Beulich wrote: On 03.04.13 at 16:48, "H. Peter Anvin" wrote: >> This looks awesome for 3.10, but getting a minimal fix for 3.9/stable would >> be good, too. > > Do you really view this as relevant for stable? Considering that this > had been this way for a while

[GIT PULL] s390 patches for the 3.9-rc6

2013-04-03 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Just a bunch of bugfixes. Heiko Carstens (4): drivers/Kconfig: add several missing GENERIC_HARDIRQS dependencies

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Tue, Mar 26, 2013 at 07:33:31AM -0700, Guenter Roeck wrote: > On Tue, Mar 26, 2013 at 11:16:35AM +0100, Christian Gmeiner wrote: > > 2013/2/12 Sascha Hauer : > > > This driver provides support for the CGEB watchdog found on some > > > Congatec x86 modules. > > > > > > Signed-off-by: Sascha

Re: [PATCH 3/3] watchdog: Add Congatec CGEB watchdog driver

2013-04-03 Thread Sascha Hauer
On Tue, Mar 26, 2013 at 11:16:35AM +0100, Christian Gmeiner wrote: > 2013/2/12 Sascha Hauer : > > -- > > There seems to be a problem: > > Mar 26 16:11:25 OT kernel: [ 80.207514] cgeb-watchdog > cgeb-watchdog.0: registered > Mar 26 16:11:38 OT watchdog[2519]: stopping daemon (5.9) > Mar 26

Re: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out

2013-04-03 Thread Florian Fainelli
Hello, Le 04/03/13 16:41, Theodore Ts'o a écrit : On Wed, Apr 03, 2013 at 10:34:06AM -0400, Eric Whitney wrote: The TI OMAP4 processor on my Pandaboard test system is little endian. Ah... so basically, we need to find a test platform which allows us to boot arbitrary kernels and allows us

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-03 Thread Mel Gorman
On Tue, Apr 02, 2013 at 07:16:13PM -0400, Theodore Ts'o wrote: > I've tried doing some quick timing, and if it is a performance > regression, it's not a recent one --- or I haven't been able to > reproduce what Mel is seeing. I tried the following commands while > booted into 3.2, 3.8, and

Re: [PATCH 2/3] usb: phy: twl4030-usb: check regulator_enable return value

2013-04-03 Thread Kalle Jokiniemi
On Wed, 2013-04-03 at 16:02 +0200, Fabio Baltieri wrote: > Since regulator_enable() is going to be marked as __must_check in the > next merge window, always check regulator_enable() return value and > print a warning if it fails. Could go bananas with this and all kinds of recovery schemes, but

Re: [ 00/68] 3.4.39-stable review

2013-04-03 Thread Shuah Khan
On Tue, Apr 2, 2013 at 4:12 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.39 release. > There are 68 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [ 00/56] 3.0.72-stable review

2013-04-03 Thread Shuah Khan
On Tue, Apr 2, 2013 at 4:49 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.72 release. > There are 56 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH] sysfs: fix crash_notes_size build warning

2013-04-03 Thread Arnd Bergmann
>From b60d17603df3225d9f51c4f8168e8e00a1090911 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Wed, 3 Apr 2013 17:14:32 +0200 Subject: [PATCH] sysfs: fix crash_notes_size build warning commit eca4549f57 "sysfs: Add crash_notes_size to export percpu note size" adds a printk that outputs a

Re: [ 000/124] 3.8.6-stable review

2013-04-03 Thread Shuah Khan
On Tue, Apr 2, 2013 at 4:09 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.8.6 release. > There are 124 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-03 Thread Mel Gorman
On Wed, Apr 03, 2013 at 08:05:30AM -0400, Theodore Ts'o wrote: > On Wed, Apr 03, 2013 at 11:19:25AM +0100, Mel Gorman wrote: > > > > I'm running with -rc5 now. I have not noticed much interactivity problems > > as such but the stall detection script reported that mutt stalled for > > 20 seconds

Re: [ 105/124] af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-03 Thread Sven Joachim
On 2013-04-03 16:00 +0200, Eric Dumazet wrote: > On Wed, 2013-04-03 at 13:41 +0200, Sven Joachim wrote: >> On 2013-04-03 00:11 +0200, Greg Kroah-Hartman wrote: >> >> > 3.8-stable review patch. If anyone has any objections, please let me know. >> >> I'm seeing several complaints from udevd at

Re: [PATCH v3 2/2] watchdog: fix w83627hf_wdt clear timeout expired

2013-04-03 Thread Tony Chung
On Tue, Apr 2, 2013 at 9:21 PM, Guenter Roeck wrote: > > > What is the exact chip type in your system ? I want to have a look into the > datasheet; maybe I can find out how it can trigger without causing a reset. Winbond 83627HF chip I believe BIOS has watchdog disabled otherwise it would have

[PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections with RCU. The first step in that is moving the cpufreq_driver to use the RCU for its read areas. I don't see an easy wasy to protect the cpufreq_cpu_data structure with

[PATCH] fscache: extended "dying" check before emitting EV_INVALIDATE

2013-04-03 Thread Max Kellermann
Before emitting an FSCACHE_OBJECT_EV_INVALIDATE event, the function __fscache_invalidate() checks whether the fscache_object is currently "dying". This checks only the current state, not the queued events that will very soon lead to the object's death. The problem is that

[PATCH v9 14/14] clk: tegra: Remove forced clk_enable of uartd

2013-04-03 Thread Peter De Schrijver
The UART driver enables the console uart clock, so we don't need to do that anymore in this file. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra114.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra114.c

Re: [PATCH] x86: fix rebuild with EFI_STUB enabled

2013-04-03 Thread Jan Beulich
>>> On 03.04.13 at 16:48, "H. Peter Anvin" wrote: > This looks awesome for 3.10, but getting a minimal fix for 3.9/stable would > be good, too. Do you really view this as relevant for stable? Considering that this had been this way for a while with apparently no-one having noticed, I wouldn't

[PATCH v9 13/14] ARM: dt: Add references to tegra_car clocks

2013-04-03 Thread Peter De Schrijver
Add references to tegra_car clocks for the basic device nodes. Also remove the clock-frequency property of the serial node as the UART driver can now use the clock framework to obtain the frequency. Signed-off-by: Peter De Schrijver --- arch/arm/boot/dts/tegra114-dalmore.dts |1 -

[PATCH v9 13/14] ARM: dt: Add references to tegra_car clocks

2013-04-03 Thread Peter De Schrijver
Add references to tegra_car clocks for the basic device nodes. Also remove the clock-frequency property of the serial node as the UART driver can now use the clock framework to obtain the frequency. Signed-off-by: Peter De Schrijver --- arch/arm/boot/dts/tegra114-dalmore.dts |1 -

Re: [PATCH v5 2/6] usb: phy: omap-usb2: use the new generic PHY framework

2013-04-03 Thread Arnd Bergmann
On Wednesday 03 April 2013, Felipe Balbi wrote: > const ? Maybe provide a: > > #define DEFINE_PHY_OPS(name)\ > const struct phy_ops #name_phy_ops = { > > macro ? This will force people to add the const keyword :-) Forcing people to use const structures is good, but I think it would be

[PATCH v9 12/14] clk: tegra: devicetree match for nvidia,tegra114-car

2013-04-03 Thread Peter De Schrijver
Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk.c |1 + drivers/clk/tegra/clk.h |6 ++ 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk.c b/drivers/clk/tegra/clk.c index 70b7a47..923ca7e 100644 --- a/drivers/clk/tegra/clk.c +++

Re: [PATCH v4 01/21] usb: phy: nop: Add some parameters to platform data

2013-04-03 Thread Roger Quadros
On 04/02/2013 08:21 PM, Tony Lindgren wrote: > * Felipe Balbi [130320 09:24]: >> On Wed, Mar 20, 2013 at 09:13:24AM -0700, Tony Lindgren wrote: >>> * Felipe Balbi [130320 09:00]: On Wed, Mar 20, 2013 at 05:44:40PM +0200, Roger Quadros wrote: > Add clk_rate parameter to platform data. If

[PATCH v9 09/14] clk: tegra: Workaround for Tegra114 MSENC problem

2013-04-03 Thread Peter De Schrijver
Workaround a hardware bug in MSENC during clock enable. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph-gate.c |9 + drivers/clk/tegra/clk.h |2 ++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk-periph-gate.c

[PATCH v9 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-03 Thread Peter De Schrijver
The device tree binding models Tegra114 CAR (Clock And Reset) as a single monolithic clock provider. Signed-off-by: Peter De Schrijver --- .../bindings/clock/nvidia,tegra114-car.txt | 317 1 files changed, 317 insertions(+), 0 deletions(-) create mode 100644

[PATCH] xen: drop tracking of IRQ vector

2013-04-03 Thread Jan Beulich
For quite a few Xen versions, this wasn't the IRQ vector anymore anyway, and it is not being used by the kernel for anything. Hence drop the field from struct irq_info, and respective function parameters. Signed-off-by: Jan Beulich Cc: Stefano Stabellini --- arch/x86/pci/xen.c |6 +++---

[PATCH v9 08/14] clk: tegra: Add flags to tegra_clk_periph()

2013-04-03 Thread Peter De Schrijver
We will need some tegra peripheral clocks with the CLK_IGNORE_UNUSED flag, most notably mselect, which is a bridge between AXI and most peripherals. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-periph.c | 11 ++- drivers/clk/tegra/clk-tegra20.c |2 +-

[PATCH v3 10/12] ARM: tegra: harmony: Initialize PCIe from DT

2013-04-03 Thread Thierry Reding
With the device tree support in place, probe the PCIe controller from the device tree and remove the corresponding workaround in the board file. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-harmony.dts | 20 1 file changed, 16 insertions(+), 4 deletions(-)

[PATCH v3 08/12] ARM: tegra: tamonten: Add PCIe support

2013-04-03 Thread Thierry Reding
Add properties common to all Tamonten-derived boards to the Tamonten DTSI and add the fixed 1.05 V regulator. Signed-off-by: Thierry Reding --- Changes in v2: - add properties common to all Tamonten boards - add fixed 1.05 V regulator arch/arm/boot/dts/tegra20-tamonten.dtsi | 17

[PATCH v3 12/12] ARM: tegra: Update default configuration (PCIe)

2013-04-03 Thread Thierry Reding
Enable PCI and MSI support as well as the new Tegra PCIe controller driver. Signed-off-by: Thierry Reding --- arch/arm/configs/tegra_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index

[PATCH v3 00/12] Rewrite Tegra PCIe driver

2013-04-03 Thread Thierry Reding
This patch series contains an almost complete rewrite of the Tegra PCIe driver. The code is moved to the drivers/pci/host directory and turned into a proper platform driver, adding MSI and DT support while at it. Other PCI host controller drivers can be added to that directory in an attempt to

[PATCH v9 02/14] clk: tegra: Refactor PLL programming code

2013-04-03 Thread Peter De Schrijver
Refactor the PLL programming code to make it useable by the new PLL types introduced by Tegra114. The following changes were done: * Split programming the PLL into updating m,n,p and updating cpcon * Move locking from _update_pll_cpcon() to clk_pll_set_rate() * Introduce _get_pll_mnp() helper *

<    1   2   3   4   5   6   7   8   9   10   >