[PATCH 1/1] ax88179_178a: Remove AX_MEDIUM_ALWAYS_ONE bit in AX_MEDIUM_STATUS_MODE register to avoid TX throttling

2013-10-24 Thread freddy
From: Freddy Xin Remove AX_MEDIUM_ALWAYS_ONE in AX_MEDIUM_STATUS_MODE register. Setting this bit may cause TX throttling in Half-Duplex mode. Signed-off-by: Freddy Xin --- drivers/net/usb/ax88179_178a.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/n

[PATCH 0/2] ARM: OMAP: dmtimers improvements.

2013-10-24 Thread NeilBrown
I would like to use omap dmtimer for a PWM driver (for the backlight on my display). But there are two difficulties. Unfortunately Jon Hunter (who has helped me with dmtimers before) seems to have disappeared. So I guess I get to do it myself :-) Following two patches make dmtimers more usable.

[PATCH] x86/ACPI: Make Sony Vaio Z1 series to use "reboot=pci" default

2013-10-24 Thread tianyu . lan
From: Lan Tianyu Sony Vaio Z1 series require "reboot=pci" for reboot and power off. This patch is to add them machines to quirk table and set pci reboot default. Reference: https://bugzilla.kernel.org/show_bug.cgi?id=61721 Reported-and-tested-by: Adam Williamson Signed-off-by: Lan Tianyu ---

Re: OMAPFB: CMA allocation failures

2013-10-24 Thread Tomi Valkeinen
Hi, On 24/10/13 00:59, Ивайло Димитров wrote: > Hi, > > I wonder if there is any progress on the issue? Do you need me to send more > data? Or > should I raise the issue with the CMA maintainer? No, I haven't had time to look at this. And frankly, I don't even have an idea what to look for if

[PATCH 2/2] ARM: OMAP: move dmtimer.h from plat-omap/include/plat to include/linux

2013-10-24 Thread NeilBrown
This is no need for dmtimer.h to be in the 'plat' include directory, and it makes it hard to write drivers which use it (such as a PWM driver). So move it to linux/omap-dmtimer.h. Signed-off-by: NeilBrown --- arch/arm/mach-omap1/pm.c |2 arch/arm/mach-omap1/timer.

[PATCH 1/2] ARM: OMAP2+: dmtimer: allow counter to be set at any time.

2013-10-24 Thread NeilBrown
It is perfectly appropriate to set the counter register when the timer isn't running. The value set will be where the counter starts counting from. Signed-off-by: NeilBrown --- arch/arm/plat-omap/dmtimer.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm/pl

[PATCH] [trivial]treewide: Fix typo incomment in /gpu/drm/exynos

2013-10-24 Thread Masanari Iida
Correct spelling typo in drivers/gpu/drm/exynos Signed-off-by: Masanari Iida # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # On branch exynos_typo # Changes to be comm

drm/i915: Avoid accessing the stolen address when it is unavailable

2013-10-24 Thread Chuansheng Liu
In our platform, we hit the the stolen region initialization failure case, such as below log: [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0x7b00] And it causes the dev_priv->mm.stolen_base is NULL, in this case, we should avoid accessing it any more. Here is

Re: HPD flood warning since b8f102e8b

2013-10-24 Thread Jiri Kosina
On Mon, 21 Oct 2013, Egbert Eich wrote: > > On Thu, 3 Oct 2013, Daniel Vetter wrote: > > > > > Can you please attach full dmesg from boot up to the first WARN with > > > drm.debug=0xe? This really shouldn't happen and indicates a bug > > > somewhere ... > > > > A bit difficult ... I origi

[f2fs-dev] [PATCH] f2fs: remove redundant set_page_dirty from write_compacted_summaries

2013-10-24 Thread Chao Yu
Previously, set_page_dirty is called every time after writting one summary info into compacted summary page, To avoid redundant set_page_dirty, we only call set_page_dirty before release page. Signed-off-by: Yu Chao --- fs/f2fs/segment.c |8 1 file changed, 4 insertions(+), 4 dele

Re: linux-next: Tree for Oct 23

2013-10-24 Thread Sedat Dilek
On Wed, Oct 23, 2013 at 5:13 PM, Thierry Reding wrote: > Hi all, > > I've uploaded today's linux-next tree to the master branch of the > repository below: > > git://gitorious.org/thierryreding/linux-next.git > WebGit URL? Browsing "https://gitorious.org/thierryreding"; gives me a... "Th

[PATCH v2] Input: add regulator haptic driver

2013-10-24 Thread hyunhee.kim
From: Hyunhee Kim Date: Wed, 9 Oct 2013 16:21:36 +0900 Subject: [PATCH] Input: add regulator haptic driver Signed-off-by: Hyunhee Kim Signed-off-by: Kyungmin Park Acked-by: Aristeu Rozanski --- drivers/input/misc/Kconfig| 10 ++ drivers/input/misc/Makefile |1 + d

[PATCH] x86/reboot: Correct pr_info log message in the set_bios/pci/kbd_reboot()

2013-10-24 Thread Lan Tianyu
commit c767a54ba broke log message in the set_bios/pci/kbd_reboot. Put reboot method string and quirk entry's ident string in the wrong order. This patch is to fix it. Signed-off-by: Lan Tianyu --- arch/x86/kernel/reboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a

Re: [PATCH 1/2] mmc: dw_mmc: Cleanup disable of low power mode w/ SDIO interrupts

2013-10-24 Thread Doug Anderson
Seungwon, On Wed, Oct 23, 2013 at 12:25 PM, Seungwon Jeon wrote: >> >> + if (card->type == MMC_TYPE_SDIO || >> >> + card->type == MMC_TYPE_SD_COMBO) { > && card->quirks & MMC_QUIRK_BROKEN_CLK_GATING > How about considering MMC_QUIRK_BROKEN_CLK_GATING? > Some sdio devic

Re: [PATCH] iio:light:tsl2563: Add DT support

2013-10-24 Thread Jonathan Cameron
On 10/23/13 22:51, Sebastian Reichel wrote: > Add Device Tree support for the TSL2563 driver > and document the binding. > > Signed-off-by: Sebastian Reichel > --- > .../devicetree/bindings/iio/light/tsl2563.txt | 19 > +++ > drivers/iio/light/tsl2563.c

Re: [PATCH 7/8] staging: Remove OOM message after input_allocate_device

2013-10-24 Thread Jonathan Cameron
On 10/23/13 20:14, Joe Perches wrote: > Emitting an OOM message isn't necessary after input_allocate_device > as there's a generic OOM and a dump_stack already done. > > Signed-off-by: Joe Perches Acked-by: Jonathan Cameron (for iio driver) > --- > drivers/staging/cptm1217/clearpad_tm1217.c

Re: [PATCH] scripts/checkkconfig.py: find unused Kconfig parameters

2013-10-24 Thread Joe Perches
On Thu, 2013-10-24 at 07:23 +0200, Michael Opdenacker wrote: > This is the first version of a script to look for > Kconfig parameters which are still defined but no longer > used in the kernel source code. [] > diff --git a/scripts/checkkconfig.py b/scripts/checkkconfig.py [] > +def count_param(par

[PATCH 07/20] aduit: make audit_nlk_portid per audit namespace

2013-10-24 Thread Gao feng
We should use audit_nlk_portid to decide to send audit netlink message to which auditd processes. it should be per audit namespace too. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 2 ++ kernel/audit.c | 14 -- 2 files changed, 6 insertions(+), 10 d

[PATCH 19/20] audit: make audit_backlog_limit per audit namespace

2013-10-24 Thread Gao feng
This patch makes audit_backlog_limit per audit namespace, so we can limit the memory usage of audit namespace through limit the value of auditns's audit_backlog_limit. By default, the backlog_limit of new created audit namespace is zero, so processes in this auditns has no ability to generate audi

[PATCH 18/20] audit: add new message type AUDIT_CREATE_NS

2013-10-24 Thread Gao feng
Since there is no more place for flags of clone system call. we need to find a way to create audit namespace. this patch add a new type of message AUDIT_CREATE_NS. user space can create new audit namespace through netlink. Right now, The privileged user in user namespace is allowed to create audi

[PATCH 20/20] audit: introduce /proc//audit_backlog_limit

2013-10-24 Thread Gao feng
Since the backlog_limit of new created audit namespace is zero, this audit namespace is unavailable, this patch introdeces a proc file audit_backlog_limit. only privileged user of host has rights to setup backlog_limit for audit namespace. this prevents unprivileged user into costing memory through

[PATCH 16/20] audit: allow GET,SET,USER MSG operations in audit namespace

2013-10-24 Thread Gao feng
1, remove the permission check of pid namespace. it's no reason to deny un-init pid namespace to operate audit subsystem. 2, only allow init user namespace and init audit namespace to operate list/add/del rule, tty set, trim, make equiv operations. 3, allow audit namespace to get/set audit

[PATCH 08/20] audit: make kaudit_wait queue per audit namespace

2013-10-24 Thread Gao feng
kauditd_task is added to the wait queue kaudit_wait when there is no audit message being generated in audit namespace, so the kaudit_wait should be per audit namespace too. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 2 ++ kernel/audit.c | 8 2 files c

[PATCH 17/20] nsproxy: don't make create_new_namespaces static

2013-10-24 Thread Gao feng
audit moudule will use create_new_namespaces to create new nsproxy. Signed-off-by: Gao feng --- include/linux/nsproxy.h | 4 kernel/nsproxy.c| 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h index dc7af11..7ae15fc

[PATCH 14/20] audit: pass proper audit namespace to audit_log_common_recv_msg

2013-10-24 Thread Gao feng
The audit log that generated in audit namespace should be received by the auditd running in this audit namespace. Signed-off-by: Gao feng --- kernel/audit.c | 21 +++-- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 5ac7365..

[PATCH 13/20] audit: introduce new audit logging interface for audit namespace

2013-10-24 Thread Gao feng
This interface audit_log_start_ns and audit_log_end_ns will be used for logging audit logs in audit namespace. Signed-off-by: Gao feng --- include/linux/audit.h | 26 +-- kernel/audit.c| 92 ++- 2 files changed, 77 insertions(+)

[PATCH 10/20] audit: allow un-init audit ns to change pid and portid only

2013-10-24 Thread Gao feng
Only these two vars are namespace aware. Signed-off-by: Gao feng --- kernel/audit.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index d7a0993..2132929 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -685,16

[PATCH 11/20] audit: use proper audit namespace in audit_receive_msg

2013-10-24 Thread Gao feng
Signed-off-by: Gao feng --- kernel/audit.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 2132929..5524deb 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -662,11 +662,11 @@ static int audit_receive_msg(struct sk_buff *skb,

[RFC Part1 PATCH 00/20 v2] Add namespace support for audit

2013-10-24 Thread Gao feng
Here is the v1 patchset: http://lwn.net/Articles/549546/ The main target of this patchset is allowing user in audit namespace to generate the USER_MSG type of audit message, some userspace tools need to generate audit message, or these tools will broken. And the login process in container may wan

[PATCH 09/20] audit: make audit_backlog_wait per audit namespace

2013-10-24 Thread Gao feng
Tasks are added to audit_backlog_wait when the audit_skb_queue of audit namespace is full, so audit_backlog_wait should be per audit namespace too. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 1 + kernel/audit.c | 11 +-- 2 files changed, 6 insertions(

[PATCH 12/20] audit: use proper audit_namespace in kauditd_thread

2013-10-24 Thread Gao feng
Signed-off-by: Gao feng --- kernel/audit.c | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 5524deb..b203017 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -338,11 +338,11 @@ static int audit_set_fa

[PATCH 05/20] audit: make audit_pid per audit namespace

2013-10-24 Thread Gao feng
Every audit namespace has its own auditd process, so audit_pid should be per audit namespace too. Since some places such as audit_filter_syscall use audit_pid to identify if the task is auditd, so we should store auditd's pid which for init pid namespace not for current pid ns. Signed-off-by: Gao

[PATCH 02/20] audit: introduce configure option CONFIG_AUDIT_NS

2013-10-24 Thread Gao feng
This patch adds a new field audit_ns for struct nsproxy, so task can access the audit_ns through task->nsproxy->audit_ns. Right now, we don't support create new audit_ns, all tasks's audit_ns will point to the init_audit_ns. next patches will add the feature creating new audit namespace. Signed-o

[PATCH 04/20] audit: make audit_skb_hold_queue per audit namespace

2013-10-24 Thread Gao feng
This patch makes audit_skb_hold_queue per audit namespace. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 3 +++ kernel/audit.c | 12 +--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/include/linux/audit_namespace.h b/include/linux/audit

[PATCH 01/20] Audit: make audit netlink socket net namespace unaware

2013-10-24 Thread Gao feng
Add a compare function which always return true for audit netlink socket, this will cause audit netlink sockets netns unaware, and no matter which netns the user space audit netlink sockets belong to, they all can find out and communicate with audit_sock. This gets rid of the necessary to create p

[PATCH 03/20] audit: make audit_skb_queue per audit namespace

2013-10-24 Thread Gao feng
This patch makes audit_skb_queue per audit namespace, Since we haven't finished the preparations, only allow user to attach/detach skb to the queue of init_audit_ns. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 3 +++ kernel/audit.c | 18 +- 2 f

[PATCH 06/20] audit: make kauditd_task per audit namespace

2013-10-24 Thread Gao feng
kauditd_task is used to send audit netlink messages to the user space auditd process. Because the netlink messages are per audit namespace, we should make kaudit_task per auditns to operate the right netlink skb. Signed-off-by: Gao feng --- include/linux/audit_namespace.h | 12 +++ kerne

Re: [PATCH] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-24 Thread Chen Gang
On 10/24/2013 02:44 PM, Richard Weinberger wrote: > Am 24.10.2013 08:26, schrieb Chen Gang: >> On 10/24/2013 02:03 PM, Richard Weinberger wrote: >> Anyway, maybe it is also the tool chain's bug (so I include related arc >> tool chain guys in this mail). > > That's exactly my point. Before you blin

Re: linux-next: Tree for Oct 23

2013-10-24 Thread Thierry Reding
On Thu, Oct 24, 2013 at 09:20:53AM +0200, Sedat Dilek wrote: > On Wed, Oct 23, 2013 at 5:13 PM, Thierry Reding > wrote: > > Hi all, > > > > I've uploaded today's linux-next tree to the master branch of the > > repository below: > > > > git://gitorious.org/thierryreding/linux-next.git > > >

[PATCH 1/1] PERF: The tail position of the event buffer should only be modified after actually use that event.

2013-10-24 Thread Zhouyi Zhou
The tail position of the event buffer should only be modified after actually use that event. If not the event buffer could be invalid before use, and segment fault occurs when invoking perf top -G. Signed-off-by: Zhouyi Zhou --- tools/perf/builtin-kvm.c |4 tools/per

Aw: Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-24 Thread Peter Huewe
Hi Jason, > > Speaking of which, has anyone looked at the rest of my series?? Shall > > I repost it? > Jason Gunthorpe: > tpm: Pull everything related to /dev/tpmX into tpm-dev.c > tpm: Pull everything related to sysfs into tpm-sysfs.c > tpm: Create a tpm_class_ops structure and use it in the driv

[PATCH 3/3] target: Fail XCOPY for non matching source + destination block_size

2013-10-24 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds an explicit check + failure for XCOPY I/O to source + destination devices with a non-matching block_size. This limitiation is currently due to the fact that the scatterlist memory allocated for the XCOPY READ operation is passed zero-copy to the XCOPY WRI

PICK UP YOUR$5,000.00USD

2013-10-24 Thread WESTERN UNION MONEY TRANSFER
Good Day Beneficiary, I write to inform you that we have been given the mandate to transfer your full compensation payment of $1,800,000.00 USD via western union by this government. We tried to give you the Western Union Instructions through phone, but we could not locate your numbers in our data

[PATCH 2/3] target: Generate failure for XCOPY I/O with non-zero scsi_status

2013-10-24 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds the missing non-zero se_cmd->scsi_status check required for local XCOPY I/O within target_xcopy_issue_pt_cmd() to signal an exception case failure. This will trigger the generation of SAM_STAT_CHECK_CONDITION status from within target_xcopy_do_work() proc

[PATCH 0/3] target: Miscellaneous XCOPY bugfixes for v3.12-rc7 code

2013-10-24 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi folks, The following series is a handful XCOPY related fixes for v3.12-rc7 code based upon a recent bug-report from Thomas + Doug wrt to XCOPY local I/O operations across source + destination devices with non-matching block_sizes. The first patch adds the missing XCO

[PATCH 1/3] target: Add missing XCOPY I/O operation sense_buffer

2013-10-24 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch adds the missing xcopy_pt_cmd->sense_buffer[] required for correctly handling CHECK_CONDITION exceptions within the locally generated XCOPY I/O path. Also update target_xcopy_read_source() + target_xcopy_setup_pt_cmd() to pass this buffer into transport_init_s

Re: Usage of for_each_child_of_node()

2013-10-24 Thread Thierry Reding
On Wed, Oct 23, 2013 at 09:16:44AM -0700, Guenter Roeck wrote: > On Wed, Oct 23, 2013 at 09:10:07AM +0200, Thierry Reding wrote: > > On Sat, Oct 12, 2013 at 10:15:03PM -0500, Rob Herring wrote: > > > On Sat, Oct 12, 2013 at 3:54 PM, Guenter Roeck wrote: > > > > Hi all, > > > > > > > > for_each_chi

Re: [PATCHv4 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-24 Thread Florian Vaussard
Hello Sebastian, On 10/23/2013 07:54 PM, Sebastian Reichel wrote: > Add device tree support for twl4030 power button driver. > > Signed-off-by: Sebastian Reichel > --- > .../devicetree/bindings/input/twl4030-pwrbutton.txt | 13 + > drivers/input/misc/twl4030-pwrbutton.c

ktap inclusion in drivers/staging/?

2013-10-24 Thread Ingo Molnar
Greg, I was surprised to see 'ktap' appear in the staging tree silently, via these commits that are visible in today's staging-next: 2c856b9e3e06 staging: ktap: remove unused header file 687b63a3bfd5 staging: ktap: update email name in MAINTAINERS c63a164271f8 staging: ktap: add to the kern

[PATCH 2/3] f2fs: introduce f2fs_balance_fs_bg for some background jobs

2013-10-24 Thread Jaegeuk Kim
This patch merges some background jobs into this new function. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h| 2 ++ fs/f2fs/gc.c | 5 ++--- fs/f2fs/node.c| 10 +++--- fs/f2fs/segment.c | 8 4 files changed, 15 insertions(+), 10 deletions(

[PATCH 1/3] f2fs: reclaim prefree segments periodically

2013-10-24 Thread Jaegeuk Kim
Previously, f2fs postpones reclaiming prefree segments into free segments as much as possible. However, if user writes and deletes a bunch of data without any sync or fsync calls, some flash storages can suffer from garbage collections. So, this patch adds the reclaiming codes to f2fs_write_node_p

[PATCH 3/3] f2fs: add reclaiming control by sysfs

2013-10-24 Thread Jaegeuk Kim
This patch adds a control method in sysfs to reclaim prefree segments. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.txt | 6 + fs/f2fs/super.c| 50 +++--- 2 files changed, 42 insertions(+), 14

[PATCH 15/20] audit: Log audit pid config change in audit namespace

2013-10-24 Thread Gao feng
This patch allow to log audit config change in audit namespace. Signed-off-by: Gao feng --- kernel/audit.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 92da21d..095f54d 100644 --- a/kernel/audit.c +++ b/kernel/audit

PRIVATE MESSAGE

2013-10-24 Thread JMW SOLICITORS LLP
THIS MAIL IS TO RE-INFORM YOU THAT MY LATE CLIENT MADE HIS WILL IN YOUR FAVOUR, LETTERS WERE POSTED TO YOUR HOME ADDRESS, BUT WE GOT NO REPLY FROM YOU, I ADVISE YOU EMAIL ME NOW. REGARDS, BARR COLIN LEE -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [RFC PATCH 00/11] Embeddable Position Independent Executable

2013-10-24 Thread Heiko Stübner
Am Dienstag, 17. September 2013, 14:43:26 schrieb Russ Dill: > This patch adds support for and demonstrates the usage of an embedded > position independent executable (PIE). The goal is to allow the use of C > code in situations where carefully written position independent assembly > was previously

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

2013-10-24 Thread Preeti U Murthy
Hi Vincent, I have addressed your comments and below is the fresh patch. This patch applies on PATCH 2/3 posted in this thread. Regards Preeti U Murthy sched:Remove un-necessary iterations over sched domains to update/query nr_busy_cpus From: Preeti U Murthy nr_busy_cpus parameter is used b

[f2fs-dev] [PATCH V2] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-24 Thread Chao Yu
Previously, check_block_count check valid_map with bit data type in common scenario that sit has all ones or zeros bitmap, it makes low mount performance. So let's check the special bitmap with integer data type instead of the bit one. v2: use find_next_bit_le/find_next_zero_bit_le for better

Re: [RFCv3 0/7] OMAP SSI driver

2013-10-24 Thread Pavel Machek
Hi! > 3. cmt_speech > > This is an hsi client driver, which takes care of interchanging > speech data with the modem. This one is needed for calling. I > will have a look at it once the basic stuff is working. > > P.S.: You can get a mainline kernel status matrix for the Nokia > N900 on

Re: [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c"

2013-10-24 Thread Geert Uytterhoeven
On Thu, Oct 24, 2013 at 4:56 AM, Chen Gang wrote: >> NAK. > > OK, thanks. At least this patch is incorrect. > > >> ARC will never have VGA console. You need to add !ARC to relevant Kconfig. >> However that approach is frowned upon in general. The current way to doing >> such things is to define

Re: [PATCH v2] Input: add regulator haptic driver

2013-10-24 Thread Oliver Neukum
On Thu, 2013-10-24 at 15:35 +0900, hyunhee.kim wrote: Hi, first of all your mail client mangled the patch. > +static void regulator_haptic_toggle(struct regulator_haptic *haptic, bool > enable) > +{ > + int ret; > + > + mutex_lock(&haptic->mutex); > + if (enable && !haptic->enabled)

Re: [PATCHv4 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-24 Thread Sebastian Reichel
Hi Florian, On Thu, Oct 24, 2013 at 09:47:33AM +0200, Florian Vaussard wrote: > > +Required SoC Specific Properties: > > +- compatible: should be one of the following > > + - "ti,twl4030-pwrbutton": For controllers compatible with twl4030 > > +- interrupt: should be one of the following > > +

[PATCH] Documentation/ABI: Document the non-ABI status of Kconfig and symbols

2013-10-24 Thread Josh Triplett
Discussion at Kernel Summit made it clear that the presence or absence of specific Kconfig symbols are not considered ABI, and that no userspace (or bootloader, etc) should rely on them. In addition, kernel-internal symbols are well established as non-ABI, per Documentation/stable_api_nonsense.txt

Re: [PATCH] Documentation/ABI: Document the non-ABI status of Kconfig and symbols

2013-10-24 Thread H. Peter Anvin
On 10/24/2013 09:41 AM, Josh Triplett wrote: > Discussion at Kernel Summit made it clear that the presence or absence > of specific Kconfig symbols are not considered ABI, and that no > userspace (or bootloader, etc) should rely on them. > > In addition, kernel-internal symbols are well establishe

Re: ktap inclusion in drivers/staging/?

2013-10-24 Thread Steven Rostedt
On Thu, 2013-10-24 at 09:58 +0200, Ingo Molnar wrote: > Greg, > > I was surprised to see 'ktap' appear in the staging tree silently, > via these commits that are visible in today's staging-next: > > 2c856b9e3e06 staging: ktap: remove unused header file > 687b63a3bfd5 staging: ktap: update ema

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

2013-10-24 Thread Russell King - ARM Linux
On Thu, Oct 24, 2013 at 11:51:18AM +1030, Rusty Russell wrote: > Ming Lei writes: > > 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 relo

Re: [PATCH] Documentation/ABI: Document the non-ABI status of Kconfig and symbols

2013-10-24 Thread Richard Weinberger
On Thu, Oct 24, 2013 at 10:41 AM, Josh Triplett wrote: > Discussion at Kernel Summit made it clear that the presence or absence > of specific Kconfig symbols are not considered ABI, and that no > userspace (or bootloader, etc) should rely on them. > > In addition, kernel-internal symbols are well

Re: [RFC PATCH 0/6] DRIVERS: IRQCHIP: Add support for crossbar IP

2013-10-24 Thread Thomas Gleixner
On Tue, 1 Oct 2013, Rob Herring wrote: > On 10/01/2013 06:13 AM, Sricharan R wrote: > > Is there an actual usecase on a single h/w design that you run out of > interrupts and it is a user decision which interrupts to use? I don't think that matters. What matters is that you have a single DT entry

Re: [PATCH 1/2 v2] epoll: optimize EPOLL_CTL_DEL using rcu

2013-10-24 Thread Paul E. McKenney
On Tue, Oct 01, 2013 at 05:08:10PM +, Jason Baron wrote: > Optimize EPOLL_CTL_DEL such that it does not require the 'epmutex' by > converting the file->f_ep_links list into an rcu one. In this way, we can > traverse the epoll network on the add path in parallel with deletes. > Since deletes c

[PATCH] regmap: debugfs: Fix a boot time crash with early regmap init

2013-10-24 Thread Tero Kristo
If called early enough, regmap_debugfs_init causes a crash, if the fs subsystem does not have its mount cache created yet. Even if this would work, the root node for the regmap debugfs is still missing, thus postpone the regmap_debugfs_init in this case until the root node is created. A special reg

Re: [PATCH] ASoC: tpa6130a2: Add device tree support

2013-10-24 Thread Mark Brown
On Wed, Oct 23, 2013 at 02:03:28PM +0200, Sebastian Reichel wrote: > Add device tree support to tpa6130a2 driver and document the > bindings. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH] Documentation/ABI: Document the non-ABI status of Kconfig and symbols

2013-10-24 Thread Josh Triplett
On Thu, Oct 24, 2013 at 10:57:11AM +0200, Richard Weinberger wrote: > On Thu, Oct 24, 2013 at 10:41 AM, Josh Triplett wrote: > > Discussion at Kernel Summit made it clear that the presence or absence > > of specific Kconfig symbols are not considered ABI, and that no > > userspace (or bootloader,

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

2013-10-24 Thread Ming Lei
On Thu, Oct 24, 2013 at 4:45 PM, Russell King - ARM Linux wrote: > On Thu, Oct 24, 2013 at 11:51:18AM +1030, Rusty Russell wrote: >> Ming Lei writes: >> > Address of non-module kernel symbol should always be located >> > from CONFIG_PAGE_OFFSET on, so only show these legal kernel >> > symbols in

Re: [PATCH] Revert "regulator: da9052: Use apply_[reg|bit] with regmap based voltage_sel operations"

2013-10-24 Thread Mark Brown
On Wed, Oct 16, 2013 at 05:33:59PM +0800, Axel Lin wrote: > This reverts commit 68f7506017ba67f1334cf086ffab76606f2c5ac4. > > Michael reported that with this patch we loose the fix_io code path from > da9052_reg_update. Thus revert it. Applied, thanks. signature.asc Description: Digital signatu

Re: [RFC PATCH 1/6] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-10-24 Thread Thomas Gleixner
On Mon, 30 Sep 2013, Sricharan R wrote: > diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c > index 1760ceb..c5778ab 100644 > --- a/drivers/irqchip/irq-gic.c > +++ b/drivers/irqchip/irq-gic.c > @@ -72,6 +72,8 @@ struct gic_chip_data { > > static DEFINE_RAW_SPINLOCK(irq_controlle

Re: [PATCHv4 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-24 Thread Florian Vaussard
Hello, On 10/24/2013 10:38 AM, Sebastian Reichel wrote: > Hi Florian, > > On Thu, Oct 24, 2013 at 09:47:33AM +0200, Florian Vaussard wrote: >>> +Required SoC Specific Properties: >>> +- compatible: should be one of the following >>> + - "ti,twl4030-pwrbutton": For controllers compatible with twl

Re: [PATCH v3 13/15] KVM: MMU: locklessly write-protect the page

2013-10-24 Thread Gleb Natapov
On Wed, Oct 23, 2013 at 09:29:31PM +0800, Xiao Guangrong wrote: > Currently, when mark memslot dirty logged or get dirty page, we need to > write-protect large guest memory, it is the heavy work, especially, we > need to hold mmu-lock which is also required by vcpu to fix its page table > fault and

Re: [PATCH v3 10/15] KVM: MMU: allocate shadow pages from slab

2013-10-24 Thread Gleb Natapov
On Wed, Oct 23, 2013 at 09:29:28PM +0800, Xiao Guangrong wrote: > Allocate shadow pages from slab instead of page-allocator, frequent > shadow page allocation and free can be hit in the slab cache, it is > very useful for shadow mmu > > Signed-off-by: Xiao Guangrong > --- > arch/x86/include/asm/

[PATCH v3] Input: add regulator haptic driver

2013-10-24 Thread hyunhee.kim
From: Hyunhee Kim Date: Wed, 9 Oct 2013 16:21:36 +0900 Subject: [PATCH] Input: add regulator haptic driver Signed-off-by: Hyunhee Kim Signed-off-by: Kyungmin Park Acked-by: Aristeu Rozanski --- drivers/input/misc/Kconfig| 10 ++ drivers/input/misc/Makefile |1 + d

Re: [PATCH] regmap: debugfs: Fix a boot time crash with early regmap init

2013-10-24 Thread Mark Brown
On Thu, Oct 24, 2013 at 12:07:48PM +0300, Tero Kristo wrote: > + if (!regmap_debugfs_root) { > + struct regmap_debugfs_node *node; > + node = kzalloc(sizeof(*node), GFP_KERNEL); > + if (!node) > + return; > + node->map = map;

Re: [RFC PATCH 2/6] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2013-10-24 Thread Thomas Gleixner
On Mon, 30 Sep 2013, Sricharan R wrote: > +/* > + * @int_max: maximum number of supported interrupts > + * @irq_map: array of interrupts to crossbar number mapping > + * @crossbar_base: crossbar base address > + * @register_offsets: offsets for each irq number > + */ > +struct crossbar_device { > +

Re: [PATCH 8/8] sound: Remove OOM message after input_allocate_device

2013-10-24 Thread Takashi Iwai
At Wed, 23 Oct 2013 12:14:54 -0700, Joe Perches wrote: > > Emitting an OOM message isn't necessary after input_allocate_device > as there's a generic OOM and a dump_stack already done. > > Signed-off-by: Joe Perches Thanks, applied. Takashi > --- > sound/pci/hda/hda_beep.c | 4 +--- > 1 fil

[no subject]

2013-10-24 Thread Jens Axboe
Hi, I've been working (on and off) on blk-mq for a while now, and I think it's finally time to polish it off and get it posted for review with inclusion for 3.13. It's fairly well contained and these core bits should not impact any drivers. There's a series of prep patches in front of the meat pat

[PATCH 09/11] percpu_ida: add an API to return free tags

2013-10-24 Thread Jens Axboe
From: Shaohua Li Add an API to return free tags, blk-mq-tag will use it. Note, this just returns a snapshot of free tags number. blk-mq-tag has two usages of it. One is for info output for diagnosis. The other is to quickly check if there are free tags for request dispatch checking. Neither requ

[PATCH 11/11] null_blk: multi queue aware block test driver

2013-10-24 Thread Jens Axboe
A driver that simply completes IO it receives, it does no transfers. Written to fascilitate testing of the blk-mq code. It supports various module options to use either bio queueing, rq queueing, or mq mode. Signed-off-by: Jens Axboe --- drivers/block/Kconfig| 3 + drivers/block/Makefile

[PATCH 06/11] percpu_counter: make APIs irq safe

2013-10-24 Thread Jens Axboe
From: Shaohua Li In my usage, sometimes the percpu APIs are called with irq locked, sometimes not. lockdep complains there is potential deadlock. Let's always use percpucounter lock in irq safe way. There should be no performance penality, as all those are slow code path. Cc: Andrew Morton Sign

RE: [PATCH v2] Input: add regulator haptic driver

2013-10-24 Thread hyunhee.kim
Hi, Thanks for your review. I resent patch v3 after removing wrong wrapping. I made one toggle function because enable/disable functions have redundant codes and another reviewer suggested it. Is it better to separate it into two functions? Thanks, Hyunhee Kim. -Original Message- From

[PATCH 07/11] percpu_ida: make percpu_ida percpu size/batch configurable

2013-10-24 Thread Jens Axboe
From: Shaohua Li Make percpu_ida percpu size/batch configurable. The block-mq-tag will use it. After block-mq uses percpu_ida to manage tags, performance is improved. My test is done in a 2 sockets machine, 12 process cross the 2 sockets. So if there is lock contention or ipi, should be stressed

[PATCH 04/11] block: remove request ref_count

2013-10-24 Thread Jens Axboe
From: Christoph Hellwig This reference count has been around since before git history, but the only place where it's used is in blk_execute_rq, and ther it is entirely useless as it is incremented before submitting the request and decremented in the end_io handler before waking up the submitter t

[PATCH 08/11] percpu_ida: add percpu_ida_for_each_free

2013-10-24 Thread Jens Axboe
From: Shaohua Li Add a new API to iterate free ids. blk-mq-tag will use it. Note, this doesn't guarantee to iterate all free ids restrictly. Caller should be aware of this. blk-mq uses it to do sanity check for request timedout, so can tolerate the limitation. Cc: Andrew Morton Signed-off-by:

[PATCH 05/11] direct-io: only inc/dec inode->i_dio_count for file systems

2013-10-24 Thread Jens Axboe
We don't need truncate protection for block devices, so add a flag bypassing this cache line dirtying twice for every IO. This easily contributes to 5-10% of the CPU time on high IOPS O_DIRECT testing. Cc: Christoph Hellwig Cc: Al Viro Signed-off-by: Jens Axboe --- fs/block_dev.c | 3 ++-

[PATCH 01/11] Export __smp_call_function_single()

2013-10-24 Thread Jens Axboe
The blk-mq core and the blk-mq null driver uses it. Cc: Ingo Molnar Signed-off-by: Jens Axboe --- kernel/smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/smp.c b/kernel/smp.c index 0564571..9de461e 100644 --- a/kernel/smp.c +++ b/kernel/smp.c @@ -340,6 +340,7 @@ void __smp_call_

[PATCH 03/11] block: make rq->cmd_flags be 64-bit

2013-10-24 Thread Jens Axboe
We have officially run out of flags in a 32-bit space. Extend it to 64-bit even on 32-bit archs. Signed-off-by: Jens Axboe --- block/blk-core.c | 4 +-- drivers/block/floppy.c| 4 +-- drivers/scsi/sd.c | 2 +- include/linux/blk_types.h | 66 +++

[PATCH 02/11] smp: don't warn about csd->flags having CSD_FLAG_LOCK cleared for !wait

2013-10-24 Thread Jens Axboe
blk-mq reuses the request potentially immediately, since the most cache hot is always given out first. This means that rq->csd could be reused between csd->func() being called and csd_unlock() being called. This isn't a problem, since we never use wait == 1 for the smp call function. Add CSD_FLAG_W

Re: [PATCH v3 10/15] KVM: MMU: allocate shadow pages from slab

2013-10-24 Thread Xiao Guangrong
On 10/24/2013 05:19 PM, Gleb Natapov wrote: >> @@ -946,7 +947,7 @@ static inline struct kvm_mmu_page *page_header(hpa_t >> shadow_page) >> { >> struct page *page = pfn_to_page(shadow_page >> PAGE_SHIFT); >> >> -return (struct kvm_mmu_page *)page_private(page); >> +return (struct k

Re: [PATCH] perf session: Add option to copy events when queueing

2013-10-24 Thread Frederic Weisbecker
2013/9/14 Frederic Weisbecker : > On Fri, Sep 06, 2013 at 01:37:01PM -0600, David Ahern wrote: >> When processing events the session code has an ordered samples queue which is >> used to time-sort events coming in across multiple mmaps. At a later point in >> time samples on the queue are flushed u

[PATCH net] tcp: delete unused req in tcp_synack_rtt_meas()

2013-10-24 Thread Weiping Pan
The parameter req is not used since 375fe02c9179(tcp: consolidate SYNACK RTT sampling). Signed-off-by: Weiping Pan --- net/ipv4/tcp_input.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index a16b01b..ac8781a 100644 --- a/

Re: [PATCH v3 13/15] KVM: MMU: locklessly write-protect the page

2013-10-24 Thread Gleb Natapov
On Thu, Oct 24, 2013 at 05:24:12PM +0800, Xiao Guangrong wrote: > On 10/24/2013 05:17 PM, Gleb Natapov wrote: > > >> > >> -/** > >> - * kvm_mmu_write_protect_pt_masked - write protect selected PT level pages > >> +static void __rmap_write_protect_lockless(u64 *sptep) > >> +{ > >> + u64 spte; >

Re: [RFC PATCH 2/6] DRIVERS: IRQCHIP: CROSSBAR: Add support for Crossbar IP

2013-10-24 Thread Kumar Gala
On Sep 30, 2013, at 8:59 AM, Sricharan R wrote: > Some socs have a large number of interrupts requests to service > the needs of its many peripherals and subsystems. All of the > interrupt lines from the subsystems are not needed at the same > time, so they have to be muxed to the irq-controller

Re: [PATCH v3 13/15] KVM: MMU: locklessly write-protect the page

2013-10-24 Thread Xiao Guangrong
On 10/24/2013 05:17 PM, Gleb Natapov wrote: >> >> -/** >> - * kvm_mmu_write_protect_pt_masked - write protect selected PT level pages >> +static void __rmap_write_protect_lockless(u64 *sptep) >> +{ >> +u64 spte; >> + >> +retry: >> +/* >> + * Note we may partly read the sptep on 32bit

Re: [RFC PATCH 1/6] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-10-24 Thread Kumar Gala
On Sep 30, 2013, at 8:59 AM, Sricharan R wrote: > In some socs the gic can be preceded by a crossbar IP which > routes the peripheral interrupts to the gic inputs. The peripheral > interrupts are associated with a fixed crossbar input line and the > crossbar routes that to one of the free gic inp

  1   2   3   4   5   >