3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Andy Lutomirski
commit 0b22930ebad563ae97ff3f8d7b9f12060b4c6e6b upstream.
I found the nested NMI documentation to be difficult to follow.
Improve the comments.
Signed-off-by: Andy Lutomirski
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Andy Lutomirski
commit 9b6e6a8334d56354853f9c255d1395c2ba570e0a upstream.
Returning to userspace is tricky: IRET can fail, and ESPFIX can
rearrange the stack prior to IRET.
The NMI nesting fi
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Ming Lei
commit 596f5aad2a704b72934e5abec1b1b4114c16f45b upstream.
There may be lots of pending requests so that the buffer of PAGE_SIZE
can't hold them at all.
One typical example is scsi-mq
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Mike Marciniszyn
commit d6f1c17e162b2a11e708f28fa93f2f79c164b442 upstream.
The lkey table is allocated with with a get_user_pages() with an
order based on a number of index bits from a module
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Michael Ellerman
commit 74b5037baa2011a2799e2c43adde7d171b072f9e upstream.
The powerpc kernel can be built to have either a 4K PAGE_SIZE or a 64K
PAGE_SIZE.
However when built with a 4K PAGE_
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Yishai Hadas
commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream.
Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table")
Before this commit there was a device lo
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Angga
[ Upstream commit 4c938d22c88a9ddccc8c55a85e0430e9c62b1ac5 ]
Before commit daad151263cf ("ipv6: Make ipv6_is_mld() inline and use it
from ip6_mc_input().") MLD packets were only processe
3.14-stable review patch. If anyone has any objections, please let me know.
--
This reverts commit 279c039ca63acbd69e69d6d7ddfed50346fb2185 which was
commit 06d2f6ca5a38abe92f1f3a132b331eee773868c3 upstream as it should
not have been applied.
Reported-by: Luis Henriques
Cc: Ma
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Nikolay Aleksandrov
[ Upstream commit f1158b74e54f2e2462ba5e2f45a118246d9d5b43 ]
Since commit b0e9a30dd669 ("bridge: Add vlan id to multicast groups")
there's a check in br_ip_equal() for a ma
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: John David Anglin
commit 1b59ddfcf1678de38a1f8ca9fb8ea5eebeff1843 upstream.
The attached change fixes the condition used in the "sub" instruction.
A double word comparison is needed. This fix
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Takashi Iwai
commit a161574e200ae63a5042120e0d8c36830e81bde3 upstream.
It turned out that the machine has a bass speaker, so take a correct
fixup entry.
Bugzilla: https://bugzilla.kernel.org/
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Adrien Schildknecht
commit 1642d09fb9b128e8e538b2a4179962a34f38dff9 upstream.
The v2 of NetGear WNA1000M uses a different idProduct: USB ID 0846:9043
Signed-off-by: Adrien Schildknecht
Acked
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Will Deacon
commit d10bcd473301888f957ec4b6b12aa3621be78d59 upstream.
When entering the kernel at EL2, we fail to initialise the MDCR_EL2
register which controls debug access and PMU capabilit
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: "Eric W. Biederman"
commit 12c641ab8270f787dfcce08b5f20ce8b65008096 upstream.
In the logic in the initial commit of unshare made creating a new
thread group for a process, contingent upon crea
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Takashi Iwai
commit bb148bdeb0ab16fc0ae8009799471e4d7180073b upstream.
According to the bug report, FSC Amilo laptops with ALC880 can detect
the headphone jack but currently the driver disable
3.14-stable review patch. If anyone has any objections, please let me know.
--
From: Will Deacon
commit bdec97a855ef1e239f130f7a11584721c9a1bf04 upstream.
When saving/restoring the VFP registers from a compat (AArch32)
signal frame, we rely on the compat registers forming a pr
This is the start of the stable review cycle for the 3.14.54 release.
There are 84 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu Oct 1 14:52:55 UTC 2015.
Anything receiv
On 2015/09/28 23:33, Yaowei Bai wrote:
> As new_valid_dev always returns 1, so !new_valid_dev check is not
> needed, remove it.
>
> Signed-off-by: Yaowei Bai
Acked-by: Ryusuke Konishi
> ---
> fs/nilfs2/namei.c | 3 ---
> 1 file changed, 3 deletions(-)
>
> diff --git a/fs/nilfs2/namei.c b/f
Similar to the notifier_call callback of a notifier_block, change the
function signature of switchdev dump operation to:
int switchdev_port_obj_dump(struct net_device *dev,
enum switchdev_obj_id id, void *obj,
int (*cb)(void *obj)
On 28/09/15 14:05, Alexander Stein wrote:
Otherwise 4294967295 (MBit/s) (-1) will be printed when there is no link.
Documentation/ABI/testing/sysfs-class-net does not state if this shall be
signed or unsigned.
Also remove the now unused variable fmt_udec.
[...]
- ret = spr
The FDB dump callback requires the related net_device so move it to the
struct switchdev_fdb_dump superset instead of using a callback param.
With this done, it'll be simpler to change the dump function signature.
Signed-off-by: Vivien Didelot
---
net/switchdev/switchdev.c | 4 +++-
1 file chan
On Fri, Sep 25, 2015 at 03:10:04PM -0500, Andrew F. Davis wrote:
> On 09/25/2015 01:05 PM, Mark Brown wrote:
> >On Thu, Sep 24, 2015 at 09:52:53AM -0500, Andrew F. Davis wrote:
> >>+ match = of_match_device(tps65912_regulator_of_match_table, &pdev->dev);
> >>+ if (!match)
> >>+ retur
The net_device associated to a dump operation does not have to be passed
to the callback. switchdev stores it in a superset struct, if needed.
Also some drivers (such as DSA drivers) may not have easy access to it.
This will simplify pushing the callback function down to the drivers.
Signed-off-
Punit Agrawal writes:
> Punit Agrawal writes:
>
>> The System Control Processor (SCP) provides access to SoC sensors via
>> the System Control and Power Interface (SCPI) Message Protocol. Add
>> bindings to allow probing of these sensors. Also support referencing
>> of the sensors for setting up
On 09/28/2015 10:49 PM, Marc Zyngier wrote:
Seeing the 'of' characters in a symbol that is being called from
ACPI seems to freak out people. So let's do a bit of pointless
renaming so that these folks do feel at home.
Signed-off-by: Marc Zyngier
---
arch/arm/kernel/time.c
This patchset changes switchdev add, del, dump operations from this:
int (*switchdev_port_obj_add)(struct net_device *dev,
struct switchdev_obj *obj,
struct switchdev_trans *trans);
int (*switchdev_port_obj
The static switchdev_port_vlan_dump_put function don't need the
net_device parameter, so remove it.
Signed-off-by: Vivien Didelot
---
net/switchdev/switchdev.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/net/switchdev/switchdev.c b/net/switchdev/switchdev.c
in
On Tue, 29 Sep 2015 11:28:29 +0200
Peter Zijlstra wrote:
> TASK_DEAD is special in that the final schedule call from do_exit()
> must be done with preemption disabled.
>
> This leads to a violation of our new scheduling invariant which states
> that the preempt count should be 2. Move the check
On Tue, Sep 29, 2015 at 11:00:49AM -0400, Steven Rostedt wrote:
>
> [ Resend, with the Cc list back ]
You seem to have a hard time with these buttons today ;-)
> Hmm, I just looked closer and I'm wondering if this still works?
>
> We have:
>
> #ifdef CONFIG_PREEMPT_COUNT
> #define PREEMPT_DISA
On Tue, 29 Sep 2015 11:28:28 +0200
Peter Zijlstra wrote:
> When we warn about a preempt_count leak; reset the preempt_count to
> the known good value such that the problem does not ripple forward.
>
> Signed-off-by: Peter Zijlstra (Intel)
> ---
> kernel/exit.c |4 +++-
> kernel/sched
As expected it is no bug in the AMD IOMMU driver, but in your code.
On Wed, Sep 23, 2015 at 09:04:31PM +0200, Alexander Holler wrote:
> struct _annotated_initcall {
> initcall_t initcall;
> unsigned driver_id;
> unsigned *dependencies;
> struct device_driver *driver;
> };
On Tue, Sep 29, 2015 at 11:52:59AM -0300, Arnaldo Carvalho de Melo wrote:
SNIP
> > > >>>
> > > >>
> > > >>Do I need to send new ones based on your patch below now?
> > > >
> > > >that'd be great.. also please make sure you don't reintroduce it
> > > >
> > >
> > > I saw Ingo just accepted ACME's
On 09/29/15 at 03:50pm, Joerg Roedel wrote:
> On Tue, Sep 29, 2015 at 03:26:08PM +0800, Baoquan He wrote:
> > No need to continue the loop after it has been found.
> >
> > Signed-off-by: Baoquan He
> > ---
> > drivers/iommu/intel_irq_remapping.c | 4 +++-
> > 1 file changed, 3 insertions(+), 1 d
Hi
I suppose that you should remove the function new_valid_dev at all.
Mikulas
On Mon, 28 Sep 2015, Yaowei Bai wrote:
> As new_valid_dev always returns 1, so !new_valid_dev check is not
> needed, remove it.
>
> Signed-off-by: Yaowei Bai
> ---
> fs/hpfs/namei.c | 2 --
> 1 file changed, 2 de
Hello,
On Tue, Sep 29, 2015 at 09:01:31AM -0600, Jens Axboe wrote:
> I think that would be very useful, it seems sort of half-assed if the caller
> side has to provide serialization for that.
Yeah, the thing is init/exit are usually caller synchronized but
percpu_rwsem's kill/reinit are more of m
On 09/28/2015 10:49 PM, Marc Zyngier wrote:
Now that we have a basic infrastructure to register irqchips and
call them on discovery of a matching entry in MADT, convert the
GIC driver to this new probing method.
It ends up being a code deletion party, which is a rather good thing.
Signed-off-by
On 09/28/2015 08:48 AM, Tejun Heo wrote:
Hello,
On Sun, Sep 27, 2015 at 10:06:05PM +0900, Akinobu Mita wrote:
void blk_mq_finish_init(struct request_queue *q)
{
+ mutex_lock(&q->mq_freeze_lock);
percpu_ref_switch_to_percpu(&q->mq_usage_counter);
+ mutex_unlock(&q->mq_freeze_l
On Tue, Sep 29, 2015 at 10:00:44AM +0200, Sascha Hauer wrote:
> On Fri, Sep 25, 2015 at 09:47:26AM -0700, Mark Brown wrote:
> > I suspect you always want the LDO in there to clean the supply up, it's
> > just a more serious issue when more power is being drawn.
> I just had a look at the i.MX6 da
[ Resend, with the Cc list back ]
On Tue, 29 Sep 2015 16:35:59 +0200
Peter Zijlstra wrote:
> On Tue, Sep 29, 2015 at 10:37:29AM -0400, Steven Rostedt wrote:
> > On Tue, 29 Sep 2015 11:28:26 +0200
> > Peter Zijlstra wrote:
> >
> > > As per commit d86ee4809d03 ("sched: optimize cond_resched()")
On Fri, Sep 25, 2015 at 09:34:03PM +0200, Marcel Holtmann wrote:
Please fix your mail client to word wrap within paragraphs, it makes
your mails much easier to read. I've reformatted your text for
legibility.
> > +/*
> > + * Register map access API - HCI support
> I do not think we can consider
Hi Robert,
[auto build test results on v4.3-rc3 -- if it's inappropriate base, please
ignore]
config: i386-defconfig (attached as .config)
reproduce:
git checkout a1d59679ae8f3e7e7659e9723ae3fc69af2532e6
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new one
On Mon, Sep 28, 2015 at 09:39:00PM +0800, Yaowei Bai wrote:
> As new_valid_dev always returns 1, so !new_valid_dev check is not
> needed, remove it.
>
> Signed-off-by: Yaowei Bai
Acked-by: David Sterba
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a m
On 9/29/2015 6:45 AM, Borislav Petkov wrote:
@@ -216,12 +223,17 @@ static int set_scrub_rate(struct mem_ctl_info *mci, u32
bw)
if (pvt->fam == 0xf)
min_scrubrate = 0x0;
+ else if (pvt->fam == 0x15 && pvt->model == 0x60)
+ min_scrubrate = 0x6;
/* E
On Mon, 2015-09-28 at 18:36 +0300, Kirill Tkhai wrote:
> ---
> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
> index 4df37a4..dfbe06b 100644
> --- a/kernel/sched/fair.c
> +++ b/kernel/sched/fair.c
> @@ -4930,8 +4930,13 @@ select_task_rq_fair(struct task_struct *p, int
> prev_cpu, int sd_
2015-09-28 19:46 GMT+02:00 J. Bruce Fields :
> On Mon, Sep 28, 2015 at 07:10:06PM +0200, Andreas Grünbacher wrote:
>> 2015-09-28 18:35 GMT+02:00 J. Bruce Fields :
>> > On Mon, Sep 28, 2015 at 12:08:51AM +0200, Andreas Gruenbacher wrote:
>> >> Open issues in nfs:
>> >>
>> >> * When a user or group n
gt;>>gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
> > >>>>>>Copyright (C) 2010 Free Software Foundation, Inc.
> > >>>>>>This is free software; see the source for copying conditions. There
> > >>>>>>is NO
> > >>&g
On Tue, Sep 29, 2015 at 10:43:32AM -0400, Steven Rostedt wrote:
>
> [ Resend with a "Reply-all" this time! ]
>
> On Tue, 29 Sep 2015 11:28:26 +0200
> Peter Zijlstra wrote:
>
> > As per commit d86ee4809d03 ("sched: optimize cond_resched()") we need
> > PREEMPT_ACTIVE to avoid cond_resched() from
On 09/29/2015 06:01 AM, Chunfeng Yun wrote:
add a DT binding documentation of xHCI host controller for the
MT8173 SoC from Mediatek.
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/usb/mt8173-xhci.txt| 52 ++
1 file changed, 52 insertions(+)
create mode
On 09/29/2015 08:26 AM, Keith Busch wrote:
On Mon, 28 Sep 2015, Ming Lei wrote:
This patchset introduces .map_changed callback into 'struct blk_mq_ops',
and use this callback to get NVMe notified about the mapping changed
event,
then NVMe can update the irq affinity hint for its queues.
I thin
This patch makes report_latency return bool to improve readability,
indicating whether this new latency should be reported/recorded.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/trace_sched_wakeup.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/
This patch makes is_legal_op return bool to improve readability
due to this particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/trace_events_filter.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
This patchset just make some functions return bool to improve readability
and/or simplicity.
No functional change.
Yaowei Bai (8):
kernel/trace: report_latency in trace_sched_wakeup.c can be boolean
kernel/trace: report_latency in trace_irqsoff.c can be boolean
kernel/trace: rb_is_reader_pa
This patch makes report_latency return bool due to this
particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/trace_irqsoff.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/kernel/trac
On 29 September 2015 at 14:51, Austin S Hemmelgarn wrote:
> On 2015-09-26 09:28, Eric Curtin wrote:
>>
>> Hi Dimitry,
>>
>>> Is it Debian-derivative by any chance? Their capslock setup is wonky
>>> because CapsLock key does no actually set up as a CapsLock but another
>>> modifier. Also is it in X
This patch makes ftrace_event_is_function return bool to improve readability
due to this particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/trace.h| 2 +-
kernel/trace/trace_export.c | 2 +-
2 files cha
This patch makes rb_event_is_commit return bool to improve readability
due to this particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/ring_buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
dif
This patch makes rb_per_cpu_empty return bool to improve readability.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/ring_buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index fc9ce12..a22
This patch makes rb_is_reader_page return bool to improve readability
due to this particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/trace/ring_buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --g
Designware I2S uses tx empty and rx available signals as the DMA
handshaking signals. during music playing, if XRUN occurs,
i2s_stop() function will be executed and both tx and rx irq are
masked, when music continues to be played, i2s_start() is executed
but both tx and rx irq are not unmasked whic
This patch makes ring_buffer_empty and ring_buffer_empty_cpu return
bool to improve readability.
No functional change.
Signed-off-by: Yaowei Bai
---
include/linux/ring_buffer.h | 4 ++--
kernel/trace/ring_buffer.c | 10 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a
[ Resend with a "Reply-all" this time! ]
On Tue, 29 Sep 2015 11:28:26 +0200
Peter Zijlstra wrote:
> As per commit d86ee4809d03 ("sched: optimize cond_resched()") we need
> PREEMPT_ACTIVE to avoid cond_resched() from working before the
> scheduler is setup.
>
> However, keeping preemption disab
Hello.
On 09/29/2015 06:01 AM, Chunfeng Yun wrote:
add a DT binding documentation of usb3.0 phy for MT65xx
SoCs from Mediatek.
Acked-by: Rob Herring
Signed-off-by: Chunfeng Yun
---
.../devicetree/bindings/phy/phy-mt65xx-usb.txt | 68 ++
1 file changed, 68 insertion
On 09/28/2015 10:49 PM, Marc Zyngier wrote:
DT enjoys a rather nice probing infrastructure for irqchips, while
ACPI is so far stuck into a very distant past.
This patch introduces a declarative API, allowing irqchips to be
self-contained and be called when a particular entry is matched
in the MA
This feature consists of two, new kernel interfaces:
- /relabel-possible - for setting transition privilege
This flag can be set only by process to itself and only with CAP_MAC_ADMIN
capability. With this flag on, process can change it's label without
CAP_MAC_ADMIN but only once. After label chan
The minimal sampling period is now configurable via a
dev.i915.oa_event_min_timer_exponent sysctl parameter.
Following the precedent set by perf, the default is the minimum that
won't (on its own) exceed the default kernel.perf_event_max_sample_rate
default of 10 samples/s.
Signed-off-by: Rob
The AD1934 codec has no DAC feature. Hence it register mapping is slightly
different from the register mapping of other members of the AD193x family.
Some ASoC controls and widgets are related to the DAC feature so are not
relevant in the case of an AD1934 codec.
Signed-off-by: Cyrille Pitchen
-
On 09/28/2015 10:49 PM, Marc Zyngier wrote:
IRQ controllers and timers are the two types of device the kernel
requires before being able to use the device driver model.
ACPI so far lacks a proper probing infrastructure similar to the one
we have with DT, where we're able to declare IRQ chips and
This patch introduce domain transition mechanism into Smack.
The idea was to give a process limited ability to change its Smack label
without giving that process CAP_MAC_ADMIN capabilities. Moreover, this ability
is granted without any additional Smack policy rules.
This feature consists of two,
Consistent with the kernel.perf_event_paranoid sysctl option that can
allow non-root users to access system wide cpu metrics, this can
optionally allow non-root users to access system wide OA counter metrics
from Gen graphics hardware.
Signed-off-by: Robert Bragg
---
drivers/gpu/drm/i915/i915_pe
On Tue, 29 Sep 2015 15:02:01 +0200
Peter Zijlstra wrote:
> On Tue, Sep 29, 2015 at 02:55:13PM +0200, Frederic Weisbecker wrote:
> > On Tue, Sep 29, 2015 at 11:28:27AM +0200, Peter Zijlstra wrote:
> > > #define init_task_preempt_count(p) do { \
> > > - task_thread_info(p)->preempt_count = PREEMPT
from Designware I2S datasheet, irq is cleared by reading from
TOR/ROR registers, rather than by writing into them.
Signed-off-by: Yitian Bu
---
sound/soc/dwc/designware_i2s.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/dwc/designware_i2s.c b/sound/soc/dwc/de
Gen graphics hardware can be set up to periodically write snapshots of
performance counters into a circular buffer via its Observation
Architecture and this patch exposes that capability to userspace via the
i915 perf interface.
Cc: Chris Wilson
Signed-off-by: Robert Bragg
Signed-off-by: Zhenyu
OACONTROL changes quite a bit for gen8, with some bits split out into a
per-context OACTXCONTROL register
Signed-off-by: Robert Bragg
---
drivers/gpu/drm/i915/i915_cmd_parser.c | 4 ++--
drivers/gpu/drm/i915/i915_reg.h| 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a
Adds a static OA unit, MUX + B Counter configuration for basic '3D'
metrics on Haswell. This is autogenerated from an internal XML
description of metric sets.
Signed-off-by: Robert Bragg
---
drivers/gpu/drm/i915/Makefile | 3 +-
drivers/gpu/drm/i915/i915_drv.h| 5 ++
drivers/gpu/drm/i
On Tue, 29 Sep 2015, Tomeu Vizoso wrote:
> If a suitable prepare callback cannot be found for a given device and
> its driver has no PM callbacks at all, assume that it can go direct to
> complete when the system goes to sleep.
>
> The reason for this is that there's lots of devices in a system t
This adds a DRM_IOCTL_I915_PERF_OPEN ioctl comparable to perf_event_open
that opens a file descriptor for an event source.
Based on our initial experience aiming to use the core perf
infrastructure, this interface is inspired by perf, but focused on
exposing metrics about work running on Gen graph
After some recent progress enabling the Observation Architecture unit
for Gen8+, we can hopefully paint a fairly complete picture of the
requirements for supporting the unit from Haswell to Skylake and so
I'm looking again at the challenges in upstreaming this work.
Considering this, it looked lik
On Sun, Sep 6, 2015 at 7:20 AM, Maxime Ripard
wrote:
> On Fri, Sep 04, 2015 at 08:49:34AM -0400, Josh Boyer wrote:
>> Commit 79ae3e66f8d (ARM: dts: sun4i: Add Iteaduino Plus A10) added a new
>> make target for the sun4i-a10-itead-iteaduino-plus dts file, but mistakenly
>> used .dts instead of the
On Sun, 27 Sep, at 12:40:14PM, Borislav Petkov wrote:
> On Sun, Sep 27, 2015 at 09:06:44AM +0200, Ingo Molnar wrote:
> > Could we please re-list all the arguments pro and contra of 1:1 physical
> > mappings,
> > in a post that also explains the background so that more people can chime
> > in, no
On Tue, Sep 29, 2015 at 03:20:38PM +0100, Robin Murphy wrote:
> A single callback doesn't really generalise well enough: If we wanted to
> implement this in the ARM SMMU drivers to optimise the unmap() case [ask
> Will how long he spends waiting for a software model to tear down an entire
> VFIO do
On 2015-09-28 12:45, Petros Koutoupis wrote:
Christoph,
See my replies below
On 9/28/15 11:29 AM, Christoph Hellwig wrote:
Hi Petros,
On Mon, Sep 28, 2015 at 09:12:13AM -0500, Petros Koutoupis wrote:
1. Unlike the already mainline ramdisk driver, RapidDisk is designed
to be
managed dyna
On Tue, Sep 29, 2015 at 04:24:00PM +0200, Peter Zijlstra wrote:
> On Tue, Sep 29, 2015 at 03:25:53PM +0200, Frederic Weisbecker wrote:
> > On Tue, Sep 29, 2015 at 11:28:28AM +0200, Peter Zijlstra wrote:
>
> > > + if (unlikely(in_atomic_preempt_off() && prev->state != TASK_DEAD)) {
> > >
On Fri, 18 Sep 2015, Lee Jones wrote:
> On Fri, 18 Sep 2015, Herbert Xu wrote:
> > On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote:
> > > On 18 September 2015 at 15:07, Herbert Xu
> > > wrote:
> > > > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote:
> > > >> v1 => v2:
> > > >>
On Tue, Sep 29, 2015 at 03:25:53PM +0200, Frederic Weisbecker wrote:
> On Tue, Sep 29, 2015 at 11:28:28AM +0200, Peter Zijlstra wrote:
> > + if (unlikely(in_atomic_preempt_off() && prev->state != TASK_DEAD)) {
> > __schedule_bug(prev);
> > + preempt_count_set(PREEMPT_DISABL
Hi Tomasz,
On 29/09/15 06:25, Tomasz Figa wrote:
Currently the IOMMU subsystem provides 3 basic operations: iommu_map(),
iommu_map_sg() and iommu_unmap(). iommu_map() can be used to map memory
page by page, however it involves flushing the caches (CPU and IOMMU) for
every mapped page separately,
Hello, Artem.
On Tue, Sep 29, 2015 at 02:37:36PM +0300, Artem Bityutskiy wrote:
> On Sat, 2015-09-26 at 18:14 -0400, Tejun Heo wrote:
> > Hello, Artem.
> >
> > Thanks a lot for the debug dump. Can you please test whether the
> > below patch fixes the issue?
>
> Hi,
>
> I've tested this, 7 out
On Mon, 28 Sep 2015, Ming Lei wrote:
This patchset introduces .map_changed callback into 'struct blk_mq_ops',
and use this callback to get NVMe notified about the mapping changed event,
then NVMe can update the irq affinity hint for its queues.
I think this is going the wrong direction. Shouldn
Jerome Marchand reported a lockdep warning as follows
[ 6819.501009] =
[ 6819.501009] [ INFO: inconsistent lock state ]
[ 6819.501009] 4.2.0-rc1-shmacct-babka-v2-next-20150709+ #255 Not tainted
[ 6819.501009] -
[ 6
The fatal_signal_pending() was added to suppress unnecessary "sharing
same memory" message, but it can't 100% help anyway because it can be
false-negative; SIGKILL can be already dequeued.
And worse, it can be false-positive due to exec or coredump. exec is
mostly fine, but coredump is not. It is
Purely cosmetic, but the complex "if" condition looks annoying to me.
Especially because it is not consistent with OOM_SCORE_ADJ_MIN check
which adds another if/continue.
Signed-off-by: Oleg Nesterov
---
mm/oom_kill.c | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
Both "child->mm == mm" and "p->mm != mm" checks in oom_kill_process()
are wrong. ->mm can be if task is the exited group leader. This means
in particular that "kill sharing same memory" loop can miss a process
with a zombie leader which uses the same ->mm.
Note: the process_has_mm(child, p->mm) ch
Michal, Tetsuo, David, sorry for delay. I'll try to read and answer
your emails in "can't oom-kill zap the victim's memory" thread later.
Let me send some initial changes which imo makes sense regardless,
but if we want to zap the victim's memory we need to ensure that all
tasks which share this -
This patch makes audit_string_contains_control return bool to improve
readability due to this particular function only using either one or
zero as its return value.
Signed-off-by: Yaowei Bai
---
include/linux/audit.h | 2 +-
kernel/audit.c| 6 +++---
2 files changed, 4 insertions(+), 4 d
On Tue, Sep 29, 2015 at 06:57:22AM -0700, Dmitry Torokhov wrote:
> On September 29, 2015 6:46:56 AM PDT, Greg Kroah-Hartman
> wrote:
> >3.10-stable review patch. If anyone has any objections, please let me
> >know.
>
> Please drop.
Ok, also dropped from 3.14, 4.1, and 4.2-stable trees.
thanks
This patch makes audit_tree_match return bool to improve readability
due to this particular function only using either one or zero as its
return value.
No functional change.
Signed-off-by: Yaowei Bai
---
kernel/audit.h | 2 +-
kernel/audit_tree.c | 6 +++---
2 files changed, 4 insertions(+
This patch makes audit_dummy_context return bool due to this
particular function only using either one or zero as its return
value.
No functional change.
Signed-off-by: Yaowei Bai
---
include/linux/audit.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux/a
On Tue, 29 Sep, at 12:41:23PM, Ard Biesheuvel wrote:
>
> OK, fair enough. I agree that setting the flag for 32-bit would be
> semantically correct. I will leave it to Matt to comment whether it is
> reasonable in terms of changes to other parts of the code.
It should be pretty minimal. Let me tak
On 09/28/2015 11:39 PM, Michael Ellerman wrote:
> On Mon, 2015-09-28 at 12:18 -0700, Dave Hansen wrote:
>> From: Dave Hansen
>>
>> mprotect_key() is just like mprotect, except it also takes a
>> protection key as an argument. On systems that do not support
>> protection keys, it still works, but
On Tuesday 29 September 2015 14:42:15 Peter Griffin wrote:
> On Tue, 29 Sep 2015, Arnd Bergmann wrote:
> > On Tuesday 29 September 2015 13:11:55 Peter Griffin wrote:
> > > Does it? I didn't think it did.
> > >
> > > Using the instance number as a DT property defers the decision over what
> > > fi
On Tue, Sep 29, 2015 at 03:11:56PM +0200, Thomas Gleixner wrote:
> On Tue, 29 Sep 2015, Peter Zijlstra wrote:
> > + /*
> > +* Still have preempt_count() == 2, from:
> > +*
> > +* schedule()
> > +*preempt_disable();// 1
> > +*__schedule(
601 - 700 of 1100 matches
Mail list logo