On Mon, Dec 3, 2012 at 9:58 PM, Kent Overstreet wrote:
> +#define pr_fmt(fmt) "%s: " fmt "\n", __func__
Dynamic debug already allows to insert the function name. Please
consider leaving this line out entirely and move the "\n" to the end
of individual printed lines.
> +#define PCPU_REF_PTR
I thought I had addressed all the issues with the v9 version. The only comments
I got on it was Mike's reviewed-by and I didn't think that warranted a resend.
If you do want me to send it again, do you want it updated to current
top-of-tree? That may take a bit, since there's an unrelated bug
On Thursday 27 December 2012 02:30 PM, Vineet Gupta wrote:
> On Friday 16 November 2012 10:28 AM, Al Viro wrote:
>>> + ; - check for signals/restore-sigmask
>>> + bbit0 r9, TIF_SIGPENDING, chk_next_work
>>> +
>>> + ; save CALLEE Regs.
>>> + ; (i) If this signal
On Thursday, December 27, 2012 01:47:22 PM Rafael J. Wysocki wrote:
> On Wednesday, December 26, 2012 04:10:32 PM Yinghai Lu wrote:
> > On Wed, Dec 26, 2012 at 2:36 PM, Rafael J. Wysocki wrote:
> > > On Wednesday, December 26, 2012 12:41:05 PM Yinghai Lu wrote:
> > >> On Wed, Dec 26, 2012 at
On Thu, Dec 27, 2012 at 02:39:19PM +0800, Jason Wang wrote:
> Fix the leaking of oldubufs and fd refcnt when fail to initialized used ring.
>
> Signed-off-by: Jason Wang
> ---
> drivers/vhost/net.c | 14 +++---
> 1 files changed, 11 insertions(+), 3 deletions(-)
>
> diff --git
On Wednesday, December 05, 2012 10:48:35 AM Mark Langsdorf wrote:
> This patch series adds cpufreq support for the Calxeda
> ECX-1000 (highbank) SoCs. The EnergyCore Management Engine (ECME) on
> the ECX-1000 manages the voltage for the part and communications with
> Linux through a pl320 mailbox.
On Thu, 2012-12-27 at 16:36 +0800, Shawn Guo wrote:
> On Wed, Dec 26, 2012 at 10:34:39AM +0800, Shawn Guo wrote:
> > It seems that I'm running into the same locking issue. My setup is:
> >
> > - i.MX28 (ARM)
> > - v3.8-rc1
> > - mxs_defconfig
> - The warning is seen when LCD is blanking
> >
>
On Thu, Dec 27, 2012 at 02:39:20PM +0800, Jason Wang wrote:
> Currently, polling error were ignored in vhost. This may lead some issues (e.g
> kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
> this
> by:
>
> - extend the idea of vhost_net_poll_state to all vhost_polls
Am 19.12.2012 09:55, schrieb Alexander Holler:
Unlikely, as I've worked hard to get one of the first drivers for
pluggable RTCs into the kernel. ;)
BTW. maybe you could have a look at the patch for that:
https://lkml.org/lkml/2012/12/15/64
It should already be in your mailbox.
I had to
On Wednesday, December 26, 2012 04:10:32 PM Yinghai Lu wrote:
> On Wed, Dec 26, 2012 at 2:36 PM, Rafael J. Wysocki wrote:
> > On Wednesday, December 26, 2012 12:41:05 PM Yinghai Lu wrote:
> >> On Wed, Dec 26, 2012 at 12:16 PM, Yinghai Lu wrote:
> >> > On Wed, Dec 26, 2012 at 12:10 PM, Bjorn
Hi,
On Wed, Dec 26, 2012 at 02:34:35AM +0200, Kirill A. Shutemov wrote:
> On MIPS if SPARSEMEM is enabled we've got this:
>
> In file included from
> /home/kas/git/public/linux/arch/mips/include/asm/pgtable.h:552,
> from include/linux/mm.h:44,
> from
This lets of_gpio_named_count return an errno on errors by being able to
distinguish between reaching the end of the phandle list and getting some other
error from of_parse_phandle_with_args.
Return error from of_spi_register_master when there is an "cs-gpios" list for
which gp_gpio_named_count
Holes in the cs-gpios DT phandle list is supposed to mark that native
chipselects is to be used. The value returned from of_get_named_gpio_flags in
this case is -EEXIST. By initializing cs_gpios and cs_gpio with -EEXIST, this
and only this errno will indicate to a spi controller driver that a
Return value for an empty phandle was -EEXIST before commit 15c9a0ac, that
changed the return value in this case to -ENOENT. However, of_gpio_named_count
relies upon the return value to be -EEXIST and relies upon being able to
distinguish this case from the case of no list at all which also
On Thu, Dec 27, 2012 at 8:31 AM, Alexander Beregalov
wrote:
> On 25 December 2012 16:05, Hillf Danton wrote:
>> On Tue, Dec 25, 2012 at 12:38 PM, Zhouping Liu wrote:
>>> Hello all,
>>>
>>> I found the below kernel bug using latest mainline(637704cbc95),
>>> my hardware has 2 numa nodes, and
When using a gpio chip select with a OF_GPIO_ACTIVE_LOW flag, this needs to be
known to the controller driver.
Signed-off-by: Andreas Larsson
---
Documentation/devicetree/bindings/spi/spi-bus.txt |3 +-
drivers/spi/spi.c | 24 ++--
This adds missing kernel-doc entries for cs_gpios in struct spi_master and
cs_gpio in struct spi_device.
Signed-off-by: Andreas Larsson
---
include/linux/spi/spi.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index
Using memset does not set an array of integers properly
Signed-off-by: Andreas Larsson
---
drivers/spi/spi.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 9c2acf1..a4baa0a 100644
--- a/drivers/spi/spi.c
+++
This patch series fixes a bug where of_gpio_named count relied upon a return
value that was no longer returned from of_parse_phandle_with_args and adds the
possibility for of_gpio_named_count to return error values.
In addition, for of_spi_register_master it fixes a bug, adds documentation,
adds
At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote:
> (2012/12/24 21:09), Tang Chen wrote:
>> From: Wen Congyang
>>
>> We call hotadd_new_pgdat() to allocate memory to store node_data. So we
>> should free it when removing a node.
>>
>> Signed-off-by: Wen Congyang
>
> I'm sorry but is it safe to
Hi Sergei,
Yes, you are right.
I made this patch to read its interrupt number from dtb directly. But
now platform_get_irq() returns correct irq since "OF_DEV_AUXDATA(...)"
is added as my first patch.
This patch is useless.
Thanks and best regards,
Dongjin.
On Thu, Dec 27, 2012 at 5:18 AM,
Hi Sylwester,
On Thu, Dec 27, 2012 at 4:00 AM, Sylwester Nawrocki
wrote:
> On 12/26/2012 01:28 PM, Vivek Gautam wrote:
>>
>> Adding support to parse device node data in order to get
>> required properties to set pmu isolation for usb-phy.
>>
>> Signed-off-by: Vivek Gautam
>> ---
>>
On Wed December 26 2012 16:29:43 Kirill Smelkov wrote:
> Most of *_ops and other structures in vivi.c were already declared const
> but some have not. Constify and code/data will take less space:
>
> $ size drivers/media/platform/vivi.o
> textdata bss dec hex
On Thu, Dec 27, 2012 at 11:34:16AM +0800, Jason Wang wrote:
> On 12/26/2012 06:46 PM, Michael S. Tsirkin wrote:
> > On Wed, Dec 26, 2012 at 03:06:54PM +0800, Wanlong Gao wrote:
> >> Add a cpu notifier to virtio-net, so that we can reset the
> >> virtqueue affinity if the cpu hotplug happens. It
I met one error when does the following command:
sh/$ echo 1 > /proc/sys/vm/compact_memory
sh/$ sh: write error: Bad address
After using strace, I find the following:
...
write(1, "1\n", 2) = 3
write(1, "", 4294967295)= -1 EFAULT (Bad address)
On 12/24/2012 06:24 AM, Guenter Roeck wrote:
> Instantiating the driver with no available regulator results in:
>
> [39711.686393] i2c i2c-7: new_device: Instantiated device max1139 at 0x35
> [39711.688687] BUG: unable to handle kernel paging request at fe13
> [39711.688734] IP: []
On Sun, Dec 23, 2012 at 05:16:02AM -0600, Matt Sealey wrote:
> Since Efika MX platform support (pre-devicetree) was removed from the tree
> this code no longer has any possibility of running and clutters up the
> driver which is being replaced by the chipidea host in the future anyway.
>
>
Hi,
This is following up on ARC Linux Port submission bits:
Basic Port: https://lkml.org/lkml/2012/11/7/114
Addons: https://lkml.org/lkml/2012/11/12/121
I'm resending this single patch to hopefully get ACK on simple modpost change.
Thx,
-Vineet
Vineet Gupta (1):
modpost: Ignore ARC
ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.*
sections (collated by kernel/vmlinux.lds into .arcextmap in final link).
This section is used by debuggers to display the extension instructions
and need-not be loaded by target (hence !SHF_ALLOC)
The final kernel binary only
On Wed, 26 Dec 2012, Richard Hartmann wrote:
> + case TP_HKEY_EV_AC_CHANGED:
> + pr_info("AC status has changed\n");
> + /* X120e, x121e, X220, X220i, X220t, X230, T420, T420s, W520:
> + * AC status changed; can be triggered by plugging or
> +
On 12/27/2012 02:39 PM, Jason Wang wrote:
> Currently, polling error were ignored in vhost. This may lead some issues (e.g
> kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
> this
> by:
Can this kernel crash be reproduced by hand?
Thanks,
Wanlong Gao
>
> - extend
On Mon, Dec 3, 2012 at 9:58 PM, Kent Overstreet wrote:
> We want to remove retry-based AIO because it is fundemantally unsafe.
Instead of "fundemantally" that should have been "fundamentally" I guess ?
Thanks,
Fubo.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Tue, Dec 25, 2012 at 03:58:37PM +0100, Lothar Waßmann wrote:
> ipu_reset() can fail with a timeout. Check the return value and act
> appropriately.
>
> Signed-off-by: Lothar Waßmann
All:
Acked-by: Sascha Hauer
> ---
> drivers/staging/imx-drm/ipu-v3/ipu-common.c |5 -
> 1 files
On Thu, 27 Dec 2012 11:49:45 +0900, Namhyung Kim wrote:
> From: Namhyung Kim
>
> For systems have unstable sched_clock, all cpu_clock() does is enable/
> disable local irq during call to sched_clock(). And for stable systems
Oops, I meant s/sched_clock/scheck_clock_cpu/.
Thanks,
Namhyung
>
On Thu, Dec 27, 2012 at 9:27 AM, Woody Wu wrote:
> Can a peripheral chip that claims to be ISA or PCI device be used in a
> ARM based embedded system? For these kind of chips, I only concern
> about the planar kind of devices, means they are not on a dedicated
> expansion card.
>
> From hardware
On Wed, Dec 26, 2012 at 05:50:42PM -0700, Bjorn Helgaas wrote:
> On Thu, Dec 13, 2012 at 12:25 PM, Kirill A. Shutemov
> wrote:
> > From: "Kirill A. Shutemov"
> >
> > I had chance to test two PC setups with Thunderbolt: Acer Aspire S5 and
> > Intel DZ77RE-75K motherboard. Unfortunately, both of
Hi Russell,
On Thu, Dec 27, 2012 at 5:56 AM, Russell King - ARM Linux
wrote:
> On Wed, Dec 26, 2012 at 05:58:32PM +0530, Vivek Gautam wrote:
>> + if (!ret)
>> + sphy->phyctrl_pmureg = ioremap(reg[0], reg[1]);
>> +
>> + of_node_put(usbphy_pmu);
>> +
>> + if
From: Namhyung Kim
The "pid" sort key prints "Command: Pid" output but it's misaligned.
It's because of the offset of 6 was added to the column length during
the calculation in order to reserve an space for Pid part but it isn't
honored when printed. The output before this patch was like this:
From: Namhyung Kim
When hists__calc_col_len() called, most of column length are refreshed
but it missed parent column. So if the parent sort key was used along
with other keys rests will be misalinged since parent has no proper
column width.
Cc: Stephane Eranian
Signed-off-by: Namhyung Kim
From: Namhyung Kim
Since cpu number is a natural number, it'd be more appropriate
aligning it to right.
Before:
# Overhead CPU Command: Pid Shared Object
# ... . .
#
8.91% 8gnome-shell: 1497 perf-1497.map
Hi,
There's a bug report from Stefan Beller that gets segfault on using
some sort keys. In addition to it, I had some TODO items related to
it, hence this patchset. :)
This is mostly simple few liners and more complex ones might come later.
Stephane, it'd be great if you check I'm not messed
From: Namhyung Kim
When setup_sorting() is called, 'str' is passed to strtok_r() but it's
not checked to have a valid pointer. As strtok_r() accepts NULL
pointer on a first argument and use the third argument in that case,
it can cause a trouble since our third argument, tmp, is not
From: Namhyung Kim
Add description of sort keys to the perf-report document and also add
missing cpu and srcline keys to the command line help string.
Cc: Stephane Eranian
Signed-off-by: Namhyung Kim
---
tools/perf/Documentation/perf-report.txt | 38 +---
From: Namhyung Kim
Current _sort__sym_cmp() function is used for comparing symbols
between two hist entries on symbol, symbol_from and symbol_to sort
keys. Those functions pass addresses of symbols but it's meaningless
since it gets over-written inside of the _sort__sym_cmp function to a
start
From: Namhyung Kim
Some functions have set __maybe_unused on its arguments that are used
actually. Remove them.
Cc: Stephane Eranian
Signed-off-by: Namhyung Kim
---
tools/perf/util/sort.c | 11 ---
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/tools/perf/util/sort.c
From: Namhyung Kim
Current perf report gets segmentation fault when a branch stack
specific sort key is provided by --sort option to a perf.data file
which contains no branch infomation. It's because those sort keys
reference branch info of a hist entry unconditionally. Maybe we can
change it
From: Namhyung Kim
Some functions are misplaced along with other entries. Move them to a
right place so that it can be found together with related functions.
No functional change intended.
Cc: Stephane Eranian
Signed-off-by: Namhyung Kim
---
tools/perf/util/sort.c | 119
From: Namhyung Kim
It doesn't need to compare to every sort key names since the index
already has the required information.
Cc: Stephane Eranian
Signed-off-by: Namhyung Kim
---
tools/perf/util/sort.c | 26 ++
1 file changed, 2 insertions(+), 24 deletions(-)
diff
On Friday 16 November 2012 10:28 AM, Al Viro wrote:
>> +; - check for signals/restore-sigmask
>> +bbit0 r9, TIF_SIGPENDING, chk_next_work
>> +
>> +; save CALLEE Regs.
>> +; (i) If this signal causes coredump - full regfile needed
>> +; (ii) If signal is
Hello,
On Thu, 20 Dec 2012 18:00:11 -0800
ebied...@xmission.com (Eric W. Biederman) wrote:
> "Hatayama, Daisuke" writes:
>
> >> From: kexec-boun...@lists.infradead.org
> >> [mailto:kexec-boun...@lists.infradead.org] On Behalf Of Atsushi Kumagai
> >> Sent: Thursday, December 20, 2012 11:21 AM
>
On Wed, Dec 26, 2012 at 10:34:39AM +0800, Shawn Guo wrote:
> It seems that I'm running into the same locking issue. My setup is:
>
> - i.MX28 (ARM)
> - v3.8-rc1
> - mxs_defconfig
- The warning is seen when LCD is blanking
>
The warning disappears after reverting patch daee779 (console:
Hi, list
I know this might be a very basic question. But I really don't clear at
it.
Can a peripheral chip that claims to be ISA or PCI device be used in a
ARM based embedded system? For these kind of chips, I only concern
about the planar kind of devices, means they are not on a dedicated
On Wed, 2012-12-26 at 17:52 -0800, David Rientjes wrote:
> On Wed, 26 Dec 2012, David Woodhouse wrote:
>
> > Thanks. I'll look into this. I presume it was *always* failing, but
> > nobody happened to come across it because our test coverage of x86
> > configs without CONFIG_64BIT wasn't
On Wed, 2012-12-26 at 17:52 -0800, David Rientjes wrote:
On Wed, 26 Dec 2012, David Woodhouse wrote:
Thanks. I'll look into this. I presume it was *always* failing, but
nobody happened to come across it because our test coverage of x86
configs without CONFIG_64BIT wasn't particularly
Hi, list
I know this might be a very basic question. But I really don't clear at
it.
Can a peripheral chip that claims to be ISA or PCI device be used in a
ARM based embedded system? For these kind of chips, I only concern
about the planar kind of devices, means they are not on a dedicated
On Wed, Dec 26, 2012 at 10:34:39AM +0800, Shawn Guo wrote:
It seems that I'm running into the same locking issue. My setup is:
- i.MX28 (ARM)
- v3.8-rc1
- mxs_defconfig
- The warning is seen when LCD is blanking
The warning disappears after reverting patch daee779 (console: implement
Hello,
On Thu, 20 Dec 2012 18:00:11 -0800
ebied...@xmission.com (Eric W. Biederman) wrote:
Hatayama, Daisuke d.hatay...@jp.fujitsu.com writes:
From: kexec-boun...@lists.infradead.org
[mailto:kexec-boun...@lists.infradead.org] On Behalf Of Atsushi Kumagai
Sent: Thursday, December 20,
On Friday 16 November 2012 10:28 AM, Al Viro wrote:
+; - check for signals/restore-sigmask
+bbit0 r9, TIF_SIGPENDING, chk_next_work
+
+; save CALLEE Regs.
+; (i) If this signal causes coredump - full regfile needed
+; (ii) If signal is
From: Namhyung Kim namhyung@lge.com
Some functions are misplaced along with other entries. Move them to a
right place so that it can be found together with related functions.
No functional change intended.
Cc: Stephane Eranian eran...@google.com
Signed-off-by: Namhyung Kim
From: Namhyung Kim namhyung@lge.com
It doesn't need to compare to every sort key names since the index
already has the required information.
Cc: Stephane Eranian eran...@google.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/sort.c | 26 ++
1
From: Namhyung Kim namhyung@lge.com
Current perf report gets segmentation fault when a branch stack
specific sort key is provided by --sort option to a perf.data file
which contains no branch infomation. It's because those sort keys
reference branch info of a hist entry unconditionally.
From: Namhyung Kim namhyung@lge.com
Some functions have set __maybe_unused on its arguments that are used
actually. Remove them.
Cc: Stephane Eranian eran...@google.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
tools/perf/util/sort.c | 11 ---
1 file changed, 4
From: Namhyung Kim namhyung@lge.com
When setup_sorting() is called, 'str' is passed to strtok_r() but it's
not checked to have a valid pointer. As strtok_r() accepts NULL
pointer on a first argument and use the third argument in that case,
it can cause a trouble since our third argument,
From: Namhyung Kim namhyung@lge.com
Add description of sort keys to the perf-report document and also add
missing cpu and srcline keys to the command line help string.
Cc: Stephane Eranian eran...@google.com
Signed-off-by: Namhyung Kim namhy...@kernel.org
---
From: Namhyung Kim namhyung@lge.com
Current _sort__sym_cmp() function is used for comparing symbols
between two hist entries on symbol, symbol_from and symbol_to sort
keys. Those functions pass addresses of symbols but it's meaningless
since it gets over-written inside of the _sort__sym_cmp
Hi,
There's a bug report from Stefan Beller that gets segfault on using
some sort keys. In addition to it, I had some TODO items related to
it, hence this patchset. :)
This is mostly simple few liners and more complex ones might come later.
Stephane, it'd be great if you check I'm not messed
From: Namhyung Kim namhyung@lge.com
When hists__calc_col_len() called, most of column length are refreshed
but it missed parent column. So if the parent sort key was used along
with other keys rests will be misalinged since parent has no proper
column width.
Cc: Stephane Eranian
From: Namhyung Kim namhyung@lge.com
Since cpu number is a natural number, it'd be more appropriate
aligning it to right.
Before:
# Overhead CPU Command: Pid Shared Object
# ... . .
#
8.91% 8gnome-shell: 1497
From: Namhyung Kim namhyung@lge.com
The pid sort key prints Command: Pid output but it's misaligned.
It's because of the offset of 6 was added to the column length during
the calculation in order to reserve an space for Pid part but it isn't
honored when printed. The output before this patch
Hi Russell,
On Thu, Dec 27, 2012 at 5:56 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
On Wed, Dec 26, 2012 at 05:58:32PM +0530, Vivek Gautam wrote:
+ if (!ret)
+ sphy-phyctrl_pmureg = ioremap(reg[0], reg[1]);
+
+ of_node_put(usbphy_pmu);
+
+ if
On Wed, Dec 26, 2012 at 05:50:42PM -0700, Bjorn Helgaas wrote:
On Thu, Dec 13, 2012 at 12:25 PM, Kirill A. Shutemov
kirill.shute...@linux.intel.com wrote:
From: Kirill A. Shutemov kirill.shute...@linux.intel.com
I had chance to test two PC setups with Thunderbolt: Acer Aspire S5 and
On Thu, Dec 27, 2012 at 9:27 AM, Woody Wu narkewo...@gmail.com wrote:
Can a peripheral chip that claims to be ISA or PCI device be used in a
ARM based embedded system? For these kind of chips, I only concern
about the planar kind of devices, means they are not on a dedicated
expansion card.
On Thu, 27 Dec 2012 11:49:45 +0900, Namhyung Kim wrote:
From: Namhyung Kim namhyung@lge.com
For systems have unstable sched_clock, all cpu_clock() does is enable/
disable local irq during call to sched_clock(). And for stable systems
Oops, I meant s/sched_clock/scheck_clock_cpu/.
On Tue, Dec 25, 2012 at 03:58:37PM +0100, Lothar Waßmann wrote:
ipu_reset() can fail with a timeout. Check the return value and act
appropriately.
Signed-off-by: Lothar Waßmann l...@karo-electronics.de
All:
Acked-by: Sascha Hauer s.ha...@pengutronix.de
---
On Mon, Dec 3, 2012 at 9:58 PM, Kent Overstreet koverstr...@google.com wrote:
We want to remove retry-based AIO because it is fundemantally unsafe.
Instead of fundemantally that should have been fundamentally I guess ?
Thanks,
Fubo.
--
To unsubscribe from this list: send the line unsubscribe
On 12/27/2012 02:39 PM, Jason Wang wrote:
Currently, polling error were ignored in vhost. This may lead some issues (e.g
kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
this
by:
Can this kernel crash be reproduced by hand?
Thanks,
Wanlong Gao
- extend the idea
On Wed, 26 Dec 2012, Richard Hartmann wrote:
+ case TP_HKEY_EV_AC_CHANGED:
+ pr_info(AC status has changed\n);
+ /* X120e, x121e, X220, X220i, X220t, X230, T420, T420s, W520:
+ * AC status changed; can be triggered by plugging or
+ *
Hi,
This is following up on ARC Linux Port submission bits:
Basic Port: https://lkml.org/lkml/2012/11/7/114
Addons: https://lkml.org/lkml/2012/11/12/121
I'm resending this single patch to hopefully get ACK on simple modpost change.
Thx,
-Vineet
Vineet Gupta (1):
modpost: Ignore ARC
ARC relocatable object files contain one/more .gnu.linkonce.arcextmap.*
sections (collated by kernel/vmlinux.lds into .arcextmap in final link).
This section is used by debuggers to display the extension instructions
and need-not be loaded by target (hence !SHF_ALLOC)
The final kernel binary only
On Sun, Dec 23, 2012 at 05:16:02AM -0600, Matt Sealey wrote:
Since Efika MX platform support (pre-devicetree) was removed from the tree
this code no longer has any possibility of running and clutters up the
driver which is being replaced by the chipidea host in the future anyway.
On 12/24/2012 06:24 AM, Guenter Roeck wrote:
Instantiating the driver with no available regulator results in:
[39711.686393] i2c i2c-7: new_device: Instantiated device max1139 at 0x35
[39711.688687] BUG: unable to handle kernel paging request at fe13
[39711.688734] IP:
I met one error when does the following command:
sh/$ echo 1 /proc/sys/vm/compact_memory
sh/$ sh: write error: Bad address
After using strace, I find the following:
...
write(1, 1\n, 2) = 3
write(1, , 4294967295)= -1 EFAULT (Bad address)
write(2,
On Thu, Dec 27, 2012 at 11:34:16AM +0800, Jason Wang wrote:
On 12/26/2012 06:46 PM, Michael S. Tsirkin wrote:
On Wed, Dec 26, 2012 at 03:06:54PM +0800, Wanlong Gao wrote:
Add a cpu notifier to virtio-net, so that we can reset the
virtqueue affinity if the cpu hotplug happens. It improve
On Wed December 26 2012 16:29:43 Kirill Smelkov wrote:
Most of *_ops and other structures in vivi.c were already declared const
but some have not. Constify and code/data will take less space:
$ size drivers/media/platform/vivi.o
textdata bss dec hex filename
Hi Sylwester,
On Thu, Dec 27, 2012 at 4:00 AM, Sylwester Nawrocki
sylvester.nawro...@gmail.com wrote:
On 12/26/2012 01:28 PM, Vivek Gautam wrote:
Adding support to parse device node data in order to get
required properties to set pmu isolation for usb-phy.
Signed-off-by: Vivek
Hi Sergei,
Yes, you are right.
I made this patch to read its interrupt number from dtb directly. But
now platform_get_irq() returns correct irq since OF_DEV_AUXDATA(...)
is added as my first patch.
This patch is useless.
Thanks and best regards,
Dongjin.
On Thu, Dec 27, 2012 at 5:18 AM, Sergei
At 12/26/2012 11:55 AM, Kamezawa Hiroyuki Wrote:
(2012/12/24 21:09), Tang Chen wrote:
From: Wen Congyang we...@cn.fujitsu.com
We call hotadd_new_pgdat() to allocate memory to store node_data. So we
should free it when removing a node.
Signed-off-by: Wen Congyang we...@cn.fujitsu.com
I'm
This patch series fixes a bug where of_gpio_named count relied upon a return
value that was no longer returned from of_parse_phandle_with_args and adds the
possibility for of_gpio_named_count to return error values.
In addition, for of_spi_register_master it fixes a bug, adds documentation,
adds
Using memset does not set an array of integers properly
Signed-off-by: Andreas Larsson andr...@gaisler.com
---
drivers/spi/spi.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 9c2acf1..a4baa0a 100644
--- a/drivers/spi/spi.c
When using a gpio chip select with a OF_GPIO_ACTIVE_LOW flag, this needs to be
known to the controller driver.
Signed-off-by: Andreas Larsson andr...@gaisler.com
---
Documentation/devicetree/bindings/spi/spi-bus.txt |3 +-
drivers/spi/spi.c | 24
This adds missing kernel-doc entries for cs_gpios in struct spi_master and
cs_gpio in struct spi_device.
Signed-off-by: Andreas Larsson andr...@gaisler.com
---
include/linux/spi/spi.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/spi/spi.h
Holes in the cs-gpios DT phandle list is supposed to mark that native
chipselects is to be used. The value returned from of_get_named_gpio_flags in
this case is -EEXIST. By initializing cs_gpios and cs_gpio with -EEXIST, this
and only this errno will indicate to a spi controller driver that a
Return value for an empty phandle was -EEXIST before commit 15c9a0ac, that
changed the return value in this case to -ENOENT. However, of_gpio_named_count
relies upon the return value to be -EEXIST and relies upon being able to
distinguish this case from the case of no list at all which also
On Thu, Dec 27, 2012 at 8:31 AM, Alexander Beregalov
a.berega...@gmail.com wrote:
On 25 December 2012 16:05, Hillf Danton dhi...@gmail.com wrote:
On Tue, Dec 25, 2012 at 12:38 PM, Zhouping Liu z...@redhat.com wrote:
Hello all,
I found the below kernel bug using latest mainline(637704cbc95),
This lets of_gpio_named_count return an errno on errors by being able to
distinguish between reaching the end of the phandle list and getting some other
error from of_parse_phandle_with_args.
Return error from of_spi_register_master when there is an cs-gpios list for
which gp_gpio_named_count
Hi,
On Wed, Dec 26, 2012 at 02:34:35AM +0200, Kirill A. Shutemov wrote:
On MIPS if SPARSEMEM is enabled we've got this:
In file included from
/home/kas/git/public/linux/arch/mips/include/asm/pgtable.h:552,
from include/linux/mm.h:44,
from
On Wednesday, December 26, 2012 04:10:32 PM Yinghai Lu wrote:
On Wed, Dec 26, 2012 at 2:36 PM, Rafael J. Wysocki r...@sisk.pl wrote:
On Wednesday, December 26, 2012 12:41:05 PM Yinghai Lu wrote:
On Wed, Dec 26, 2012 at 12:16 PM, Yinghai Lu ying...@kernel.org wrote:
On Wed, Dec 26, 2012 at
Am 19.12.2012 09:55, schrieb Alexander Holler:
Unlikely, as I've worked hard to get one of the first drivers for
pluggable RTCs into the kernel. ;)
BTW. maybe you could have a look at the patch for that:
https://lkml.org/lkml/2012/12/15/64
It should already be in your mailbox.
I had to
On Thu, Dec 27, 2012 at 02:39:20PM +0800, Jason Wang wrote:
Currently, polling error were ignored in vhost. This may lead some issues (e.g
kenrel crash when passing a tap fd to vhost before calling TUNSETIFF). Fix
this
by:
- extend the idea of vhost_net_poll_state to all vhost_polls
-
On Thu, 2012-12-27 at 16:36 +0800, Shawn Guo wrote:
On Wed, Dec 26, 2012 at 10:34:39AM +0800, Shawn Guo wrote:
It seems that I'm running into the same locking issue. My setup is:
- i.MX28 (ARM)
- v3.8-rc1
- mxs_defconfig
- The warning is seen when LCD is blanking
The warning
201 - 300 of 506 matches
Mail list logo