On 18 July 2016 at 07:40, Peter Chen wrote:
> On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote:
>> On 18 July 2016 at 04:31, Peter Chen wrote:
>> > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
>> >> +
>> >> +usbport
On 18 July 2016 at 07:40, Peter Chen wrote:
> On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote:
>> On 18 July 2016 at 04:31, Peter Chen wrote:
>> > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
>> >> +
>> >> +usbport trigger:
>> >> +- usb-ports : List of USB ports
Hi all,
Today's linux-next merge of the kvm tree got a conflict in:
arch/powerpc/kernel/idle_book3s.S
between commit:
69c592ed40d3 ("powerpc/opal: Add real mode call wrappers")
from the powerpc tree and commit:
fd7bacbca47a ("KVM: PPC: Book3S HV: Fix TB corruption in guest exit path on
Hi all,
Today's linux-next merge of the kvm tree got a conflict in:
arch/powerpc/kernel/idle_book3s.S
between commit:
69c592ed40d3 ("powerpc/opal: Add real mode call wrappers")
from the powerpc tree and commit:
fd7bacbca47a ("KVM: PPC: Book3S HV: Fix TB corruption in guest exit path on
Hi all,
Today's linux-next merge of the kvm tree got a conflict in:
arch/powerpc/kernel/exceptions-64s.S
between commit:
9baaef0a22c8 ("powerpc/irq: Add support for HV virtualization interrupts")
from the powerpc tree and commit:
fd7bacbca47a ("KVM: PPC: Book3S HV: Fix TB corruption in
Hi all,
Today's linux-next merge of the kvm tree got a conflict in:
arch/powerpc/kernel/exceptions-64s.S
between commit:
9baaef0a22c8 ("powerpc/irq: Add support for HV virtualization interrupts")
from the powerpc tree and commit:
fd7bacbca47a ("KVM: PPC: Book3S HV: Fix TB corruption in
On Tue, Jun 21, 2016 at 2:07 PM, Dan Carpenter wrote:
> Since this loop is a post op then it means we end with "try == -1" but
> afterward we test for if it's zero. Fix this by changing to a pre-op so
> we end on zero.
Thanks Dan. That should be pre-op.
Thnaks
On Tue, Jun 21, 2016 at 2:07 PM, Dan Carpenter wrote:
> Since this loop is a post op then it means we end with "try == -1" but
> afterward we test for if it's zero. Fix this by changing to a pre-op so
> we end on zero.
Thanks Dan. That should be pre-op.
Thnaks
Dhananjay
>
> Fixes: 024812889ad1
Hi Arnd,
On Saturday 16 July 2016 02:44 AM, Arnd Bergmann wrote:
> On Tuesday, July 5, 2016 10:53:51 AM CEST Kishon Vijay Abraham I wrote:
>> From: David Lechner
>>
>> This is a new phy driver for the SoC USB controllers on the TI DA8xx
>> family of microcontrollers. The
Hello,
On Sun, Jul 17, 2016 at 10:12:26PM -0700, Kees Cook wrote:
> On Sun, Jul 17, 2016 at 9:37 PM, Namhyung Kim wrote:
> > The virtio pstore driver provides interface to the pstore subsystem so
> > that the guest kernel's log/dump message can be saved on the host
> >
Hi Arnd,
On Saturday 16 July 2016 02:44 AM, Arnd Bergmann wrote:
> On Tuesday, July 5, 2016 10:53:51 AM CEST Kishon Vijay Abraham I wrote:
>> From: David Lechner
>>
>> This is a new phy driver for the SoC USB controllers on the TI DA8xx
>> family of microcontrollers. The USB 1.1 PHY is just a
Hello,
On Sun, Jul 17, 2016 at 10:12:26PM -0700, Kees Cook wrote:
> On Sun, Jul 17, 2016 at 9:37 PM, Namhyung Kim wrote:
> > The virtio pstore driver provides interface to the pstore subsystem so
> > that the guest kernel's log/dump message can be saved on the host
> > machine. Users can access
> -Original Message-
> From: Tan, Jui Nee
> Sent: Monday, July 18, 2016 11:35 AM
> To: 'Paul Gortmaker' ;
> andriy.shevche...@linux.intel.com
> Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com;
> t...@linutronix.de; mi...@redhat.com; H.
> -Original Message-
> From: Tan, Jui Nee
> Sent: Monday, July 18, 2016 11:35 AM
> To: 'Paul Gortmaker' ;
> andriy.shevche...@linux.intel.com
> Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com;
> t...@linutronix.de; mi...@redhat.com; H. Peter Anvin ;
> X86 ML ;
On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote:
> On 18 July 2016 at 04:31, Peter Chen wrote:
> > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
> >> +
> >> +usbport trigger:
> >> +- usb-ports : List of USB ports that usbport should observed
On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote:
> On 18 July 2016 at 04:31, Peter Chen wrote:
> > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
> >> +
> >> +usbport trigger:
> >> +- usb-ports : List of USB ports that usbport should observed for turning
> >> on a
>
On Fri, Jul 15, 2016 at 10:47:06AM +0800, Xishi Qiu wrote:
> alloc_migrate_target() is called from migrate_pages(), and the page
> is always from user space, so we can add __GFP_HIGHMEM directly.
No, all migratable pages are not from user space. For example,
blockdev file cache has __GFP_MOVABLE
On Fri, Jul 15, 2016 at 10:47:06AM +0800, Xishi Qiu wrote:
> alloc_migrate_target() is called from migrate_pages(), and the page
> is always from user space, so we can add __GFP_HIGHMEM directly.
No, all migratable pages are not from user space. For example,
blockdev file cache has __GFP_MOVABLE
On Mon, Jul 11, 2016 at 04:01:52PM -0700, David Rientjes wrote:
> On Thu, 30 Jun 2016, Joonsoo Kim wrote:
>
> > We need to find a root cause of this problem, first.
> >
> > I guess that this problem would happen when isolate_freepages_block()
> > early stop due to watermark check (if your patch
On Mon, Jul 11, 2016 at 04:01:52PM -0700, David Rientjes wrote:
> On Thu, 30 Jun 2016, Joonsoo Kim wrote:
>
> > We need to find a root cause of this problem, first.
> >
> > I guess that this problem would happen when isolate_freepages_block()
> > early stop due to watermark check (if your patch
From: Bhaktipriya Shridhar
Date: Sat, 16 Jul 2016 13:53:28 +0530
> alloc_workqueue replaces deprecated create_singlethread_workqueue().
>
> A dedicated workqueue has been used since the workitem viz
> lp->txtimeout_reinit is involved in reinitialization if a TX timeout
From: Bhaktipriya Shridhar
Date: Sat, 16 Jul 2016 13:53:28 +0530
> alloc_workqueue replaces deprecated create_singlethread_workqueue().
>
> A dedicated workqueue has been used since the workitem viz
> lp->txtimeout_reinit is involved in reinitialization if a TX timeout
> occurs, which is
Hi Paul,
Today's linux-next merge of the rcu tree got a conflict in:
kernel/rcu/tree.c
between commit:
4df8374254ea ("rcu: Convert rcutree to hotplug state machine")
from the tip tree and commit:
2a84cde733b0 ("rcu: Exact CPU-online tracking for RCU")
from the rcu tree.
I fixed it up
Hi Paul,
Today's linux-next merge of the rcu tree got a conflict in:
kernel/rcu/tree.c
between commit:
4df8374254ea ("rcu: Convert rcutree to hotplug state machine")
from the tip tree and commit:
2a84cde733b0 ("rcu: Exact CPU-online tracking for RCU")
from the rcu tree.
I fixed it up
On 07/18/16 at 06:44am, Borislav Petkov wrote:
> On Mon, Jul 18, 2016 at 10:18:09AM +0800, Dave Young wrote:
> > I would say avoiding ratelimit during boot make no much sense. Userspace
> > can not
> > write to /dev/kmsg when system_state == SYSTEM_BOOTING because init process
> > has not run
On 07/18/16 at 06:44am, Borislav Petkov wrote:
> On Mon, Jul 18, 2016 at 10:18:09AM +0800, Dave Young wrote:
> > I would say avoiding ratelimit during boot make no much sense. Userspace
> > can not
> > write to /dev/kmsg when system_state == SYSTEM_BOOTING because init process
> > has not run
Hi Arnaldo,
On Fri, 15 Jul 2016 12:43:26 -0300 Arnaldo Carvalho de Melo
wrote:
>
> Ok, same results, it works, queuing this one, ack? Stephen, does it work
> for you?
Sorry, no. See my other email.
I am cross building (if that makes a difference).
--
Cheers,
Stephen
Hi Arnaldo,
On Fri, 15 Jul 2016 12:43:26 -0300 Arnaldo Carvalho de Melo
wrote:
>
> Ok, same results, it works, queuing this one, ack? Stephen, does it work
> for you?
Sorry, no. See my other email.
I am cross building (if that makes a difference).
--
Cheers,
Stephen Rothwell
Hi all,
After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
In file included from tools/arch/x86/include/uapi/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from
Hi all,
After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
In file included from tools/arch/x86/include/uapi/asm/bitsperlong.h:10:0,
from /usr/include/asm-generic/int-ll64.h:11,
from
On Sun, Jul 17, 2016 at 10:06 PM, Stephen Rothwell
wrote:
> Hi Kees,
>
> On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook wrote:
>>
>> If I'm reading correctly, this second fixup is wrong. It should read;
>>
>> kasan_check_read(from, n);
>>
On Sun, Jul 17, 2016 at 10:06 PM, Stephen Rothwell
wrote:
> Hi Kees,
>
> On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook wrote:
>>
>> If I'm reading correctly, this second fixup is wrong. It should read;
>>
>> kasan_check_read(from, n);
>> check_object_size(from, n, true);
>> return
On Sun, Jul 17, 2016 at 9:37 PM, Namhyung Kim wrote:
> The virtio pstore driver provides interface to the pstore subsystem so
> that the guest kernel's log/dump message can be saved on the host
> machine. Users can access the log file directly on the host, or on the
> guest
On Sun, Jul 17, 2016 at 9:37 PM, Namhyung Kim wrote:
> The virtio pstore driver provides interface to the pstore subsystem so
> that the guest kernel's log/dump message can be saved on the host
> machine. Users can access the log file directly on the host, or on the
> guest at the next boot
On 16/07/16 22:23, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:42:42 +0200
>
> The kfree() function was called in one case by the
> scsiback_device_action() function during error handling
> even if the passed variable "tmr" contained
On 16/07/16 22:23, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:42:42 +0200
>
> The kfree() function was called in one case by the
> scsiback_device_action() function during error handling
> even if the passed variable "tmr" contained a null pointer.
>
> Adjust
Hi Kees,
On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook wrote:
>
> If I'm reading correctly, this second fixup is wrong. It should read;
>
> kasan_check_read(from, n);
> check_object_size(from, n, true);
> return __arch_copy_to_user(to, from, n);
>
> (i.e. fix
Hi Kees,
On Sun, 17 Jul 2016 21:49:40 -0700 Kees Cook wrote:
>
> If I'm reading correctly, this second fixup is wrong. It should read;
>
> kasan_check_read(from, n);
> check_object_size(from, n, true);
> return __arch_copy_to_user(to, from, n);
>
> (i.e. fix double space between
On 16/07/16 22:24, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:55:01 +0200
>
> Pass the constant "FAILED" in a function call directly instead of
> using an intialisation for a local variable.
>
> Signed-off-by: Markus Elfring
On 16/07/16 22:24, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:55:01 +0200
>
> Pass the constant "FAILED" in a function call directly instead of
> using an intialisation for a local variable.
>
> Signed-off-by: Markus Elfring
Reviewed-by: Juergen Gross
On Thu, Jul 14, 2016 at 10:32:09AM +0200, Vlastimil Babka wrote:
> On 07/14/2016 07:23 AM, Joonsoo Kim wrote:
> >On Fri, Jul 08, 2016 at 11:11:47AM +0100, Mel Gorman wrote:
> >>On Fri, Jul 08, 2016 at 11:44:47AM +0900, Joonsoo Kim wrote:
> >>
> >>It doesn't stop reclaiming for the lower zones.
On Thu, Jul 14, 2016 at 10:32:09AM +0200, Vlastimil Babka wrote:
> On 07/14/2016 07:23 AM, Joonsoo Kim wrote:
> >On Fri, Jul 08, 2016 at 11:11:47AM +0100, Mel Gorman wrote:
> >>On Fri, Jul 08, 2016 at 11:44:47AM +0900, Joonsoo Kim wrote:
> >>
> >>It doesn't stop reclaiming for the lower zones.
On 16/07/16 22:22, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:21:05 +0200
>
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.
>
> This issue was
On 16/07/16 22:22, SF Markus Elfring wrote:
> From: Markus Elfring
> Date: Sat, 16 Jul 2016 21:21:05 +0200
>
> The kfree() function tests whether its argument is NULL and then
> returns immediately. Thus the test around the call is not needed.
>
> This issue was detected by using the Coccinelle
Hi all,
I'm getting BUG_ON occurred in a panic at arch/x86/mm/pageattr.c:216! on
3.10.0-327.el7 (RHEL 7.2)
I want to do a test, to expect system will reboot immediately after panic.
But, in drm_fb_helper_panic, may trigger a BUG_ON at arch/x86/mm/pageattr.c:216!
Does anyone has good idea to fix
On Thu, Jul 14, 2016 at 10:05:00AM +0100, Mel Gorman wrote:
> On Thu, Jul 14, 2016 at 02:23:32PM +0900, Joonsoo Kim wrote:
> > >
> > > > > > And, I'd like to know why max() is used for classzone_idx rather
> > > > > > than
> > > > > > min()? I think that kswapd should balance the lowest zone
On Thu, Jul 14, 2016 at 10:05:00AM +0100, Mel Gorman wrote:
> On Thu, Jul 14, 2016 at 02:23:32PM +0900, Joonsoo Kim wrote:
> > >
> > > > > > And, I'd like to know why max() is used for classzone_idx rather
> > > > > > than
> > > > > > min()? I think that kswapd should balance the lowest zone
Hi all,
I'm getting BUG_ON occurred in a panic at arch/x86/mm/pageattr.c:216! on
3.10.0-327.el7 (RHEL 7.2)
I want to do a test, to expect system will reboot immediately after panic.
But, in drm_fb_helper_panic, may trigger a BUG_ON at arch/x86/mm/pageattr.c:216!
Does anyone has good idea to fix
On Sun, Jul 17, 2016 at 7:59 PM, Stephen Rothwell wrote:
> Hi Kees,
>
> Today's linux-next merge of the kspp tree got a conflict in:
>
> arch/arm64/include/asm/uaccess.h
>
> between commit:
>
> bffe1baff5d5 ("arm64: kasan: instrument user memory access API")
>
> from
On Sun, Jul 17, 2016 at 7:59 PM, Stephen Rothwell wrote:
> Hi Kees,
>
> Today's linux-next merge of the kspp tree got a conflict in:
>
> arch/arm64/include/asm/uaccess.h
>
> between commit:
>
> bffe1baff5d5 ("arm64: kasan: instrument user memory access API")
>
> from the arm64 tree and
On Thu, Jul 14, 2016 at 09:48:41AM +0200, Vlastimil Babka wrote:
> On 07/14/2016 08:28 AM, Joonsoo Kim wrote:
> >On Fri, Jul 08, 2016 at 11:05:32AM +0100, Mel Gorman wrote:
> >>On Fri, Jul 08, 2016 at 11:28:52AM +0900, Joonsoo Kim wrote:
> >>>On Thu, Jul 07, 2016 at 10:48:08AM +0100, Mel Gorman
On Thu, Jul 14, 2016 at 09:48:41AM +0200, Vlastimil Babka wrote:
> On 07/14/2016 08:28 AM, Joonsoo Kim wrote:
> >On Fri, Jul 08, 2016 at 11:05:32AM +0100, Mel Gorman wrote:
> >>On Fri, Jul 08, 2016 at 11:28:52AM +0900, Joonsoo Kim wrote:
> >>>On Thu, Jul 07, 2016 at 10:48:08AM +0100, Mel Gorman
On 18 July 2016 at 04:31, Peter Chen wrote:
> On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
>> +
>> +usbport trigger:
>> +- usb-ports : List of USB ports that usbport should observed for turning on
>> a
>> + given LED.
>> +
>
> %s/should/should
On 18 July 2016 at 04:31, Peter Chen wrote:
> On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote:
>> +
>> +usbport trigger:
>> +- usb-ports : List of USB ports that usbport should observed for turning on
>> a
>> + given LED.
>> +
>
> %s/should/should be
Thanks.
>> diff
On Mon, Jul 18, 2016 at 10:18:09AM +0800, Dave Young wrote:
> I would say avoiding ratelimit during boot make no much sense. Userspace can
> not
> write to /dev/kmsg when system_state == SYSTEM_BOOTING because init process
> has not run yet.
You're right - kernel_init() sets SYSTEM_RUNNING
On Mon, Jul 18, 2016 at 10:18:09AM +0800, Dave Young wrote:
> I would say avoiding ratelimit during boot make no much sense. Userspace can
> not
> write to /dev/kmsg when system_state == SYSTEM_BOOTING because init process
> has not run yet.
You're right - kernel_init() sets SYSTEM_RUNNING
On Thu, Jul 14, 2016 at 1:07 AM, Ingo Molnar wrote:
>
> * Andy Lutomirski wrote:
>
>> On Wed, Jul 13, 2016 at 12:56 AM, Ingo Molnar wrote:
>> >
>> > * Andy Lutomirski wrote:
>> >
>> >> > If we push a PKRU value into
On Thu, Jul 14, 2016 at 1:07 AM, Ingo Molnar wrote:
>
> * Andy Lutomirski wrote:
>
>> On Wed, Jul 13, 2016 at 12:56 AM, Ingo Molnar wrote:
>> >
>> > * Andy Lutomirski wrote:
>> >
>> >> > If we push a PKRU value into a thread between the rdpkru() and
>> >> > wrpkru(), we'll
>> >> > lose the
From: Namhyung Kim
Add virtio pstore device to allow kernel log files saved on the host.
It will save the log files on the directory given by pstore device
option.
$ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
(guest) # echo c > /proc/sysrq-trigger
From: Namhyung Kim
Add virtio pstore device to allow kernel log files saved on the host.
It will save the log files on the directory given by pstore device
option.
$ qemu-system-x86_64 -device virtio-pstore,directory=dir-xx ...
(guest) # echo c > /proc/sysrq-trigger
$ ls dir-xx
Hello,
This patchset is a proof of concept of virtio-pstore idea [1]. It has
some rough edges and I'm not familiar with this area, so please give
me feedbacks and advices if I'm going to a wrong direction.
It started from the fact that dumping ftrace buffer at kernel
oops/panic takes too much
Hello,
This patchset is a proof of concept of virtio-pstore idea [1]. It has
some rough edges and I'm not familiar with this area, so please give
me feedbacks and advices if I'm going to a wrong direction.
It started from the fact that dumping ftrace buffer at kernel
oops/panic takes too much
The virtio pstore driver provides interface to the pstore subsystem so
that the guest kernel's log/dump message can be saved on the host
machine. Users can access the log file directly on the host, or on the
guest at the next boot using pstore filesystem. It currently deals with
kernel log
The virtio pstore driver provides interface to the pstore subsystem so
that the guest kernel's log/dump message can be saved on the host
machine. Users can access the log file directly on the host, or on the
guest at the next boot using pstore filesystem. It currently deals with
kernel log
Add virtio pstore device to allow kernel log messages saved on the
host. With this patch, it will save the log files under directory given
by --pstore option.
$ lkvm run --pstore=dir-xx
(guest) # echo c > /proc/sysrq-trigger
$ ls dir-xx
dmesg-0.enc.z dmesg-1.enc.z
The log files are
Add virtio pstore device to allow kernel log messages saved on the
host. With this patch, it will save the log files under directory given
by --pstore option.
$ lkvm run --pstore=dir-xx
(guest) # echo c > /proc/sysrq-trigger
$ ls dir-xx
dmesg-0.enc.z dmesg-1.enc.z
The log files are
On Fri, Jul 15, 2016 at 03:37:52PM +0200, Vlastimil Babka wrote:
> On 07/06/2016 07:39 AM, Joonsoo Kim wrote:
> > On Fri, Jun 24, 2016 at 11:54:32AM +0200, Vlastimil Babka wrote:
> >> During reclaim/compaction loop, compaction priority can be increased by the
> >> should_compact_retry() function,
On Fri, Jul 15, 2016 at 03:37:52PM +0200, Vlastimil Babka wrote:
> On 07/06/2016 07:39 AM, Joonsoo Kim wrote:
> > On Fri, Jun 24, 2016 at 11:54:32AM +0200, Vlastimil Babka wrote:
> >> During reclaim/compaction loop, compaction priority can be increased by the
> >> should_compact_retry() function,
Fixed coding style issue:
Enclose multiple statements macros definition in a do while loop.
Use one space around binary operators.
Signed-off-by: Sunbing
---
drivers/staging/ks7010/michael_mic.c | 20 +---
1 file changed, 13 insertions(+), 7
Fixed coding style issue:
Enclose multiple statements macros definition in a do while loop.
Use one space around binary operators.
Signed-off-by: Sunbing
---
drivers/staging/ks7010/michael_mic.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git
On Sun, Jul 17, 2016 at 03:19:13AM -0700, Sargun Dhillon wrote:
>
> +static u64 bpf_copy_to_user(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5)
> +{
> + void *to = (void *) (long) r1;
> + void *from = (void *) (long) r2;
> + int size = (int) r3;
> +
> + /* check if we're in a user
On Sun, Jul 17, 2016 at 03:19:13AM -0700, Sargun Dhillon wrote:
>
> +static u64 bpf_copy_to_user(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5)
> +{
> + void *to = (void *) (long) r1;
> + void *from = (void *) (long) r2;
> + int size = (int) r3;
> +
> + /* check if we're in a user
Hi all,
Today's linux-next merge of the device-mapper tree got a conflict in:
include/linux/blkdev.h
between commit:
288dab8a35a0 ("block: add a separate operation type for secure erase")
from the block tree and commit:
ff6bbdd8ef75 ("block: add QUEUE_FLAG_DAX for devices to advertise
Hi all,
Today's linux-next merge of the device-mapper tree got a conflict in:
include/linux/blkdev.h
between commit:
288dab8a35a0 ("block: add a separate operation type for secure erase")
from the block tree and commit:
ff6bbdd8ef75 ("block: add QUEUE_FLAG_DAX for devices to advertise
In addition to better code clarity, this brings proper usage of
user memory accessors everywhere the stack is touched. This is essential
for making this work on MMU systems.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 117
In addition to better code clarity, this brings proper usage of
user memory accessors everywhere the stack is touched. This is essential
for making this work on MMU systems.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 117 ++-
1 file
This is needed on systems with a MMU. This also gets rid of the
strangest C code I've seen lateli i.e. an integer indexed with a
pointer value within square brackets. That really looked backwards.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 19 +--
1
Not much else to do at this point except for the different stack setups.
SuperH and Xtensa could be added to the allowed list if they implement
__put_user_unaligned() and __get_user_unaligned().
Signed-off-by: Nicolas Pitre
---
fs/Kconfig.binfmt | 3 ++-
fs/binfmt_flat.c |
This is needed on systems with a MMU. This also gets rid of the
strangest C code I've seen lateli i.e. an integer indexed with a
pointer value within square brackets. That really looked backwards.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 19 +--
1 file changed, 13
Not much else to do at this point except for the different stack setups.
SuperH and Xtensa could be added to the allowed list if they implement
__put_user_unaligned() and __get_user_unaligned().
Signed-off-by: Nicolas Pitre
---
fs/Kconfig.binfmt | 3 ++-
fs/binfmt_flat.c | 16
From: Gao Feng
Add nf_ct_helper_init, nf_conntrack_helpers_register/unregister
functions to enhance the conntrack helper codes.
Signed-off-by: Gao Feng
---
include/net/netfilter/nf_conntrack_helper.h | 16 ++
net/netfilter/nf_conntrack_ftp.c|
From: Gao Feng
Add nf_ct_helper_init, nf_conntrack_helpers_register/unregister
functions to enhance the conntrack helper codes.
Signed-off-by: Gao Feng
---
include/net/netfilter/nf_conntrack_helper.h | 16 ++
net/netfilter/nf_conntrack_ftp.c| 58 +++---
> -Original Message-
> From: paul.gortma...@gmail.com [mailto:paul.gortma...@gmail.com] On
> Behalf Of Paul Gortmaker
> Sent: Friday, July 15, 2016 8:01 AM
> To: Tan, Jui Nee
> Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com;
>
> -Original Message-
> From: paul.gortma...@gmail.com [mailto:paul.gortma...@gmail.com] On
> Behalf Of Paul Gortmaker
> Sent: Friday, July 15, 2016 8:01 AM
> To: Tan, Jui Nee
> Cc: mika.westerb...@linux.intel.com; heikki.kroge...@linux.intel.com;
> andriy.shevche...@linux.intel.com;
This is needed on systems with a MMU.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index c85f8f1239..e981e66bb5 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
This is needed on systems with a MMU.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index c85f8f1239..e981e66bb5 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -803,10
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index fc0ee3ed5d..c85f8f1239 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -394,38
Let's take the simple and obvious approach by decompressing the binary
into a kernel buffer and then copying it to user space. Those who are
looking for more performance on a MMU system are unlikely to choose this
executable format anyway.
Signed-off-by: Nicolas Pitre
---
This series provides the necessary changes to allow "flat" executable
binaries meant for no-MMU systems to actually run on systems with a MMU.
This can also be found in the following git repo:
git://git.linaro.org/people/nicolas.pitre/linux binfmt_flat_with_mmu
*Why?*
Because
Relocs are fixed up in place in user space memory. The appropriate
accessors are required for this code to work with an active MMU.
The architecture specific handlers for ARM and M68K are also
covered. SuperH and Xtensa are left out as they doesn't implement
__get_user_unaligned() and
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 28 ++--
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index fc0ee3ed5d..c85f8f1239 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -394,38 +394,41 @@ static
Let's take the simple and obvious approach by decompressing the binary
into a kernel buffer and then copying it to user space. Those who are
looking for more performance on a MMU system are unlikely to choose this
executable format anyway.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 44
This series provides the necessary changes to allow "flat" executable
binaries meant for no-MMU systems to actually run on systems with a MMU.
This can also be found in the following git repo:
git://git.linaro.org/people/nicolas.pitre/linux binfmt_flat_with_mmu
*Why?*
Because
Relocs are fixed up in place in user space memory. The appropriate
accessors are required for this code to work with an active MMU.
The architecture specific handlers for ARM and M68K are also
covered. SuperH and Xtensa are left out as they doesn't implement
__get_user_unaligned() and
This gets rid of the rather ugly, open coded and suboptimal copy code.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 085059d879..64feb873f0
Remove excessive casts, do some code grouping, etc.
No functional changes.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 118 ++-
1 file changed, 56 insertions(+), 62 deletions(-)
diff --git a/fs/binfmt_flat.c
This copying of arguments and environment is common to both NOMMU
binary formats we support. Let's make the elf_fdpic version available
to the flat format as well.
While at it, improve the code a bit not to copy below the actual
data area.
Signed-off-by: Nicolas Pitre
---
This gets rid of the rather ugly, open coded and suboptimal copy code.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 22 ++
1 file changed, 10 insertions(+), 12 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 085059d879..64feb873f0 100644
---
Remove excessive casts, do some code grouping, etc.
No functional changes.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_flat.c | 118 ++-
1 file changed, 56 insertions(+), 62 deletions(-)
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index
This copying of arguments and environment is common to both NOMMU
binary formats we support. Let's make the elf_fdpic version available
to the flat format as well.
While at it, improve the code a bit not to copy below the actual
data area.
Signed-off-by: Nicolas Pitre
---
fs/binfmt_elf_fdpic.c
1 - 100 of 418 matches
Mail list logo