# CCed Andrew,
On Mon, Apr 18, 2016 at 02:43:45PM +0300, Konstantin Khlebnikov wrote:
> Get_hwpoison_page() must recheck relation between head and tail pages.
>
> Signed-off-by: Konstantin Khlebnikov
Looks good to me. Without this recheck, the race causes kernel to
# CCed Andrew,
On Mon, Apr 18, 2016 at 02:43:45PM +0300, Konstantin Khlebnikov wrote:
> Get_hwpoison_page() must recheck relation between head and tail pages.
>
> Signed-off-by: Konstantin Khlebnikov
Looks good to me. Without this recheck, the race causes kernel to pin
an irrelevant page, and
From: Colin Ian King
The current code is memsetting the struct stat variable st with
the size of stat (which turns out to be 1 byte) rather than the
size of variable sz.
Signed-off-by: Colin Ian King
---
tools/perf/util/jitdump.c | 4 ++--
1
From: Colin Ian King
The current code is memsetting the struct stat variable st with
the size of stat (which turns out to be 1 byte) rather than the
size of variable sz.
Signed-off-by: Colin Ian King
---
tools/perf/util/jitdump.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff
On my Lenovo x250 the following situation occurs:
[18697.813871] tpm_crb MSFT0101:00: can't request region for resource
[mem 0xacdff080-0xacdf]
The mapping of the control area interleaves the mapping of the command
buffer. The control area is mapped over page, which is not right. It
should
On my Lenovo x250 the following situation occurs:
[18697.813871] tpm_crb MSFT0101:00: can't request region for resource
[mem 0xacdff080-0xacdf]
The mapping of the control area interleaves the mapping of the command
buffer. The control area is mapped over page, which is not right. It
should
On Mon, Apr 18, 2016 at 11:20:22AM -0400, Eric Sandeen wrote:
>
>
> On 4/14/16 10:17 PM, Dave Chinner wrote:
> > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote:
> >> This lets userland get the filesystem freezing status, aka whether the
> >> filesystem is frozen or not. This is
On Mon, Apr 18, 2016 at 11:20:22AM -0400, Eric Sandeen wrote:
>
>
> On 4/14/16 10:17 PM, Dave Chinner wrote:
> > On Thu, Apr 14, 2016 at 09:57:07AM +0200, Florian Margaine wrote:
> >> This lets userland get the filesystem freezing status, aka whether the
> >> filesystem is frozen or not. This is
Hi Arnd,
On Sat, 2016-04-16 at 22:33 +0200, Arnd Bergmann wrote:
> The newly added CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY
> option only makes sense in combination with INTEGRITY_ASYMMETRIC_KEYS,
> otherwise we get a build error:
>
> warning:
Hi Arnd,
On Sat, 2016-04-16 at 22:33 +0200, Arnd Bergmann wrote:
> The newly added CONFIG_IMA_KEYRINGS_PERMIT_SIGNED_BY_BUILTIN_OR_SECONDARY
> option only makes sense in combination with INTEGRITY_ASYMMETRIC_KEYS,
> otherwise we get a build error:
>
> warning:
Hi Kirill,
Finally, I got some time to look into and try yours and Hugh's patches,
got two problems.
1. A quick boot up test on my ARM64 machine with your v7 tree shows some
unexpected error:
systemd-journald[285]: Failed to save stream data
/run/systemd/journal/streams/8:16863: No space
Hi Kirill,
Finally, I got some time to look into and try yours and Hugh's patches,
got two problems.
1. A quick boot up test on my ARM64 machine with your v7 tree shows some
unexpected error:
systemd-journald[285]: Failed to save stream data
/run/systemd/journal/streams/8:16863: No space
On 18/04/2016 at 15:17:58 -0700, Florian Fainelli wrote :
> Yes, seems like it, how about adding this:
>
> diff --git a/drivers/net/ethernet/cadence/macb.c
> b/drivers/net/ethernet/cadence/macb.c
> index 98b99149ce0b..21096dfb0e83 100644
> --- a/drivers/net/ethernet/cadence/macb.c
> +++
On 4/18/2016 3:19 AM, Mark Brown wrote:
On Fri, Apr 15, 2016 at 10:17:36AM -0600, Sagar Dharia wrote:
Please leave blank lines between paragraphs, it makes things much easier
to read than a wall of uninterrupted text.
+ ret = devm_request_irq(>dev, dev->irq, msm_slim_interrupt,
+
On 18/04/2016 at 15:17:58 -0700, Florian Fainelli wrote :
> Yes, seems like it, how about adding this:
>
> diff --git a/drivers/net/ethernet/cadence/macb.c
> b/drivers/net/ethernet/cadence/macb.c
> index 98b99149ce0b..21096dfb0e83 100644
> --- a/drivers/net/ethernet/cadence/macb.c
> +++
On 4/18/2016 3:19 AM, Mark Brown wrote:
On Fri, Apr 15, 2016 at 10:17:36AM -0600, Sagar Dharia wrote:
Please leave blank lines between paragraphs, it makes things much easier
to read than a wall of uninterrupted text.
+ ret = devm_request_irq(>dev, dev->irq, msm_slim_interrupt,
+
Good news to you from the Chevrolet Company Uk.Your email-I.D was
selected in
the Chevrolet Auto mobile award 2016.The sum of
$570,000,00USD has been awarded to you as the beneficiary.
Send your details for claim: chevroletcompna...@outlook.com
Name:
Add:
Mobile Number:
Country:
Reply on:
Good news to you from the Chevrolet Company Uk.Your email-I.D was
selected in
the Chevrolet Auto mobile award 2016.The sum of
$570,000,00USD has been awarded to you as the beneficiary.
Send your details for claim: chevroletcompna...@outlook.com
Name:
Add:
Mobile Number:
Country:
Reply on:
On 14/04/2016 at 12:04:54 +0100, Steve Twiss wrote :
> From: Steve Twiss
>
> This fix alters the ordering of the IRQ and device registrations in the RTC
> driver probe function. This change will apply to the RTC driver that supports
> both DA9052 and DA9053 PMICs.
On 14/04/2016 at 12:04:54 +0100, Steve Twiss wrote :
> From: Steve Twiss
>
> This fix alters the ordering of the IRQ and device registrations in the RTC
> driver probe function. This change will apply to the RTC driver that supports
> both DA9052 and DA9053 PMICs.
>
> A problem could occur with
On 15/04/2016 at 09:21:10 -0500, Josh Poimboeuf wrote :
> objtool reports the following warning:
>
> drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() falls
> through to next function ds1685_rtc_work_queue()
>
> Similar to commit 361c6ed6b153 ("rtc: ds1685: actually spin
On 15/04/2016 at 09:21:10 -0500, Josh Poimboeuf wrote :
> objtool reports the following warning:
>
> drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() falls
> through to next function ds1685_rtc_work_queue()
>
> Similar to commit 361c6ed6b153 ("rtc: ds1685: actually spin
Having the tag protocol in dsa_switch_driver for setup time and in
dsa_switch_tree for runtime is enough. Remove dsa_switch's one.
Signed-off-by: Vivien Didelot
---
include/net/dsa.h | 5 -
net/dsa/dsa.c | 5 ++---
2 files changed, 2 insertions(+), 8
Having the tag protocol in dsa_switch_driver for setup time and in
dsa_switch_tree for runtime is enough. Remove dsa_switch's one.
Signed-off-by: Vivien Didelot
---
include/net/dsa.h | 5 -
net/dsa/dsa.c | 5 ++---
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git
On 18/04/16 15:14, Alexandre Belloni wrote:
> On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote :
>> On 15/04/16 15:17, Alexandre Belloni wrote:
>>> On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote :
> Trace without my patch:
> libphy: MACB_mii_bus: probed
> macb
On 18/04/16 15:14, Alexandre Belloni wrote:
> On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote :
>> On 15/04/16 15:17, Alexandre Belloni wrote:
>>> On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote :
> Trace without my patch:
> libphy: MACB_mii_bus: probed
> macb
Hi Nikolaus,
[auto build test ERROR on j.anaszewski-leds/for-next]
[also build test ERROR on v4.6-rc4 next-20160418]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers
Hi Nikolaus,
[auto build test ERROR on j.anaszewski-leds/for-next]
[also build test ERROR on v4.6-rc4 next-20160418]
[if your patch is applied to the wrong git tree, please drop us a note to help
improving the system]
url:
https://github.com/0day-ci/linux/commits/H-Nikolaus-Schaller/drivers
From: Colin Ian King
The current close on fd only occurs when fd is -ve, it should
actually be closing the file if it a valid fd. Fix the inverted logic.
Signed-off-by: Colin Ian King
---
tools/power/acpi/tools/acpidbg/acpidbg.c | 2 +-
1
From: Colin Ian King
The current close on fd only occurs when fd is -ve, it should
actually be closing the file if it a valid fd. Fix the inverted logic.
Signed-off-by: Colin Ian King
---
tools/power/acpi/tools/acpidbg/acpidbg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
On Mon, 18 Apr 2016 14:43:07 -0700
Alexei Starovoitov wrote:
> I was worried about this too, but single 'if' and two calls
> (as in commit 98b5c2c65c295) is a better way, since it's faster, cleaner
> and doesn't need to refactor the whole perf_trace_buf_submit() to pass
> extra
On Mon, 18 Apr 2016 14:43:07 -0700
Alexei Starovoitov wrote:
> I was worried about this too, but single 'if' and two calls
> (as in commit 98b5c2c65c295) is a better way, since it's faster, cleaner
> and doesn't need to refactor the whole perf_trace_buf_submit() to pass
> extra event_call
On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote :
> On 15/04/16 15:17, Alexandre Belloni wrote:
> > On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote :
> >>> Trace without my patch:
> >>> libphy: MACB_mii_bus: probed
> >>> macb f802.ethernet eth0: Cadence GEM rev 0x00020120 at
On 15/04/2016 at 15:23:39 -0700, Florian Fainelli wrote :
> On 15/04/16 15:17, Alexandre Belloni wrote:
> > On 16/04/2016 at 00:05:08 +0200, Andrew Lunn wrote :
> >>> Trace without my patch:
> >>> libphy: MACB_mii_bus: probed
> >>> macb f802.ethernet eth0: Cadence GEM rev 0x00020120 at
Hi,
We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1321033
of qla1280 scsi host failure on 4.4 based kernels that looks to be caused
by page alloc failure:
[4.804166] scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter
Firmware version: 7.65.06,
Hi,
We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1321033
of qla1280 scsi host failure on 4.4 based kernels that looks to be caused
by page alloc failure:
[4.804166] scsi host0: QLogic QLA1040 PCI to SCSI Host Adapter
Firmware version: 7.65.06,
Paolo,
On 04/12/2016 04:55 PM, Paolo Bonzini wrote:
On 11/04/2016 22:49, Radim Krčmář wrote:
@@ -7781,6 +7784,9 @@ static void kvm_free_vcpus(struct kvm *kvm)
kvm_for_each_vcpu(i, vcpu, kvm)
kvm_arch_vcpu_free(vcpu);
+ if (kvm_x86_ops->vm_uninit)
+
Paolo,
On 04/12/2016 04:55 PM, Paolo Bonzini wrote:
On 11/04/2016 22:49, Radim Krčmář wrote:
@@ -7781,6 +7784,9 @@ static void kvm_free_vcpus(struct kvm *kvm)
kvm_for_each_vcpu(i, vcpu, kvm)
kvm_arch_vcpu_free(vcpu);
+ if (kvm_x86_ops->vm_uninit)
+
The references to some arrays in the rtl8xxxu driver were moved inside
of an #ifdef, but the symbols remain outside, resulting in build warnings:
rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' defined
but not used
rtl8xxxu/rtl8xxxu.c:1431:33: error:
The references to some arrays in the rtl8xxxu driver were moved inside
of an #ifdef, but the symbols remain outside, resulting in build warnings:
rtl8xxxu/rtl8xxxu.c:1506:33: error: 'rtl8188ru_radioa_1t_highpa_table' defined
but not used
rtl8xxxu/rtl8xxxu.c:1431:33: error:
The w5100-spi driver front-end only makes sense when the w5100
core driver is enabled, not for a configuration that only has w5300:
drivers/net/built-in.o: In function `w5100_spi_remove':
drivers/net/ethernet/wiznet/w5100-spi.c:277: undefined reference to
`w5100_remove'
drivers/net/built-in.o:
The w5100-spi driver front-end only makes sense when the w5100
core driver is enabled, not for a configuration that only has w5300:
drivers/net/built-in.o: In function `w5100_spi_remove':
drivers/net/ethernet/wiznet/w5100-spi.c:277: undefined reference to
`w5100_remove'
drivers/net/built-in.o:
* Manuel Schölling , 2016-04-18, 21:56:
To offer a way for userland tools to flush the buffer my second patch
adds a ioctl call for that.
In f8df13e0a901fe55631fed66562369b4dba40f8b, the escape sequence \e[3J
was added, which erases the whole display including the
* Manuel Schölling , 2016-04-18, 21:56:
To offer a way for userland tools to flush the buffer my second patch
adds a ioctl call for that.
In f8df13e0a901fe55631fed66562369b4dba40f8b, the escape sequence \e[3J
was added, which erases the whole display including the scroll-back
buffer. So the
On Mon, Apr 18, 2016 at 09:55:40PM +0200, H. Nikolaus Schaller wrote:
> returning ret is wrong. And checking for an error as well. User space
> may call multiple times until the work is really scheduled.
>
> twl4030-vibra.c also ignores the return value.
>
> Signed-off-by: H. Nikolaus Schaller
On Mon, Apr 18, 2016 at 09:55:40PM +0200, H. Nikolaus Schaller wrote:
> returning ret is wrong. And checking for an error as well. User space
> may call multiple times until the work is really scheduled.
>
> twl4030-vibra.c also ignores the return value.
>
> Signed-off-by: H. Nikolaus Schaller
On Mon, Apr 18, 2016 at 09:55:39PM +0200, H. Nikolaus Schaller wrote:
> commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue")
>
> says that it switches to use the system workqueue but it did neither
>
> - remove the workqueue struct variable
> - replace code to really use the
On Mon, Apr 18, 2016 at 09:55:39PM +0200, H. Nikolaus Schaller wrote:
> commit 21fb9f0d5e91 ("Input: twl6040-vibra - use system workqueue")
>
> says that it switches to use the system workqueue but it did neither
>
> - remove the workqueue struct variable
> - replace code to really use the
Hi Dave,
On Mon, 18 Apr 2016 12:43:16 -0400 (EDT) David Miller
wrote:
>
> From: Herbert Xu
> Date: Mon, 18 Apr 2016 18:43:36 +0800
>
> > Right, the problem is that nothing within crypto ever selects
> > CRYPTO since it's also used as a way of
Hi Dave,
On Mon, 18 Apr 2016 12:43:16 -0400 (EDT) David Miller
wrote:
>
> From: Herbert Xu
> Date: Mon, 18 Apr 2016 18:43:36 +0800
>
> > Right, the problem is that nothing within crypto ever selects
> > CRYPTO since it's also used as a way of hiding the crypto menu
> > options.
>
> As far
On 4/18/16 1:29 PM, Steven Rostedt wrote:
On Mon, 4 Apr 2016 21:52:48 -0700
Alexei Starovoitov wrote:
introduce BPF_PROG_TYPE_TRACEPOINT program type and allow it to be
attached to tracepoints.
The tracepoint will copy the arguments in the per-cpu buffer and pass
it to the bpf
On 4/18/16 1:29 PM, Steven Rostedt wrote:
On Mon, 4 Apr 2016 21:52:48 -0700
Alexei Starovoitov wrote:
introduce BPF_PROG_TYPE_TRACEPOINT program type and allow it to be
attached to tracepoints.
The tracepoint will copy the arguments in the per-cpu buffer and pass
it to the bpf program as its
On Mon, 18 Apr 2016 13:29:12 -0700
Benjamin Poirier wrote:
> On 2016/04/10 16:52, Benjamin Poirier wrote:
> > On 2016/04/08 14:29, Steven Rostedt wrote:
> > > On Sat, 2 Apr 2016 10:55:21 -0700
> > > Benjamin Poirier wrote:
> > >
> > > > The parameter
On Mon, 18 Apr 2016 13:29:12 -0700
Benjamin Poirier wrote:
> On 2016/04/10 16:52, Benjamin Poirier wrote:
> > On 2016/04/08 14:29, Steven Rostedt wrote:
> > > On Sat, 2 Apr 2016 10:55:21 -0700
> > > Benjamin Poirier wrote:
> > >
> > > > The parameter of Kconfig "source" statements does
On Thu, 7 Apr 2016, Vitaly Kuznetsov wrote:
> >> > This patchset continues the work I started with:
> >> >
> >> > commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6
> >> > Author: Vitaly Kuznetsov
> >> > Date: Tue Mar 15 14:56:48 2016 -0700
> >> >
> >> > memory-hotplug:
On Thu, 7 Apr 2016, Vitaly Kuznetsov wrote:
> >> > This patchset continues the work I started with:
> >> >
> >> > commit 31bc3858ea3ebcc3157b3f5f0e624c5962f5a7a6
> >> > Author: Vitaly Kuznetsov
> >> > Date: Tue Mar 15 14:56:48 2016 -0700
> >> >
> >> > memory-hotplug: add automatic
On 4/18/16 1:47 PM, Steven Rostedt wrote:
On Mon, 18 Apr 2016 12:51:43 -0700
Alexei Starovoitov wrote:
yeah, it could be added to ftrace as well, but it won't be as effective
as perf_trace, since the cost of trace_event_buffer_reserve() in
trace_event_raw_event_() handler is
On 4/18/16 1:47 PM, Steven Rostedt wrote:
On Mon, 18 Apr 2016 12:51:43 -0700
Alexei Starovoitov wrote:
yeah, it could be added to ftrace as well, but it won't be as effective
as perf_trace, since the cost of trace_event_buffer_reserve() in
trace_event_raw_event_() handler is significantly
On Fri, 15 Apr 2016, Michal Hocko wrote:
> > > > +static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup,
> > > > + struct hugetlb_cgroup *parent_h_cgroup)
> > > > +{
> > > > + int idx;
> > > > +
> > > > + for (idx = 0; idx < HUGE_MAX_HSTATE;
On Fri, 15 Apr 2016, Michal Hocko wrote:
> > > > +static void hugetlb_cgroup_init(struct hugetlb_cgroup *h_cgroup,
> > > > + struct hugetlb_cgroup *parent_h_cgroup)
> > > > +{
> > > > + int idx;
> > > > +
> > > > + for (idx = 0; idx < HUGE_MAX_HSTATE;
On 16/04/16 13:46, Florian Fainelli wrote:
> Do not have the machine Kconfig entry point need to select
> BRCMSTB_GISB_ARB, instead, just let it be default ARCH_BRCMSTB which is
> a better way to deal with this. While at it, also make it default
> BMIPS_GENERIC so the legacy MIPS-based STB
On 16/04/16 13:46, Florian Fainelli wrote:
> Do not have the machine Kconfig entry point need to select
> BRCMSTB_GISB_ARB, instead, just let it be default ARCH_BRCMSTB which is
> a better way to deal with this. While at it, also make it default
> BMIPS_GENERIC so the legacy MIPS-based STB
On 04/18/2016 03:36 PM, Mike Snitzer wrote:
> On Mon, Apr 18 2016 at 1:31am -0400,
> Baolin Wang wrote:
>
>> Hi Herbert,
>>
>> On 15 April 2016 at 21:48, Herbert Xu wrote:
>>> On Tue, Mar 15, 2016 at 03:47:58PM +0800, Baolin Wang wrote:
On 04/18/2016 03:36 PM, Mike Snitzer wrote:
> On Mon, Apr 18 2016 at 1:31am -0400,
> Baolin Wang wrote:
>
>> Hi Herbert,
>>
>> On 15 April 2016 at 21:48, Herbert Xu wrote:
>>> On Tue, Mar 15, 2016 at 03:47:58PM +0800, Baolin Wang wrote:
Now some cipher hardware engines prefer to handle
On Mon, Apr 18, 2016 at 09:55:37PM +0200, H. Nikolaus Schaller wrote:
> commit e7ec014a47e4 ("Input: twl6040-vibra - update for device tree support")
>
> made the separate vibra DT node to a subnode of the twl6040.
>
> It now calls of_find_node_by_name() to locate the "vibra" subnode.
> This
On Mon, Apr 18, 2016 at 09:55:37PM +0200, H. Nikolaus Schaller wrote:
> commit e7ec014a47e4 ("Input: twl6040-vibra - update for device tree support")
>
> made the separate vibra DT node to a subnode of the twl6040.
>
> It now calls of_find_node_by_name() to locate the "vibra" subnode.
> This
On Mon, Apr 18, 2016 at 09:55:41PM +0200, H. Nikolaus Schaller wrote:
> The mutex does not seem to be needed.
twl6040_vibra_suspend() and vibra_play_work() may run concurrently, no?
> twl4030-vibra doesn't
> use one either.
It probably should.
Thanks.
>
> Signed-off-by: H. Nikolaus Schaller
On Mon, Apr 18, 2016 at 09:55:41PM +0200, H. Nikolaus Schaller wrote:
> The mutex does not seem to be needed.
twl6040_vibra_suspend() and vibra_play_work() may run concurrently, no?
> twl4030-vibra doesn't
> use one either.
It probably should.
Thanks.
>
> Signed-off-by: H. Nikolaus Schaller
From: Hanjun Guo
ACPI_DEBUG_PRINT is a bit fragile in acpi/numa.c, the first thing
is that component ACPI_NUMA(0x8000) is not described in the
Documentation/acpi/debug.txt, and even not defined in the struct
acpi_dlayer acpi_debug_layers which we can not dynamically
From: Hanjun Guo
ACPI_DEBUG_PRINT is a bit fragile in acpi/numa.c, the first thing
is that component ACPI_NUMA(0x8000) is not described in the
Documentation/acpi/debug.txt, and even not defined in the struct
acpi_dlayer acpi_debug_layers which we can not dynamically enable/disable
it with
From: Hanjun Guo
Rework numa_add_memblk() to update the parameter "u64 size" to "u64
end", this will make it consistent with x86 and simplifies the arm64
ACPI NUMA code to be added later.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
From: Hanjun Guo
Rework numa_add_memblk() to update the parameter "u64 size" to "u64
end", this will make it consistent with x86 and simplifies the arm64
ACPI NUMA code to be added later.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
From: Hanjun Guo
Just do some cleanups to replace printk with pr_fmt().
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/numa.c | 17
From: Hanjun Guo
Just do some cleanups to replace printk with pr_fmt().
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/numa.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers/acpi/numa.c
From: Hanjun Guo
Cleanup acpi_numa_processor_affinity_init() in preparation for its
move to drivers/acpi/numa.c. It will be reused by arm64, this has no
functional change.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
From: Hanjun Guo
acpi_numa is default to 0, it's set to -1 when disable acpi numa or
when a bad SRAT is parsed, and it's only consumed in srat_disabled()
(compare it with 0) to continue parse the SRAT or not, so we don't
need to set acpi_numa to 1 when we get a valid SRAT
From: Robert Richter
Since acpi_numa_arch_fixup() is only used in arch ia64, move it there
to make a generic interface easier. This avoids empty function stubs
or some complex kconfig options for x86 and arm64.
Signed-off-by: Robert Richter
From: Hanjun Guo
Cleanup acpi_numa_processor_affinity_init() in preparation for its
move to drivers/acpi/numa.c. It will be reused by arm64, this has no
functional change.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
arch/x86/mm/srat.c | 21
From: Hanjun Guo
acpi_numa is default to 0, it's set to -1 when disable acpi numa or
when a bad SRAT is parsed, and it's only consumed in srat_disabled()
(compare it with 0) to continue parse the SRAT or not, so we don't
need to set acpi_numa to 1 when we get a valid SRAT entry.
Signed-off-by:
From: Robert Richter
Since acpi_numa_arch_fixup() is only used in arch ia64, move it there
to make a generic interface easier. This avoids empty function stubs
or some complex kconfig options for x86 and arm64.
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
From: Hanjun Guo
bad_srat() and srat_disabled() are shared by x86 and follow-on arm64
patches. Move them to drivers/acpi/numa.c in preparation for arm64
support.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
From: Hanjun Guo
bad_srat() and srat_disabled() are shared by x86 and follow-on arm64
patches. Move them to drivers/acpi/numa.c in preparation for arm64
support.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
arch/x86/include/asm/acpi.h | 1 -
From: David Daney
Loosely based on code from Robert Richter and Hanjun Guo.
Improve out of range node detection as well as allow for Larger SRAT
entities.
Add printing of nice messages.
Signed-off-by: David Daney
---
drivers/acpi/numa.c | 15
From: Robert Richter
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index
From: David Daney
Loosely based on code from Robert Richter and Hanjun Guo.
Improve out of range node detection as well as allow for Larger SRAT
entities.
Add printing of nice messages.
Signed-off-by: David Daney
---
drivers/acpi/numa.c | 15 +++
1 file changed, 11
From: Robert Richter
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig
index 5ce9f66..bacf245 100644
--- a/drivers/acpi/Kconfig
+++
From: Hanjun Guo
The argument "header" for acpi_table_print_srat_entry()
is always checked before the function is called, it's
duplicate to check it again, remove it.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
From: Hanjun Guo
The argument "header" for acpi_table_print_srat_entry()
is always checked before the function is called, it's
duplicate to check it again, remove it.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/numa.c | 3 ---
1 file
From: Hanjun Guo
acpi_numa_memory_affinity_init() will be reused by arm64. Move it to
drivers/acpi/numa.c to facilitate reuse.
No code change.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David
From: Hanjun Guo
acpi_numa_memory_affinity_init() will be reused by arm64. Move it to
drivers/acpi/numa.c to facilitate reuse.
No code change.
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
arch/x86/mm/srat.c | 56
From: Hanjun Guo
Introduce a new file to hold ACPI based NUMA information parsing from
SRAT and SLIT.
SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory
ranges to Proximity Domain mapping. SLIT has the information of inter
node distances(relative
From: Hanjun Guo
Introduce a new file to hold ACPI based NUMA information parsing from
SRAT and SLIT.
SRAT includes the CPU ACPI ID to Proximity Domain mappings and memory
ranges to Proximity Domain mapping. SLIT has the information of inter
node distances(relative number for access latency).
From: Hanjun Guo
Identical implementations of acpi_numa_slit_init() are used by both
x86 and follow-on arm64 support. Move it to drivers/acpi/numa.c, and
mark it as __weak because ia64 has its own architecture specific
implementation.
No code change.
Signed-off-by:
From: Hanjun Guo
Identical implementations of acpi_numa_slit_init() are used by both
x86 and follow-on arm64 support. Move it to drivers/acpi/numa.c, and
mark it as __weak because ia64 has its own architecture specific
implementation.
No code change.
Signed-off-by: Hanjun Guo
Signed-off-by:
From: Hanjun Guo
Add function needed for cpu to node mapping, and enable ACPI based
NUMA for ARM64 in Kconfig
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
From: David Daney
Based on v16 of device-tree NUMA patch set for arm64 [1],this patch
set introduce the ACPI based configuration to provide NUMA
information.
ACPI 5.1 already introduced NUMA support for ARM64, which can get the
NUMA domain information from SRAT and SLIT
From: Hanjun Guo
Add function needed for cpu to node mapping, and enable ACPI based
NUMA for ARM64 in Kconfig
Signed-off-by: Hanjun Guo
Signed-off-by: Robert Richter
Signed-off-by: David Daney
---
drivers/acpi/Kconfig | 2 +-
drivers/acpi/numa.c | 35 +++
From: David Daney
Based on v16 of device-tree NUMA patch set for arm64 [1],this patch
set introduce the ACPI based configuration to provide NUMA
information.
ACPI 5.1 already introduced NUMA support for ARM64, which can get the
NUMA domain information from SRAT and SLIT table, so parse those
On Mon, Apr 18, 2016 at 09:55:38PM +0200, H. Nikolaus Schaller wrote:
> commit 1f9e1470ab34 ("Input: twl6040-vibra - use devm functions")
>
> converted everything to devm but we still need to call
> input_unregister_device(info->input_dev)
No, this is not needed, because devm-managed input
On Mon, Apr 18, 2016 at 09:55:38PM +0200, H. Nikolaus Schaller wrote:
> commit 1f9e1470ab34 ("Input: twl6040-vibra - use devm functions")
>
> converted everything to devm but we still need to call
> input_unregister_device(info->input_dev)
No, this is not needed, because devm-managed input
201 - 300 of 1884 matches
Mail list logo