Re: [RFC][PATCH 00/13] percpu rwsem -v2

2015-07-19 Thread Daniel Wagner
On 07/02/2015 11:41 AM, Peter Zijlstra wrote: > On Wed, Jul 01, 2015 at 02:54:59PM -0700, Linus Torvalds wrote: >> On Tue, Jun 30, 2015 at 10:57 PM, Daniel Wagner wrote: >>> >>> And an attempt at visualization: >>> >>> http://monom.org/posix01/sweep-4.1.0-02756-ge3d06bd.png >>>

Re: [PATCH V2 2/2] staging: rtl8188eu: core: Use tabs for indentation

2015-07-19 Thread Sudip Mukherjee
On Sat, Jul 18, 2015 at 11:59:34AM +0200, Guillaume Bienkowski wrote: > Signed-off-by: Guillaume Bienkowski > --- > drivers/staging/rtl8188eu/core/rtw_mlme_ext.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8188eu/core/rtw_mlme_ext.c >

Re: Re: [RFC PATCH perf/core v2 00/16] perf-probe --cache and SDT support

2015-07-19 Thread Brendan Gregg
G'Day Masami-san, Namhyung, I'm really looking forward to this feature -- very useful, thanks!... On Sat, Jul 18, 2015 at 9:24 PM, Namhyung Kim wrote: > Hi Masami, > > On Fri, Jul 17, 2015 at 12:21:42PM +0900, Masami Hiramatsu wrote: >> Now I'm thinking that we should avoid using %event syntax

Re: [PATCH] rfkill-gpio: Add support for the Realtek 8723 BT

2015-07-19 Thread Kalle Valo
Johannes Berg writes: > And while at it, please use links that include the message-id (e.g. > mid.gmane.org) so it's searchable even if the archive disappears. BTW, I recently found out that kernel.org has a this type of service as well. From https://lkml.kernel.org/: http://lkml.kernel.org/r/

Re: [PATCH 5/6] staging: rtl8188eu: stop using DBG_88E

2015-07-19 Thread Sudip Mukherjee
On Sat, Jul 18, 2015 at 08:03:27PM +0200, Jakub Sitnicki wrote: > On Sat, Jul 18, 2015 at 06:46 AM CEST, Sudip Mukherjee > wrote: > > On Fri, Jul 17, 2015 at 05:33:55PM +0200, Jakub Sitnicki wrote: > >> On Thu, Jul 16, 2015 at 01:28 PM CEST, Sudip Mukherjee > >> wrote: > >> > Stop using

linux-next: Tree for Jul 20

2015-07-19 Thread Stephen Rothwell
Hi all, Changes since 20150717: The cris tree gained a conflict against Linus' tree. The sound-asoc tree still had its build failure for which I applied a patch. I applied 2 patches to the regmap merge for warnings from an API change. The akpm-current tree gained a conflict against Linus'

Re: [PATCH] acpi-cpufreq: Add a miss ifdef CONFIG_X86_ACPI_CPUFREQ_CPB

2015-07-19 Thread Pan Xinhui
hi, Rafael thanks for your reply :) On 2015年07月18日 08:34, Rafael J. Wysocki wrote: > On Tuesday, July 14, 2015 10:52:35 AM Pan Xinhui wrote: >> hi, Rafael, >> let me do more explanation :) >> >> On 2015年07月14日 10:09, Pan Xinhui wrote: >>> hi, Rafael, >>> thanks for you reply :)

Re: [Patch V4 0/3] xen, usb: support pvUSB frontend driver

2015-07-19 Thread Juergen Gross
Ping? On 06/23/2015 08:53 AM, Juergen Gross wrote: This series adds XEN guest pvUSB support. With pvUSB it is possible to use physical USB devices from a XEN domain. The support consists of a frontend in form of a virtual hcd driver in the unprivileged domU passing I/O-requests to the backend

Re: [PATCH] ocfs2: add feature document for online file check

2015-07-19 Thread Gang He
Hello Andrew/Mark/Goldwyn, The doc describes OCFS2 online file check feature, which is added by the last suggestion when I submitted a few online file check code patches. Online file check patches link: https://oss.oracle.com/pipermail/ocfs2-devel/2015-June/010886.html

[PATCH v2 1/1] merge_config.sh: exit on missing input files

2015-07-19 Thread Sam Bobroff
Add a check for the existence of input files and exit (with failure) if they are missing. Without this additional check, missing files produce error messages but still result in an output file being generated and a successful exit code. Signed-off-by: Sam Bobroff --- The current behaviour (of

[PATCH] ocfs2: add feature document for online file check

2015-07-19 Thread Gang He
This document will describe OCFS2 online file check feature. OCFS2 is often used in high-availaibility systems. However, OCFS2 usually converts the filesystem to read-only on errors. This may not be necessary, since turning the filesystem read-only would affect other running processes as well,

[PATCH] Fix compiling error once merge define-kallsyms_cmp_symbol_t-as-function-type-to-simplify-the-code

2015-07-19 Thread Minfei Huang
Code will fail to be compiled, once it is merged the patch 5ed0a999616a050af1268a99cc442fd0824a2b07(Define kallsyms_cmp_symbol_t as function type to simplify the code). The root cause which fails to compile is I included the linux/module.h head file to linux/kallsyms.h. Now I write the patch to

[PATCH v2 2/2] ARM: dts: AM437x-gp-evm: Add wakeup interrupt source for pixcir_i2c_tsc

2015-07-19 Thread Vignesh R
Pixcir_i2c_tsc driver can now wakeup the system from lower power state via pinctrl and IO daisy chain using generic wakeirq framwework. Add optional wakeup irq entry to allow pixcir_i2c_tsc to wake system from low power state. Signed-off-by: Vignesh R --- v2: * Add interrupt-names property

[PATCH v2 0/2] pixcir_i2c_ts: Add optional wakeup irq support

2015-07-19 Thread Vignesh R
On am437x-gp-evm, pixcir_i2c_tsc can wake-up system from low power state via pinctrl and IO daisy chain mechanism. This patch series add support for such optional wake up interrupt to be handled via recently introduced generic wake irq handling framework. Tested on am437x-gp-evm, with some out

[PATCH v2 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-19 Thread Vignesh R
On am437x-gp-evm, pixcir touchscreen can wake the system from low power state by generating wake-up interrupt via pinctrl and IO daisy chain. Add support for optional wakeup interrupt source by regsitering to automated wake IRQ framework introduced by commit 4990d4fe327b ("PM / Wakeirq: Add

Re: [PATCH 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-19 Thread Vignesh R
Hi Dmitry, On 7/18/2015 3:21 AM, Dmitry Torokhov wrote: > Hi Vignesh, > > On Fri, Jul 17, 2015 at 12:10:40PM +0530, Vignesh R wrote: >> On am437x-gp-evm, pixcir touchscreen can wake the system from low power >> state by generating wake-up interrupt via pinctrl and IO daisy chain. >> Add support

Re: [RFC PATCH perf/core v2 14/16] perf probe: Add group name support

2015-07-19 Thread Masami Hiramatsu
On 2015/07/19 19:16, Namhyung Kim wrote: > On Wed, Jul 15, 2015 at 06:15:30PM +0900, Masami Hiramatsu wrote: >> Allow user to set group name for adding new event. >> Note that this can easily shot yourself in the foot. >> E.g. Existing group name can conflict with other events. >> Especially,

Re: [PATCH v3] sched: modify how to compute a slice and check a preemptability

2015-07-19 Thread Byungchul Park
On Mon, Jul 20, 2015 at 05:42:38AM +0200, Mike Galbraith wrote: > On Mon, 2015-07-20 at 09:34 +0900, Byungchul Park wrote: > > > yes, i also think that a preemption granularity has little meaning, atually > > because of tick granularity. > > See HR_TICK. It's not cheap though, why it's default

[PATCH v3 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-19 Thread Pintu Kumar
This patch provides 2 things: 1. Add new control called shrink_memory in /proc/sys/vm/. This control can be used to aggressively reclaim memory system-wide in one shot from the user space. A value of 1 will instruct the kernel to reclaim as much as totalram_pages in the system. Example: echo 1 >

linux-next: manual merge of the akpm-current tree with Linus' tree

2015-07-19 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: arch/x86/Kconfig between commit: 5aaeb5c01c5b ("x86/fpu, sched: Introduce CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT and use it on x86") from Linus' tree and commit: caf50fadb4de ("mm: send one IPI per CPU to

Re: [RFC 1/3] compiler.h: enable builtin overflow checkers and add fallback code

2015-07-19 Thread Sasha Levin
On 07/19/2015 07:17 PM, Rasmus Villemoes wrote: > Last year, Sasha Levin suggested adding wrappers for the > __builtin_*_overflow functions introduced with gcc 5.1 (based on > similar, but type-specific, functions in clang). This is another > attempt at providing such wrappers and fallback code

Re: linux-next: build failure after merge of the sound-asoc tree

2015-07-19 Thread Stephen Rothwell
Hi all, On Fri, 17 Jul 2015 14:25:01 +1000 Stephen Rothwell wrote: > > After merging the sound-asoc tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend': > sound/soc/sti/sti_uniperif.c:81:2: error:

Re: [PATCH v3] sched: modify how to compute a slice and check a preemptability

2015-07-19 Thread Mike Galbraith
On Mon, 2015-07-20 at 09:34 +0900, Byungchul Park wrote: > yes, i also think that a preemption granularity has little meaning, atually > because of tick granularity. See HR_TICK. It's not cheap though, why it's default off. -Mike -- To unsubscribe from this list: send the line

Re: [PATCH] x86/mm/pat: let level meaningful even NULL return in, lookup_address_in_pgd

2015-07-19 Thread Pan Xinhui
hi, tglx thanks for your reply. On 2015年07月17日 22:50, Thomas Gleixner wrote: > On Tue, 14 Jul 2015, Pan Xinhui wrote: >> If pmd or pud is not set, we may set a wrong page mapping level. > > No. The behaviour is simply undefined, if the return value of the > function is NULL. > > So what

Re: [PATCH 4.1 00/65] 4.1.3-stable review

2015-07-19 Thread Guenter Roeck
On 07/19/2015 12:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.3 release. There are 65 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. Responses should be

Re: [RFC PATCH perf/core v2 15/16] perf buildid-cache: Scan and import user SDT events to probe cache

2015-07-19 Thread Masami Hiramatsu
On 2015/07/19 19:46, Namhyung Kim wrote: > On Wed, Jul 15, 2015 at 06:15:37PM +0900, Masami Hiramatsu wrote: >> perf buildid-cache --add scans given binary and add >> the SDT events to probe cache. It is possible to use the cached >> SDT events as other cached events (perf probe :=). > > That

Re: [PATCH 4.0 00/58] 4.0.9-stable review

2015-07-19 Thread Guenter Roeck
On 07/19/2015 12:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.0.9 release. There are 58 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. Responses should be

Re: Re: [RFC PATCH perf/core v2 16/16] perf probe: Accept %sdt and %cached event name

2015-07-19 Thread Masami Hiramatsu
On 2015/07/19 19:53, Namhyung Kim wrote: > On Wed, Jul 15, 2015 at 06:15:44PM +0900, Masami Hiramatsu wrote: >> To improbe usability, support %[PROVIDER:]SDTEVENT format to >> add new probes on SDT and cached events. > > Ah, you meant we can skip the provider if the event name is unique.. Right,

Re: linux-next: Tree for Jul 17

2015-07-19 Thread Stephen Rothwell
Hi Paul, On Sat, 18 Jul 2015 15:41:51 -0400 Paul Gortmaker wrote: > > I noticed there are a bunch of new (appeared in the last day or two) > fails spread around, so I did a triage/bisect of them so we have a > better idea of what is going on as we start the week. Thanks for this. Lets hope

Re: [PATCH v3 07/11] usb: otg: add OTG core

2015-07-19 Thread Peter Chen
On Fri, Jul 17, 2015 at 03:06:18PM +0300, Roger Quadros wrote: > >> + > >> +/** > >> + * OTG FSM ops function to start/stop host > >> + */ > >> +static int usb_otg_start_host(struct otg_fsm *fsm, int on) > >> +{ > >> + struct otg_data *otgd = container_of(fsm, struct otg_data, fsm); > >> +

Re: [PATCH] cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-07-19 Thread Ian Munsie
Acked-by: Ian Munsie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] cxl: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-07-19 Thread Michael Neuling
On Sun, 2015-07-19 at 22:53 +0530, Vaishali Thakkar wrote: > Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use > struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with > the goal of getting rid of this macro completely. > > The Coccinelle semantic patch that performs this

Re: [PATCH v4 09/19] drivers: base: Add MSI domain support for non-PCI devices

2015-07-19 Thread majun (F)
在 2015/7/15 20:16, Marc Zyngier 写道: > With the msi_list and the msi_domain properties now being at the > generic device level, it is starting to be relatively easy to offer > a generic way of providing non-PCI MSIs. > [...] > diff --git a/include/linux/msi.h b/include/linux/msi.h > index

[PATCH] arm64: Minor refactoring of cpu_switch_to() to fix build breakage

2015-07-19 Thread Olof Johansson
Commit 0c8c0f03e3a2 ("x86/fpu, sched: Dynamically allocate 'struct fpu'") moved the thread_struct to the bottom of task_struct. As a result, the offset is now too large to be used in an immediate add on arm64 with some kernel configs: arch/arm64/kernel/entry.S: Assembler messages:

Re: [PATCH v3 10/11] usb: otg: Add dual-role device (DRD) support

2015-07-19 Thread Peter Chen
On Fri, Jul 17, 2015 at 01:47:12PM +0300, Roger Quadros wrote: > >> + * DRD mode hardware Inputs > >> + * > >> + * @id: TRUE for B-device, FALSE for A-device. > >> + * @vbus: VBUS voltage in regulation. > >> + * > >> * OTG hardware Inputs > >> * > >> *Common inputs for A

[netfilter] INFO: task kworker/u2:0:6 blocked for more than 120 seconds.

2015-07-19 Thread Fengguang Wu
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs-next.git master commit 085db2c04557d31db61541f361bd8b4de92c9939 Author: Eric W. Biederman AuthorDate: Fri Jul 10 18:15:06 2015 -0500 Commit:

[PATCH 1/5] Drivers: hv: vmbus: Improve the CPU affiliation for channels

2015-07-19 Thread K. Y. Srinivasan
The current code tracks the assigned CPUs within a NUMA node in the context of the primary channel. So, if we have a VM with a single NUMA node with 8 VCPUs, we may end up unevenly distributing the channel load. Fix the issue by tracking affiliations globally. Signed-off-by: K. Y. Srinivasan

[PATCH 4/5] drivers/hv: Migrate to new 'set-state' interface

2015-07-19 Thread K. Y. Srinivasan
From: Viresh Kumar Migrate hv driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: "K. Y. Srinivasan"

[PATCH 2/5] Drivers: hv: vmbus: Further improve CPU affiliation logic

2015-07-19 Thread K. Y. Srinivasan
From: Dexuan Cui Keep track of CPU affiliations of sub-channels within the scope of the primary channel. This will allow us to better distribute the load amongst available CPUs. Signed-off-by: Dexuan Cui Signed-off-by: K. Y. Srinivasan --- drivers/hv/channel_mgmt.c | 20

[PATCH 3/5] Drivers: hv_vmbus: Fix signal to host condition

2015-07-19 Thread K. Y. Srinivasan
From: Christopher Oo Fixes a bug where previously hv_ringbuffer_read would pass in the old number of bytes available to read instead of the expected old read index when calculating when to signal to the host that the ringbuffer is empty. Since the previous write size is already saved, also

[PATCH 5/5] Drivers: hv: vmbus: Implement a clocksource based on the TSC page

2015-07-19 Thread K. Y. Srinivasan
The current Hyper-V clock source is based on the per-partition reference counter and this counter is being accessed via s synthetic MSR - HV_X64_MSR_TIME_REF_COUNT. Hyper-V has a more efficient way of computing the per-partition reference counter value that does not involve reading a synthetic

[PATCH 0/5] Drivers: hv: vmbus: Miscellaneous improvements and fixes

2015-07-19 Thread K. Y. Srinivasan
In addition to a bug fix and some improvements to the way we distribute channel load amongst available CPUs, this patch set also includes an implementation of a clocksource based on the TSC page that Hyper-V supports. Christopher Oo (1): Drivers: hv_vmbus: Fix signal to host condition Dexuan

Re: [PATCH 1/2] mfd: Fixup clients of multi_reg_write/register_patch

2015-07-19 Thread Stephen Rothwell
Hi Nariman, On Fri, 17 Jul 2015 15:09:26 +0100 Nariman Poushin wrote: > > Introduced by: > commit 8019ff6cfc04 > ("regmap: Use reg_sequence for multi_reg_write / register_patch") > > Interacting with: > commit 561629755a21 ("mfd: arizona: Add support for WM8998 and WM1814") > commit

Re: [PATCH] iommu-common: Do not use 64 bit constant 0xffffffffffffffffl for computing align_mask

2015-07-19 Thread Guenter Roeck
On 07/19/2015 01:25 PM, Rasmus Villemoes wrote: On Sun, Jul 19 2015, Guenter Roeck wrote: On Sun, Jul 19, 2015 at 02:20:14PM +0200, Sowmini Varadhan wrote: Using a 64 bit constant generates "warning: integer constant is too large for 'long' type" on 32 bit platforms. Instead use ~0l to get

#Thank You

2015-07-19 Thread Mr. Mi T R
We were mandated to seek the heir to an investor, I believe you are the heir, reply to this message with your full name and age,cell for comprehensive details. Mr. Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: Kernel Oops: btusb: 4.2rc1 System lockup with BT dongle insert - log attached

2015-07-19 Thread simon
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6f957724b94cb19f5c1c97efd01dd4df8ced323c >> > > Certainly looks like a plausible solution, will build kernel tonight to > confirm. Just to confirm; 4.2rc1 + above patch, and 4.2rc2 both function correctly and I no

Re: [PATCH 1/2] ACPI / processor: Drop an unused argument of a cleanup routine

2015-07-19 Thread Pan Xinhui
hi, Rafael thanks for your nice work :) On 2015年07月18日 09:14, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > acpi_processor_unregister_performance() actually doesn't use its > first argument, so drop it and update the callers accordingly. > > Signed-off-by: Rafael J. Wysocki >

[PATCH v2 2/2] thermal: devfreq_cooling: Add generic devfreq cooling device implementaion

2015-07-19 Thread Chanwoo Choi
This patch add the generi devfreq cooling device for generic thermal framework. The devfreq devices are used ad cooling device to reduce the overheating temperature. This patch is based on drivers/thermal/cpu_cooling.c. The devfreq cooling device can change the ragne of the frequency table of

[PATCH v2 1/2] PM: devfreq: Add the prototype of update_devfreq() to export

2015-07-19 Thread Chanwoo Choi
This patch add simply the protoptye of update_devfreq() to devfreq.h header file to export it. The some device driver (e.g., thermal cooling device) may use the update_devfreq() to update the range of supported frequency of devfreq device. Cc: MyungJoo Ham Cc: Kyungmin Park Signed-off-by:

[PATCH v2 0/2] thermal: Add generic devfreq cooling device

2015-07-19 Thread Chanwoo Choi
This patchset introduce the generic devfreq cooling device for generic thermal framework. The devfreq devices are used ad cooling device to reduce the overheating temperature. This patch is based on drivers/thermal/cpu_cooling.c. The devfreq cooling device can change the ragne of the frequency

[PATCH 1/7] x86/vm86: Clean up saved_fs/gs

2015-07-19 Thread Brian Gerst
There is no need to save FS and non-lazy GS outside the 32-bit regs. Lazy GS still needs to be saved because it wasn't saved on syscall entry. Save it in the gs slot of regs32, which is present but unused. Signed-off-by: Brian Gerst --- arch/x86/include/asm/processor.h | 2 --

[PATCH 4/7] x86/vm86: Move vm86 fields out of thread_struct

2015-07-19 Thread Brian Gerst
Allocate a separate structure for the vm86 fields. Signed-off-by: Brian Gerst --- arch/x86/include/asm/processor.h | 9 ++-- arch/x86/include/asm/vm86.h | 8 +++ arch/x86/kernel/process.c| 7 ++ arch/x86/kernel/vm86_32.c| 47

[PATCH 2/7] x86/vm86: Preserve orig_ax

2015-07-19 Thread Brian Gerst
There is no legitimate reason for usermode to modify the orig_ax field on entry to vm86 mode, so copy it from the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/kernel/vm86_32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/vm86_32.c b/arch/x86/kernel/vm86_32.c

[PATCH 3/7] x86/vm86: Move userspace accesses to do_sys_vm86()

2015-07-19 Thread Brian Gerst
Move the userspace accesses down into the common function in preparation for the next set of patches. Also change to copying the fields explicitly instead of assuming a fixed order in pt_regs and the kernel data structures. Signed-off-by: Brian Gerst --- arch/x86/include/asm/processor.h | 2

[PATCH 7/7] x86/vm86: Use the normal pt_regs area for vm86

2015-07-19 Thread Brian Gerst
Change to use the normal pt_regs area to enter and exit vm86 mode. This is done by increasing the padding at the top of the stack to make room for the extra vm86 segment slots in the IRET frame. It then saves the 32-bit regs in the off-stack vm86 data, and copies in the vm86 regs. Exiting back

[PATCH 6/7] x86/vm86: Eliminate kernel_vm86_struct

2015-07-19 Thread Brian Gerst
Now there is no vm86-specific data left on the kernel stack while in userspace, except for the 32-bit regs. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 25 +--- arch/x86/kernel/vm86_32.c | 93 +++-- 2 files changed, 41

[PATCH 5/7] x86/vm86: Move fields from kernel_vm86_struct

2015-07-19 Thread Brian Gerst
Move the non-regs fields to the off-stack data. Signed-off-by: Brian Gerst --- arch/x86/include/asm/vm86.h | 16 arch/x86/kernel/vm86_32.c | 42 ++ 2 files changed, 30 insertions(+), 28 deletions(-) diff --git

[PATCH v3] x86: vm86 cleanups

2015-07-19 Thread Brian Gerst
The goal of this set of patches is to change vm86 support to return to userspace with the normal exit paths instead of leaving data on the kernel stack and jumping directly into the exit asm routines. This fixes issues like ptrace and syscall auditing not working with vm86, and makes possible

Problem With Your Stripe Account

2015-07-19 Thread Fields, Hope D
[http://blogs-images.forbes.com/tomiogeron/files/2012/10/Stripe-logo.jpeg] Hello, Thank you for being a valued Stripe User! According to our records, Your Stripe Account Needs to be updated for security reasons. To ensure that your membership and additional services continue without

[PATCH] kbuild: Fix .text.unlikely placement

2015-07-19 Thread Andi Kleen
From: Andi Kleen When building a kernel with .text.unlikely text the unlikely text for each translation unit was put next to the main .text code in the final vmlinux. The problem is that the linker doesn't allow more specific submatches of a section name in a different linker script statement

Re: [PATCH v3] sched: modify how to compute a slice and check a preemptability

2015-07-19 Thread Byungchul Park
On Sun, Jul 19, 2015 at 01:57:14PM +0200, Mike Galbraith wrote: > On Sun, 2015-07-19 at 18:11 +0900, byungchul.p...@lge.com wrote: > > > @@ -3226,6 +3226,12 @@ check_preempt_tick(struct cfs_rq *cfs_rq, struct > > sched_entity *curr) > > struct sched_entity *se; > > s64 delta; > > > > +

[PATCH 02/10] mm, x86: Remove region_is_ram() call from ioremap

2015-07-19 Thread Dan Williams
From: Toshi Kani __ioremap_caller() calls region_is_ram() to walk through the iomem_resource table to check if a target range is in RAM, which was added to improve the lookup performance over page_is_ram() (commit 906e36c5c717 "x86: use optimized ioresource lookup in ioremap function").

[PATCH 10/10] pmem: convert to generic memremap

2015-07-19 Thread Dan Williams
Update memremap_pmem() to query the architecture for the mapping type of the given persistent memory range and then pass those flags to generic memremap(). arch_memremap_pmem_flags() is provided an address range to evaluate in the event an arch has a need for different mapping types by address

[PATCH 09/10] arch: introduce memremap()

2015-07-19 Thread Dan Williams
Existing users of ioremap_cache() are mapping memory that is known in advance to not have i/o side effects. These users are forced to cast away the __iomem annotation, or otherwise neglect to fix the sparse errors thrown when dereferencing pointers to this memory. Provide memremap() as a non

[PATCH 03/10] mm: Fix bugs in region_is_ram()

2015-07-19 Thread Dan Williams
From: Toshi Kani region_is_ram() looks up the iomem_resource table to check if a target range is in RAM. However, it always returns with -1 due to invalid range checks. It always breaks the loop at the first entry of the table. Another issue is that it compares p->flags and flags, but it

[PATCH 08/10] arch: introduce strict_ioremap

2015-07-19 Thread Dan Williams
In preparation for enabling memremap(), add support for strict mappings. strict_ioremap_() returns NULL if the arch does not implement the mapping type, rather than falling back silently to ioremap(). Signed-off-by: Dan Williams --- include/linux/io.h | 21 + 1 file

[PATCH 04/10] arch, drivers: don't include directly, use instead

2015-07-19 Thread Dan Williams
Preparation for uniform definition of ioremap, ioremap_wc, ioremap_wt, and ioremap_cache, tree-wide. Acked-by: Christoph Hellwig Signed-off-by: Dan Williams --- arch/arm/mach-shmobile/pm-rcar.c|2 +- arch/ia64/kernel/cyclone.c |2 +- drivers/isdn/icn/icn.h

[PATCH 05/10] arch: unify ioremap prototypes and macro aliases

2015-07-19 Thread Dan Williams
Some archs define the first parameter to ioremap() as unsigned long, while the balance define it as resource_size_t, similar confusion exists for the type of the 'size' parameter. Unify on (resource_size_t, unsigned long) to enable passing ioremap function pointers. Also, some archs use

[PATCH 06/10] cleanup IORESOURCE_CACHEABLE vs ioremap()

2015-07-19 Thread Dan Williams
Quoting Arnd: I was thinking the opposite approach and basically removing all uses of IORESOURCE_CACHEABLE from the kernel. There are only a handful of them.and we can probably replace them all with hardcoded ioremap_cached() calls in the cases they are actually useful. All

[PATCH 07/10] devm: fix ioremap_cache() usage

2015-07-19 Thread Dan Williams
Provide devm_ioremap_cache() and fix up devm_ioremap_resource() to actually provide cacheable mappings. On archs that implement ioremap_cache() devm_ioremap_resource() is always silently falling back to uncached when IORESOURCE_CACHEABLE is specified. Cc: Toshi Kani Cc: Arnd Bergmann

Re: [PATCH v6 1/3] clk: samsung: exynos3250: Add cpu clock configuration data and instaniate cpu clock

2015-07-19 Thread Chanwoo Choi
Hi Sylwester, Please review this patch. Best Regards, Chanwoo Choi On 07/16/2015 04:46 PM, Krzysztof Kozlowski wrote: > 2015-07-02 9:42 GMT+09:00 Chanwoo Choi : >> This patch add CPU clock configuration data and instantiate the CPU clock >> type >> for Exynos3250 to support Samsung specific

[PATCH 01/10] mm, x86: Fix warning in ioremap RAM check

2015-07-19 Thread Dan Williams
From: Toshi Kani __ioremap_caller() calls __ioremap_check_ram() through walk_system_ram_range() to check if a target range is in RAM. __ioremap_check_ram() has WARN_ONCE() in a wrong place where it warns when the given range is not RAM. This misplaced warning is not exposed since

[PATCH 00/10] unify ioremap definitions and introduce memremap

2015-07-19 Thread Dan Williams
While developing the pmem driver it became clear that not all architectures implement all the various ioremap types, and when they do implement an ioremap instance the declaration is inconsistent. In addition to ioremap prototype confusion, it was also noticed that several usages of

Re: [PATCH v3] sched: modify how to compute a slice and check a preemptability

2015-07-19 Thread Byungchul Park
On Sun, Jul 19, 2015 at 01:15:09PM +0200, Peter Zijlstra wrote: > On Sun, Jul 19, 2015 at 06:11:00PM +0900, byungchul.p...@lge.com wrote: > > doesn't it make sense? > > No, people have already given you all kinds of reasons why this isn't a i feel sorry. but all kinds?. i got only a reason, that

linux-next: manual merge of the cris tree with Linus' tree

2015-07-19 Thread Stephen Rothwell
Hi Jesper, Today's linux-next merge of the cris tree got a conflict in: arch/cris/include/asm/Kbuild between commits: c546d5db75b4 ("remove scatterlist.h generation from arch Kbuild files") f2abeef9fd6f ("mm: clean up per architecture MM hook header files") from Linus' tree and commit:

Re: [PATCH] iio: mcp320x: Fix NULL pointer dereference

2015-07-19 Thread Michael Welling
On Sun, Jul 19, 2015 at 02:00:24PM +0100, Jonathan Cameron wrote: > Applied to the fixes-togreg branch of iio.git > > Michael, there are moves afoot to clarify the meaning of reviewed-by > as covering only more substantial reviews (kind of tricky on a one liner > like this!) Hence for similar

[RFC 2/3] lib: add runtime test of check_*_overflow functions

2015-07-19 Thread Rasmus Villemoes
This adds a small module for testing that the check_*_overflow functions work as expected, whether implemented in C or using gcc builtins. Signed-off-by: Rasmus Villemoes --- lib/Kconfig.debug | 3 + lib/Makefile| 1 + lib/test_overflow.c | 277

[RFC 1/3] compiler.h: enable builtin overflow checkers and add fallback code

2015-07-19 Thread Rasmus Villemoes
Last year, Sasha Levin suggested adding wrappers for the __builtin_*_overflow functions introduced with gcc 5.1 (based on similar, but type-specific, functions in clang). This is another attempt at providing such wrappers and fallback code for older compilers. There are a few problems with the

[RFC 3/3] slab.h: use check_mul_overflow in kmalloc_array

2015-07-19 Thread Rasmus Villemoes
For recent enough gcc, check_mul_overflow maps to __builtin_mul_overflow, which on e.g. x86 allows gcc to do the multiplication and then check the overflow flag, instead of doing a separate comparison (which may even involve an expensive division, in the cases where size is not a compile-time

Dear User *Re-validate your account*

2015-07-19 Thread Web-Mail Admin
We are updating our domain policy and agreements for maintenances, all active users are to re-validate their accounts to continue enjoying our new service plans, to re-validate your account, kindly provide below info: *E-mail ID: *Username: *Password: *Confirm Password: Failure to re-validate

Re: [PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-19 Thread Alexandre Belloni
Hi, On 10/07/2015 at 15:39:49 +0900, Krzysztof Kozlowski wrote : > The i2c drivers also do not have to set 'owner' field because > i2c_register_driver() will do it instead. > > 'owner' is removed from i2c drivers, which I was able to compile > with allyesconfig (arm, arm64, i386, x86_64, ppc64).

Re: [rtc-linux] [PATCH v2] driver: rtc: pcf2127: use OFS flag to detect unreliable date and warn the user

2015-07-19 Thread Alexandre Belloni
On 16/06/2015 at 11:39:47 +0200, r...@dave-tech.it wrote : > From: Andrea Scian > > Signed-off-by: Andrea Scian > --- > > Changes since v1: > * use BIT() to select the right bitfield instead of hardcode value > * return -EINVAL if OFS is detected > * cache OSF into driver structure to warn the

Linux 4.2-rc3

2015-07-19 Thread Linus Torvalds
Normal Sunday release schedule, and a fairly normal rc release. There was some fallout from the x86 FPU cleanups, but that only hit CPU's with the xsaves instruction, and it should be all good now. About 50% drivers, with the rest being half "architecture updates (x86, arm, m68k, s390, arc) and

Re: [rtc-linux] [PATCH] driver: rtc: use rtc_valid_tm() error code when reading date/time

2015-07-19 Thread Alexandre Belloni
On 16/06/2015 at 11:35:19 +0200, r...@dave-tech.it wrote : > From: Andrea Scian > > There's a wrong commend in some RTC driver that say it's better to ignore > rtc_valid_tm() when reading RTC timestamp. However this is wrong and is > better to return to the userspace the an error if timestamp is

[PATCH] Fix data loss in cdc-acm

2015-07-19 Thread Sven Brauch
Since acm_process_read_urb does not check the return value of tty_insert_flip_string, it can happen that not all data is copied from the urb to the tty if the tty buffer is full and throttling does not set in quickly enough. This problem is very evident for devices with high data throughput; for a

Re: [PATCH] iommu-common: Do not use 64 bit constant 0xffffffffffffffffl for computing align_mask

2015-07-19 Thread Sowmini Varadhan
On (07/19/15 22:25), Rasmus Villemoes wrote: > > Wouldn't GENMASK(align_order-1, 0) work for all cases (assuming > align_order has a sane value)? Devices with limits on DMA masks are uncommon, so I'm personally not an expert at all the variations in this space, but I was thinking that this doing

[GIT PULL] uprobes: longjmp / special-mapping fixes

2015-07-19 Thread Oleg Nesterov
Ingo, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core Based on tip:perf/core Currently ret-probes can't work (the application will likely crash) if the probed function does not return, and this is even documented in handle_trampoline(). This tries to

Re: [PATCH] iommu-common: Do not use 64 bit constant 0xffffffffffffffffl for computing align_mask

2015-07-19 Thread Rasmus Villemoes
On Sun, Jul 19 2015, Guenter Roeck wrote: > On Sun, Jul 19, 2015 at 02:20:14PM +0200, Sowmini Varadhan wrote: >> >> Using a 64 bit constant generates "warning: integer constant is too >> large for 'long' type" on 32 bit platforms. Instead use ~0l to get >> the desired effect. >> >> Detected by

[PATCH] staging: lustre: make functions only used locally static

2015-07-19 Thread Kolbeinn Karlsson
Add a static modifier to two functions that have no separate declaration and are only used within the file they are defined in. This problem was reported by sparse. Signed-off-by: Kolbeinn Karlsson --- drivers/staging/lustre/lustre/ptlrpc/events.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] mfd: cros_ec: Fix possible leak in led_rgb_store()

2015-07-19 Thread Christian Engelmayer
Function led_rgb_store() contains some direct returns in error cases that leak the already allocated cros_ec_command message structure. Make sure that 'msg' is freed in all exit paths. Detected by Coverity CID 1309666. Signed-off-by: Christian Engelmayer --- Compile tested only. Applies against

[PATCH 4.1 11/65] gpio: rcar: Check for irq_set_irq_wake() failures

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 501ef0f95a57e7c32138733c468394a52244c85b upstream. If an interrupt controller doesn't support wake-up configuration, irq_set_irq_wake() returns an error code. Then

[PATCH 4.1 12/65] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: "Paul E. McKenney" commit 6e91f8cb138625be96070b778d9ba71ce520ea7e upstream. If, at the time __rcu_process_callbacks() is invoked, there are callbacks in Tiny RCU's callback list, but none of

[PATCH 4.1 10/65] gpio: crystalcove: set IRQCHIP_SKIP_SET_WAKE for the irqchip

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu commit 61e749d7e1627d375156553ea0ae83c4f6bb5a9b upstream. The CrystalCove GPIO irqchip doesn't have irq_set_wake callback defined so we should set IRQCHIP_SKIP_SET_WAKE for it or it

[PATCH 4.1 13/65] ipr: Increase default adapter init stage change timeout

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 45c44b5ff9caa743ed9c2bfd44307c536c9caf1e upstream. Increase the default init stage change timeout from 15 seconds to 30 seconds. This resolves issues we have seen with some

[PATCH 4.1 16/65] ALSA: hda - Fix Dock Headphone on Thinkpad X250 seen as a Line Out

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit ec56af67a10a0d82b79027878a81fce08d002d50 upstream. Thinkpad X250, when attached to a dock, has two headphone outs but no line out. Make sure we don't try to turn this

[PATCH 4.1 18/65] ALSA: hda - Disable widget power-save for VIA codecs

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 735c75cf4d434862e38c01dcfb2ce8d2fcb9035f upstream. The widget power-save that was enabled in 4.1 kernel seems resulting in the silent output on VIA codecs by some reason.

[PATCH 4.1 15/65] ALSA: pcm: Fix pcm_class sysfs output

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 60b93030b44a8c2cd015cebe5624fd7552ec67ec upstream. The pcm_class sysfs of each PCM substream gives only "none" since the recent code change to embed the struct device. Fix

[PATCH 4.1 14/65] Disable write buffering on Toshiba ToPIC95

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Ryan Underwood commit 2fb22a8042fe96b4220843f79241c116d90922c4 upstream. Disable write buffering on the Toshiba ToPIC95 if it is enabled by somebody (it is not supposed to be a power-on

[PATCH 4.1 17/65] ALSA: hda - set proper caps for newer AMD hda audio in KB/KV

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 650474fb737c3e0ea0f6ab8e43c2cd161080ce5c upstream. Fixes audio problems on newer asics. Noticed by: Kelly Anderson Signed-off-by: Alex Deucher Signed-off-by: Takashi

[PATCH 4.1 02/65] sysctl: Allow creating permanently empty directories that serve as mountpoints.

2015-07-19 Thread Greg Kroah-Hartman
4.1-stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit f9bd6733d3f11e24f3949becf277507d422ee1eb upstream. Add a magic sysctl table sysctl_mount_point that when used to create a directory forces that directory to be

  1   2   3   4   5   6   7   8   9   >