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
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.
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
---
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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..
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(+)
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
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,
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
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(
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
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
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
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
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
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
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
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
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
> >
>
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
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
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
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
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
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
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
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
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
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
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(
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
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
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
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
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
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
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
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
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
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)
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
> > +
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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/
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
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;
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 {
> +
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
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
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
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
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
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
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
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
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:
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 ++-
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_
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 +++
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
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
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
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/
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;
>
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
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
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 - 100 of 444 matches
Mail list logo