On 15/01/21, Paul Moore wrote:
> In preparation for expanded use in the kernel, make getname_kernel()
> more useful by allowing it to handle any legal filename length.
>
> Thanks to Guenter Roeck for his suggestion to substitute memcpy() for
> strlcpy().
>
> CC: li...@roeck-us.net
> CC: v...@zeni
On 15/01/22, Paul Moore wrote:
> There are several areas in the kernel that create temporary filename
> objects using the following pattern:
>
> int func(const char *name)
> {
> struct filename *file = { .name = name };
> ...
> return 0;
>
On Wed, Jan 21, 2015 at 04:40:28PM +0530, Vishnu Patekar wrote:
> On Wed, Jan 21, 2015 at 1:32 AM, Maxime Ripard
> wrote:
> > Hi Vishnu,
> >
> > On Fri, Jan 16, 2015 at 07:33:39PM +0530, Vishnu Patekar wrote:
> >> Signed-off-by: VishnuPatekar
> >> Signed-off-by: Hans de Goede
> >
> > Why is ther
Hi Nicolas,
On Thu, Jan 22, 2015 at 5:50 PM, Nicholas A. Bellinger
wrote:
> Hi Gavin,
>
> On Thu, 2015-01-22 at 06:38 +0800, Gavin Guo wrote:
>> Hi all,
>>
>> The general protection fault screenshot is attached.
>>
>> Summary:
>> The kernel is Ubuntu-3.13.0-39.66. I've done basic analysis and fou
On Thursday, January 22, 2015 09:49:41 AM Quentin Lambert wrote:
> These patches convert local variables from int to bool when relevant.
And what exactly is the need for that? Does that fix any functional problems?
--
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Cen
Michael Neuling wrote on 22.01.2015 00:39:57:
> On Thu, 2015-01-01 at 13:38 +0530, Anshuman Khandual wrote:
> > On 12/20/2014 12:58 AM, Edjunior Barbosa Machado wrote:
> > > The patchset seems to change the "original" ptrace requests (i.e.
> > > PTRACE_GETREGS/GETFPREGS/GETVRREGS...) to return the
From: Clément Perrochaud
Signed-off-by: Clément Perrochaud
Signed-off-by: Clément Perrochaud
---
drivers/nfc/nxp-nci/core.c | 7 +++
drivers/nfc/nxp-nci/firmware.c | 9 ++---
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/drivers/nfc/nxp-nci/core.c b/drivers/nfc/nxp
We must not hold locks when calling copy_to_user():
BUG: sleeping function called from invalid context at mm/memory.c:3732
in_atomic(): 0, irqs_disabled(): 0, pid: 671, name: test_maps
1 lock held by test_maps/671:
#0: (rcu_read_lock){..}, at: [<00264190>]
map_lookup_elem+0xe8/0x260
Looks like the "test_maps" test case expects to get the keys in
the wrong order when iterating over the elements:
test_maps: samples/bpf/test_maps.c:79: test_hashmap_sanity: Assertion
`bpf_get_next_key(map_fd, &key, &next_key) == 0 && next_key == 2' failed.
Aborted
Fix this and test for the corre
On 22 January 2015 at 07:29, Russell King - ARM Linux
wrote:
> On Wed, Jan 21, 2015 at 08:52:57PM -0800, Victor Kamensky wrote:
>> Both Arm and Aarch64 ELF ABI allow mapping symbols be in from
>> either "$d" or "$d.". But current code that handles mapping
>> symbols only deals with the first, doll
In general, the kernel should report temperature readings exactly as
reported by the hardware. The cpu / gpu thermal driver works in 5 degree
increments,but we ought to do more accurate. The temperature will do
linear interpolation between the entries in the table.
Test= $md5sum /dev/zero &
$while
This patch is merged on chromiumos/third_party/kernel.
https://chromium-review.googlesource.com/#/c/239190/
Tested on veyron boards.
Changes in v4:
"return -EAGAIN" instead of "return rk_tsadcv2_code_to_temp(code)"
Changes in v3:
Suggested-by Daniel Kurtz,
the check doesn't reject "code == 0xf
Newer SoCs: at91sam9x5, at91sam9n12, sama5d3 and sama5d4 embed a DDR controller
and have a different PMC status register layout than the at91sam9g45. Create
another at91_sam9x5_pm_init() function to match this compatibility.
Signed-off-by: Nicolas Ferre
---
arch/arm/mach-at91/board-dt-sam9.c |
On Thu, 22 Jan 2015, Chen-Yu Tsai wrote:
> From: Carlo Caione
>
> Bindings documentation for the AXP20x driver. In this file also
> sub-nodes are documented.
>
> Signed-off-by: Carlo Caione
> Acked-by: Maxime Ripard
> [w...@csie.org: clarify interrupt source for the axp PMIC]
> [w...@csie.org
On 15/01/22, Paul Moore wrote:
> In all likelihood there were some subtle, and perhaps not so subtle,
> bugs with filename matching in audit_inode() and audit_inode_child()
> for some time, however, recent changes to the audit filename code have
> definitely broken the filename matching code. The
22.01.2015 18:22, Dmitry Osipenko пишет:
22.01.2015 10:55, Alexandre Courbot пишет:
On Thu, Jan 22, 2015 at 4:40 PM, Thierry Reding
wrote:
Should this not technically be le32_to_cpu() since the data originates
from the I2C controller?
No, i2c_readl returns value in CPU endianness, so it's c
Newer SoCs: at91sam9x5, at91sam9n12, sama5d3 and sama5d4 embed a DDR controller
and have a different PMC status register layout than the at91sam9g45. Create
another at91_sam9x5_pm_init() function to match this compatibility.
Signed-off-by: Nicolas Ferre
---
arch/arm/mach-at91/board-dt-sam9.c |
On Fri, Jan 9, 2015 at 2:02 PM, Robert Dolca wrote:
> Device id: NXP5440
> Pin mapping:
> - 0 IRQ pin
> - 1 enable pin
> - 2 firmware pin
>
> Signed-off-by: Robert Dolca
> ---
> drivers/nfc/Kconfig | 1 +
> drivers/nfc/pn544/i2c.c | 115
> ++-
On 15/01/22, Paul Moore wrote:
> In order to ensure that filenames are not released before the audit
> subsystem is done with the strings there are a number of hacks built
> into the fs and audit subsystems around getname() and putname(). To
> say these hacks are "ugly" would be kind.
>
> This pa
On Wed, 21 Jan 2015, Michal Hocko wrote:
> I think we can solve this as well. We can stick vmstat_shepherd into a
> kernel thread with a loop with the configured timeout and then create a
> mask of CPUs which need the update and run vmstat_update from
> IPI context (smp_call_function_many).
Pleas
On Thu, 22 Jan 2015, Joonsoo Kim wrote:
> > Just out of curiosity, "new zone"? Something like movable zone?
>
> Yes, I named it as ZONE_CMA. Maybe I can send prototype of
> implementation within 1 or 2 weeks.
Ugghh. I'd rather reduce the zone types. Do we need slab allocator etc
allocations in th
As it has never been used.
Signed-off-by: Tomeu Vizoso
---
drivers/clk/clk.c | 42 --
include/linux/clk-private.h | 2 --
2 files changed, 44 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 97f3425..fd3d671 100644
--- a/dr
Moves clock state to struct clk_core, but takes care to change as little API as
possible.
struct clk_hw still has a pointer to a struct clk, which is the
implementation's per-user clk instance, for backwards compatibility.
The struct clk that clk_get_parent() returns isn't owned by the caller, bu
On Wed, 14 Jan 2015 16:45:56 +0100
, Geert Uytterhoeven
wrote:
> When traversing all nodes and moving to a new path component, the old
> one must be released by calling of_node_put(). Else the refcounts of the
> parent node(s) will not be decremented.
>
> Signed-off-by: Geert Uytterhoeven
> ---
Adds a way for clock consumers to set maximum and minimum rates. This
can be used for thermal drivers to set minimum rates, or by misc.
drivers to set maximum rates to assure a minimum performance level.
Changes the signature of the determine_rate callback by adding the
parameters min_rate and max
This module registers a clock hierarchy and performs several operations
against them checking that the result is expected.
Signed-off-by: Tomeu Vizoso
---
drivers/clk/Kconfig | 1 +
drivers/clk/Kconfig.debug | 6 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-test.c| 326
So it can be used from modules such as clk-test.ko.
Signed-off-by: Tomeu Vizoso
---
drivers/clk/clkdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c
index fac3244..667ce38 100644
--- a/drivers/clk/clkdev.c
+++ b/drivers/clk/clkdev.c
@@ -379,6 +
Hi Prabhakar,
thanks for the review, please see in-line.
On 01/22/2015 05:41 AM, Lad, Prabhakar wrote:
> Hi Shuah,
>
> Thanks for the patch.
>
> On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan wrote:
>> Convert au0828 to use videobuf2. Tested with NTSC.
>> Tested video and vbi devices with xawtv,
> I am not sure how to fix this but it sounds like this_cpu_ptr should
> offer the same preempt expectations as other this_cpu_* functions.
One returns a pointer that may not be useful if the context is switched
and the other completes a operationo on an opject.
--
To unsubscribe from this list:
Hi,
in this v12 we have a few minor improvements in error checking and locking,
suggested by Stephen. I haven't addressed yet any of the comments about
clk-test.c because I ran out of time today and didn't want to delay the meat
of the work any longer, so I'm sending this v12.
Have added a commit
On Thu, Jan 22, 2015 at 4:14 PM, Grant Likely wrote:
> On Wed, 14 Jan 2015 16:45:56 +0100
> , Geert Uytterhoeven
> wrote:
>> When traversing all nodes and moving to a new path component, the old
>> one must be released by calling of_node_put(). Else the refcounts of the
>> parent node(s) will no
As clk_unprepare_unused_subtree and clk_disable_unused_subtree are
always called with a valid struct clk.
Signed-off-by: Tomeu Vizoso
Reviewed-by: Stephen Boyd
---
drivers/clk/clk.c | 9 -
1 file changed, 9 deletions(-)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index f4963b7..
On Thu, 2015-01-22 at 15:57 +0800, WANG Chao wrote:
> Hi, Davidlohr
>
> On 01/21/15 at 11:46pm, Davidlohr Bueso wrote:
> > On Thu, 2015-01-22 at 14:29 +0800, WANG Chao wrote:
> > > Add a new kconfig option VMACACHE_SHIFT (as a power of 2) to specify the
> > > number of slots vma cache has for each
On Thu, Jan 22, 2015 at 02:50:06PM +0800, Dudley Du wrote:
> Fixes the warning issue of the variable dereferenced before check
> 'gen5_pip->resp_len' report by dan Carpenter.
>
> Signed-off-by: Dudley Du
Applied, thank you.
> ---
> drivers/input/mouse/cyapa_gen5.c | 4 +++-
> 1 file changed, 3
On Thu, Jan 22, 2015 at 1:39 PM, Stephane Eranian
wrote:
> On Thu, Jan 22, 2015 at 2:17 AM, Peter Zijlstra wrote:
>> On Wed, Jan 21, 2015 at 09:13:11PM -0800, Stephane Eranian wrote:
>>> Vince,
>>>
>>> On Wed, Jan 21, 2015 at 10:55 AM, Vince Weaver
>>> wrote:
>>> > Hello
>>> >
>>> > on my haswe
On Wednesday, January 21, 2015 09:36:34 PM Guenter Roeck wrote:
> On 01/21/2015 08:59 PM, Paul Moore wrote:
> > This patchset has some important changes from the previous revision,
> > namely a fix from Al Viro (included in 2/5) that resolves a boot panic
> > on some systems as well as some smaller
On 01/22/2015 11:19 AM, Davidlohr Bueso wrote:
> On Thu, 2015-01-22 at 15:57 +0800, WANG Chao wrote:
>> Hi, Davidlohr
>>
>> On 01/21/15 at 11:46pm, Davidlohr Bueso wrote:
>>> On Thu, 2015-01-22 at 14:29 +0800, WANG Chao wrote:
Add a new kconfig option VMACACHE_SHIFT (as a power of 2) to specif
On Thursday, January 22, 2015 07:54:29 AM Al Viro wrote:
> On Wed, Jan 21, 2015 at 09:36:34PM -0800, Guenter Roeck wrote:
> > On 01/21/2015 08:59 PM, Paul Moore wrote:
> > >This patchset has some important changes from the previous revision,
> > >namely a fix from Al Viro (included in 2/5) that res
On Thursday, January 22, 2015 11:09:42 AM Richard Guy Briggs wrote:
> On 15/01/22, Paul Moore wrote:
> > In order to ensure that filenames are not released before the audit
> > subsystem is done with the strings there are a number of hacks built
> > into the fs and audit subsystems around getname()
On Wed, Jan 21, 2015 at 03:19:17PM -0500, Vivien Didelot wrote:
> Hi Darren,
>
> > > Use DEVICE_ATTR_{RO,WO,RW} macros to simplify attributes
> > > declarations.
> >
> > It does a lot more than that, including a lot of seemingly
> > superfluous reformatting of function declarations and renaming.
>
On Thu, Jan 22, 2015 at 03:15:26PM +, Bryan O'Donoghue wrote:
> On 22/01/15 15:02, Bryan O'Donoghue wrote:
> >
> >>drivers/platform/x86/intel_qrk_imr.c
> >>
> >>Darren - would that be acceptable to you ?
> >
> >Sorry guys typo - should read arch/x86/platform/imr.c
> >
> >:)
>
> Ah Thomas actua
> The only evidence I see is a long thread of similar patches from
> the last several months, of varying (though not increasing) quality.
I find it acceptable that some of my update suggestions do not fit
to your quality expectations at the moment.
> Prior objections to your approach were met wi
Hi Olliver,
On Wed, Jan 21, 2015 at 10:33:48PM +0100, Olliver Schinagl wrote:
> diff --git a/drivers/input/keyboard/gpio_keys_polled.c
> b/drivers/input/keyboard/gpio_keys_polled.c
> index 097d721..eadb472 100644
> --- a/drivers/input/keyboard/gpio_keys_polled.c
> +++ b/drivers/input/keyboard/gpi
On 22/01/2015 at 11:22:21 +0100, Nicolas Ferre wrote :
> Le 15/01/2015 22:58, Alexandre Belloni a écrit :
> > Only use SOC_AT91SAM9 for all the at91sam9 SoCs.
> >
> > It enables HAVE_AT91_SMD and HAVE_AT91_UTMI for all the sam9 SoCs but this
> > only
> > represents 96 bytes of uncompressed kernel
Hi Chanwoo,
On 21/01/15 07:26, Chanwoo Choi wrote:
> This patch adds the support for CMU (Clock Management Units) of Exynos5433
> which is 64bit SoC and has Octa-cores. This patch supports necessary clocks
> (PLL/MMC/UART/MCT/I2C/SPI) for kernel boot and includes binding documentation
> for Exynos
From: Clément Perrochaud
This patch brings support for the NXP-NCI NFC controllers family.
It has been successfully tested on the following SoC boards:
- BeagleBone
- BeagleBone Black
- Raspberry Pi B
- Raspberry Pi B+
The submission is broken into four patches:
- The first one adds firmwa
On Tue, Jan 20, 2015 at 09:23:35AM -0800, James Bottomley wrote:
> On Tue, 2015-01-20 at 11:15 +1030, Rusty Russell wrote:
> > James Bottomley writes:
> > > On Mon, 2015-01-19 at 16:21 +1030, Rusty Russell wrote:
> > >> Masami Hiramatsu writes:
> > >> > (2015/01/19 1:55), James Bottomley wrote:
>
On Jan 21, 2015, at 7:53 PM, Bjorn Andersson wrote:
> On Wed, Jan 21, 2015 at 5:13 PM, Olof Johansson wrote:
> [..]
>> On Mon, Aug 4, 2014 at 6:31 PM, Stephen Boyd wrote:
>>> Architectural changes in the ARM Linux kernel tree mandate
>>> the eventual removal of the mach-* directories. Move the
When the kernel command line parameter, no_console_suspend, is used,
the console should continue to output console messages during and
after system suspend. For a serial console, the serial core ensures
that the device is not shutdown when no_console_suspend is specified.
However, the default opera
On 01/19/2015 04:30 AM, Michal Simek wrote:
> diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
> index 5e343bab9458..3955f42e9e9c 100644
> --- a/drivers/remoteproc/Kconfig
> +++ b/drivers/remoteproc/Kconfig
> @@ -64,4 +64,15 @@ config DA8XX_REMOTEPROC
> It's safe to say
Hi Greg and Rafael,
This v2 of the earlier series submitted back in Nov addresses Rafael's
comments, specifically:
* Adds PNP_CONSOLE flag, which disables the pnp protocol's suspend() and
disable() methods.
This greatly simplifies the PNP serial driver patch since the existing
pnp device capab
If the serial console is an ACPI PNP device, the PNP bus always powers
down the device at system suspend, even though the no_console_suspend
command line parameter is specified (eg., when debugging suspend/resume).
Add PNP_CONSOLE capability, which when set, prevents calling both the
->disable() a
From: Clément Perrochaud
Signed-off-by: Clément Perrochaud
Signed-off-by: Clément Perrochaud
---
.../devicetree/bindings/net/nfc/nxp-nci.txt| 35 ++
drivers/nfc/nxp-nci/Kconfig| 12 +
drivers/nfc/nxp-nci/Makefile | 2 +
drivers/nfc/nxp-
On 01/22/2015 07:53 AM, Richard Guy Briggs wrote:
On 15/01/21, Paul Moore wrote:
In preparation for expanded use in the kernel, make getname_kernel()
more useful by allowing it to handle any legal filename length.
Thanks to Guenter Roeck for his suggestion to substitute memcpy() for
strlcpy().
On Thu, 22 Jan 2015, Christoph Hellwig wrote:
On Thu, Jan 22, 2015 at 03:21:28PM +, Keith Busch wrote:
But if you really need to restrict namespace access, shouldn't that be
enforced on the target side with reservations or similar mechanism?
Think for example about containers where we give
On 01/22/2015 08:22 AM, Paul Moore wrote:
On Wednesday, January 21, 2015 09:36:34 PM Guenter Roeck wrote:
On 01/21/2015 08:59 PM, Paul Moore wrote:
This patchset has some important changes from the previous revision,
namely a fix from Al Viro (included in 2/5) that resolves a boot panic
on some
I'm pretty sure this wasn't supposed to be dead code.
Signed-off-by: Rasmus Villemoes
---
tools/perf/tests/sample-parsing.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/tests/sample-parsing.c
b/tools/perf/tests/sample-parsing.c
index 4908c648a597..30c02181e78b
On Jan 21, 2015, at 7:15 PM, Olof Johansson wrote:
> Hi,
>
>
> On Mon, Jan 19, 2015 at 12:27:15PM -0600, Kumar Gala wrote:
>> The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672:
>>
>> Linux 3.19-rc1 (2014-12-20 17:08:50 -0800)
>>
>> are available in the git reposito
On Thu, 2015-01-22 at 08:50 -0800, Christoph Hellwig wrote:
> On Tue, Jan 20, 2015 at 09:23:35AM -0800, James Bottomley wrote:
> > On Tue, 2015-01-20 at 11:15 +1030, Rusty Russell wrote:
> > > James Bottomley writes:
> > > > On Mon, 2015-01-19 at 16:21 +1030, Rusty Russell wrote:
> > > >> Masami H
On Jan 21, 2015, at 1:21 PM, Stephen Boyd wrote:
> The secure environment only runs in little-endian mode, so any
> buffers shared with the secure environment should have their
> contents converted to little-endian. We also mark such elements
> with __le32 to allow sparse to catch such problems.
Ingo,
Please pull the sched/urgent branch that can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git
sched/urgent
HEAD: 4ccbe99852951957419bc616f888e297a478e50b
It's part of the preempt/schedule cleanups series suggested by Linus. I'm
reworking
thes
On Thu, 22 Jan, at 01:56:59PM, Jiri Olsa wrote:
> On Thu, Jan 22, 2015 at 12:40:14PM +, Matt Fleming wrote:
> > Folks,
> >
> > In the process of writing perf support for Intel's Cache QoS Monitoring
> > feature [0] I've had to write my own userland tests to drive tools/perf
> > and indirectly
Jisheng,
On Wed, Jan 21, 2015 at 9:22 PM, Jisheng Zhang wrote:
> Dear Doug,
>
> On Wed, 21 Jan 2015 15:17:22 -0800
> Doug Anderson wrote:
>
>> On some dw_wdt implementations the "top" register may be initted to 0
>> at bootup. In such a case, each "pat" of the watchdog will reset the
>> timer t
Commit 3ce04b4a9, "Removes OF_UNITTEST dependency on OF_DYNAMIC config
symbol" removes a bunch of code, but missed a few minor bits. Clean it
up by removing the node removal cache and flag.
Signed-off-by: Grant Likely
Cc: Gaurav Minocha
Cc: Rob Herring
---
drivers/of/unittest.c | 15 --
On 01/22/2015 03:56 AM, Lee Jones wrote:
Signed-off-by: David Paris
Signed-off-by: Lee Jones
---
drivers/watchdog/Kconfig | 13 ++
drivers/watchdog/Makefile | 1 +
drivers/watchdog/st_lpc_wdt.c | 335 ++
3 files changed, 349 insertions(+)
On Thu, 22 Jan, at 09:59:52AM, Arnaldo Carvalho de Melo wrote:
>
> At some point 'perf test' should grow infrastructure to specify what is
> required for a test so that it auto-skips those, possibly not even
> bothering the user telling something can't be tested. Right now for
> things like tests
On 01/21/2015 11:54 PM, Al Viro wrote:
On Wed, Jan 21, 2015 at 09:36:34PM -0800, Guenter Roeck wrote:
On 01/21/2015 08:59 PM, Paul Moore wrote:
This patchset has some important changes from the previous revision,
namely a fix from Al Viro (included in 2/5) that resolves a boot panic
on some sys
On Wed, Jan 21, 2015 at 07:14:33PM -0800, Guenter Roeck wrote:
> On 01/21/2015 02:43 AM, Kirill A. Shutemov wrote:
>
> >>BUG: Bad page state in process init.sh pfn:0
> >>page:f05e7460 count:0 mapcount:-1 mapping: (null) index:0x0
> >>flags: 0x400(reserved)
> >>page dumped because: PAGE_FLAGS
22.01.2015 19:06, Dmitry Osipenko пишет:
22.01.2015 18:22, Dmitry Osipenko пишет:
22.01.2015 10:55, Alexandre Courbot пишет:
On Thu, Jan 22, 2015 at 4:40 PM, Thierry Reding
wrote:
Should this not technically be le32_to_cpu() since the data originates
from the I2C controller?
No, i2c_readl
On Thu, 22 Jan 2015, Guenter Roeck wrote:
> On 01/22/2015 03:56 AM, Lee Jones wrote:
> >Signed-off-by: David Paris
> >Signed-off-by: Lee Jones
> >---
> > drivers/watchdog/Kconfig | 13 ++
> > drivers/watchdog/Makefile | 1 +
> > drivers/watchdog/st_lpc_wdt.c | 335
> > +
On Thu, Jan 22, 2015 at 05:54:10AM -0800, Anshul Garg wrote:
> - if ((long long)(-tmp) >= 0)
> - return -ERANGE;
> - *res = -tmp;
...
> + if ((long long)tmp < 0)
> + return -ERANGE;
> + *res = sign * tmp;
I don't believe overflow hand
When the uart port being suspended is a console and consoles are
not suspending (kernel command line contains no_console_suspend),
then no action is performed for that port, and the function can
return early.
If the function has not returned early, then one of the conditions
is not true, so the ex
Refactor the computation of the LCR register value from termios c_cflag
into a new local function, serial8250_compute_lcr().
Signed-off-by: Peter Hurley
---
drivers/tty/serial/8250/8250_core.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/
Exar XR17V35X PCIe uarts support a 4-bit fractional divisor register.
Refactor the divisor calculation from the divisor programming.
Allow a fractional result from serial8250_get_divisor() and pass this
result to serial8250_dl_write().
Simplify the calculation for quot and quot_frac. This was ver
Refactor divisor register programming into a new function,
serial8250_set_divisor; this allows serial console to reinitialize
early after resume from suspend.
Signed-off-by: Peter Hurley
---
drivers/tty/serial/8250/8250_core.c | 87 -
1 file changed, 48 insert
On Thu, Jan 22, 2015 at 07:13:38PM +0200, Kirill A. Shutemov wrote:
> On Wed, Jan 21, 2015 at 07:14:33PM -0800, Guenter Roeck wrote:
> > On 01/21/2015 02:43 AM, Kirill A. Shutemov wrote:
> >
> > >>BUG: Bad page state in process init.sh pfn:0
> > >>page:f05e7460 count:0 mapcount:-1 mapping: (
On Thu, Jan 22, 2015 at 7:57 AM, Michael Holzheu
wrote:
> We must not hold locks when calling copy_to_user():
>
> BUG: sleeping function called from invalid context at mm/memory.c:3732
> in_atomic(): 0, irqs_disabled(): 0, pid: 671, name: test_maps
> 1 lock held by test_maps/671:
> #0: (rcu_read
The UART_BUG_QUOT workaround adjusts the divisor computed from the
baud rate by serial8250_get_divisor(). Move the workaround into
serial8250_get_divisor(), so that divisor-from-baud computation
is encapsulated.
Signed-off-by: Peter Hurley
---
drivers/tty/serial/8250/8250_core.c | 17 +--
On Thu, Jan 22, 2015 at 8:01 AM, Michael Holzheu
wrote:
> Looks like the "test_maps" test case expects to get the keys in
> the wrong order when iterating over the elements:
>
> test_maps: samples/bpf/test_maps.c:79: test_hashmap_sanity: Assertion
> `bpf_get_next_key(map_fd, &key, &next_key) == 0
When using no_console_suspend, the serial console may be powered off
anyway during system sleep. Upon resume, the port may be in its default
power-on state, but is expected to continue console i/o before the device
has received its pm callback. The resultant garbage i/o can cause all
kinds of havoc
Hi Greg,
This series fixes 8250 console resume from system sleep when the
console has been powered down, even though consoles aren't
suspending (eg., no_console_suspend on the kernel command line).
Patch 1 refactors the overly-complicated fall-through logic for
determining if the port should be s
The port shadow registers, ->fcr and ->mcr, must be protected from
concurrent updates. Relocate the shadow register updates in
serial8250_do_set_termios() to the port lock critical section.
Signed-off-by: Peter Hurley
---
drivers/tty/serial/8250/8250_core.c | 18 +-
1 file change
On Thu, 2015-01-22 at 23:56 +0800, Gavin Guo wrote:
> Hi Nicolas,
>
> On Thu, Jan 22, 2015 at 5:50 PM, Nicholas A. Bellinger
> wrote:
> > Hi Gavin,
> >
> > On Thu, 2015-01-22 at 06:38 +0800, Gavin Guo wrote:
> >> Hi all,
> >>
> >> The general protection fault screenshot is attached.
> >>
> >> Sum
ACK.
This has been in the android tree since Nov 2012.
Forward port of commit: 6639e3d91a05bafa2a85c24c211c43fcaa1b17c5
in https://android.googlesource.com/kernel/common.git
Apologies for the double send. Forgot to disable formatting.
Thanks,
Jeff
On Thu, Jan 22, 2015 at 12:51 AM, Greg KH wro
On Thu, Jan 22, 2015 at 04:30:02PM +0100, Borislav Petkov wrote:
> On Thu, Jan 22, 2015 at 09:53:04AM -0500, Boris Ostrovsky wrote:
> > Alternatively, we could return an error (-EINVAL?) from
> > microcode_init() when either of these two conditions is true.
>
> Yeah, this should be the right fix.
On 01/22/2015 12:24 PM, Peter Hurley wrote:
> Exar XR17V35X PCIe uarts support a 4-bit fractional divisor register.
> Refactor the divisor calculation from the divisor programming.
>
> Allow a fractional result from serial8250_get_divisor() and pass this
> result to serial8250_dl_write().
>
> Sim
Jens Axboe writes:
> On 01/21/2015 06:21 PM, Huang Ying wrote:
>> FYI, we noticed the below changes on
>>
>> commit 34b48db66e08ca1c1bc07cf305d672ac940268dc ("block: remove artifical
>> max_hw_sectors cap")
>>
>> testbox/testcase/testparams:
>> lkp-ws02/fileio/600s-100%-1HDD-btrfs-64G-1024f-seq
On 01/22/2015 03:46 AM, Paolo Bonzini wrote:
>
>
> On 22/01/2015 10:19, Paul Bolle wrote:
>> Mario,
>>
>> Your commit ba0513b5b8ff ("KVM: Add generic support for dirty page
>> logging") is included in today's linux-next (ie, next-20150122). I
>&
Dear Yijing Wang,
On Wed, 21 Jan 2015 08:30:18 +0800, Yijing Wang wrote:
> Mvebu_pcie_scan_bus() is not necessary, we could use
> pci_common_init_dev() instead of pci_common_init(),
> and pass the device pointer as the parent. Then
> pci_scan_root_bus() will be called to scan the pci busses.
>
>
Acked-By: Nick Kralevich
On Thu, Jan 22, 2015 at 12:51 AM, Greg KH wrote:
> On Wed, Jan 21, 2015 at 10:54:10AM -0500, Stephen Smalley wrote:
>> Add security hooks to the binder and implement the hooks for SELinux.
>> The security hooks enable security modules such as SELinux to implement
>> cont
On Fri, 2015-01-16 at 09:46 -0800, Tim Chen wrote:
> On Thu, 2015-01-15 at 20:58 -0500, Steven Rostedt wrote:
>
> >
> > Please add a comment here that says something like:
> >
> > /*
> > * Don't bother moving it if the destination CPU is
> > * not running a
On Thu, 22 Jan 2015 09:27:21 -0800
Alexei Starovoitov wrote:
> On Thu, Jan 22, 2015 at 7:57 AM, Michael Holzheu
> wrote:
> > We must not hold locks when calling copy_to_user():
> >
> > BUG: sleeping function called from invalid context at mm/memory.c:3732
> > in_atomic(): 0, irqs_disabled(): 0,
On Thu, Jan 22, 2015 at 12:55:17PM +, David Vrabel wrote:
> On 22/01/15 03:18, Andy Lutomirski wrote:
> >> --- a/drivers/xen/events/events_base.c
> >> +++ b/drivers/xen/events/events_base.c
> >> @@ -32,6 +32,8 @@
> >> #include
> >> #include
> >> #include
> >> +#include
> >> +#include
>
On Thu, Jan 22, 2015 at 05:43:15PM +, James Dingwall wrote:
> This patch solves it for me on my dom0 with 3.18.3, now there is
> nothing printed at all from the microcode driver which doesn't seem
> surprising given where the return is.
Yap, xen does/will update microcode differently...
> I'l
All channel work queues are named 'hv_vmbus_ctl', this makes them
indistinguishable in ps output and makes it hard to link to the corresponding
vmbus device. Rename them to hv_vmbus_ctl/N and make vmbus device names match,
e.g. now vmbus_1 device is served by hv_vmbus_ctl/1 work queue.
Signed-off-
This patch optimizes __skb_push function
Signed-off-by: Mohammad Jamal
---
include/linux/skbuff.h |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 85ab7d7..9acffb2 100644
--- a/include/linux/skbuff.h
+++ b/include/linu
On Thu, Jan 22, 2015 at 9:54 AM, Michael Holzheu
wrote:
>> > So call rcu_read_unlock() before copy_to_user(). We can
>> > release the lock earlier because it is not needed for copy_to_user().
>>
>> we cannot move the rcu unlock this way, since it protects the value.
>> So we need to copy the value
On Wed, Jan 21, 2015 at 5:24 PM, Roman Peniaev wrote:
> On Thu, Jan 22, 2015 at 8:32 AM, Kees Cook wrote:
>> On Tue, Jan 20, 2015 at 3:04 PM, Russell King - ARM Linux
>> wrote:
>>> On Tue, Jan 20, 2015 at 10:45:19PM +, Russell King - ARM Linux wrote:
Well, the whole question is this: is
On Thu, 22 Jan 2015, Jiri Olsa wrote:
> > So what happens if you are using a signal handler to monitor a child and
> > the child exits?
>
> AFAICS wrt to SIGIO, we notify only with POLL_IN if there's new data
> and POLL_HUP if we reached the event_limit - the one you set with
> PERF_EVENT_IOC_RE
On 1/22/2015 12:51 AM, Greg KH wrote:
> On Wed, Jan 21, 2015 at 10:54:10AM -0500, Stephen Smalley wrote:
>> Add security hooks to the binder and implement the hooks for SELinux.
>> The security hooks enable security modules such as SELinux to implement
>> controls over binder IPC. The security hoo
1 - 100 of 863 matches
Mail list logo