Re: BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (6)

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 8:49 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:5f179793f0a7 Merge tag 'for_linus' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17a713d540 > kernel config:

KMSAN: uninit-value in mpol_rebind_mm

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:79fc24ff6184 kmsan: highmem: use kmsan_clear_page() in cop.. git tree: kmsan console output: https://syzkaller.appspot.com/x/log.txt?x=13c48b6740 kernel config: https://syzkaller.appspot.com/x/.config?x=901dd030b2cc57e7

Re: BUG: unable to handle kernel NULL pointer dereference in unlink_file_vma

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 8:44 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:3d647e62686f Merge tag 's390-4.19-4' of git://git.kernel.o.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1316f4a540 > kernel config:

Re: INFO: rcu detected stall in ndisc_alloc_skb

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 8:42 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:ef4ab8447aa2 selftests: bpf: install script with_addr.sh > git tree: bpf-next > console output: https://syzkaller.appspot.com/x/log.txt?x=14a28b6e40 > kernel config:

BUG: unable to handle kernel NULL pointer dereference in qlist_free_all (6)

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5f179793f0a7 Merge tag 'for_linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17a713d540 kernel config: https://syzkaller.appspot.com/x/.config?x=8110fb1cd164e8f

BUG: unable to handle kernel NULL pointer dereference in unlink_file_vma

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3d647e62686f Merge tag 's390-4.19-4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1316f4a540 kernel config: https://syzkaller.appspot.com/x/.config?x=88e9a8a39dc0be2d

INFO: rcu detected stall in ndisc_alloc_skb

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:ef4ab8447aa2 selftests: bpf: install script with_addr.sh git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=14a28b6e40 kernel config: https://syzkaller.appspot.com/x/.config?x=7e7e2279c0020d5f

Re: BUG: unable to handle kernel NULL pointer dereference in kmem_cache_free (2)

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 8:23 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:345671ea0f92 Merge branch 'akpm' (patches from Andrew) > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1044271340 > kernel config:

Re: [PATCH v2 2/3] clk: ti: check clock type before doing autoidle ops

2018-12-30 Thread Tero Kristo
On 28/12/2018 22:02, Tony Lindgren wrote: * Andreas Kemnade [181227 20:13]: Hi, On Tue, 4 Dec 2018 08:45:57 -0800 Tony Lindgren wrote: * Andreas Kemnade [181204 06:17]: On Mon, 3 Dec 2018 07:39:10 -0800 Tony Lindgren wrote: The consumer device stays active just fine with PM runtime

BUG: unable to handle kernel NULL pointer dereference in kmem_cache_free (2)

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:345671ea0f92 Merge branch 'akpm' (patches from Andrew) git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1044271340 kernel config: https://syzkaller.appspot.com/x/.config?x=5c0a49d2b5210087

[RFC v2 1/6] x86: introduce kernel restartable sequence

2018-12-30 Thread Nadav Amit
It is sometimes beneficial to have a restartable sequence - very few instructions which if they are preempted jump to a predefined point. To provide such functionality on x86-64, we use an empty REX-prefix (opcode 0x40) as an indication for instruction in such a sequence. Before calling the

[RFC v2 2/6] objtool: ignore instructions

2018-12-30 Thread Nadav Amit
In certain cases there is a need to suppress objtool warnings on specific instructions. Provide an interface to achieve this goal. Signed-off-by: Nadav Amit --- tools/objtool/check.c | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/tools/objtool/check.c

[RFC v2 0/6] x86: dynamic indirect branch promotion

2018-12-30 Thread Nadav Amit
This is a revised version of optpolines (formerly named retpolines) for dynamic indirect branch promotion in order to reduce retpoline overheads [1]. This version address some of the concerns that were raised before. Accordingly, the code was slightly simplified and patching is now done using the

[RFC v2 3/6] x86: patch indirect branch promotion

2018-12-30 Thread Nadav Amit
To perform indirect branch promotion, we need to find all the locations and patch them, while ignore various code sections (e.g., init, alternatives). Using a GCC plugin allows us to do so. It is also possible to add on top of this plugin and opt-in/out mechanism. Signed-off-by: Nadav Amit ---

[RFC v2 6/6] x86: outline optpoline

2018-12-30 Thread Nadav Amit
When there is more than a single target, we can set an outline block to hold optimized for few more targets. This is done dynamically during runtime, limiting the potential memory consumption. If preemption is performed while we are running the outline block, we jump to the indirect thunk, and

[RFC v2 4/6] x86: interface for accessing indirect branch locations

2018-12-30 Thread Nadav Amit
Adding a C interface to access the locations of indirect branches. To be used for dynamic patching. Signed-off-by: Nadav Amit --- arch/x86/include/asm/sections.h | 2 ++ include/linux/module.h | 9 + kernel/module.c | 8 3 files changed, 19

[RFC v2 5/6] x86: learning and patching indirect branch targets

2018-12-30 Thread Nadav Amit
During runtime, we collect the targets of indirect branch targets and patch them in. Patching is done asynchronously, by modifying each of the relpoline code-paths separately while diverting code execution to the other path during patching. Preemption is disabled while the code runs, and we wait

Re: general protection fault in rb_next (2)

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 8:14 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:edeca3a769ad Merge tag 'sound-4.20-rc4' of git://git.kerne.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=13316f7b40 > kernel config:

general protection fault in rb_next (2)

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:edeca3a769ad Merge tag 'sound-4.20-rc4' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13316f7b40 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446

BUG: corrupted list in account_entity_enqueue

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:00c569b567c7 Merge tag 'locks-v4.21-1' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=136d858f40 kernel config: https://syzkaller.appspot.com/x/.config?x=fbee5876573727cd

BUG: unable to handle kernel paging request in init_srcu_struct_fields

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:65e08c5e8631 Merge tag 'linux-kselftest-4.20-rc7' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=16ca3d2b40 kernel config: https://syzkaller.appspot.com/x/.config?x=c8970c89a0efbb23

Re: KASAN: stack-out-of-bounds Read in __schedule (2)

2018-12-30 Thread Dmitry Vyukov
On Thu, Dec 6, 2018 at 8:51 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:d08970904582 Merge tag 'for-4.20-rc5-tag' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=106a5dd540 > kernel config:

Re: general protection fault in put_pid

2018-12-30 Thread Dmitry Vyukov
On Sun, Dec 30, 2018 at 10:31 AM Dmitry Vyukov wrote: > > On Wed, Dec 26, 2018 at 10:03 AM Dmitry Vyukov wrote: > > > > Hello Dmitry, > > > > > > > > On 12/23/18 11:42 AM, Dmitry Vyukov wrote: > > > > > Actually was able to reproduce this with a syzkaller program: > > > > > ./syz-execprog

Re: kernel panic: corrupted stack end in wb_workfn

2018-12-30 Thread Dmitry Vyukov
On Mon, Dec 31, 2018 at 4:47 AM Qian Cai wrote: > > Ah, it has KASAN_EXTRA. Need this patch then. > > https://lore.kernel.org/lkml/20181228020639.80425-1-...@lca.pw/ > > or to use GCC from the HEAD which suppose to reduce the stack-size in half. > > shrink_page_list > shrink_inactive_list > >

Re: [PATCH] include/linux/gfp.h: fix typo

2018-12-30 Thread Mike Rapoport
On Thu, Dec 27, 2018 at 03:23:54PM -0800, Kyle Spiers wrote: > Fix misspelled "satisfied" > > Signed-off-by: Kyle Spiers Acked-by: Mike Rapoport > --- > include/linux/gfp.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/gfp.h b/include/linux/gfp.h >

Re: [PATCH] infiniband: bnxt_re: qplib: Check the return value of send_message

2018-12-30 Thread Devesh Sharma
On Thu, Dec 27, 2018 at 12:26 AM Aditya Pakki wrote: > > In bnxt_qplib_map_tc2cos(), bnxt_qplib_rcfw_send_message() can return > an error value. The fix returns the error from the latter function > upstream. > > Signed-off-by: Aditya Pakki > --- > drivers/infiniband/hw/bnxt_re/qplib_sp.c | 5

Re: [PATCH v7 4/4] Bluetooth: btqca: inject command complete event during fw download

2018-12-30 Thread Balakrishna Godavarthi
Hi Marcel, On 2018-12-30 13:40, Marcel Holtmann wrote: Hi Balakrishna, Latest qualcomm chips are not sending an command complete event for every firmware packet sent to chip. They only respond with a vendor specific event for the last firmware packet. This optimization will decrease the BT ON

RE: [PATCH v1 0/2] Virtio: fix some vq allocation issues

2018-12-30 Thread Wang, Wei W
On Sunday, December 30, 2018 2:06 PM, Halil Pasic wrote: > > I guess you are the first one trying to read virtio config from within > interrupt > context. AFAICT this never worked. I'm not sure about "never worked". It seems to work well with virtio-pci. But looking forward to hearing a solid

KASAN: use-after-free Read in batadv_interface_tx

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:903b77c63167 Merge tag 'linux-kselftest-4.21-rc1' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=168acbdd40 kernel config: https://syzkaller.appspot.com/x/.config?x=53a2f2aa0b1f7606

[PATCH] block/swim3: Remove dead return statement

2018-12-30 Thread Finn Thain
Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Finn Thain --- drivers/block/swim3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index c1c676a33e4a..ba1190f1276b 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c @@ -1151,7

[PATCH] block/amiflop: Don't log error message on invalid ioctl

2018-12-30 Thread Finn Thain
Cc: linux-m...@lists.linux-m68k.org Signed-off-by: Finn Thain --- drivers/block/amiflop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index bf996bd44cfc..0903e0803ec8 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c @@

[PATCH] block/swim3: Fix regression on PowerBook G3

2018-12-30 Thread Finn Thain
As of v4.20, the swim3 driver crashes when loaded on a PowerBook G3 (Wallstreet). MacIO PCI driver attached to Gatwick chipset MacIO PCI driver attached to Heathrow chipset swim3 0.00015000:floppy: [fd0] SWIM3 floppy controller in media bay 0.00013020:ch-a: ttyS0 at MMIO 0xf3013020 (irq = 16,

[PATCH] block/swim3: Fix -EBUSY error when re-opening device after unmount

2018-12-30 Thread Finn Thain
When the block device is opened with FMODE_EXCL, ref_count is set to -1. This value doesn't get reset when the device is closed which means the device cannot be opened again. Fix this by checking for refcount <= 0 in the release method. Reported-and-tested-by: Stan Johnson Fixes: 1da177e4c3f4

RE: [PATCH v1 1/2] dt-bindings: add binding for USBSS-DRD controller.

2018-12-30 Thread Pawel Laszczak
Hi Bob, >> >> >On Mon, Dec 10, 2018 at 12:39:14PM +, Pawel Laszczak wrote: >> >> This patch aim at documenting USB related dt-bindings for the >> >> Cadence USBSS-DRD controller. >> >> >> >> Signed-off-by: Pawel Laszczak > >[...] > >> >> + - phys: reference to the USB PHY >> >> + - phy-names:

RE: [PATCH v2 5/5] usb:cdns3 Add Cadence USB3 DRD Driver

2018-12-30 Thread Pawel Laszczak
Hi Peter, > >> > >> >@@ -299,6 +306,7 @@ int cdns3_drd_init(struct cdns3 *cdns) >> >cdns->version = CDNS3_CONTROLLER_V0; >> >cdns->otg_v1_regs = NULL; >> >cdns->otg_regs = regs; >> >+ writel(0x1, >otg_v0_regs->simulate); >> >

Re: [PATCH v4] soc/fsl/qe: fix err handling of ucc_of_parse_tdm

2018-12-30 Thread David Miller
From: Peng Hao Date: Sat, 29 Dec 2018 16:47:32 +0800 > +static struct resource *ucc_get_resource_by_nodename(char *name) > +{ > + struct device_node *np; > + struct platform_device *pdev; > + > + np = of_find_compatible_node(NULL, NULL, name); > + if (!np) > + return

[GIT PULL] security: TPM changes for v4.21

2018-12-30 Thread James Morris
>From Jarkko: " * Support for partial reads of /dev/tpm0. * Clean up for TPM 1.x code: move the commands to tpm1-cmd.c and make everything to use the same data structure for building TPM commands i.e. struct tpm_buf. " The following changes since commit

WARNING in batadv_mcast_mla_update

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eed9688f8513 Merge branch 'ras-core-for-linus' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10785d5740 kernel config: https://syzkaller.appspot.com/x/.config?x=fa5c63e12fd85b25

[GIT PULL] security: Smack changes for v4.21

2018-12-30 Thread James Morris
>From Casey: "I have two Smack patches for 4.21. One Jose's patch adds missing documentation and Zoran's fleshes out the access checks on keyrings." The following changes since commit 1072bd678547f8663cfb81a22fdb50c589e4976e: security: fs: make inode explicitly non-modular (2018-12-12

[GIT PULL] security: seccomp changes for v4.21

2018-12-30 Thread James Morris
>From Kees: "- Add SECCOMP_RET_USER_NOTIF - seccomp fixes for sparse warnings and s390 build (Tycho)" The following changes since commit 1072bd678547f8663cfb81a22fdb50c589e4976e: security: fs: make inode explicitly non-modular (2018-12-12 14:58:51 -0800) are available in the Git

[GIT PULL] security: integrity updates for v4.21

2018-12-30 Thread James Morris
>From Mimi: "In Linux 4.19, a new LSM hook named security_kernel_load_data was upstreamed, allowing LSMs and IMA to prevent the kexec_load syscall.  Different signature verification methods exist for verifying the kexec'ed kernel image.  This pull request adds additional support in IMA to

WARNING in batadv_mcast_mla_tt_retract

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:eed9688f8513 Merge branch 'ras-core-for-linus' of git://gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=103bffaf40 kernel config: https://syzkaller.appspot.com/x/.config?x=fa5c63e12fd85b25

[PATCH] kbuild: clean up rule_dtc_dt_yaml

2018-12-30 Thread Masahiro Yamada
Commit 3a2429e1faf4 ("kbuild: change if_changed_rule for multi-line recipe") and commit 4f0e3a57d6eb ("kbuild: Add support for DT binding schema checks") came in via different sub-systems. This is a follow-up cleanup. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 4 ++-- 1 file

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-30 Thread Shakeel Butt
On Sat, Dec 29, 2018 at 11:45 PM Michal Hocko wrote: > > On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > > On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote: > > > > > > On Sat 29-12-18 10:52:15, Florian Westphal wrote: > > > > Michal Hocko wrote: > > > > > On Fri 28-12-18 17:55:24, Shakeel

Re: [PATCH] netfilter: account ebt_table_info to kmemcg

2018-12-30 Thread Shakeel Butt
On Sun, Dec 30, 2018 at 12:00 AM Michal Hocko wrote: > > On Sun 30-12-18 08:45:13, Michal Hocko wrote: > > On Sat 29-12-18 11:34:29, Shakeel Butt wrote: > > > On Sat, Dec 29, 2018 at 2:06 AM Michal Hocko wrote: > > > > > > > > On Sat 29-12-18 10:52:15, Florian Westphal wrote: > > > > > Michal

Re: kernel panic: corrupted stack end in wb_workfn

2018-12-30 Thread Qian Cai
Ah, it has KASAN_EXTRA. Need this patch then. https://lore.kernel.org/lkml/20181228020639.80425-1-...@lca.pw/ or to use GCC from the HEAD which suppose to reduce the stack-size in half. shrink_page_list shrink_inactive_list Those things are 7k each, so 32k would be soon gone. On 12/30/18

kernel panic: corrupted stack end in wb_workfn

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:195303136f19 Merge tag 'kconfig-v4.21-2' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=176c0ebf40 kernel config: https://syzkaller.appspot.com/x/.config?x=5e7dc790609552d7

INFO: rcu detected stall in inet_dgram_connect

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f7d18ef6a95f Merge git://git.kernel.org/pub/scm/linux/kern.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=152cb86f40 kernel config: https://syzkaller.appspot.com/x/.config?x=4b137b8ba637eb77

INFO: rcu detected stall in igmp_ifc_timer_expire

2018-12-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:b71acb0e3721 Merge branch 'linus' of git://git.kernel.org/.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1270bbdd40 kernel config: https://syzkaller.appspot.com/x/.config?x=fbee5876573727cd

[PATCH] usercopy: no check page span for stack objects

2018-12-30 Thread Qian Cai
It is easy to trigger this with CONFIG_HARDENED_USERCOPY_PAGESPAN=y, usercopy: Kernel memory overwrite attempt detected to spans multiple pages (offset 0, size 23)! kernel BUG at mm/usercopy.c:102! For example, print_worker_info char name[WQ_NAME_LEN] = { }; char desc[WORKER_DESC_LEN] = { };

[PATCH] genirq/affinity: Assign default affinity to pre/post vectors

2018-12-30 Thread Huacai Chen
Generally, irq_create_affinity_masks() assign default affinity to pre/ post vectors correctly. However, it ignore the case that there are only pre/post vectors (when nvecs == affd->pre_vectors + affd->post_vectors) and return NULL. This case usually happens when nvecs = 1 (e.g. in nvme driver when

[PATCH net] net: hns3: call hns3_nic_net_open() while doing HNAE3_UP_CLIENT

2018-12-30 Thread Huazhong Tan
For HNAE3_DOWN_CLIENT calling hns3_nic_net_stop(), HNAE3_UP_CLIENT should call hns3_nic_net_open(), since if the number of queue or the map of TC has is changed before HHAE3_UP_CLIENT is called, it will cause problem. Also the HNS3_NIC_STATE_RESETTING flag needs to be cleared before

Re: [PATCH lora-next] net: lora: sx1301: Fix radio SPI write

2018-12-30 Thread Andreas Färber
Am 31.12.18 um 01:14 schrieb Ben Whitten: > + Mark +linux-kernel > On Sun, 30 Dec 2018 at 08:45, Andreas Färber wrote: >> >> When converting to regmap_bus we omitted the write flag, >> rendering all sx125x register writes no-op. >> >> Signed-off-by: Andreas Färber >> --- >>

commit 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 breaks timer

2018-12-30 Thread H.J. Lu
On 4.19 branch, commit 82c8dbb376b9fa9b831c157cbb15664cb4a343e3 Author: Thomas Gleixner Date: Mon Dec 17 13:31:05 2018 +0100 posix-timers: Fix division by zero bug commit 0e334db6bb4b1fd1e2d72c1f3d8f004313cd9f94 upstream. The signal delivery path of posix-timers can try to rearm

CoC loving Linux programmers swear the GPLv2 is irrevocable. They are wrong. (As are the women they wish to empower).

2018-12-30 Thread vnsndalce
Their take is that if you lent (licensed) them a lawnmower and told them not to wreck it, the fact that they did not wreck it entitles them to keep the lawnmower forever(they followed your instruction regarding the use of your property: "thus consideration, thus irrevocable license"). They

Re: [PATCH 1/2] pci: altera: Add StratixXX PCIe support

2018-12-30 Thread Ley Foon Tan
On Fri, 2018-12-28 at 21:12 -0600, Bjorn Helgaas wrote: > Run "git log --oneline drivers/pci/controller" and make your subject > line > match in style, phrasing, and capitalization. > > On Thu, Dec 27, 2018 at 01:09:45AM +0800, Ley Foon Tan wrote: > > > > Add PCIe rootport support for StratixXX

Re: [PATCH] alpha: fix page fault handling for r16-r18 targets

2018-12-30 Thread Dmitry V. Levin
Hi, On Sun, Dec 30, 2018 at 08:23:12PM +, Sergei Trofimovich wrote: > Fix page fault handling code to fixup r16-r18 registers. > Before the patch code had off-by-two registers bug. > This bug caused overwriting of ps,pc,gp registers instead > of fixing intended r16,r17,r18 (see `struct

Re: Thank you for your insight.

2018-12-30 Thread vnsndalce
It's good that you got an opinion from an additional party. The programmers swear they know better than I on this subject. In a previous debate on the subject, the programmers decided that the fact that they followed the license was "consideration", even though without the permission from the

udmabuf.c:undefined reference to `dma_direct_map_sg'

2018-12-30 Thread kbuild test robot
Hi Christoph, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 195303136f192d37b89e20a8d1d2670d0d825266 commit: 356da6d0cde3323236977fce54c1f9612a742036 dma-mapping: bypass indirect calls for dma-direct date: 2

Re: [PATCH] nios2: remove unneeded HAS_DMA define

2018-12-30 Thread Masahiro Yamada
On Mon, Nov 26, 2018 at 4:43 PM Masahiro Yamada wrote: > > kernel/dma/Kconfig globally defines HAS_DMA as follows: > > config HAS_DMA > bool > depends on !NO_DMA > default y > > Signed-off-by: Masahiro Yamada > --- Applied to linux-kbuild. >

[PATCH] kbuild: remove UIMAGE_IN and UIMAGE_OUT

2018-12-30 Thread Masahiro Yamada
The only/last user of UIMAGE_IN/OUT was removed by commit 4722a3e6b716 ("microblaze: fix multiple bugs in arch/microblaze/boot/Makefile"). The input and output should always be $< and $@. Signed-off-by: Masahiro Yamada --- scripts/Makefile.lib | 6 ++ 1 file changed, 2 insertions(+), 4

Re: [GIT PULL] sound updates for 4.21

2018-12-30 Thread Pierre-Louis Bossart
On 12/30/18 6:19 PM, Linus Torvalds wrote: On Sun, Dec 30, 2018 at 3:18 PM Pierre-Louis Bossart wrote: The KabyLake Dell XPS13 was initially used for the ASoC driver for HDaudio, so there is no known hardware-related reason why this problem happens. Mine isn't the Kabylake one, it's the

Re: [GIT PULL] sound updates for 4.21

2018-12-30 Thread Linus Torvalds
On Sun, Dec 30, 2018 at 3:18 PM Pierre-Louis Bossart wrote: > > The KabyLake Dell XPS13 was initially used for the ASoC driver for > HDaudio, so there is no known hardware-related reason why this problem > happens. Mine isn't the Kabylake one, it's the older XPS13 9350 (2015 - Skylake) one. >

Re: [PATCH lora-next] net: lora: sx1301: Fix radio SPI write

2018-12-30 Thread Ben Whitten
+ Mark +linux-kernel On Sun, 30 Dec 2018 at 08:45, Andreas Färber wrote: > > When converting to regmap_bus we omitted the write flag, > rendering all sx125x register writes no-op. > > Signed-off-by: Andreas Färber > --- > drivers/net/lora/sx130x_radio.c | 3 ++- > 1 file changed, 2

[PATCH] rtc: nvmem: fix possible use after free

2018-12-30 Thread Alexandre Belloni
In cas of probe failure, devres may free the memory allocated for rtc->nvram before devm_rtc_release_device() is called. This leads to rtc_nvram_unregister using it after being freed which may lead to a crash. This has been shown to happen after commit 461e557b9727 ("rtc: nvmem: use

Re: [PATCH] regulator: lochnagar: Set up correct .data field for "cirrus,lochnagar2-mic2vdd"

2018-12-30 Thread Charles Keepax
On Sat, Dec 29, 2018 at 07:40:47PM +0800, Axel Lin wrote: > Fix trival copy-n-paste mistake. > > Signed-off-by: Axel Lin > --- Acked-by: Charles Keepax Thanks, Charles

Re: [PATCH RFC lora-next 4/4] net: lora: sx1301: introduce a lora frame for packet metadata

2018-12-30 Thread Andreas Färber
Hi Ben, Am 19.12.18 um 16:56 schrieb Ben Whitten: > Information such as spreading factor, coding rate and power are on a per > transmission basis so it makes sence to include this in a header much "sense" (even in British English! :)) > like CAN frames do. Any pointer for that? My

Re: [PATCH v6 2/2] selftests: add tests for pidfd_send_signal()

2018-12-30 Thread Christian Brauner
On Sun, Dec 30, 2018 at 03:02:45PM -0600, Serge Hallyn wrote: > On Sat, Dec 29, 2018 at 11:27:56PM +0100, Christian Brauner wrote: > > As suggested by Andrew Morton in [1] add selftests for the new > > sys_pidfd_send_signal() syscall. > > This tests whether we can send a signal to an existing

Re: [PATCH v8 18/25] powerpc: Implement nvram sync ioctl

2018-12-30 Thread Finn Thain
On Sun, 30 Dec 2018, Finn Thain wrote: > > > diff --git a/include/linux/nvram.h b/include/linux/nvram.h > > > index b7bfaec60a43..24a57675dba1 100644 > > > --- a/include/linux/nvram.h > > > +++ b/include/linux/nvram.h > > > @@ -18,8 +18,12 @@ struct nvram_ops { > > > unsigned char

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-30 Thread Finn Thain
On Mon, 31 Dec 2018, Finn Thain wrote: > On Sun, 30 Dec 2018, James Bottomley wrote: > > > > > That said, as has been pointed out, the current #ifdef has a failing > > corner case when both are modular (because the code should then be > > included). The runtime macro that correctly expresses

[PULL] alpha.git

2018-12-30 Thread Matt Turner
Hi Linus, Please pull a few small changes for alpha as well as the new system call table generation support from Firoz Khan. Thanks, Matt The following changes since commit 9097a058d49e049925d8da72db07fffcee24efa0: Merge branch 'i2c/for-current' of

Re: [PATCH v8 13/25] m68k: Dispatch nvram_ops calls to Atari or Mac functions

2018-12-30 Thread Finn Thain
On Sun, 30 Dec 2018, LEROY Christophe wrote: > > > > > > Since the operations are almost entirely distinct, why not have two > > > separate 'nvram_ops' instances here that each refer to just the set > > > they actually need? > > > > > > > The reason for that is that I am alergic to code

ALLIANCE LOAN OFFER/PROJECT FUNDING

2018-12-30 Thread FUND ALLIANCE INTERNATIONAL
Good Day, I'm Olivia Austin a consultant from Fund Alliance International, We are currently offering 95% Non-Recourse Loan with our BG Leased Monetization Program for trade finance, constructions, credit enhancement, government funding, property investment and all-round range of funding, with

Re: [PATCH v8 01/25] scsi/atari_scsi: Don't select CONFIG_NVRAM

2018-12-30 Thread Finn Thain
On Sun, 30 Dec 2018, James Bottomley wrote: > > That said, as has been pointed out, the current #ifdef has a failing > corner case when both are modular (because the code should then be > included). The runtime macro that correctly expresses this is > IS_REACHABLE(CONFIG_NVRAM). > No, in

Re: [PATCH 3/3] ARM: spinlock: use unified assembler language syntax

2018-12-30 Thread kbuild test robot
Hi Stefan, I love your patch! Yet something to improve: [auto build test ERROR on arm/for-next] [also build test ERROR on v4.20 next-20181224] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] ipv6: fix typo in net/ipv6/reassembly.c

2018-12-30 Thread David Miller
From: Su Yanjun Date: Sat, 29 Dec 2018 14:07:55 -0500 > Signed-off-by: Su Yanjun Applied.

Re: [PATCH v6 2/2] selftests: add tests for pidfd_send_signal()

2018-12-30 Thread Serge E. Hallyn
On Sat, Dec 29, 2018 at 11:27:56PM +0100, Christian Brauner wrote: > As suggested by Andrew Morton in [1] add selftests for the new > sys_pidfd_send_signal() syscall. > This tests whether we can send a signal to an existing process and whether > sending a signal to a process that has already

Re: [PATCH v2] ipv4: fib_rules: Fix possible infinite loop in fib_empty_table

2018-12-30 Thread David Miller
From: YueHaibing Date: Sat, 29 Dec 2018 14:45:23 +0800 > gcc warn this: > net/ipv4/fib_rules.c:203 fib_empty_table() warn: > always true condition '(id <= 4294967295) => (0-u32max <= u32max)' > > 'id' is u32, which always not greater than RT_TABLE_MAX > (0x), So add a check to break

[PATCH] ACPI: Fix build failure when CONFIG_NLS is set to 'n'

2018-12-30 Thread Sinan Kaya
Observing link failure as follows when CONFIG_ACPI is set but both CONFIG_NLS and CONFIG_PCI are unset. drivers/acpi/device_sysfs.o: In function `description_show': device_sysfs.c:(.text+0x48a): undefined reference to `utf16s_to_utf8s' This issue has been previously fxed by 'commit 8a226e00eeed

Re: [PATCH v2 0/14] drm: minimize drmP.h dependencies

2018-12-30 Thread Sam Ravnborg
> Hi Sam, > > And the $subjects that say "reply" should say "rely" I think. Yep, fixed. Will be part of v3. Thanks, Sam

Re: [PATCH] net/ipv6: Fix a test against 'ipv6_find_idev()' return value

2018-12-30 Thread David Miller
From: Christophe JAILLET Date: Fri, 28 Dec 2018 23:28:21 +0100 > 'ipv6_find_idev()' returns NULL on error, not an error pointer. > Update the test accordingly and return -ENOBUFS, as already done in > 'addrconf_add_dev()', if NULL is returned. > > Fixes: ("ipv6: allow userspace to add

[PATCH] alpha: fix page fault handling for r16-r18 targets

2018-12-30 Thread Sergei Trofimovich
Fix page fault handling code to fixup r16-r18 registers. Before the patch code had off-by-two registers bug. This bug caused overwriting of ps,pc,gp registers instead of fixing intended r16,r17,r18 (see `struct pt_regs`). More details: Initially Dmitry noticed a kernel bug as a failure on strace

Re: [PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out

2018-12-30 Thread Andreas Färber
Am 19.12.18 um 16:56 schrieb Ben Whitten: > diff --git a/drivers/net/lora/sx1301.c b/drivers/net/lora/sx1301.c > index 0c7b6d0b31af..9bcbb967f307 100644 > --- a/drivers/net/lora/sx1301.c > +++ b/drivers/net/lora/sx1301.c > @@ -24,6 +24,44 @@ > > #include "sx1301.h" > > +struct

Re: [PATCH 0/3] qcom: spmi: add support for hierarchical IRQ chip

2018-12-30 Thread Linus Walleij
On Sat, Dec 29, 2018 at 12:48 PM Brian Masney wrote: > This patch series adds hierarchical IRQ chip support to spmi-gpio so > that device tree consumers can request an IRQ directly from the GPIO > block rather than having to request an IRQ from the underlying PMIC. > The first patch in this

Re: [PATCH v4 06/11] platform/x86: apple-gmux: Make PCI dependency explicit

2018-12-30 Thread Lukas Wunner
On Sun, Dec 30, 2018 at 07:56:07PM +, Sinan Kaya wrote: > This driver depends on the PCI infrastructure but the dependency has not > been explicitly called out. > > Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI > set") > Signed-off-by: Sinan Kaya Reviewed-by:

[PATCH v4 04/11] platform/x86: intel_ips: make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
ipss driver is a PCI device driver but this has not been mentioned anywhere in Kconfig. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/platform/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 06/11] platform/x86: apple-gmux: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
This driver depends on the PCI infrastructure but the dependency has not been explicitly called out. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v4 01/11] ACPI / LPSS: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
This code depends on PCI. Compile only when PCI is present. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/acpi/Makefile | 3 ++- drivers/acpi/internal.h | 4 2 files changed, 6 insertions(+), 1 deletion(-) diff

[PATCH v4 05/11] platform/x86: intel_pmc: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
Code relies on PCI for execution. Specify this in the Kconfig. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/platform/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 11/11] drivers: thermal: int340x_thermal: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
IOSF_CORE depends on PCI. This was never mentioned. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/thermal/intel/int340x_thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 10/11] x86/intel/lpss: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
LPSS code relies on PCI infrastructure but this dependency has not been explicitly called out. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 08/11] ASoC: Intel: atom: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
Code does unconditional select for IOSF_MBI. IOSF_MBI driver depends on CONFIG_PCI set but this is not specified anywhere. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- sound/soc/intel/Kconfig | 2 +- 1 file changed, 1

[PATCH v4 09/11] mmc: sdhci-acpi: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
Select IOSF_MBI only when PCI and X86 is set. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig

[PATCH v4 07/11] drivers: thermal: int3406_thermal: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
Need CONFIG_PCI to be set in order to be able to use this driver. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/thermal/intel/int340x_thermal/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v4 03/11] vga-switcheroo: make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
This driver depends on the PCI infrastructure but the dependency has not been explicitly called out. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya Reviewed-by: Lukas Wunner Acked-by: Daniel Vetter --- drivers/gpu/vga/Kconfig | 1 +

[PATCH v4 02/11] ata: pata_acpi: Make PCI dependency explicit

2018-12-30 Thread Sinan Kaya
PATA_ACPI is a PCI device driver but the PCI dependency has not been explicitly called out. Fixes: 5d32a66541c46 ("PCI/ACPI: Allow ACPI to be built without CONFIG_PCI set") Signed-off-by: Sinan Kaya --- drivers/ata/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH lora-next] net: lora: sx125x: Clean up clock provider

2018-12-30 Thread Andreas Färber
Use devm_ variant to have the clock provider deleted again. Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index 2c48301a12ab..68d8afed48ba 100644 ---

[PATCH lora-next] net: lora: sx1301: Fix clk32m handling

2018-12-30 Thread Andreas Färber
We can't get the clk32m during probe because the radio is not yet probed then. When doing it during netdev open we also need to undo that during netdev stop. Revamp the error handling for open and tidy our debug output while at it. Signed-off-by: Andreas Färber --- drivers/net/lora/sx1301.c |

[PATCH lora-next] net: lora: sx125x: Add error handling for clock-output-names

2018-12-30 Thread Andreas Färber
From: Ben Whitten Split off from style changes. Signed-off-by: Ben Whitten Signed-off-by: Andreas Färber --- drivers/net/lora/sx125x.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/lora/sx125x.c b/drivers/net/lora/sx125x.c index

Re: [PATCH v2 0/14] drm: minimize drmP.h dependencies

2018-12-30 Thread Randy Dunlap
On 12/30/18 11:08 AM, Sam Ravnborg wrote: > On Sun, Dec 30, 2018 at 06:48:24PM +0100, Sam Ravnborg wrote: >> The goal with this small series > > The series should have been a reply to this cover letter, > but my tooling lost me - sorry! > > Sam > Hi Sam, And the $subjects that say

  1   2   3   >