On Thu, Dec 08, 2016 at 05:31:13PM +, David Howells wrote:
> Lukas Wunner wrote:
> > > +out_efi_err:
> > > + pr_efi_err(sys_table_arg, "Could not determine UEFI Secure Boot
> > > status.\n");
> > > + if (status == EFI_NOT_FOUND)
> > > + return
On Thu, Dec 8, 2016 at 4:35 PM, Huang, Ying wrote:
> Joel Fernandes writes:
>
>> Usage llist_del_first needs lock protection, however the table in the
>> comments of llist.h show a '-'. Correct this, and also add better
>> comments on top.
>>
>> Cc: Huang
On 12/06, Grygorii Strashko wrote:
> Subject: [PATCH] cpts refclk sel
>
> Signed-off-by: Grygorii Strashko
> ---
> arch/arm/boot/dts/keystone-k2e-netcp.dtsi | 10 +-
> drivers/net/ethernet/ti/cpts.c| 52
> ++-
> 2 files
Hi Stephen
> > > I don't see any reason why we need this patch though. The binding
> > > works as is, so supporting different styles doesn't seem like a
> > > good idea to me. Let's just keep what we have? Even if a sub-node
> > > like cpu or codec gets more than one element in the clocks list
>
> -Original Message-
> From: Greg KH [mailto:gre...@linuxfoundation.org]
> Sent: Thursday, December 08, 2016 10:05 AM
> To: Stuart Yoder
> Cc: de...@driverdev.osuosl.org; ag...@suse.de; a...@arndb.de;
> linux-kernel@vger.kernel.org; Leo Li
> ;
Basically when plugging in various cables in different orders, I'm
occasionally seeing the following BUG splat:
[ 86.215403] BUG: scheduling while atomic: kworker/u16:2/53/0x0002
[ 86.219164] usb 1-1: USB disconnect, device number 9
[ 86.226845] Preemption disabled at:[ 86.230218]
[]
The commit 10efbf5f1633 introduced NanoPi M1 board but it's missing in
Allwinner H3 DTB build.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index
Hi, Rafael and Dan
> From: Dan Williams [mailto:dan.j.willi...@intel.com]
> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
> acpi_get_table_with_size() and
> early_acpi_os_unmap_memory() from Linux kernel
>
> On Thu, Dec 8, 2016 at 5:18 AM, Rafael J. Wysocki wrote:
> >
On Fri, Dec 09, 2016 at 12:44:17PM +1100, Dave Chinner wrote:
> On Thu, Dec 08, 2016 at 11:33:00AM +0100, Michal Hocko wrote:
> > From: Michal Hocko
> >
> > Using kmalloc with the vmalloc fallback for larger allocations is a
> > common pattern in the kernel code. Yet we do not
On Thu, Dec 08, 2016 at 08:49:32PM -, Thomas Gleixner wrote:
> The clocksource delta to nanoseconds conversion is using signed math, but
> the delta is unsigned. This makes the conversion space smaller than
> necessary and in case of a multiplication overflow the conversion can
> become
On Thu, Dec 08, 2016 at 08:49:34PM -, Thomas Gleixner wrote:
> Propagating a unsigned value through signed variables and functions makes
> absolutely no sense and is just prone to (re)introduce subtle signed
> vs. unsigned issues as happened recently.
>
> Clean it up.
>
> Signed-off-by:
The driver uses a private lock for synchronization of the xmit function and
the xmit completion handler, but since the NETIF_F_LLTX flag is not set,
the xmit function is also called with the xmit_lock held.
On the other hand the completion handler uses the reverse locking order by
first taking
The driver uses a private lock for synchronization of the xmit function and
the xmit completion handler, but since the NETIF_F_LLTX flag is not set,
the xmit function is also called with the xmit_lock held.
On the other hand the completion handler uses the reverse locking order by
first taking
On Thu, Dec 8, 2016 at 10:02 AM, Dmitry Vyukov wrote:
> Chain exists of:
> Possible unsafe locking scenario:
>
>CPU0CPU1
>
> lock(nlk->cb_mutex);
>lock([i].mutex);
>
From: Andi Kleen
An earlier patch allowed enabling PT and LBR at the same
time on Goldmont. However it also allowed enabling BTS and LBR
at the same time, which is still not supported. Fix this by
bypassing the check only for PT.
Marking for stable because this allows
On 09/20, Arvind Yadav wrote:
> From: Arvind Yadav
>
> Free memory and memory mapping , if pxa910_clk_init is not successful.
>
> Signed-off-by: Arvind Yadav
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of
Hi Stephen
> > @@ -111,14 +112,13 @@ int asoc_simple_card_parse_clk(struct device_node
> > *node,
> > * or "system-clock-frequency = "
> > * or device's module clock.
> > */
> > - clk = of_clk_get(node, 0);
> > + clk = devm_get_clk_from_child(dev, node, NULL);
> > if
On 09/20, Arvind Yadav wrote:
> From: Arvind Yadav
>
> Free memory and memory mapping , if mmp2_clk_init is not successful.
>
> Signed-off-by: Arvind Yadav
> ---
> drivers/clk/mmp/clk-of-mmp2.c | 15 ---
> 1 file changed, 12
Joel Fernandes writes:
> Usage llist_del_first needs lock protection, however the table in the
> comments of llist.h show a '-'. Correct this, and also add better
> comments on top.
>
> Cc: Huang Ying
> Cc: Ingo Molnar
> Cc: Will
On 09/19, Arvind yadav wrote:
> From: Arvind Yadav
>
> Free memory mapping, if probe is not successful.
>
> Signed-off-by: Arvind Yadav
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a
On (12/08/16 11:17), Cory Pruce wrote:
>Just wondering if it was really necessary to use the disk struct. It seems
>like the struct is more used for record keeping/io config than actually
>holding the data (actual data is worked with via page operations).
>
>Is this correct? What
On 09/20, Arvind Yadav wrote:
> From: Arvind Yadav
>
> Free memory mapping, if of_pll_div_clk_init is not successful.
>
> Signed-off-by: Arvind Yadav
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code
Hi all,
After merging the net-next tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
In file included from include/linux/byteorder/big_endian.h:4:0,
from arch/powerpc/include/uapi/asm/byteorder.h:13,
from
On Thu, Dec 8, 2016 at 4:42 PM, Joel Fernandes wrote:
> On Thu, Dec 8, 2016 at 4:35 PM, Huang, Ying wrote:
>> Joel Fernandes writes:
>>
>>> Usage llist_del_first needs lock protection, however the table in the
>>> comments of llist.h
On Thu, Dec 08, 2016 at 04:08:27PM -0800, Cong Wang wrote:
> On Thu, Dec 8, 2016 at 8:30 AM, Dmitry Vyukov wrote:
> > Chain exists of:
> > Possible unsafe locking scenario:
> >
> >CPU0CPU1
> >
> >
Hi, Dan
Good to see you here!
> From: dan.j.willi...@gmail.com [mailto:dan.j.willi...@gmail.com] On Behalf Of
> Dan Williams
> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
> acpi_get_table_with_size() and
> early_acpi_os_unmap_memory() from Linux kernel
>
> On Tue, Nov 29, 2016 at
On Thu, Dec 8, 2016 at 2:00 PM, Kees Cook wrote:
> Hi,
>
> I'd like to get the GCC plugins building under
> allyesconfig/allmodconfig for -next soon (with the intention of
> landing the change in v4.11). Specifically, I intend to revert
> a519167e753e ("gcc-plugins: disable
Rob,
Could you please respond on these comments? I've got some free time, so I wanna
rewrite the code until I've not got busy again.
Regards,
-Sergey
On Mon, Dec 05, 2016 at 10:04:56PM +0300, Serge Semin
wrote:
> On Mon, Dec 05, 2016 at 11:27:07AM -0600, Rob Herring
On Thu, Dec 8, 2016 at 5:49 PM, Zheng, Lv wrote:
> Hi, Dan
>
> Good to see you here!
>
>> From: dan.j.willi...@gmail.com [mailto:dan.j.willi...@gmail.com] On Behalf
>> Of Dan Williams
>> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
>> acpi_get_table_with_size() and
On 12/08/2016 09:46 PM, Stefan Agner wrote:
> On 2016-12-07 18:37, Marek Vasut wrote:
>> On 12/08/2016 02:26 AM, Stefan Agner wrote:
>>> On 2016-12-07 16:59, Stefan Agner wrote:
On 2016-12-07 16:49, Marek Vasut wrote:
> On 12/08/2016 01:27 AM, Stefan Agner wrote:
>> The DRM subsystem
On 12/08/2016 05:10 PM, sb...@codeaurora.org wrote:
> On 11/25, Y.T. Tang wrote:
>> Hi Scott,
>>
>>> -Original Message-
>>> From: Scott Wood
>>> Sent: Thursday, November 24, 2016 4:21 PM
>>> To: Y.T. Tang ; mturque...@baylibre.com
>>> Cc: sb...@codeaurora.org;
Hi Shuah,
On Thu, Dec 08, 2016 at 07:46:03AM -0700, Shuah Khan wrote:
> Hi Sakari,
>
> On 12/07/2016 03:27 PM, Sakari Ailus wrote:
> > Hi Shuah,
> >
> > On Wed, Dec 07, 2016 at 01:03:59PM -0700, Shuah Khan wrote:
> >> Hi Sakari,
> >>
> >> On 12/07/2016 03:52 AM, Sakari Ailus wrote:
> >>> Hi
Hi Bjorn,
Today's linux-next merge of the pci tree got a conflict in:
drivers/pci/msi.c
between commit:
62c61514191b ("doc: Add missing parameter for msi_setup")
from Linus' tree and commit:
67f1e4473857 ("PCI/MSI: Document new parameter for msi_capability_init()")
from the pci tree.
On Thu, Dec 08, 2016 at 08:49:38PM -, Thomas Gleixner wrote:
> The resume code must deal with a clocksource delta which is potentially big
> enough to overflow the 64bit mult.
>
> Replace the open coded handling with the proper function.
>
> Signed-off-by: Thomas Gleixner
On Thu, Dec 08, 2016 at 08:49:45PM -, Thomas Gleixner wrote:
> Kill the ever confusing typedef and use u64.
>
> NOT FOR INCLUSION - Must be regenerated at some point via coccinelle
>
> Not-Signed-off-by: Thomas Gleixner
Not-Reviewed-by: David Gibson
On Thu, Dec 08, 2016 at 08:49:36PM -, Thomas Gleixner wrote:
> cycles_t is defined as u64, so casting it to u64 is a pointless and
> confusing exercise. cycles_t should simply go away and be replaced with a
> plain u64 to avoid further confusion.
>
> Signed-off-by: Thomas Gleixner
On Thu, Dec 8, 2016 at 8:30 AM, Dmitry Vyukov wrote:
> Chain exists of:
> Possible unsafe locking scenario:
>
>CPU0CPU1
>
> lock(sb_writers#5);
>lock(>bindlock);
>
On 9 December 2016 at 07:28, Benjamin Herrenschmidt
wrote:
> On Thu, 2016-12-08 at 11:10 +0100, Daniel Vetter wrote:
>> > With drmfb you basically have to shadow everything into memory & copy
>> > over everything, and locks you out of simple 2D accel. For a simple text
On 09/20, Arvind Yadav wrote:
> From: Arvind Yadav
>
> Free memory, if init is not successful.
>
> Signed-off-by: Arvind Yadav
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux
Hi Stephen
> > From: Kuninori Morimoto
> >
> > Current simple-card is supporting this style for clocks
> >
> > sound {
> > ...
> > simple-audio-card,cpu {
> > sound-dai = <>;
> > clocks =
On 12/07, Irina Tirdea wrote:
> The BayTrail and CherryTrail platforms provide platform clocks
> through their Power Management Controller (PMC).
>
> The SoC supports up to 6 clocks (PMC_PLT_CLK[5:0]) with a
> frequency of either 19.2 MHz (PLL) or 25 MHz (XTAL) for BayTrail
> an a frequency of
Hi Stephen, Mark
> > This is v5 of "clkdev: add devm_of_clk_get()", but new series.
> > I hope my understanding was correct with your idea.
>
> Yes this looks good. Given that we're so close to the merge
> window, perhaps I should just merge the first patch into clk-next
> and then it will be
On 12/09, Kuninori Morimoto wrote:
>
> Hi Stephen
>
> > > From: Kuninori Morimoto
> > >
> > > Current simple-card is supporting this style for clocks
> > >
> > > sound {
> > > ...
> > > simple-audio-card,cpu {
> > >
On 12/08, Scott Wood wrote:
> On 12/08/2016 05:10 PM, sb...@codeaurora.org wrote:
> > On 11/25, Y.T. Tang wrote:
> >> Hi Scott,
> >>
> >>> -Original Message-
> >>> From: Scott Wood
> >>> Sent: Thursday, November 24, 2016 4:21 PM
> >>> To: Y.T. Tang ;
On 12/08/2016 11:52 PM, Stefan Agner wrote:
> The LCD bus width does not need to align with the pixel format. The
> LCDIF controller automatically converts between pixel formats and
> bus width by padding or dropping LSBs.
>
> The DRM subsystem has the notion of bus_format which allows to
>
* Memory
memblock for DDR3 1GB
* Regulator
3.3V for panel and backlight.
* Display
Enable HDMI and LVDS panel. Savageboard supports AVIC TM097TDH02 panel
which is compatible with Hannstar HSD100PXN1, so reuse it.
* Clock
The commit d28be499c45e6 is applied to support LVDS and HDMI
Use common board file and support SATA interface additionally.
Specify this dtb file for i.MX6 build.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6q-savageboard.dts | 54 +
2 files
Poslab Savageboard is i.MX6 SoC base, but BSP code from the vendor is
not mainline u-boot and kernel. Personal reason of using this board is
testing etnaviv user-space driver, so I re-write device tree files based on
mainline kernel for the first step.
This patchset includes common DT file,
Common savageboard DT file is used for board support.
Specify this dtb file for i.MX6Q build.
Signed-off-by: Milo Kim
---
arch/arm/boot/dts/Makefile | 1 +
arch/arm/boot/dts/imx6dl-savageboard.dts | 50
2 files changed, 51
On Thu, Dec 08, 2016 at 11:33:00AM +0100, Michal Hocko wrote:
> From: Michal Hocko
>
> Using kmalloc with the vmalloc fallback for larger allocations is a
> common pattern in the kernel code. Yet we do not have any common helper
> for that and so users have invented their own
On Thu, Dec 8, 2016 at 5:59 PM, Zheng, Lv wrote:
> Hi, Rafael and Dan
>
>> From: Dan Williams [mailto:dan.j.willi...@intel.com]
>> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
>> acpi_get_table_with_size() and
>> early_acpi_os_unmap_memory() from Linux kernel
>>
>> On
Hi, Rafael
> From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of Rafael J.
> Wysocki
> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
> acpi_get_table_with_size() and
> early_acpi_os_unmap_memory() from Linux kernel
>
> On Fri, Dec 9, 2016 at 2:59 AM, Zheng, Lv
On Thu, Dec 8, 2016 at 6:12 PM, Huang, Ying wrote:
> Joel Fernandes writes:
>
>> On Thu, Dec 8, 2016 at 4:42 PM, Joel Fernandes wrote:
>>> On Thu, Dec 8, 2016 at 4:35 PM, Huang, Ying wrote:
Joel Fernandes
Hi, Dan
> From: linux-acpi-ow...@vger.kernel.org
> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Dan
> Williams
> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
> acpi_get_table_with_size() and
> early_acpi_os_unmap_memory() from Linux kernel
>
> On Thu, Dec 8, 2016 at 5:59 PM,
Joel Fernandes writes:
> On Thu, Dec 8, 2016 at 6:12 PM, Huang, Ying wrote:
>> Joel Fernandes writes:
>>
>>> On Thu, Dec 8, 2016 at 4:42 PM, Joel Fernandes wrote:
On Thu, Dec 8, 2016 at 4:35 PM, Huang, Ying
'struct mem_section_usage' combines the existing 'pageblock_flags' bitmap
with a new 'map_active' bitmap. The new bitmap enables the memory
hot{plug,remove} implementation to act on incremental sub-divisions of
a section. The primary impetus for this functionality is to support
platforms that mix
Prepare for hot{plug,remove} of sub-ranges of a section by tracking a
section active bitmask, each bit representing 2MB (SECTION_SIZE (128M) /
map_active bitmask length (64)).
Cc: Andrew Morton
Cc: Mel Gorman
Cc: Vlastimil Babka
Changes since v1 [1]:
1/ fixed the pgmap_radix to index pfns instead of full physical
addresses
2/ reflowed the follow-on patches and fixed a conflict in patch 10, but
no other functional changes.
[1]: https://lkml.org/lkml/2016/12/1/740
---
Same cover letter from v1:
Quoting "[PATCH
We mark and check that the section is present under a spin_lock() in
sparse_add_one_section(), so the lock ensures it will not change between
those 2 events. Also, we do not check the -EBUSY return value in
sparse_init(). Just make sparse_init_one_section() return void and clean
up the error
Hello,
after 53924022d8a ("kbuild: fix building bzImage withCONFIG_TRIM_UNUSED_KSYMS
enabled") all of my build scripts build the kernel without the modules.
shouldn't that 'KBUILD_MODULES := 1' happen before we `export KBUILD_MODULES'?
this silly patch fixes the build for me:
Now that libbpf under tools/lib/bpf/* is synced with the version from
samples/bpf, we can get rid most of the libbpf library here.
Signed-off-by: Joe Stringer
---
v3: First post.
---
samples/bpf/Makefile | 60 +-
samples/bpf/README.rst | 4 +-
Fixes the following issue when building without access to 'u32' type:
./tools/lib/bpf/bpf.h:27:23: error: unknown type name ‘u32’
Signed-off-by: Joe Stringer
---
v3: Split from "tools lib bpf: Sync with samples/bpf/libbpf"
---
tools/lib/bpf/bpf.c | 4 ++--
tools/lib/bpf/bpf.h | 4
Switch all of the sample code to use the function names from
tools/lib/bpf so that they're consistent with that, and to declare their
own log buffers. This allow the next commit to be purely devoted to
getting rid of the duplicate library in samples/bpf.
Signed-off-by: Joe Stringer
On 09/12/16 05:06, Kees Cook wrote:
i don't think that this is the right approach. there's a general and a special
issue here, both of which need different handling.
the general problem is to detect problems related to gcc plugin headers and
notify the users about solutions. emitting various
This function was declared in libbpf.c and was the only remaining
function in this library, but has nothing to do with BPF. Shift it out
into a new header, sock_example.h, and include it from the relevant
samples.
Signed-off-by: Joe Stringer
---
v3: First post.
---
The map_flags argument to bpf_create_map() was previously not exposed.
By exposing it, users can access flags such as whether or not to
preallocate the map.
Signed-off-by: Joe Stringer
---
v3: Split from "tools lib bpf: Sync with samples/bpf/libbpf".
---
tools/lib/bpf/bpf.c| 3
Nikolay Borisov writes:
> On 8.12.2016 03:40, Eric W. Biederman wrote:
>> Nikolay Borisov writes:
>>
>>> Gentle ping, now that rc1 has shipped and Jan's sysctl concern hopefully
>>> resolved.
>>
>> After getting slowed down by some fixes I am now
> > >> On 08/12/16 15:29, Bharat Kumar Gogada wrote:
> > >>
> > >> Two things:
> > >>
> > >>> Here is the cat /proc/interrupts (after we do interface up):
> > >>>
> > >>> root@:~# ifconfig wlan0 up
> > >>> [ 1548.926601] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> > >>>
On (12/09/16 11:43), Sergey Senozhatsky wrote:
>
> after 53924022d8a ("kbuild: fix building bzImage withCONFIG_TRIM_UNUSED_KSYMS
> enabled") all of my build scripts build the kernel without the modules.
[..]
> +# For the kernel to actually contain only the needed exported symbols,
> +# we have
Mark Lord
I find an issue about autosuspend, and it may result in the same
problem with you. I don't sure if this is helpful to you, because
it only occurs when enabling the autosuspend.
Best Regards,
Hayes
/*
* Copyright (c) 2014 Realtek Semiconductor Corp. All rights
Hi Michal,
On 8 December 2016 at 23:18, Michal Nazarewicz wrote:
> On Thu, Dec 08 2016, Baolin Wang wrote:
>> When system try to close /dev/usb-ffs/adb/ep0 on one core, at the same
>> time another core try to attach new UDC, which will cause deadlock as
>> below scenario. Thus
Hi,
On 9 December 2016 at 01:52, Felipe Balbi wrote:
>
> Hi,
>
> Baolin Wang writes:
>>> Baolin Wang writes:
>> On 28 November 2016 at 14:43, Baolin Wang wrote:
>>> For some mobile devices with
On 2016/12/9 10:46, Joe Stringer wrote:
The map_flags argument to bpf_create_map() was previously not exposed.
By exposing it, users can access flags such as whether or not to
preallocate the map.
Signed-off-by: Joe Stringer
Please mention commit
On Fri, 9 Dec 2016, Sergey Senozhatsky wrote:
> On (12/09/16 11:43), Sergey Senozhatsky wrote:
> >
> > after 53924022d8a ("kbuild: fix building bzImage
> > withCONFIG_TRIM_UNUSED_KSYMS
> > enabled") all of my build scripts build the kernel without the modules.
>
> [..]
> > +# For the kernel to
On Fri, Dec 9, 2016 at 3:21 AM, Lv Zheng wrote:
> The returned size is still used by the drivers.
>
> Reported-by: Dan Williams
> Cc: Dan Williams
> Signed-off-by: Lv Zheng
> ---
> drivers/acpi/osl.c |
On Fri, Dec 9, 2016 at 2:59 AM, Zheng, Lv wrote:
> Hi, Rafael and Dan
>
>> From: Dan Williams [mailto:dan.j.willi...@intel.com]
>> Subject: Re: [PATCH 08/11] ACPICA: Tables: Back port
>> acpi_get_table_with_size() and
>> early_acpi_os_unmap_memory() from Linux kernel
>>
>> On
> On 08/12/16 18:33, Bharat Kumar Gogada wrote:
> >> On 08/12/16 15:29, Bharat Kumar Gogada wrote:
> >>
> >> Two things:
> >>
> >>> Here is the cat /proc/interrupts (after we do interface up):
> >>>
> >>> root@:~# ifconfig wlan0 up
> >>> [ 1548.926601] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not
On Fri, 2 Dec 2016 07:49:52 -0800
"Luis R. Rodriguez" wrote:
> On Thu, Dec 1, 2016 at 10:31 PM, Nicholas Piggin
> wrote:
> >
> > On 2 Dec 2016 2:35 AM, "Luis R. Rodriguez" wrote:
> >>
> >> On Wed, Nov 30, 2016 at 9:20 PM,
Joel Fernandes writes:
> On Thu, Dec 8, 2016 at 4:42 PM, Joel Fernandes wrote:
>> On Thu, Dec 8, 2016 at 4:35 PM, Huang, Ying wrote:
>>> Joel Fernandes writes:
>>>
Usage llist_del_first needs lock protection,
Hi, Dan
> -Original Message-
> From: linux-acpi-ow...@vger.kernel.org
> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Dan
> Williams
> Sent: Friday, December 9, 2016 10:05 AM
> To: Zheng, Lv
> Cc: Rafael J. Wysocki ; Wysocki, Rafael J
>
The returned size is still used by the drivers.
Reported-by: Dan Williams
Cc: Dan Williams
Signed-off-by: Lv Zheng
---
drivers/acpi/osl.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git
From: Arnd Bergmann
Date: Thu, 8 Dec 2016 22:57:05 +0100
> In some configurations, gcc cannot trace the state of variables
> across a spin_unlock() barrier, leading to a warning about
> correct code:
>
> xgene_enet_main.c: In function 'xgene_enet_start_xmit':
>
From: Arnd Bergmann
Date: Thu, 8 Dec 2016 22:57:03 +0100
> On 32-bit ARM with 64-bit dma_addr_t I get this warning about an
> incorrect format string:
>
> In file included from
> /git/arm-soc/drivers/net/ethernet/mellanox/mlx5/core/alloc.c:42:0:
>
From: Arnd Bergmann
Date: Thu, 8 Dec 2016 22:57:04 +0100
> The array for initializing the cle is set up on the stack with
> almost entirely constant data and then passed to a function that
> converts it into HW specific bit patterns. With the latest
> addition, the size of this
sed by commit
d9fc6452af47 ("spi: mvebu: fix baudrate calculation for armada variants")
I have used the spi tree from next-20161208 for today.
--
Cheers,
Stephen Rothwell
Hi all,
Today's linux-next merge of the tip tree got a conflict in:
drivers/pci/msi.c
between commit:
67f1e4473857 ("PCI/MSI: Document new parameter for msi_capability_init()")
from the pci tree and commit:
61e1c5905290 ("PCI/MSI: Propagate IRQ affinity description through the MSI
In preparation for sub-section memory hotplug support, remove a
dependency on ->section_mem_map being populated. In SPARSEMEM_VMEMMAP=y
configurations pfn_to_page() does not use ->section_mem_map. The
sub-section hotplug support relies on this fact and skips initializing
it. Without
The initial motivation for this change is persistent memory platforms
that, unfortunately, align the pmem range on a boundary less than a full
section (64M vs 128M), and may change the alignment from one boot to the
next. A secondary motivation is the arrival of prospective ZONE_DEVICE
users that
Teach devm_memremap_pages() about the new sub-section capabilities of
arch_{add,remove}_memory().
Cc: Toshi Kani
Cc: Andrew Morton
Cc: Logan Gunthorpe
Cc: Stephen Bates
Signed-off-by: Dan Williams
Prepare the memory hot-{add,remove} paths for handling sub-section
ranges by plumbing the starting page frame and number of pages being
handled through arch_{add,remove}_memory() to
sparse_{add,remove}_one_section().
This is simply plumbing, small cleanups, and some identifier renames. No
Allow sub-section sized ranges to be added to the memmap.
populate_section_memmap() takes an explict pfn range rather than
assuming a full section, and those parameters are plumbed all the way
through to vmmemap_populate(). There should be no sub-section in
current code. New warnings are added to
Now that the mm core supports section-unaligned hotplug of ZONE_DEVICE
memory, we no longer need to add padding at pfn/dax device creation
time. The kernel will still honor padding established by older kernels.
Cc: Toshi Kani
Signed-off-by: Dan Williams
Up-level the local section size and mask from kernel/memremap.c to
global definitions. These will be used by the new sub-section hotplug
support.
Signed-off-by: Dan Williams
---
include/linux/mmzone.h |2 ++
kernel/memremap.c | 10 --
2 files
devm_memremap_pages() records mapped ranges in pgmap_radix with a entry
per section's worth of memory (128MB). The key for each of those entries is
a section number.
This leads to false positives when devm_memremap_pages() is passed a
section-unaligned range as lookups in the misalignment fail
(Was "libbpf: Synchronize implementations")
Update tools/lib/bpf to provide the remaining bpf wrapper pieces needed by the
samples/bpf/ code, then get rid of all of the duplicate BPF libraries in
samples/bpf/libbpf.[ch].
---
v3: Add ack for first patch.
Split out second patch from v2 into
The tools version of this header is out of date; update it to the latest
version from the kernel headers.
Signed-off-by: Joe Stringer
Acked-by: Wang Nan
---
v3: Add ack.
v2: No change.
---
tools/include/uapi/linux/bpf.h | 51
This declaration was made in samples/bpf/libbpf.c for convenience, but
there's already one in tools/perf/perf-sys.h. Reuse that one.
Signed-off-by: Joe Stringer
---
v3: First post.
---
samples/bpf/Makefile| 3 ++-
samples/bpf/bpf_load.c | 3 ++-
From: zheng li
There is an inconsitent conditional judgement in __ip_append_data and
ip_finish_output functions, the variable length in __ip_append_data just
include the length of applicatoin's payload and udp header, don't include
the length of ip header, but in
> Subject: Re: [PATCH kernel v5 0/5] Extend virtio-balloon for fast
> (de)inflating
> & fast live migration
>
> On 12/07/2016 05:35 AM, Li, Liang Z wrote:
> >> Am 30.11.2016 um 09:43 schrieb Liang Li:
> >> IOW in real examples, do we have really large consecutive areas or
> >> are all pages just
On 2016/12/9 10:46, Joe Stringer wrote:
Fixes the following issue when building without access to 'u32' type:
./tools/lib/bpf/bpf.h:27:23: error: unknown type name ‘u32’
Signed-off-by: Joe Stringer
---
v3: Split from "tools lib bpf: Sync with samples/bpf/libbpf"
---
701 - 800 of 1714 matches
Mail list logo