Re: [PATCH V2 Resend 4/4] timer: Migrate running timer

2013-10-22 Thread Viresh Kumar
On 4 October 2013 18:09, Sebastian Andrzej Siewior wrote: > tglx, could you please take a look at this patch / thread? Thomas, Ping!! -- 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

Re: [PATCH V2 03/14] perf script: Make perf_script a local variable

2013-10-22 Thread David Ahern
On 10/22/13 8:34 AM, Adrian Hunter wrote: -static int __cmd_script(struct perf_session *session) +static int __cmd_script(struct perf_script *scr) for naming consistency that should be *script. { int ret; signal(SIGINT, sig_handler); - ret =

Re: [PATCH] mm: Ensure get_unmapped_area() returns higher addressthan mmap_min_addr

2013-10-22 Thread Akira Takeuchi
Hi, On Wed, 23 Oct 2013 00:26:05 -0400 Naoya Horiguchi wrote: > Hi, > > On Wed, Oct 23, 2013 at 11:46:53AM +0900, Akira Takeuchi wrote: > > This patch fixes the problem that get_unmapped_area() can return illegal > > address and result in failing mmap(2) etc. > > > > In case that the address

Re: [PATCH, RFC] what's the point of mtd_inodefs?

2013-10-22 Thread Richard Weinberger
On Tue, Oct 22, 2013 at 5:33 PM, Christoph Hellwig wrote: > I've been looking at mtdchar as part of a bigger series touching all > kidns of places and really wonder what the point of mtd_inodefs is. As far I can tell it was introduced because of that issue:

Re: [PATCH 3.12] cfg80211: fix ibss wext chandef creation

2013-10-22 Thread Dirk Gouders
Simon Wunderlich writes: > The wext internal chandefs for ibss should be created using the > cfg80211_chandef_create() functions. Otherwise the center_freq1 field > will not be set and cfg80211_chandef_valid() will spit a warning and > report the chandef as invalid when it should be used.

Re: [BUG bisected] WARNING: CPU: 0 PID: 1550 at net/wireless/chan.c:373 cfg80211_chandef_usable+0x30/0x15f()

2013-10-22 Thread Dirk Gouders
Hi Simon, Simon Wunderlich writes: > Hey Dirk, > >> No need for censorship, I did some quick tests and stripped down my >> wpa_supplicant.conf to a single entry. With this configuration I get a >> lot of traces: >> >> ctrl_interface=/var/run/wpa_supplicant >> eapol_version=1 >> ap_scan=1 >>

Re: [PATCH V2 00/16] CPUIdle: Minor cleanups for 3.13

2013-10-22 Thread Viresh Kumar
On 3 October 2013 21:26, Viresh Kumar wrote: > These are V2 of my CPUIdle cleanup series.. Few patches are dropped as they > required further modifications. Last one is rewritten as suggested by Daniel. > Most of them are already Acked by Daniel. > > Viresh Kumar (16): > cpuidle: fix

Re: lz4hc compression in UBIFS?

2013-10-22 Thread Brent Taylor
Konstantin, I did my testing with data from /dev/urandom (which I now realize wasn't the best choice of data source), but if I use /dev/zero (which actually causes data compression to occur), the decompressor fails. I don't know the internal workings of the lz4hc compressor or the lz4

[PATCH v4 3/3] Documentation regarding perf/sdt

2013-10-22 Thread Hemant Kumar
This patch adds documentation for perf support to SDT notes/markers. Signed-off-by: Hemant Kumar Shaw --- tools/perf/Documentation/perf-probe.txt | 17 +++ tools/perf/Documentation/sdt-probes.txt | 184 +++ 2 files changed, 199 insertions(+), 2 deletions(-)

[PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-22 Thread Hemant Kumar
This allows perf to probe into the sdt markers/notes present in the libraries and executables. We try to find the associated location and handle prelinking (since, stapsdt notes section is not allocated during runtime). Prelinking is handled with the help of base section which is allocated during

[PATCH v4 1/3] SDT markers listing by perf:

2013-10-22 Thread Hemant Kumar
This patch will enable perf to list all the sdt markers present in an elf file. The markers are present in the .note.stapsdt section of the elf. We can traverse through this section and collect the required info about the markers. We can use '-M/--markers' with perf to view the SDT notes.

[PATCH v4 0/3] perf support to SDT markers

2013-10-22 Thread Hemant Kumar
This patchset helps in probing dtrace style markers(SDT) present in user space applications through perf. Notes/markers are placed at important places by the developers. They have a negligible overhead when not enabled. We can enable them and probe at these places and find some important

[PATCH] x86, procfs: remove condition for show_cpuinfo_core()

2013-10-22 Thread HATAYAMA Daisuke
show_cpuinfo_core() has displayed cpu core information only if the number of threads per a whole cores is strictly larger than 1. But this condition doesn't care about the number of sockets. This doesn't cover, for example, the system with two logical cpus consisting of two sockets and a single

[PATCH] f2fs: use bool for booleans

2013-10-22 Thread Haicheng Li
Signed-off-by: Haicheng Li --- fs/f2fs/checkpoint.c |4 ++-- fs/f2fs/f2fs.h |4 ++-- fs/f2fs/node.c |4 ++-- fs/f2fs/recovery.c |8 fs/f2fs/super.c |2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/fs/f2fs/checkpoint.c

Re: -27% netperf TCP_STREAM regression by "tcp_memcontrol: Kill struct tcp_memcontrol"

2013-10-22 Thread Eric W. Biederman
David Miller writes: > From: fengguang...@intel.com > Date: Tue, 22 Oct 2013 22:41:29 +0100 > >> We noticed big netperf throughput regressions >> >> a4fe34bf902b8f709c63 2e685cad57906e19add7 >> >> 707.40

Re: [PATCH V2 Resend 13/34] cpufreq: ia64: Convert to light weight ->target_index() routine

2013-10-22 Thread Viresh Kumar
On 22 October 2013 22:02, Luck, Tony wrote: >> This patch converts existing .target() to newly defined light weight >> .target_index() routine for this driver. >> >> CPUFreq core will call cpufreq_frequency_table_target() before calling this >> routine and will pass index to it. >> >> Cc: Tony

Re: [PATCH] mm: Ensure get_unmapped_area() returns higher addressthan mmap_min_addr

2013-10-22 Thread Naoya Horiguchi
Hi, On Wed, Oct 23, 2013 at 11:46:53AM +0900, Akira Takeuchi wrote: > This patch fixes the problem that get_unmapped_area() can return illegal > address and result in failing mmap(2) etc. > > In case that the address higher than PAGE_SIZE is set to > /proc/sys/vm/mmap_min_addr, the address lower

Re: [PATCH 1/3] sched: Fix nohz_kick_needed to consider the nr_busy of the parent domain's group

2013-10-22 Thread Preeti U Murthy
On 10/23/2013 09:30 AM, Preeti U Murthy wrote: > Hi Peter, > > On 10/23/2013 03:41 AM, Peter Zijlstra wrote: >> On Mon, Oct 21, 2013 at 05:14:42PM +0530, Vaidyanathan Srinivasan wrote: >>> kernel/sched/fair.c | 19 +-- >>> 1 file changed, 13 insertions(+), 6 deletions(-) >>>

Re: [PATCH 0/4] CPUFreq stats: Bug fixes

2013-10-22 Thread Viresh Kumar
On 23 October 2013 02:36, Nicolas Pitre wrote: > My testing of those patches took a long and winding path but finally I > was able to do it today. > > So for the 4 patches: > > Tested-by: Nicolas Pitre > Acked-by: Nicolas Pitre Ahh.. Thanks Nico.. that would be pretty helpful :) -- To

Re: [PATCH 1/2] firmware, fix request_firmware_nowait() freeze with no uevent

2013-10-22 Thread Ming Lei
On Wed, Oct 23, 2013 at 7:15 AM, Prarit Bhargava wrote: > On 10/21/2013 10:35 PM, Ming Lei wrote: >> >> That is why NOHOTPLUG isn't encouraged to be taken, actually >> I don't suggest you to do that too, :-) > Okay ... I can certainly switch to HOTPLUG. OK, that should be the right approach. >

Re: [PATCH 1/3] sched: Fix nohz_kick_needed to consider the nr_busy of the parent domain's group

2013-10-22 Thread Preeti U Murthy
Hi Peter, On 10/23/2013 03:41 AM, Peter Zijlstra wrote: > On Mon, Oct 21, 2013 at 05:14:42PM +0530, Vaidyanathan Srinivasan wrote: >> kernel/sched/fair.c | 19 +-- >> 1 file changed, 13 insertions(+), 6 deletions(-) >> >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c

RE: [PATCH v2] mmc:sdhci-pci: Add Support of O2Mirco/BayHubTech SD Host

2013-10-22 Thread Peter Guo
Hi Chris, Do you have any comments on this patch? Thanks, Peter.Guo -Original Message- From: Adam Lee [mailto:adam@canonical.com] Sent: Wednesday, October 16, 2013 4:16 PM To: Peter Guo; Chris Ball Cc: Adrian Hunter; Greg Kroah-Hartman; Bill Pemberton; Guennadi Liakhovetski;

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-10-22 Thread Bjorn Helgaas
[+cc Yinghai] On Thu, Oct 17, 2013 at 7:59 AM, Andreas Noever wrote: > On Wed, Oct 16, 2013 at 10:21 PM, Bjorn Helgaas wrote: >> On Tue, Oct 15, 2013 at 03:44:52AM +0100, Matthew Garrett wrote: >>> On Mon, Oct 14, 2013 at 05:50:38PM -0600, Bjorn Helgaas wrote: >>> > [+cc Rafael, Mika, Kirill,

Re: [PATCH v4 2/2] blk-throttle: trim tokens generated for an idle tree

2013-10-22 Thread Hong zhi guo
Hi, Vivek, Sorry I don't have time to test them carefully this week. I'll do it in this weekend. The updating of nr_queued_tree level by level only happens once for each bio. We have already the computing(and maybe queue operation) level by level for every bio, even it's passed through without

RE: [f2fs-dev] [PATCH] f2fs: check all ones or zeros bitmap with integer data type for better mount performance

2013-10-22 Thread Chao Yu
Hi, Kim: > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Tuesday, October 22, 2013 8:24 PM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; 谭姝 > Subject: Re: [f2fs-dev] [PATCH]

[PATCH 2/2] mn10300/PCI: Remove useless pcibios_last_bus

2013-10-22 Thread Bjorn Helgaas
pcibios_last_bus was apparently copied from x86. On mn10300, it is statically initialized to -1 and may be set with the "pci=lastbus=" boot option, but it is never tested. This patch removes everything related to pcibios_last_bus. Signed-off-by: Bjorn Helgaas ---

[PATCH 1/2] frv/PCI: Remove pcibios_last_bus

2013-10-22 Thread Bjorn Helgaas
pcibios_last_bus was apparently copied from x86. On FR-V, it is statically initialized to -1 and never changed unless the user boots with "pci=lastbus=". I doubt that option is used on FR-V, so this patch removes all the code related to pcibios_last_bus. Signed-off-by: Bjorn Helgaas ---

[PATCH 0/2] Remove pcibios_last_bus stuff

2013-10-22 Thread Bjorn Helgaas
pcibios_last_bus is an x86 thing that has gotten copied into mn10300 and FR-V. On mn10300, it is clearly useless because it is set but never tested. On FR-V, I suspect it is also useless, but it is possible that people boot with "pci=lastbus=". Please speak up if you think it should be kept for

[RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-22 Thread Ming Lei
Address of non-module kernel symbol should always be located from CONFIG_PAGE_OFFSET on, so only show these legal kernel symbols in /proc/kallsyms. On ARM, some symbols(see below) may drop in relocatable code, so perf can't parse kernel symbols any more from /proc/kallsyms, this patch fixes the

[BUG] pstore: failed to load 76 record(s) from 'efi'

2013-10-22 Thread Madper Xie
Hi folks, after mount pstore with efi as backend there are only 11 entries in pstore dir. Although I have about 80 pstore entries in my nvram. I can reproduce it 100% on my DELL XPS. And will try it on one more vendor. my kernel version is 3.12-rc4. Please let me know if it's not a

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-22 Thread Chen Gang
On 10/23/2013 10:51 AM, Francois Bedard wrote: > Our sources are on github at > https://github.com/foss-for-synopsys-dwc-arc-processors and you can report > problems by opening "Issues" with command lines and log outputs below against > relevant toolchain component: > > For GCC: >

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-22 Thread Chen Gang
On 10/23/2013 10:48 AM, Joern Rennecke wrote: > On 23 October 2013 03:00, Chen Gang wrote: > >> Binutils (1 issue, ld and as information): >> >> when calling panic(), printk(), or memset() with R_ARC_S21W_PCREL, it may >> be overflow (I guess it need be R_ARC_S25W_PCREL). >> >>

Re: Driver Design Question

2013-10-22 Thread Guenter Roeck
On 10/22/2013 12:02 AM, Johannes Thumshirn wrote: Hi List, I have a design question concerning a device driver. The device in question is somewhere in between drivers/mfd/timberdale and drivers/ssb. It is mapped connected via PCI and on PCI Bar 0 there is a table describing which "sub-devices"

[PATCH] mm: Ensure get_unmapped_area() returns higher address than mmap_min_addr

2013-10-22 Thread Akira Takeuchi
This patch fixes the problem that get_unmapped_area() can return illegal address and result in failing mmap(2) etc. In case that the address higher than PAGE_SIZE is set to /proc/sys/vm/mmap_min_addr, the address lower than mmap_min_addr can be returned by get_unmapped_area(), even if you do not

[PATCH] arc: kernel: remove '__init' for get_hw_config_num_irq()

2013-10-22 Thread Chen Gang
get_hw_config_num_irq() may be called by normal iss_model_init_smp() which is a function pointer for 'init_smp' which may be called by first_lines_of_secondary() which also need be normal too. The related warning (with allmodconfig): MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x5814):

[PATCH] sched: remove extra put_online_cpus() inside sched_setaffinity()

2013-10-22 Thread Michael wang
commit 6acce3ef84520537f8a09a12c9ddbe814a584dd2 sched: Remove get_online_cpus() usage has left one extra put_online_cpus() inside sched_setaffinity(), remove it to fix the WARN: [3165] Watchdog is alive [3159] Started watchdog thread 3165 [ 58.695502] [ cut here

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-22 Thread Lucas De Marchi
Hi Kees, On Thu, Oct 3, 2013 at 6:36 PM, Kees Cook wrote: > On Fri, Oct 04, 2013 at 06:31:42AM +0900, Tetsuo Handa wrote: >> Kees Cook wrote: >> > +static int modpin_load_module(struct file *file) >> > +{ >> > + struct dentry *module_root; >> > + >> > + if (!file) { >> > + if

Re: [PATCH 1/1] x86: boot: support minigzip bzImage compression

2013-10-22 Thread Guenter Roeck
On 10/22/2013 05:26 PM, H. Peter Anvin wrote: Wouldn't it be better to fix gzip than hacking around this in the kernel? Or just change the build system to have /bin/gzip point to minigzip if so desired. I have done the same to replace it with pigz. Debian/Ubuntu provides the

RE: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-22 Thread Francois Bedard
Hi Chen, Our sources are on github at https://github.com/foss-for-synopsys-dwc-arc-processors and you can report problems by opening "Issues" with command lines and log outputs below against relevant toolchain component: For GCC:

Re: [PATCH] x86: intel-mid: add Merrifield platform support

2013-10-22 Thread David Cohen
On 10/22/2013 05:49 PM, Yang, Fei wrote: + if (intel_mid_identify_cpu() == + INTEL_MID_CPU_CHIP_TANGIER) { + if (!strncmp(pentry->name, +

Re: [sched] WARNING: CPU: 0 PID: 3166 at kernel/cpu.c:84 put_online_cpus()

2013-10-22 Thread Michael wang
On 10/23/2013 05:24 AM, Fengguang Wu wrote: [snip] > >> @@ -3716,7 +3716,6 @@ long sched_setaffinity(pid_t pid, const struct cpumask >> *in_mask) >> p = find_process_by_pid(pid); >> if (!p) { >> rcu_read_unlock(); >> -put_online_cpus(); >> return

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-22 Thread Joern Rennecke
On 23 October 2013 03:00, Chen Gang wrote: > Binutils (1 issue, ld and as information): > > when calling panic(), printk(), or memset() with R_ARC_S21W_PCREL, it may > be overflow (I guess it need be R_ARC_S25W_PCREL). > > /usr/local/bin/arc-elf32-ld --build-id -X -o .tmp_vmlinux1 -T >

Re: [PATCH 0/3] mm,vdso: preallocate new vmas

2013-10-22 Thread Davidlohr Bueso
On Tue, 2013-10-22 at 08:48 -0700, wal...@google.com wrote: > On Thu, Oct 17, 2013 at 05:50:35PM -0700, Davidlohr Bueso wrote: > > Linus recently pointed out[1] some of the amount of unnecessary work > > being done with the mmap_sem held. This patchset is a very initial > > approach on reducing

Re: [sched] WARNING: CPU: 0 PID: 3166 at kernel/cpu.c:84 put_online_cpus()

2013-10-22 Thread Michael wang
On 10/23/2013 04:46 AM, Peter Zijlstra wrote: > On Mon, Oct 21, 2013 at 11:28:30AM +0800, Michael wang wrote: >> Hi, Fengguang >> >> On 10/19/2013 08:51 AM, Fengguang Wu wrote: >>> Greetings, >> >> Will this do any helps? >> >> diff --git a/kernel/sched/core.c b/kernel/sched/core.c >> index

Re: [PATCH 11/11] asmlinkage, wan/sbni: Make inline assembler symbols visible and assembler global

2013-10-22 Thread Andi Kleen
> How about scheduling the WAN drivers for removal? Does anybody > actually use them nowadays? Perhaps at least the ISA devices? ISA hardware should be nearing end of live by now. Looking at the git log there doesn't seem to be any real changes, other than tree sweeps or build fixes. But I must

[PATCH] arc: kernel: remove '__init' for first_lines_of_secondary()

2013-10-22 Thread Chen Gang
first_lines_of_secondary() is a '__init' function, but it may be called by __cpu_up() by _cpu_up() by cpu_up() which is a normal export symbol function. So recommend to remove '__init'. The related warning (with allmodconfig): MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x315c): Section

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-22 Thread Dave Young
On 10/22/13 at 01:18pm, Borislav Petkov wrote: > On Mon, Oct 21, 2013 at 11:04:26PM +0800, Dave Young wrote: > > > You need this to map the runtime regions in the kexec kernel, right? > > > Please write that in the commit message. > > > > Yes, will do > > Ok, but but, why doesn't the normal code

Re: How to set fops in "struct platform_pwm_backlight_data"?

2013-10-22 Thread Mark Zhang
On 10/22/2013 08:49 PM, Thierry Reding wrote: > On Tue, Oct 22, 2013 at 04:55:09PM +0800, Mark Zhang wrote: >> On 10/22/2013 03:24 PM, Thierry Reding wrote: >>> On Fri, Oct 18, 2013 at 12:48:12PM +0800, Mark Zhang wrote: >> [...] > Okay, I just want to set the "notify" function

Re: [PATCH 11/11] asmlinkage, wan/sbni: Make inline assembler symbols visible and assembler global

2013-10-22 Thread Florian Fainelli
2013/10/22 Andi Kleen : > On Tue, Oct 22, 2013 at 01:59:28PM -0400, David Miller wrote: >> From: Andi Kleen >> Date: Tue, 22 Oct 2013 09:12:26 -0700 >> >> > From: Andi Kleen >> > >> > - Inline assembler defining C callable code has to be global >> > - The function has to be visible >> > >> > Do

Re: [PATCH 06/11] asmlinkage: Make trace_hardirq visible

2013-10-22 Thread Andi Kleen
> $sub talks about asmlinkage, yet here you insert __visible; 'sup? I use __visible for anything with arguments, because asmlinkage changes the ABI from register to stack on i386. I still used "asmlinkage" as the generic patch group name as that is more descriptive, and "asmlinkage/visible"

[PATCH] arc: include: asm: remove '__init' for setup_processor() and arc_init_IRQ()

2013-10-22 Thread Chen Gang
They haven't '__init' in definition, but has '__init' in declaration. And normal function start_kernel_secondary() may call setup_processor() which will call arc_init_IRQ(). So need remove '__init' for both of them. The related warning (with allmodconfig): MODPOST vmlinux.o WARNING:

Re: [PATCH] net: wan: sbni: remove assembly crc32 code

2013-10-22 Thread Andi Kleen
On Tue, Oct 22, 2013 at 08:36:25PM +0200, Sebastian Andrzej Siewior wrote: > > There is also a C function doing the same thing. Unless the asm code is > 110% faster we could stick to the C function. I have no idea if it is or not. But doing it this way would be acceptable for me. Thanks for the

Re: [PATCH 11/11] asmlinkage, wan/sbni: Make inline assembler symbols visible and assembler global

2013-10-22 Thread Andi Kleen
On Tue, Oct 22, 2013 at 01:59:28PM -0400, David Miller wrote: > From: Andi Kleen > Date: Tue, 22 Oct 2013 09:12:26 -0700 > > > From: Andi Kleen > > > > - Inline assembler defining C callable code has to be global > > - The function has to be visible > > > > Do this in wan/sbni > > > > Cc:

[PATCH] arch: *: remove '__init' for setup_profiling_timer()

2013-10-22 Thread Chen Gang
Most of architectures not use '__init' for setup_profiling_timer(), so need remove it, or can generate warning (e.g. arc with allmodconfig): MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x3c682): Section mismatch in reference from the function write_profile() to the function

Re: [Suggestion] arc: compiler: bug: about an arc compiler's bug which is not in gcc main source code.

2013-10-22 Thread Chen Gang
On 09/23/2013 02:53 PM, Chen Gang wrote: > On 09/23/2013 02:39 PM, Vineet Gupta wrote: >> Hi Chen, >> ... >> >> Jeremy, Claudiu, Joern maintain the gcc and rest of GNU toolchain ports for >> ARC so >> please add them to any future posting on toolchain issues. >> Firstly, sorry for so late to

Re: [PATCH 9/9] backlight: atmel-pwm-bl: use gpio_request_one

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Use devm_gpio_request_one rather than requesting and setting direction > in two calls. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 15

Re: [PATCH 8/9] backlight: atmel-pwm-bl: refactor gpio_on handling

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Add helper function to control the gpio_on signal. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 23 +++ > 1 file changed, 11

Re: [PATCH 7/9] backlight: atmel-pwm-bl: use gpio_is_valid

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Use gpio_is_valid rather than open coding the more restrictive != -1 > test. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 8 > 1 file

Re: [PATCH 6/9] backlight: atmel-pwm-bl: remove unused include

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Remove unused include of clk.h. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 1 - > 1 file changed, 1 deletion(-) -- To unsubscribe from this

Re: [PATCH 4/9] backlight: atmel-pwm-bl: clean up probe error handling

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Clean up probe error handling by checking parameters before any > allocations and removing an obsolete error label. Also remove > unnecessary reset of private gpio number. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han

Re: [PATCH 5/9] backlight: atmel-pwm-bl: clean up get_intensity

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Clean up get_intensity to increase readability. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 13 ++--- > 1 file changed, 6

Re: [PATCH 3/9] backlight: atmel-pwm-bl: fix module autoload

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Add missing module alias which is needed for module autoloading. > > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards, Jingoo Han > --- > drivers/video/backlight/atmel-pwm-bl.c | 1 + > 1 file changed, 1

Re: [PATCH 2/9] backlight: atmel-pwm-bl: fix gpio polarity in remove

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > Make sure to honour gpio polarity also at remove so that the backlight > is actually disabled on boards with active-low enable pin. > > Cc: sta...@vger.kernel.org > Signed-off-by: Johan Hovold Acked-by: Jingoo Han Best regards,

RE: MMC request with REQ_DISCARD option may not release host when it should

2013-10-22 Thread Ray Jui
Hi Seungwon, Thanks for your reply. I'll try my best to find time and submit my patch within the next couple days. Thanks, Ray -Original Message- From: Seungwon Jeon [mailto:tgih@samsung.com] Sent: Tuesday, October 22, 2013 6:03 PM To: Ray Jui; 'Chris Ball' Cc:

Re: [PATCH 1/7] x86, asmlinkage, lguest: Pass in globals into assembler statement

2013-10-22 Thread Rusty Russell
Andi Kleen writes: > From: Andi Kleen > > Tell the compiler that the inline assembler statement > references lguest_entry. > > This fixes compile problems with LTO where the variable > and the assembler code may end up in different files. > > Cc: x...@kernel.org > Cc: ru...@rustcorp.com.au >

Re: [PATCH 2/7] x86, asmlinkage, lguest: Fix C functions used by inline assembler

2013-10-22 Thread Rusty Russell
Andi Kleen writes: > From: Andi Kleen > > - Make the C code used by the paravirt stubs visible > - Since they have to be global now, give them a more unique > name. > > Cc: ru...@rustcorp.com.au > Cc: x...@kernel.org > Signed-off-by: Andi Kleen Acked-by: Rusty Russell Cheers, Rusty. > --- >

Re: [PATCH 07/11] asmlinkage, module: Make ksymtab and kcrctab symbols and __this_module __visible

2013-10-22 Thread Rusty Russell
Andi Kleen writes: > From: Andi Kleen > > Make the ksymtab symbols for EXPORT_SYMBOL visible. > This prevents the LTO compiler from adding a .NUMBER prefix, > which avoids various problems in later export processing. Applied, thanks. Cheers, Rusty. > Cc: ru...@rustcorp.com.au > Signed-off-by:

Re: [PATCH v2 04/13] uprobes: allow arch-specific initialization

2013-10-22 Thread David Long
On 10/19/13 12:42, Oleg Nesterov wrote: On 10/15, David Long wrote: Add a weak function for any architecture-specific initialization. ARM will use this to register the handlers for the undefined instructions it uses to implement uprobes. Could you explain why ARM can't simply do the

Re: [PATCH 1/9] backlight: atmel-pwm-bl: fix reported brightness

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > The driver supports 16-bit brightness values, but the value returned > from get_brightness was truncated to eight bits. > > Cc: sta...@vger.kernel.org > Signed-off-by: Johan Hovold > --- > drivers/video/backlight/atmel-pwm-bl.c |

Re: [PATCH 0/9] backlight: atmel-pwm-bl: fixes and clean ups

2013-10-22 Thread Jingoo Han
On Wednesday, October 23, 2013 2:27 AM, Johan Hovold wrote: > > These patches fix a few issues and clean up the atmel-pwm-bl driver > somewhat. > > Johan > > Johan Hovold (9): > backlight: atmel-pwm-bl: fix reported brightness > backlight: atmel-pwm-bl: fix gpio polarity in remove >

Re: [PATCH v2 11/13] NTB: convert to dmaengine_unmap_data

2013-10-22 Thread Jon Mason
On Tue, Oct 22, 2013 at 06:05:31PM -0700, Dan Williams wrote: > On Tue, Oct 22, 2013 at 4:12 PM, Jon Mason wrote: > > On Tue, Oct 22, 2013 at 02:29:36PM -0700, Dan Williams wrote: > >> On Fri, Oct 18, 2013 at 6:06 PM, Jon Mason wrote: > >> > On Fri, Oct 18, 2013 at 07:35:31PM +0200, Bartlomiej

Re: [PATCH v2 11/13] NTB: convert to dmaengine_unmap_data

2013-10-22 Thread Dan Williams
On Tue, Oct 22, 2013 at 4:12 PM, Jon Mason wrote: > On Tue, Oct 22, 2013 at 02:29:36PM -0700, Dan Williams wrote: >> On Fri, Oct 18, 2013 at 6:06 PM, Jon Mason wrote: >> > On Fri, Oct 18, 2013 at 07:35:31PM +0200, Bartlomiej Zolnierkiewicz wrote: >> >> Use the generic unmap object to unmap dma

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-22 Thread Casey Schaufler
On 10/22/2013 5:02 PM, James Morris wrote: > On Thu, 17 Oct 2013, Casey Schaufler wrote: > >> On 10/17/2013 1:02 AM, James Morris wrote: >>> This seems like a regression in terms of separating mechanism and policy. >>> >>> We have several access control systems available (SELinux, at least)

RE: MMC request with REQ_DISCARD option may not release host when it should

2013-10-22 Thread Seungwon Jeon
Hi Ray, Thank you for information. Your analysis is right. I also noticed same problem. If you'd like to submit patch, not to report, please send it with regular form. Or I could send similar patch I have. Thanks, Seungwon Jeon On Wed, Oct 23, 2013, Ray Jui wrote: Hi Seungwon/Chris, We

Re: allow unlimited audit_backlog_limit [was: Re: [PATCH] audit: don't create audit log when audit_backlog_limit is zero]

2013-10-22 Thread Gao feng
On 10/23/2013 01:59 AM, Richard Guy Briggs wrote: > On Mon, Oct 21, 2013 at 04:01:40PM +0800, Gao feng wrote: >> As the man page of auditctl said: >> " >> -b backlog >> Set max number of outstanding audit buffers allowed (Kernel >> Default=64) >>If all buffers are full,

RE: [PATCH] x86: intel-mid: add Merrifield platform support

2013-10-22 Thread Yang, Fei
+ if (intel_mid_identify_cpu() == + INTEL_MID_CPU_CHIP_TANGIER) { + if (!strncmp(pentry->name, + "r69001-ts-i2c", 13)) +

A thought about IO scheduler in linux kernel for SSD

2013-10-22 Thread 韩磊
Nowadays,the IO schedulers in linux kernel have four types: deadline,noop,Anticiptory and CFQ.CFQ is the default scheduler.But CFQ is not a good scheduler for SSD,dealine may be a good choice. When deadline runs,it has a mount of computation about merging and sorting.Merge has three types:

Re: [3.12-rc] sg_open: leaving the kernel with locks still held!

2013-10-22 Thread Douglas Gilbert
On 13-10-22 04:56 PM, Simon Kirby wrote: Hello! While trying to figure out why the request queue to sda (ext4) was clogging up on one of our btrfs backup boxes, I noticed a megarc process in D state, so enabled locking debugging, and got this (on 3.12-rc6): [ 205.372823]

Re: [RFC PATCH 1/2] devices cgroup: allow can_attach() if ns_capable

2013-10-22 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): > On Tue, Jul 23, 2013 at 2:38 PM, Serge Hallyn wrote: > > This doesn't delegate it into the container. It allows me, on the host, > > to set the cgroup for a container. > > Hmmm? I'm a bit confused. Isn't the description saying that the patch > allows

Re: [PATCH 08/24] md: Convert use of typedef ctl_table to struct ctl_table

2013-10-22 Thread NeilBrown
On Tue, 22 Oct 2013 15:29:51 -0700 Joe Perches wrote: > This typedef is unnecessary and should just be removed. > > Signed-off-by: Joe Perches > --- > drivers/md/md.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/md/md.c b/drivers/md/md.c > index

Re: [PATCH 1/1] x86: boot: support minigzip bzImage compression

2013-10-22 Thread H. Peter Anvin
Wouldn't it be better to fix gzip than hacking around this in the kernel? Andrew Boie wrote: >Android OTA system computes very efficient diffs of compressed files >if the deflate() algorithm it has access to is the same version as >used to create the original file. Here we add support for

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-22 Thread HATAYAMA Daisuke
(2013/10/23 7:08), jerry.hoem...@hp.com wrote: On Wed, Oct 23, 2013 at 12:01:18AM +0900, HATAYAMA Daisuke wrote: This patch set is to allow kdump 2nd kernel to wake up multiple CPUs even if 1st kernel crashs on some AP, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP

[PATCH] block/aio: Enable sysfs nomerge control for I/O requests in the plug list

2013-10-22 Thread Alireza Haghdoost
This patch enables the sysfs to control I/O request merge functionality in the plug list. While this control has been implemented for the request queue, it was dismissed in the plug list. Therefore, block layer merges requests together (or attempt to merge) even if the merge capability was disable

Re: [PATCH v2 03/13] uprobes: allow arch access to xol slot

2013-10-22 Thread David Long
On 10/19/13 12:36, Oleg Nesterov wrote: On 10/15, David Long wrote: Allow arches to customize how the instruction is filled into the xol slot. ARM will use this to insert an undefined instruction after the real instruction in order to simulate a single step of the instruction without hardware

Re: [PATCH] LSM: ModPin LSM for module loading restrictions

2013-10-22 Thread James Morris
On Thu, 17 Oct 2013, Casey Schaufler wrote: > On 10/17/2013 1:02 AM, James Morris wrote: > > This seems like a regression in terms of separating mechanism and policy. > > > > We have several access control systems available (SELinux, at least) which > > can implement this functionality with

Re: [PATCH 00/24] treewide: Convert use of typedef ctl_table to struct ctl_table

2013-10-22 Thread Joe Perches
On Tue, 2013-10-22 at 16:53 -0700, David Daney wrote: > After all this work, why not go ahead and remove the typedef? That way > people won't add more users of this abomination. Hi David. The typedef can't be removed until all the uses are gone. I've sent this before as a single large patch

Re: [PATCH v2 02/13] uprobes: allow ignoring of probe hits

2013-10-22 Thread David Long
On 10/22/13 07:25, Oleg Nesterov wrote: Sorry for top-posting/formatting, Do you mean arch_uprobe_skip_sstep() ? Yes, this __weak is wrong, already fixed in my tree. See http://marc.info/?l=linux-mips=138132052022388=2 That was one I was looking at, but it seemed to me a general opportunity

perf events ring buffer memory barrier on powerpc

2013-10-22 Thread Michael Neuling
Frederic, In the perf ring buffer code we have this in perf_output_get_handle(): if (!local_dec_and_test(>nest)) goto out; /* * Publish the known good head. Rely on the full barrier implied * by atomic_dec_and_test() order the rb->head read and

Re: [PATCH 00/24] treewide: Convert use of typedef ctl_table to struct ctl_table

2013-10-22 Thread David Daney
On 10/22/2013 03:29 PM, Joe Perches wrote: Joe Perches (24): arm: Convert use of typedef ctl_table to struct ctl_table ia64: Convert use of typedef ctl_table to struct ctl_table s390: Convert use of typedef ctl_table to struct ctl_table tile: Convert use of typedef ctl_table to

Re: [PATCH 0/4] drivers/misc: add rawio framework and drivers

2013-10-22 Thread Greg Kroah-Hartman
On Tue, Oct 22, 2013 at 11:19:30AM -0700, Bin Gao wrote: > On Tue, Oct 22, 2013 at 06:44:06AM +0100, Greg Kroah-Hartman wrote: > > So, just because userspace is "hard" you want to add stuff to the kernel > > instead. > > > Well, there are other reasons - "hard" is just one of them. > For

Re: [PATCH 0/4] drivers/misc: add rawio framework and drivers

2013-10-22 Thread Greg Kroah-Hartman
On Tue, Oct 22, 2013 at 11:50:04AM -0700, Bin Gao wrote: > On Tue, Oct 22, 2013 at 10:14:00AM -0700, Guenter Roeck wrote: > > > > > > You can already do this today for PCI with the UIO framework, right? > > > Why duplicate that functionality here with another userapce API that we > > > will then

RE: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

2013-10-22 Thread Sherman Yin
> +static const struct capri_cfg_param capri_pinconf_params[] = { > + {"brcm,hysteresis", CAPRI_PINCONF_PARAM_HYST}, > + {"brcm,pull", CAPRI_PINCONF_PARAM_PULL}, > + {"brcm,slew", CAPRI_PINCONF_PARAM_SLEW}, > + {"brcm,input_dis",

[PATCH] x86: intel-mid: add Merrifield platform support

2013-10-22 Thread David Cohen
This code was partially based on Mark Brown's previous work. Signed-off-by: David Cohen Signed-off-by: Fei Yang Cc: Mark F. Brown Cc: Kuppuswamy Sathyanarayanan --- This patch should be applied right after the following one already submitted: - [PATCH 3/3] x86: intel-mid: add Clovertrail

Re: [PATCH 2/2] intel_microcode, Fix long microcode load time when firmware file is missing

2013-10-22 Thread Prarit Bhargava
On 10/21/2013 10:43 PM, Ming Lei wrote: > On Mon, Oct 21, 2013 at 10:25 PM, Prarit Bhargava wrote: >> >> >> On 10/21/2013 08:32 AM, Ming Lei wrote: >>> On Mon, Oct 21, 2013 at 8:26 PM, Prarit Bhargava wrote: > > And why don't you pass FW_ACTION_HOTPLUG? and you are sure > that udev

Re: [PATCH 1/2] firmware, fix request_firmware_nowait() freeze with no uevent

2013-10-22 Thread Prarit Bhargava
On 10/21/2013 10:35 PM, Ming Lei wrote: > On Tue, Oct 22, 2013 at 6:24 AM, Prarit Bhargava wrote: >> >> >> On 10/21/2013 08:24 AM, Ming Lei wrote: >>> On Mon, Oct 21, 2013 at 5:35 AM, Prarit Bhargava wrote: If request_firmware_nowait() is called with uevent == NULL, the firmware

Re: [PATCH v2 11/13] NTB: convert to dmaengine_unmap_data

2013-10-22 Thread Jon Mason
On Tue, Oct 22, 2013 at 02:29:36PM -0700, Dan Williams wrote: > On Fri, Oct 18, 2013 at 6:06 PM, Jon Mason wrote: > > On Fri, Oct 18, 2013 at 07:35:31PM +0200, Bartlomiej Zolnierkiewicz wrote: > >> Use the generic unmap object to unmap dma buffers. > >> > >> As NTB can be compiled without

[GIT PULL] tip/timers/core: Hopefully last few timekeeping changes for 3.13

2013-10-22 Thread John Stultz
Hey Thomas, Ingo, Here are a few last timekeeping changes I've got queued for 3.13, for tip/timers/core. This includes: * An improved ssize_t fix for sysfs_get_uname * Alarmtimer return fix, since ENOTSUPP isn't exported to userland * Comment typo fixes Let me know if you have any

Re: [PATCH v2 13/13] dmaengine: remove DMA unmap flags

2013-10-22 Thread Jon Mason
On Tue, Oct 22, 2013 at 02:08:34PM -0700, Dan Williams wrote: > From: Bartlomiej Zolnierkiewicz > > Remove no longer needed DMA unmap flags: > - DMA_COMPL_SKIP_SRC_UNMAP > - DMA_COMPL_SKIP_DEST_UNMAP > - DMA_COMPL_SRC_UNMAP_SINGLE > - DMA_COMPL_DEST_UNMAP_SINGLE > > Cc: Viresh Kumar > Cc:

Re: [PATCH 2/2] mrst_max3110: fix SPI UART interrupt parameters

2013-10-22 Thread David Cohen
On 10/22/2013 01:30 PM, David Cohen wrote: On 10/22/2013 12:46 PM, Alexander Shiyan wrote: The change in the max3110 driver makes the IRQ handling threaded, now the handler is called only once per received character. Without that change, we had many (more than 100) interrupts per one received

[PATCH 01/14] DTS: ARM: OMAP3-N900: Add pinctrl for i2c devices

2013-10-22 Thread Sebastian Reichel
Add pin muxing support for the Nokia N900 i2c controllers. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index

  1   2   3   4   5   6   7   8   9   10   >