Iterating over a property containing a list of phandles with arguments
is a common operation for device drivers. This patch adds a new
of_property_for_each_phandle_with_args() macro to make the iteration
simpler.
Signed-off-by: Hiroshi Doyu
Cc: Rob Herring
Cc: Grant Likely
---
v7:
Fixed some mi
Hi,
This series provide:
(0) IOMMU standard DT binding("iommus")
(1) Unified IOMMU(SMMU) driver among Tegra SoCs
(2) Multiple Address Space support(MASID) in IOMMU(SMMMU)
(3) Tegra IOMMU'able devices, most of platform devices are IOMMU'able.
There's been some discussion[1] about device populatio
The current implementation of IOMMU on sPAPR does not use iommu_ops
and therefore does not call IOMMU API's bus_set_iommu() which
1) sets iommu_ops for a bus
2) registers a bus notifier
Instead, PCI devices are added to IOMMU groups from
subsys_initcall_sync(tce_iommu_init) which does basically the
Perf completion will use perf list --raw-dump to get the events available for
'-e'.
But currently, it does not work well.
Example:
# perf stat -e kvmm[TAB] Error: unknown option `raw-dump'
usage: perf list [hw|sw|cache|tracepoint|pmu|event_glob]
Because perf-completion.sh use '
Example:
# perf list test
List of pre-defined events (to be used in -e):
# echo $?
0
Verification:
# perf list test
Error: No event for test.
Usage:
perf list [hw|sw|cache|tracepoint|pmu|event_glob]
# echo $?
Signed-off-by: Dongsheng Yang
---
tools/perf/util/parse-options.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/parse-options.h b/tools/perf/util/parse-options.h
index cbf0149..f395a21a 100644
--- a/tools/perf/util/parse-options.h
+++ b/tools/perf/util/par
I am not sure why the -g option in record and top has no long_name
for it.
Example:
# perf record --[TAB]
--all-cpus --count --freq --no-delay
--period--realtime --uid
--branch-any--cpu -
Example:
# perf list kvmmmu
List of pre-defined events (to be used in -e):
Verification:
# perf list kvmmmu
List of pre-defined events (to be used in -e):
kvmmmu:kvm_mmu_pagetable_walk [Tracepoint event]
kvmmmu:kvm_mmu_pagi
Hi Bjorn, ,
On 11/12/2013 19:32, Bjorn Helgaas wrote:
> If this looks reasonable, I'll merge it via the PCI tree for v3.13.
>
> Bjorn
>
>
> MAINTAINERS: Add DesignWare, i.MX6, Armada, R-Car PCI host maintainers
>
> Add entries for PCI host controller drivers in drivers/pci/host/.
>
> Signed-o
Hello,
This patchset tries to remove all die() calls in event filter parsing
code. I changed two main functions of pevent_filter_add_filter_str()
and pevent_filter_match() to return a proper error code (pevent_errno).
The actual error message might be saved in a static buffer in pevent_
filter a
Also check return value and handle it.
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 48 ++---
1 file changed, 40 insertions(+), 8 deletions(-)
diff --git a/tools/lib/traceevent/parse-filter.c
b/tools/lib/traceevent/parse-filter.c
index 7
From: Namhyung Kim
The pevent_filter_strerror() function is for receiving actual error
message from pevent_errno value. To do that, add a static buffer to
event_filter for saving internal error message
If a failed function saved other information in the static buffer
returns the information, ot
Those functions are for stringify filter arguments. As caller of
those functions handles NULL string properly, it seems that it's
enough to return NULL rather than calling die().
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 58 +++--
1 fi
The realloc() should check return value and not to overwrite previous
pointer in case of error.
Reviewed-by: Steven Rostedt
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/tools/lib/tr
From: Namhyung Kim
So that it can return a proper pevent_errno value.
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 6 +++-
tools/lib/traceevent/parse-filter.c | 64 +
2 files changed, 42 insertions(+), 28 deletions(-)
diff --git a/
Reviewed-by: Steven Rostedt
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/tools/lib/traceevent/parse-filter.c
b/tools/lib/traceevent/parse-filter.c
index ab9cefe320b4..246ee81e1f93 100644
--- a/tool
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff --git a/tools/lib/traceevent/parse-filter.c
b/tools/lib/traceevent/parse-filter.c
index ab402fb2dcf7..d4b0bac80dc8 100644
--- a/tools/lib/traceevent/pa
Refactor it to return appropriate pevent_errno value.
Reviewed-by: Steven Rostedt
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 8 +++-
tools/lib/traceevent/parse-filter.c | 34 +++---
2 files changed, 26 insertions(+), 16 deletions(-)
d
To do that, make the function returns the error code. Also pass
error_str so that it can set proper error message when error occurred.
Reviewed-by: Steven Rostedt
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 5 +-
tools/lib/traceevent/parse-filter.c | 94 +
The test_filter() function is for testing given filter is matched to a
given record. However it doesn't handle error cases properly so add a
new argument err to save error info during the test and also pass it
to internal test functions.
The return value of pevent_filter_match() also converted to
From: Namhyung Kim
Refactor the pevent_filter_add_filter_str() to return a proper error
code and get rid of the third error_str argument.
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 8 ++--
tools/lib/traceevent/parse-filter.c | 78 +++-
From: Namhyung Kim
So that it can return a proper pevent_errno value.
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 3 ++-
tools/lib/traceevent/parse-filter.c | 20 ++--
2 files changed, 12 insertions(+), 11 deletions(-)
diff --git a/tools/lib/traceeve
Make it return pevent_errno to distinguish malloc allocation failure.
Since it'll be returned to user later, add more error code.
Reviewed-by: Steven Rostedt
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/event-parse.h | 4 +++-
tools/lib/traceevent/parse-filter.c | 27 +
From: Namhyung Kim
So that it can propagate error properly.
Signed-off-by: Namhyung Kim
---
tools/lib/traceevent/parse-filter.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/lib/traceevent/parse-filter.c
b/tools/lib/traceevent/parse-filter.c
index c08ce594cab
David Ahern wrote:
> Why not make raw_dump a proper argument?
Sure, that'd work too. I was thinking of a minimal way to fix the
problem myself.
> diff --git a/tools/perf/builtin-list.c b/tools/perf/builtin-list.c
> index 011195e38f21..b553d0c4ca82 100644
> --- a/tools/perf/builtin-list.c
> +++ b/
Hi,
On Wed, Dec 11, 2013 at 10:45 PM, srinivas kandagatla
wrote:
> Hi Chen,
>
> On 11/12/13 12:17, Chen-Yu Tsai wrote:
>
>>>
>>> I would be good to get actual picture of this hw setup, On ST the
>>> additional glue logic which sits on top of the GMAC is to resposible for
>>> selecting the correct
Use wrapper function task_faults_idx to calculate index in group_faults.
Reviewed-by: Naoya Horiguchi
Acked-by: Mel Gorman
Acked-by: David Rientjes
Signed-off-by: Wanpeng Li
---
kernel/sched/fair.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/sched/fair.c
Changelog:
v7 -> v8:
* remove references to it in Documentation/sysctl/kernel.txt
commit 887c290e (sched/numa: Decide whether to favour task or group weights
based on swap candidate relationships) drop the check against
sysctl_numa_balancing_settle_count, this patch remove the sysctl.
Acked-b
Changelog:
v3 -> v4:
* remove period_slot recalculation
The original code is as intended and was meant to scale the difference
between the NUMA_PERIOD_THRESHOLD and local/remote ratio when adjusting
the scan period. The period_slot recalculation can be dropped.
Reviewed-by: Naoya Horiguchi
Ac
Changelog:
v2 -> v3:
* tranlate cpu_to_node(task_cpu(p)) to task_node(p) in sched/debug.c
Use wrapper function task_node to get node which task is on.
Acked-by: Mel Gorman
Reviewed-by: Naoya Horiguchi
Reviewed-by: Rik van Riel
Acked-by: David Rientjes
Signed-off-by: Wanpeng Li
---
kernel
Hello Simon, Andrew
+-- On Wed, 11 Dec 2013, Simon Guinot wrote --+
| IIUC this patch, the INITRAMFS_COMPRESSION_* options are now
| ignored/useless. Don't you think we should remove them from the
| usr/Kconfig file ?
-> https://lkml.org/lkml/2013/11/25/21
I'v pushed a patch from Mr Hristo t
> > >
> > > +void __init parse_efi_setup(u64 phys_addr)
> > > +{
> > > + struct setup_data *sd;
> > > +
> > > + if (!efi_enabled(EFI_64BIT)) {
> > > + pr_warn("SETUP_EFI not supported on 32-bit\n");
> > > + return;
> > > + }
> >
> > Shouldn't this function be in two versions in e
>
> >
> > and the EFI_BOOT* tests can be done in save_runtime_map and also the
> > error handling can happen there. This way efi_map_regions() won't
> > need to know about anything. This way, you can later move the whole
> > save_runtime_map() function to efi-kexec.c just by taking it without any
>> ...although, the spec says that it does not wait for the port resets
>> to complete. As far as I can see re-issuing a warm reset and waiting
>> is the only way to guarantee the core times the recovery. Presumably
>> the portstatus debounce in hub_activate() mitigates this, but that
>> 100ms is
Hi Bjorn,
On Wed, Dec 11, 2013 at 11:32:37AM -0700, Bjorn Helgaas wrote:
> +PCI DRIVER FOR IMX6
> +M: Shawn Guo
Thanks for the nomination. But I think a better person for this
position would be Richard Zhu (copied). He knows
the driver and controller much better than myself, and most import
Hi Soren,
On Tue, Dec 10, 2013 at 4:07 PM, Soren Brinkmann
wrote:
> Soren Brinkmann (5):
> net: macb: Adjust tx_clk when link speed changes
This patch causes build issues on some at91 platforms, namely
at91sam9263 that lacks programmable clocks. So it doesn't implement
clk_set_rate() and clk_
On Thu, 12 Dec 2013, Wanpeng Li wrote:
> Changelog:
> v3 -> v4:
> * remove period_slot recalculation
>
> The original code is as intended and was meant to scale the difference
> between the NUMA_PERIOD_THRESHOLD and local/remote ratio when adjusting
> the scan period. The period_slot recalcula
I'm announcing the release of the 3.12.5 kernel.
All users of the 3.12 kernel series must upgrade.
The updated 3.12.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.12.y
and can be browsed at the normal kernel.org git web browser:
diff --git a/Documentation/i2c/busses/i2c-i801
b/Documentation/i2c/busses/i2c-i801
index 99d4e442b77d..8bb57d7c12ea 100644
--- a/Documentation/i2c/busses/i2c-i801
+++ b/Documentation/i2c/busses/i2c-i801
@@ -22,6 +22,7 @@ Supported adapters:
* Intel Panther Point (PCH)
* Intel Lynx Point (PC
I'm announcing the release of the 3.10.24 kernel.
All users of the 3.10 kernel series must upgrade.
The updated 3.10.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.10.y
and can be browsed at the normal kernel.org git web browser:
I'm announcing the release of the 3.4.74 kernel.
All users of the 3.4 kernel series must upgrade.
The updated 3.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
linux-3.4.y
and can be browsed at the normal kernel.org git web browser:
On Thu, 12 Dec 2013, Wanpeng Li wrote:
> Use wrapper function task_faults_idx to calculate index in group_faults.
>
> Reviewed-by: Naoya Horiguchi
> Acked-by: Mel Gorman
> Signed-off-by: Wanpeng Li
Acked-by: David Rientjes
The naming of task_faults_idx() is a little unfortunate since it is
On Thu, 12 Dec 2013, Wanpeng Li wrote:
> Changelog:
> v2 -> v3:
> * tranlate cpu_to_node(task_cpu(p)) to task_node(p) in sched/debug.c
>
> Use wrapper function task_node to get node which task is on.
>
> Acked-by: Mel Gorman
> Reviewed-by: Naoya Horiguchi
> Reviewed-by: Rik van Riel
> Sign
On Wed, 2013-12-11 at 21:08 +, Anton Altaparmakov wrote:
> Hi,
>
> On 11 Dec 2013, at 19:11, Al Viro wrote:
> > On Wed, Dec 11, 2013 at 10:49:29PM +0300, Vyacheslav Dubeyko wrote:
> >> This feature worked earlier under Linux. So, I suppose that some changes
> >> in HFS+ driver
> >> or in VFS
On Thu, 12 Dec 2013, Wanpeng Li wrote:
> commit 887c290e (sched/numa: Decide whether to favour task or group weights
> based on swap candidate relationships) drop the check against
> sysctl_numa_balancing_settle_count, this patch remove the sysctl.
>
What about the references to it in Documentat
On Wed, Dec 11, 2013 at 03:51:51PM +0100, Olliver Schinagl wrote:
> Working on this and studying the existing
> ahci_platform/shci_platform drivers the last few days and was
> figuring out why ahci_platform only supports 1 clock. IMX handles
> this by having 3 clocks defined in the DT, the first on
Hi Will,
On Tue, Dec 10, 2013 at 1:00 PM, Vinayak Kale wrote:
> Hi Will,
>
>
> On Mon, Dec 9, 2013 at 10:20 PM, Will Deacon wrote:
>> Hi Vinayak,
>>
>> On Wed, Dec 04, 2013 at 10:09:51AM +, Vinayak Kale wrote:
>>> Add support for irq registration when pmu interrupt is percpu.
>>
>> Getting c
> > > + */
> > > +static int __init map_regions_fixed(void)
> > > +{
> > > + int i, s, ret = 0;
> > > + u64 end, systab;
> > > + unsigned long size;
> > > + efi_memory_desc_t *md;
> > > + struct efi_setup_data *data;
> > > +
> > > + s = sizeof(*data) + nr_efi_runtime_map * sizeof(data->map[0]);
> >
On Wed, Dec 11, 2013 at 11:24:31AM +0100, Vlastimil Babka wrote:
> Changelog since V1 (thanks to the reviewers!)
> o Included "trace compaction being and end" patch in the series (mgorman)
> o Changed variable names and comments in patches 2 and 5(mgorman)
> o More thorough measurem
Hi all,
Changes since 20131211:
The powerpc tree still had its build failure for which I applied a
supplied patch.
The net-next tree gained a conflict against the net tree.
The block tree gained a conflict against the f2fs tree.
The usb-gadget tree still has its build failure so I used the
On Thu, 2013-12-12 at 06:57 +0100, Mike Galbraith wrote:
> On Wed, 2013-12-11 at 21:45 -0800, H. Peter Anvin wrote:
> > As in it hangs at that point?
>
> Nope, it's still going.
>
> [1567.578340] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits:
> 1064 MHz, 2266 MHz
>
> Funny, cont
(2013/12/11 22:34), Ingo Molnar wrote:
>
> * Masami Hiramatsu wrote:
>
>>> So why are annotations needed at all? What can happen if an
>>> annotation is missing and a piece of code is probed which is also
>>> used by the kprobes code internally - do we crash, lock up,
>>> misbehave or handle
> @@ -4861,10 +4861,8 @@ int __init_or_module cgroup_load_subsys(struct
> cgroup_subsys *ss)
>*/
> css = ss->css_alloc(cgroup_css(cgroup_dummy_top, ss));
> if (IS_ERR(css)) {
> - /* failure case - need to deassign the cgroup_subsys[] slot. */
> - cgroup_
On Wed, 2013-12-11 at 21:45 -0800, H. Peter Anvin wrote:
> As in it hangs at that point?
Nope, it's still going.
[1567.578340] pcc-cpufreq: (v1.10.00) driver loaded with frequency limits: 1064
MHz, 2266 MHz
Funny, continents move faster :) Maybe missing a write or two.
-Mike
--
To unsubscri
(2013/12/12 3:11), Oleg Nesterov wrote:
> On 12/11, Masami Hiramatsu wrote:
>>
>> (2013/12/11 0:57), Oleg Nesterov wrote:
>>> On 12/10, Masami Hiramatsu wrote:
and isn't it better to increment
miss-hit counter of the uprobe?
>>>
>>> What do you mean? This is not miss-hit and ->utask
Paolo Bonzini wrote:
> Il 11/12/2013 09:31, Liu, Jinsong ha scritto:
>> Paolo, comments for version 2?
>
> I think I commented that it's fine, I'm just waiting for a rebase on
> top of the generic patches.
>
> Paolo
>
Thanks! common MPX definiation patches have been checked in tip tree (both
Q
As in it hangs at that point?
Mike Galbraith wrote:
>On Wed, 2013-12-11 at 20:49 -0800, H. Peter Anvin wrote:
>> On 12/11/2013 08:25 PM, Mike Galbraith wrote:
>> > arch/x86/include/asm/mwait.h |4 ++--
>> > arch/x86/kernel/cpu/common.c |7 ---
>> > arch/x86/kernel/setup_percpu.c
The immediate problem I see with setting aside reserves "off the top"
is that we don't really know a priori how much memory the kernel
itself is going to use, which could still land us in an overcommitted
state.
In other words, if I have your 128 MB machine, and I set aside 8 MB
for OOM handling,
On Wed, 2013-12-11 at 20:49 -0800, H. Peter Anvin wrote:
> On 12/11/2013 08:25 PM, Mike Galbraith wrote:
> > arch/x86/include/asm/mwait.h |4 ++--
> > arch/x86/kernel/cpu/common.c |7 ---
> > arch/x86/kernel/setup_percpu.c |1 +
> > 3 files changed, 7 insertions(+), 5 deletion
On Wed, 2013-12-11 at 23:26 -0500, Dave Jones wrote:
> On Tue, Dec 10, 2013 at 02:48:52PM -0800, Linus Torvalds wrote:
>
> > Dave, can you re-create that trinity run and test that patch? I think
> > we've got this
>
> 24 hours later, all is well. I think we can call this one done.
>
> Tested
ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR have been enabled as default configs
to S5P64X0 platforms.
Introduction of PHYS_VIRT config as default would enable phy-to-virt and
virt-to-phy translation function at boot and module loading time
and enforce dynamic reallocation of memory. AUTO_ZRELADDR confi
Commit b6aa997 "Add feature check core code" added feature checking
logic in config/feature-checks/Makefile but didn't use the CROSS_COMPILE
value.
Fix it by prefixing $(CC), as is done in Makefile.perf.
Signed-off-by: Michael Ellerman
---
tools/perf/config/feature-checks/Makefile | 2 +-
1 fil
> -Original Message-
> From: Jingoo Han [mailto:jg1@samsung.com]
> Sent: Thursday, December 12, 2013 3:55 AM
> To: 'Bjorn Helgaas'; linux-...@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org;
> linux-te...@vger.kernel.org; linux...@vger.kernel.org
On 12/12/2013 11:16 AM, Sasha Levin wrote:
> On 12/11/2013 05:59 PM, Vlastimil Babka wrote:
>> On 12/09/2013 09:26 PM, Sasha Levin wrote:
>>> On 12/09/2013 12:12 PM, Vlastimil Babka wrote:
On 12/09/2013 06:05 PM, Sasha Levin wrote:
> On 12/09/2013 04:34 AM, Vlastimil Babka wrote:
>> H
On Wed, 2013-12-11 at 20:49 -0800, H. Peter Anvin wrote:
> On 12/11/2013 08:25 PM, Mike Galbraith wrote:
> > arch/x86/include/asm/mwait.h |4 ++--
> > arch/x86/kernel/cpu/common.c |7 ---
> > arch/x86/kernel/setup_percpu.c |1 +
> > 3 files changed, 7 insertions(+), 5 deletion
From: Rafael J. Wysocki
If the addition of dev_attr_online fails, device_add_attrs() should
remove device attribute groups as well as type and class attribute
groups before returning an error code. Make that happen.
Signed-off-by: Rafael J. Wysocki
---
drivers/base/core.c |4 +++-
1 file
On 12/11/2013 08:25 PM, Mike Galbraith wrote:
> arch/x86/include/asm/mwait.h |4 ++--
> arch/x86/kernel/cpu/common.c |7 ---
> arch/x86/kernel/setup_percpu.c |1 +
> 3 files changed, 7 insertions(+), 5 deletions(-)
>
> Index: linux-2.6/arch/x86/kernel/cpu/common.c
> ==
(2013/12/11 22:31), Jiri Kosina wrote:
> On Tue, 3 Dec 2013, Steven Rostedt wrote:
>
>>> To avoid a kernel crash by probing on lockdep code, call
>>> kprobe_int3_handler and kprobe_debug_handler directly
>>> from do_int3 and do_debug. Since there is a locking code
>>> in notify_die, lockdep code c
Hi,
On Wed, Dec 11, 2013 at 4:05 AM, Maxime Ripard
wrote:
> Hi,
>
> On Mon, Dec 09, 2013 at 10:43:29AM +0800, Chen-Yu Tsai wrote:
>> >> @@ -2759,15 +2760,18 @@ struct stmmac_priv *stmmac_dvr_probe(struct
>> >> device *device,
>> >> }
>> >> }
>> >>
>> >> + clk_disable_unpr
On Tue, Dec 10, 2013 at 02:48:52PM -0800, Linus Torvalds wrote:
> Dave, can you re-create that trinity run and test that patch? I think
> we've got this
24 hours later, all is well. I think we can call this one done.
Tested-by: Dave Jones
Dave
--
To unsubscribe from this list: sen
On Wed, 2013-12-11 at 16:52 -0800, H. Peter Anvin wrote:
> On 12/11/2013 03:14 PM, Borislav Petkov wrote:
> > On Wed, Dec 11, 2013 at 03:08:35PM -0800, H. Peter Anvin wrote:
> >> So I would like to propose that we switch to using a percpu variable
> >> which is a single cache line of nothing at al
(2013/12/12 10:34), Steven Rostedt wrote:
> On Tue, 10 Dec 2013 09:57:14 +
> Masami Hiramatsu wrote:
>
>
>> --- a/kernel/trace/trace_kprobe.c
>> +++ b/kernel/trace/trace_kprobe.c
>> @@ -51,45 +51,45 @@ struct event_file_link {
>> (sizeof(struct probe_arg) * (n)))
>>
>>
>> -static __
On Wed, Dec 11, 2013 at 03:08:23PM -0800, Paul E. McKenney wrote:
> Hello!
>
> This series once again attempts to improve rcu_assign_pointer()'s
> relationship with sparse.
>
> 1.Add a comment indicating that despite appearances,
> rcu_assign_pointer() really only evaluates its argument
From: Mugunthan V N
When CPSW and Davinci MDIO are build as modules, CPSW crashes when
accessing CPSW registers in CPSW probe. The same is working in built-in
as the CPSW clocks are enabled in Davindi MDIO probe, SO Enabling the
clocks before accessing the version register and moving out the othe
From: Mugunthan V N
When only one port of the two port is pinned out, then dt probe is failing
because second port phy is not found. fixing this by checking the number of
slaves and breaking the loop.
Signed-off-by: Mugunthan V N
Signed-off-by: Felipe Balbi
---
both patches were taken from TI
On 12/04/2013 07:13 PM, One Thousand Gnomes wrote:
Not so much confused as simply merged. Input processing is inherently
single-threaded; it makes sense to rely on that at the highest level
possible.
I would disagree entirely. You want to minimise the areas affected by a
given lock. You also wa
The return values of seq_printf/puts/putc are frequently misused.
Start down a path to remove all the return value uses of these
functions.
Make the static bool seq_overflow public along with a rename of
the function to seq_is_buf_full. Rename the still static
seq_set_overflow to seq_set_buf_ful
Since adding a new function to seq_file (seq_is_buf_full)
there isn't any value for functions called from seq_show to
return anything. Remove the int returns of the various
print_tuple/_print_tuple functions.
Signed-off-by: Joe Perches
---
include/net/netfilter/nf_conntrack_core.h| 2 +-
The return value from seq_printf/puts/putc/etc are frequently misused.
Start removing the uses of the return values.
Joe Perches (2):
seq_file: Rename static bool seq_overflow to public bool seq_is_buf_full
netfilter: Convert print_tuple functions to return void
Documentation/filesystems/seq
On Wed, Dec 11, 2013 at 08:06:39PM -0500, Paul Gortmaker wrote:
> From: Thomas Gleixner
>
> As of commit dae6e64d2bcfd4b06304ab864c7e3a4f6b5fedf4 ("rcu: Introduce
> proper blocking to no-CBs kthreads GP waits") the rcu subsystem started
> making use of wait queues.
>
> Here we convert all additi
On 12/11/2013 05:59 PM, Vlastimil Babka wrote:
On 12/09/2013 09:26 PM, Sasha Levin wrote:
On 12/09/2013 12:12 PM, Vlastimil Babka wrote:
On 12/09/2013 06:05 PM, Sasha Levin wrote:
On 12/09/2013 04:34 AM, Vlastimil Babka wrote:
Hello, I will look at it, thanks.
Do you have specific reproductio
On 12/11/13 at 11:20pm, Borislav Petkov wrote:
> On Mon, Dec 09, 2013 at 05:42:22PM +0800, Dave Young wrote:
> > Add a new setup_data type SETUP_EFI for kexec use.
> > Passing the saved fw_vendor, runtime, config tables and efi runtime
> > mappings.
> >
> > When entering virtual mode, directly ma
Hi Jens,
Today's linux-next merge of the block tree got a conflict in
fs/f2fs/data.c between commit 8758e549e105 ("f2fs: add unlikely() macro
for compiler more aggressively") from the f2fs tree and commit
2c30c71bd653 ("block: Convert various code to bio_for_each_segment()")
from the block tree.
On Tue, Dec 10, 2013 at 7:35 PM, Masami Hiramatsu
wrote:
> (2013/12/11 11:32), Alexei Starovoitov wrote:
>> On Tue, Dec 10, 2013 at 7:47 AM, Ingo Molnar wrote:
>>>
>>> * Alexei Starovoitov wrote:
>>>
> I'm fine if it becomes a requirement to have a vmlinux built with
> DEBUG_INFO to use
I hit a cryptic failure when testing a recent version
of perf:
# perf report
write failure on standard output: Bad file descriptor
The issue is in commit b68e2f91 (perf symbols: Introduce symsrc
structure). symsrc__destroy() does a close(ss->fd) but
ss->fd is only initialised in the symbol-e
> > +++ b/Documentation/ABI/testing/sysfs-firmware-efi-runtime-map
> > @@ -0,0 +1,36 @@
> > +What: /sys/firmware/efi/runtime-map/
> > +Date: December 2013
> > +Contact: Dave Young
> > +Description:
>
> This could start at the same line as Description
Ok.
[snip]
> > +
On 12/11/13 at 07:32pm, Borislav Petkov wrote:
> On Mon, Dec 09, 2013 at 05:42:20PM +0800, Dave Young wrote:
> > Export fw_vendor, runtime and config table physical addresses to
> > /sys/firmware/efi/fw_vendor, /sys/firmware/efi/runtime and
> > /sys/firmware/efi/config_table because kexec kernel wi
When a controlling tty is being hung up and the hang up is
waiting for a just-signalled tty reader or writer to exit, and a new tty
reader/writer tries to acquire an ldisc reference concurrently with the
ldisc reference release from the signalled reader/writer, the hangup
can hang. The new reader/w
Greg,
I know it's late in the -rc cycle but I'd like to get this fix into 3.13.
Although it's only likely to happen at shutdown/reboot, the hang frequency
could be as often as 1 in 1.
The patch fixes the count value returned when the cmpxchg() has
successfully changed the count. Only one code
This patch introduces new sysfs entries for users to control the policy of
in-place-updates, namely IPU, in f2fs.
Sometimes f2fs suffers from performance degradation due to its out-of-place
update policy that produces many additional node block writes.
If the storage performance is very dependant
On 12/11/13 at 12:13pm, Matt Fleming wrote:
> On Mon, 09 Dec, at 05:42:22PM, Dave Young wrote:
> > Add a new setup_data type SETUP_EFI for kexec use.
> > Passing the saved fw_vendor, runtime, config tables and efi runtime
> > mappings.
> >
> > When entering virtual mode, directly mapping the efi
On 12/11/13 at 03:05pm, Borislav Petkov wrote:
> On Wed, Dec 11, 2013 at 12:13:52PM +, Matt Fleming wrote:
> > > + for (i = 0, md = data->map; i < nr_efi_runtime_map; i++, md++) {
> > > + efi_map_region_fixed(md); /* FIXME: add error handling */
> >
> > Oops. Please fix this ;-)
>
> Y
On Wed, 11 Dec 2013 18:06:06 -0800
Sonny Rao wrote:
> > ftrace has several clocks that it uses:
> >
> > o local - basically sched_clock()
> > o global - something like hpet that is monotonic across CPUs but slower
> > o counter - a simple atomic counter (no time associated to it)
> > o uptime -
> --- /dev/null
> +++ b/kernel/swait.c
> @@ -0,0 +1,118 @@
> +/*
> + * Simple waitqueues without fancy flags and callbacks
We should probably have a more detailed description of when to use
simple wait queues verses normal wait queues. These are obviously much
lighter wait, and should be the pref
On 12/11/13 at 12:12pm, Borislav Petkov wrote:
> On Wed, Dec 11, 2013 at 10:20:25AM +, Matt Fleming wrote:
> > This needs reviewing by at least one of the x86 folks, but it
> > certainly makes sense to me.
>
> Ingo told me yesterday, it makes sense too. I'd guess we can try it.
> FWIW, all cal
On Wed, Dec 11, 2013 at 5:49 PM, Steven Rostedt wrote:
> On Wed, 11 Dec 2013 17:17:30 -0800
> Sonny Rao wrote:
>
>> On Wed, Dec 11, 2013 at 11:30 AM, Stephane Eranian
>> wrote:
>> > Sonny,
>> >
>> > Your patch has a couple of problems for me:
>> > - requires CONFIG_TRACING
>> >
>> > You should
On 12/11/13 at 10:39am, Matt Fleming wrote:
> (Cc'ing Leif and Mark for the ARM-side of things)
>
> On Mon, 09 Dec, at 05:42:15PM, Dave Young wrote:
> > In arch/x86/platform/efi/efi.c and drivers/firmware/efi/efi.c turn to use
> > early_memremap/early_memunmap instead of early_ioremap/early_iounma
On Wed, 11 Dec 2013 20:06:37 -0500
Paul Gortmaker wrote:
> From: Thomas Gleixner
>
> The wait_queue is a swiss army knife and in most of the cases the
> full complexity is not needed. Here we provide a slim version, as
> it lowers memory consumption and runtime overhead.
>
> The concept origi
On Wed, Dec 11, 2013 at 01:27:17PM +0300, Dan Carpenter wrote:
> On Wed, Dec 11, 2013 at 11:57:04AM +0200, Ivaylo Dimitrov wrote:
> > On 11.12.2013 10:33, Dan Carpenter wrote:
> > >On Wed, Dec 11, 2013 at 09:45:52AM +0200, Ivajlo Dimitrov wrote:
> > >>I can pick your changes and re-send the origina
On Wed, 11 Dec 2013 17:17:30 -0800
Sonny Rao wrote:
> On Wed, Dec 11, 2013 at 11:30 AM, Stephane Eranian wrote:
> > Sonny,
> >
> > Your patch has a couple of problems for me:
> > - requires CONFIG_TRACING
> >
> > You should directly invoke getrawmonotonic()
> > and inline the code from trace_c
1 - 100 of 792 matches
Mail list logo