Dear Friend,

2019-02-03 Thread mrs clara david
Dear Friend, I am Mrs Clara David. am sending you this brief letter to solicit your partnership to transfer $18.5 million US Dollars.I shall send you more information and procedures when I receive positive response from you. please send me a message in my Email box (mrsclarada...@gmail.com) as i

[PATCH] csky: remove deprecated arch/csky/boot/dts/include/dt-bindings

2019-02-03 Thread Masahiro Yamada
Having a symbolic link arch/*/boot/dts/include/dt-bindings was deprecated by commit d5d332d3f7e8 ("devicetree: Move include prefixes from arch to separate directory"). Signed-off-by: Masahiro Yamada --- arch/csky/boot/dts/include/dt-bindings | 1 - 1 file changed, 1 deletion(-) delete mode

Re: use generic DMA mapping code in powerpc V4

2019-02-03 Thread Christoph Hellwig
On Sun, Feb 03, 2019 at 05:49:02PM +0100, Christian Zigotzky wrote: > OK, next step: b50f42f0fe12965ead395c76bcb6a14f00cdf65b (powerpc/dma: use > the dma_direct mapping routines) > > git clone git://git.infradead.org/users/hch/misc.git -b powerpc-dma.6 a > > git checkout

Re: [PATCH V9 4/5] i2c: tegra: update transfer timeout

2019-02-03 Thread Thierry Reding
On Fri, Feb 01, 2019 at 07:37:45PM +, Sowjanya Komatineni wrote: > > > > BYTES_PER_FIFO_WORD 4 > > > > > > #define I2C_CNFG 0x000 > > > @@ -893,8 +892,9 @@ static int tegra_i2c_issue_bus_clear(struct > > > tegra_i2c_dev *i2c_dev) > > > i2c_writel(i2c_dev,

[PATCH v2] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Yangtao Li
of_cpu_device_node_get() will increase the refcount of device_node, it is necessary to call of_node_put() at the end to release the refcount. Fixes: 9eb15dbbfa1a2 ("cpufreq: Add cpufreq driver for Tegra124") Cc: # 4.4+ Signed-off-by: Yangtao Li --- v2: - move of_node_put() to the very end ---

Re: [PATCH] staging: comedi: dt2811: fix integer overflow in multiply

2019-02-03 Thread Dan Carpenter
On Sun, Feb 03, 2019 at 02:29:04PM +0300, Dan Carpenter wrote: > > diff --git a/drivers/staging/comedi/drivers/dt2811.c > > b/drivers/staging/comedi/drivers/dt2811.c > > index 05207a519755..820e75f850ff 100644 > > --- a/drivers/staging/comedi/drivers/dt2811.c > > +++

Re: linux-next: build failure after merge of the drm-tegra tree

2019-02-03 Thread Thierry Reding
On Mon, Feb 04, 2019 at 11:12:41AM +1100, Stephen Rothwell wrote: > Hi Thierry, > > After merging the drm-tegra tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/gpu/host1x/cdma.c: In function 'host1x_cdma_wait_pushbuffer_space': >

Re: [PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Thierry Reding
On Mon, Feb 04, 2019 at 01:35:01AM -0500, Yangtao Li wrote: > of_cpu_device_node_get() will increase the refcount of device_node, > it is necessary to call of_node_put() at the end to release the > refcount. > > Signed-off-by: Yangtao Li > --- > drivers/cpufreq/tegra124-cpufreq.c | 2 ++ > 1

Re: [PATCH 02/10] x86/efi: Return error status if mapping EFI regions fail

2019-02-03 Thread Ard Biesheuvel
On Mon, 4 Feb 2019 at 08:18, Ingo Molnar wrote: > > > * Ard Biesheuvel wrote: > > > From: Sai Praneeth Prakhya > > > > efi_map_region() creates VA mappings for an given EFI region using any one > > of the two helper functions (namely __map_region() and old_map_region()). > > These helper

Re: [PATCH v2] Bluetooth: Add NULL check for tiocmget() and tiocmset()

2019-02-03 Thread Myungho Jung
On Sun, Feb 03, 2019 at 11:53:23AM +0100, Johan Hovold wrote: > On Sat, Feb 02, 2019 at 10:38:24PM -0800, Myungho Jung wrote: > > On Thu, Jan 31, 2019 at 04:40:00PM +0100, Johan Hovold wrote: > > > On Tue, Jan 29, 2019 at 09:39:28PM -0800, Myungho Jung wrote: > > > > tiocmget() and tiocmset()

Re: [PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Frank Lee
On Mon, Feb 4, 2019 at 3:18 PM Viresh Kumar wrote: > > On 04-02-19, 15:00, Frank Lee wrote: > > On Mon, Feb 4, 2019 at 2:36 PM Viresh Kumar wrote: > > > > > > On 04-02-19, 01:35, Yangtao Li wrote: > > > > of_cpu_device_node_get() will increase the refcount of device_node, > > > > it is necessary

Re: [PATCH 02/10] x86/efi: Return error status if mapping EFI regions fail

2019-02-03 Thread Ingo Molnar
* Ingo Molnar wrote: > Note that I also fixed up the grammar and readability of the changelog - > see the updated version below. > > Thanks, > > Ingo > > => > Subject: x86/efi: Return error status if mapping of EFI regions fails > From: Ard Biesheuvel > Date: Sat, 2 Feb

Re: [PATCH v10 1/3] dmaengine: 8250_mtk_dma: add MediaTek uart DMA support

2019-02-03 Thread Vinod Koul
On 18-01-19, 11:10, Long Cheng wrote: > +static enum dma_status mtk_uart_apdma_tx_status(struct dma_chan *chan, > + dma_cookie_t cookie, > + struct dma_tx_state *txstate) > +{ > + struct mtk_chan *c =

[tip:efi/core] x86/efi: Mark can_free_region() as an __init function

2019-02-03 Thread tip-bot for Sai Praneeth Prakhya
Commit-ID: 8fe55212aacfce9b7718de7964b3a3096ec30919 Gitweb: https://git.kernel.org/tip/8fe55212aacfce9b7718de7964b3a3096ec30919 Author: Sai Praneeth Prakhya AuthorDate: Sat, 2 Feb 2019 10:41:10 +0100 Committer: Ingo Molnar CommitDate: Mon, 4 Feb 2019 08:19:22 +0100 x86/efi: Mark

Re: [PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Viresh Kumar
On 04-02-19, 15:00, Frank Lee wrote: > On Mon, Feb 4, 2019 at 2:36 PM Viresh Kumar wrote: > > > > On 04-02-19, 01:35, Yangtao Li wrote: > > > of_cpu_device_node_get() will increase the refcount of device_node, > > > it is necessary to call of_node_put() at the end to release the > > > refcount. >

Re: [PATCH 02/10] x86/efi: Return error status if mapping EFI regions fail

2019-02-03 Thread Ingo Molnar
* Ard Biesheuvel wrote: > From: Sai Praneeth Prakhya > > efi_map_region() creates VA mappings for an given EFI region using any one > of the two helper functions (namely __map_region() and old_map_region()). > These helper functions *could* fail while creating mappings and presently > their

AW: [PATCH] iio: adc: at91: disable adc channel interrupt in timeout case

2019-02-03 Thread Georg Ottinger
Actually this issue occurred to us with an concrete product, where we experienced a system hang at -20 °C. It was triggered by a race condition between the Touch Trigger and the Channel Trigger of the ADC. Once triggered we got in to the situation where an ongoing Channel Conversion was lost

[PATCH v4] Drivers: hv: vmbus: Expose counters for interrupts and full conditions

2019-02-03 Thread Kimberly Brown
Counter values for per-channel interrupts and ring buffer full conditions are useful for investigating performance. Expose counters in sysfs for 2 types of guest to host interrupts: 1) Interrupts caused by the channel's outbound ring buffer transitioning from empty to not empty 2) Interrupts

[PATCH] regulator: rk808: Convert rk805 buck1/2 to use linear range

2019-02-03 Thread Axel Lin
It looks like linear range is suitable to describe the voltage table for rk805 buck1/2: selector 0 ~ 59: 0.7125V with uV_step = 12500 selector 60 ~ 62: 1.8V with uV_step = 20 selector 63: 2.3V With this change, then rk805 buck1/2 can reuse rk808_reg_ops_ranges. Signed-off-by: Axel Lin ---

Re: Question on handling managed IRQs when hotplugging CPUs

2019-02-03 Thread Hannes Reinecke
On 2/1/19 10:57 PM, Thomas Gleixner wrote: On Fri, 1 Feb 2019, Hannes Reinecke wrote: Thing is, if we have _managed_ CPU hotplug (ie if the hardware provides some means of quiescing the CPU before hotplug) then the whole thing is trivial; disable SQ and wait for all outstanding commands to

Re: [PATCH] dmaengine: imx-dma: fix wrong callback invoke

2019-02-03 Thread Vinod Koul
On 15-01-19, 17:15, Leonid Iziumtsev wrote: > Once the "ld_queue" list is not empty, next descriptor will migrate > into "ld_active" list. The "desc" variable will be overwritten > during that transition. And later the dmaengine_desc_get_callback_invoke() > will use it as an argument. As result we

Re: [PATCH] dmaengine: fsl-edma: dma map slave device address

2019-02-03 Thread Vinod Koul
On 18-01-19, 12:06, Laurentiu Tudor wrote: > This mapping needs to be created in order for slave dma transfers > to work on systems with SMMU. The implementation mostly mimics the > one in pl330 dma driver, authored by Robin Murphy. Applied, thanks -- ~Vinod

Re: [PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Frank Lee
On Mon, Feb 4, 2019 at 2:36 PM Viresh Kumar wrote: > > On 04-02-19, 01:35, Yangtao Li wrote: > > of_cpu_device_node_get() will increase the refcount of device_node, > > it is necessary to call of_node_put() at the end to release the > > refcount. > > > > Signed-off-by: Yangtao Li > > --- > >

Re: [Xen-devel][PATCH] drm/xen-front: Fix mmap attributes for display buffers

2019-02-03 Thread Oleksandr Andrushchenko
On 1/29/19 9:07 PM, Julien Grall wrote: > Hi Oleksandr, > > On 1/29/19 3:04 PM, Oleksandr Andrushchenko wrote: >> From: Oleksandr Andrushchenko >> >> When GEM backing storage is allocated those are normal pages, >> so there is no point using pgprot_writecombine while mmaping. >> This fixes

Re: [Xen-devel] [PATCH -next] drm/xen-front: Drop pointless static qualifier in fb_destroy()

2019-02-03 Thread Oleksandr Andrushchenko
On 1/26/19 2:05 PM, YueHaibing wrote: > There is no need to have the 'struct drm_framebuffer *fb' variable > static since new value always be assigned before use it. > > Signed-off-by: YueHaibing > --- > drivers/gpu/drm/xen/xen_drm_front_kms.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread kbuild test robot
Hi Lan, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v5.0-rc4 next-20190204] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

RE: [PATCH] uprobes: convert uprobe.ref to refcount_t

2019-02-03 Thread Reshetova, Elena
> * Elena Reshetova [2019-01-16 13:20:27]: > > > atomic_t variables are currently used to implement reference > > counters with the following properties: > > - counter is initialized to 1 using atomic_set() > > - a resource is freed upon counter reaching zero > > - once counter reaches

Re: [PATCH] cpufreq: qcom-kryo: make some variables static

2019-02-03 Thread Viresh Kumar
On 04-02-19, 01:13, Yangtao Li wrote: > The variables are local to the source and do not > need to be in global scope, so make them static. > > Signed-off-by: Yangtao Li > --- > drivers/cpufreq/qcom-cpufreq-kryo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Yangtao Li
of_cpu_device_node_get() will increase the refcount of device_node, it is necessary to call of_node_put() at the end to release the refcount. Signed-off-by: Yangtao Li --- drivers/cpufreq/tegra124-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/tegra124-cpufreq.c

Re: [PATCH] cpufreq: tegra124: add missing of_node_put()

2019-02-03 Thread Viresh Kumar
On 04-02-19, 01:35, Yangtao Li wrote: > of_cpu_device_node_get() will increase the refcount of device_node, > it is necessary to call of_node_put() at the end to release the > refcount. > > Signed-off-by: Yangtao Li > --- > drivers/cpufreq/tegra124-cpufreq.c | 2 ++ > 1 file changed, 2

[PATCH] cpufreq: qcom-kryo: make some variables static

2019-02-03 Thread Yangtao Li
The variables are local to the source and do not need to be in global scope, so make them static. Signed-off-by: Yangtao Li --- drivers/cpufreq/qcom-cpufreq-kryo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/qcom-cpufreq-kryo.c

Re: [PATCH v2] arm64: dts: hikey: Give wifi some time after power-on

2019-02-03 Thread Ulf Hansson
On Fri, 1 Feb 2019 at 17:34, Wei Xu wrote: > > Hi Jan, > > On 1/24/2019 7:52 AM, Jan Kiszka wrote: > > From: Jan Kiszka > > > > Somewhere along recent changes to power control of the wl1835, power-on > > became very unreliable on the hikey, failing like this: > > > > wl1271_sdio: probe of

divide error in vivid_thread_vid_cap

2019-02-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:12491ed354d2 Merge tag 'devicetree-fixes-for-5.0-3' of git.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1328ae8740 kernel config: https://syzkaller.appspot.com/x/.config?x=2e0064f906afee10

Re: Userspace regression with 6baca7601bde ("scsi: target: drop unused pi_prot_format attribute storage")

2019-02-03 Thread Laura Abbott
On 2/4/19 1:40 AM, David Disseldorp wrote: Hi Laura, Thanks for the report... On Sun, 3 Feb 2019 17:56:00 +0100, Laura Abbott wrote: Fedora got a bug report of a new permission denied error with 5.0-rc2: File "/usr/lib/python3.7/site-packages/rtslib_fb/utils.py", line 100, in fread

Re: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread kbuild test robot
Hi Lan, Thank you for the patch! Yet something to improve: [auto build test ERROR on iommu/next] [also build test ERROR on v5.0-rc4 next-20190201] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH] mm/slab: Increase width of first /proc/slabinfo column

2019-02-03 Thread Tobin C. Harding
On Fri, Feb 01, 2019 at 02:03:46PM -0800, Andrew Morton wrote: > On Thu, 31 Jan 2019 18:43:10 -0800 Matthew Wilcox wrote: > > > On Fri, Feb 01, 2019 at 11:42:42AM +1100, Tobin C. Harding wrote: > > > Currently when displaying /proc/slabinfo if any cache names are too long > > > then the output

linux-next: Fixes tag needs some work in the drm tree

2019-02-03 Thread Stephen Rothwell
Hi all, In commit 4b5105036afb ("drm/amd/display: Don't leak memory when updating streams") Fixes tags Fixes: c00e0cc0fdc0 ("drm/amd/display: Call into DC once per multiplane flip") Fixes: ea39594e0855 ("drm/amd/display: Perform plane updates only when needed") have this problem: -

RE: [PATCH] acpi/nfit: Require opt-in for read-only label configurations

2019-02-03 Thread Dexuan Cui
> From: Dan Williams > Sent: Sunday, February 3, 2019 11:29 AM > ... > Recent fixes to command handling enabled Linux to read label > configurations that it could not before. Unfortunately that means that > configurations that were operating in label-less mode will be broken as > the kernel

Re: general protection fault in rose_send_frame

2019-02-03 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:9fb20801dab4 net: Fix ip_mc_{dec,inc}_group allocation con.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=17530a0f40 kernel config:

Re: [PATCH v4] bluetooth: Fix WARNING in tty_set_termios()

2019-02-03 Thread Marcel Holtmann
Hi Shuah, > tty_set_termios() has the following WARN_ON which can be triggered with a > syscall to invoke TIOCSETD __NR_ioctl. > > WARN_ON(tty->driver->type == TTY_DRIVER_TYPE_PTY && >tty->driver->subtype == PTY_TYPE_MASTER); > Reference: >

linux-next: Tree for Feb 4

2019-02-03 Thread Stephen Rothwell
Hi all, Changes since 20190201: The vfs tree still had its build failure for which I applied a patch. The net-next tree gained a build failure for which I applied a fix patch. The drm-tegra tree gained a build failure so I used the version from next-20190201. The driver-core tree lost its

[PATCH 5/6] mm/gup: /proc/vmstat support for get/put user pages

2019-02-03 Thread john . hubbard
From: John Hubbard Add five new /proc/vmstat items, to provide some visibility into what get_user_pages() and put_user_page() are doing. After booting and running fio (https://github.com/axboe/fio) a few times on an NVMe device, as a way to get lots of get_user_pages_fast() calls, the counters

[PATCH 3/6] mm: page_cache_add_speculative(): refactoring

2019-02-03 Thread john . hubbard
From: John Hubbard This combines the common elements of these routines: page_cache_get_speculative() page_cache_add_speculative() This was anticipated by the original author, as shown by the comment in commit ce0ad7f095258 ("powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)"):

[PATCH 1/6] mm: introduce put_user_page*(), placeholder versions

2019-02-03 Thread john . hubbard
From: John Hubbard Introduces put_user_page(), which simply calls put_page(). This provides a way to update all get_user_pages*() callers, so that they call put_user_page(), instead of put_page(). Also introduces put_user_pages(), and a few dirty/locked variations, as a replacement for

[PATCH 0/6] RFC v2: mm: gup/dma tracking

2019-02-03 Thread john . hubbard
From: John Hubbard Hi, I'm calling this RFC v2, even though with all the discussion it actually feels like about v7 or so. But now that the dust has settled, it's time to show a surprisingly small, cleaner approach. Jan and Jerome came up with a scheme (discussed in more detail in "track

[PATCH 4/6] mm/gup: track gup-pinned pages

2019-02-03 Thread john . hubbard
From: John Hubbard Now that all callers of get_user_pages*() have been updated to use put_user_page(), instead of put_page(), add tracking of such "gup-pinned" pages. The purpose of this tracking is to answer the question "has this page been pinned by a call to get_user_pages()?" In order to

[PATCH 6/6] mm/gup: Documentation/vm/get_user_pages.rst, MAINTAINERS

2019-02-03 Thread john . hubbard
From: John Hubbard 1. Added Documentation/vm/get_user_pages.rst 2. Added a GET_USER_PAGES entry in MAINTAINERS Cc: Dan Williams Cc: Jan Kara Signed-off-by: Jérôme Glisse Signed-off-by: John Hubbard --- Documentation/vm/get_user_pages.rst | 197

[PATCH 2/6] infiniband/mm: convert put_page() to put_user_page*()

2019-02-03 Thread john . hubbard
From: John Hubbard For infiniband code that retains pages via get_user_pages*(), release those pages via the new put_user_page(), or put_user_pages*(), instead of put_page() This is a tiny part of the second step of fixing the problem described in [1]. The steps are: 1) Provide

Re: linux-next: build failure after merge of the net-next tree

2019-02-03 Thread David Miller
From: Stephen Rothwell Date: Mon, 4 Feb 2019 15:34:46 +1100 > From: Stephen Rothwell > Date: Mon, 4 Feb 2019 15:24:11 +1100 > Subject: [PATCH] socket: fix for Add SO_TIMESTAMP[NS]_NEW > > Fixes: 887feae36aee ("socket: Add SO_TIMESTAMP[NS]_NEW") > Signed-off-by: Stephen Rothwell Thanks for

linux-next: build failure after merge of the net-next tree

2019-02-03 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (sparc64 defconfig) failed like this: /home/sfr/next/next/net/core/sock.c: In function 'sock_setsockopt': /home/sfr/next/next/net/core/sock.c:1146:2: error: duplicate case value case SO_BINDTOIFINDEX: ^~~~

Re: linux-next: build warning after merge of the net-next tree

2019-02-03 Thread Stephen Rothwell
Hi Dave, On Sun, 03 Feb 2019 20:26:06 -0800 (PST) David Miller wrote: > > Thanks, I just pushed the following: > > > [PATCH] net: Fix fall through warning in y2038 tstamp changes. > > net/core/sock.c: In function 'sock_setsockopt': > net/core/sock.c:914:3: warning: this

Re: [PATCH] netdevice.h: Add __cold to netdev_ logging functions

2019-02-03 Thread David Miller
From: Joe Perches Date: Sat, 02 Feb 2019 19:47:25 -0800 > Add __cold to the netdev_ logging functions similar to > the use of __cold in the generic printk function. > > Using __cold moves all the netdev_ logging functions > out-of-line possibly improving code locality and runtime > performance.

Re: linux-next: build warning after merge of the net-next tree

2019-02-03 Thread David Miller
From: Stephen Rothwell Date: Mon, 4 Feb 2019 10:44:27 +1100 > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > net/core/sock.c: In function 'sock_setsockopt': > net/core/sock.c:914:3: warning: this statement may fall through >

Re: [PATCH] bpfilter: remove extra header search paths for bpfilter_umh

2019-02-03 Thread David Miller
From: Masahiro Yamada Date: Thu, 31 Jan 2019 12:15:35 +0900 > Currently, the header search paths -Itools/include and > -Itools/include/uapi are not used. Let's drop the unused code. > > We can remove -I. too by fixing up one C file. > > Signed-off-by: Masahiro Yamada I guess I'm ok with

[PATCH] Uprobes: Fix deadlock between delayed_uprobe_lock and fs_reclaim

2019-02-03 Thread Ravi Bangoria
There can be a deadlock between delayed_uprobe_lock and fs_reclaim like: CPU0 CPU1 lock(fs_reclaim); lock(delayed_uprobe_lock); lock(fs_reclaim);

Re: [PATCH] fs: add a comment explaining how MNT_NS_INTERNAL affects mnt_may_suid()

2019-02-03 Thread Jann Horn
On Wed, Nov 21, 2018 at 8:59 PM Jann Horn wrote: > commit 380cf5ba6b0a ("fs: Treat foreign mounts as nosuid"), in addition to > the intended effect, also prevented suid execution of memfd files. > (And I think that's a good change.) Ping. Al, can you take this into your tree? fs/namespace.c is

Re: [PATCH] drm/amdkfd: Fix if preprocessor statement above kfd_fill_iolink_info_for_cpu

2019-02-03 Thread Dave Airlie
Alex, can you get this into next and resend the pull? I don't like adding warnings. Dave. On Fri, 1 Feb 2019 at 06:10, Kuehling, Felix wrote: > > Thank you, Nathan. I applied your patch to amd-staging-drm-next. > > Sorry for the late response. I'm catching up with my email backlog after > a

Re: [PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Souptick Joarder
On Mon, Feb 4, 2019 at 3:25 AM Nicolas Dufresne wrote: > > Le dimanche 03 février 2019 à 19:06 +0530, Souptick Joarder a écrit : > > There is no point to continuing assignemnt after memory allocation > > assignemnt -> assignment. Ah, type. > > > failed, rather throw error immediately. > > > >

[PATCH 1/3] kallsyms: add static qualifiers where missing

2019-02-03 Thread Masahiro Yamada
Fix the following sparse warnings: scripts/kallsyms.c:65:5: warning: symbol 'token_profit' was not declared. Should it be static? scripts/kallsyms.c:68:15: warning: symbol 'best_table' was not declared. Should it be static? scripts/kallsyms.c:69:15: warning: symbol 'best_table_len' was not

[PATCH 3/3] kallsyms: include instead of

2019-02-03 Thread Masahiro Yamada
is enough to include the definition of BITS_PER_LONG. Signed-off-by: Masahiro Yamada --- scripts/kallsyms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index f1b5749..03ff265 100644 --- a/scripts/kallsyms.c +++

[PATCH 2/3] kallsyms: remove unneeded memset() calls

2019-02-03 Thread Masahiro Yamada
Global variables in the .bss section are zeroed out before the program starts to run. Signed-off-by: Masahiro Yamada --- scripts/kallsyms.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c index fc00bb0..f1b5749 100644 --- a/scripts/kallsyms.c +++

Re: [PATCH] mm/slab: Increase width of first /proc/slabinfo column

2019-02-03 Thread Tobin C. Harding
On Thu, Jan 31, 2019 at 06:43:10PM -0800, Matthew Wilcox wrote: > On Fri, Feb 01, 2019 at 11:42:42AM +1100, Tobin C. Harding wrote: > > Currently when displaying /proc/slabinfo if any cache names are too long > > then the output columns are not aligned. We could do something fancy to > > get the

[PATCH v2 3/3] slub: Correct grammar/punctuation in comments

2019-02-03 Thread Tobin C. Harding
Currently there are a few minor grammatical errors in the comments. While we are at it we can fix punctuation to be correct and uniform also. Correct grammar/punctuation in comments. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 8 1 file changed, 4 insertions(+), 4

[PATCH v2 1/3] slub: Capitialize comment string

2019-02-03 Thread Tobin C. Harding
SLUB include file has particularly clean comments, one comment string is holding us back. Capitialize comment string. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/slub_def.h

[PATCH v2 2/3] slub: Use C89 comment style

2019-02-03 Thread Tobin C. Harding
SLUB include file uses a c99 comment style. In line with the rest of the kernel lets use c89 comment style. Use C89 comment style. Signed-off-by: Tobin C. Harding --- include/linux/slub_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/slub_def.h

[PATCH v2 0/3] slub: Do trivial comments fixes

2019-02-03 Thread Tobin C. Harding
Hi, Here is v2 of the comments fixes [to single SLUB header file]. thanks, Tobin. Changes since v1: - Re-order patches (put the easy acceptable ones from v1 first). - Do grammar/punctuation fixes thoroughly (thanks William). - Send the set to Andrew instead of Christopher since we are

Re: Userspace regression with 6baca7601bde ("scsi: target: drop unused pi_prot_format attribute storage")

2019-02-03 Thread David Disseldorp
Hi Laura, Thanks for the report... On Sun, 3 Feb 2019 17:56:00 +0100, Laura Abbott wrote: > Fedora got a bug report of a new permission denied error with 5.0-rc2: > > > File "/usr/lib/python3.7/site-packages/rtslib_fb/utils.py", line 100, in > > fread > > with open(path, 'r') as

[PATCH v2 2/3] dt-bindings: iio/adc: Add bindings for Ingenic JZ47xx SoCs ADC.

2019-02-03 Thread Artur Rojek
Add device tree bindings for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: Artur Rojek --- Changes: v2: no change include/dt-bindings/iio/adc/ingenic,adc.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644

[PATCH v2 3/3] IIO: add Ingenic JZ47xx ADC driver.

2019-02-03 Thread Artur Rojek
Add an IIO driver for the ADC hardware present on Ingenic JZ47xx SoCs. Signed-off-by: Artur Rojek --- Changes: v2: - prefix all platform defines with JZ_ADC_*, - replace spinlock with a mutex, - change devm_add_action to devm_add_action_or_reset, - add a function wrapper for

[PATCH v2 1/3] dt-bindings: iio/adc: Add docs for Ingenic JZ47xx SoCs ADC.

2019-02-03 Thread Artur Rojek
Add documentation for the ADC controller on JZ47xx SoCs, used by the ingenic-adc driver. Signed-off-by: Artur Rojek --- Changes: v2: change a typo ',' into ';' in battery example .../bindings/iio/adc/ingenic,adc.txt | 48 +++ 1 file changed, 48 insertions(+)

linux-next: build failure after merge of the drm-tegra tree

2019-02-03 Thread Stephen Rothwell
Hi Thierry, After merging the drm-tegra tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/gpu/host1x/cdma.c: In function 'host1x_cdma_wait_pushbuffer_space': drivers/gpu/host1x/cdma.c:279:13: error: 'struct host1x_cdma' has no member named 'sem' down(>sem);

linux-next: build warning after merge of the crypto tree

2019-02-03 Thread Stephen Rothwell
Hi Herbert, After merging the crypto tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/crypto/qat/qat_common/adf_transport.c: In function 'adf_init_etr_data': drivers/crypto/qat/qat_common/adf_transport.c:501:1: warning: label 'err_bank_debug' defined but not

linux-next: build warning after merge of the net-next tree

2019-02-03 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: net/core/sock.c: In function 'sock_setsockopt': net/core/sock.c:914:3: warning: this statement may fall through [-Wimplicit-fallthrough=] sock_set_flag(sk, SOCK_TSTAMP_NEW);

Re: [PATCH] mm/slab: Increase width of first /proc/slabinfo column

2019-02-03 Thread Tobin C. Harding
On Fri, Feb 01, 2019 at 07:27:24PM -0800, Joe Perches wrote: > On Fri, 2019-02-01 at 11:42 +1100, Tobin C. Harding wrote: > > Increase the width of the first column (cache name) in the output of > > /proc/slabinfo from 17 to 30 characters. > > Do you care if this breaks any parsing of

Re: Applied "regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803" to the regulator tree

2019-02-03 Thread Vasily Khoruzhick
Hey Mark, Could you please apply it into your for-5.0 branch? It's a fix for a regression and without this patch axp803 is broken in 5.0. Regards, Vasily On Mon, Jan 28, 2019 at 4:35 AM Mark Brown wrote: > > The patch > >regulator: axp20x: fix ALDO2, DLDO2 and ELDO3 definitions for AXP803

Re: [PATCH] tpm/st33zp24: Fix name collision with TPM_BUFSIZE

2019-02-03 Thread Mimi Zohar
Hi Jarkko, On Fri, 2019-02-01 at 19:41 +0200, Jarkko Sakkinen wrote: > Rename TPM_BUFSIZE defined in drivers/char/tpm/st33zp24/st33zp24.h to > ST33ZP24_BUFSIZE as it collides with TPM_BUFSIZE defined in > drivers/char/tpm/tpm.h. > > Cc: sta...@vger.kernel.org > Fixes: bf38b8710892

Re: [PATCH ghak105 V3] audit: remove audit_context when CONFIG_ AUDIT and not AUDITSYSCALL

2019-02-03 Thread Paul Moore
On Fri, Feb 1, 2019 at 10:45 PM Richard Guy Briggs wrote: > > Remove audit_context from struct task_struct and struct audit_buffer > when CONFIG_AUDIT is enabled but CONFIG_AUDITSYSCALL is not. > > Also, audit_log_name() (and supporting inode and fcaps functions) should > have been put back in

linux-next: build warning after merge of the vfs tree

2019-02-03 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/printk.h:7, from include/linux/kernel.h:14, from include/linux/fs_context.h:15, from

Re: [PATCHv3 net] sctp: check and update stream->out_curr when allocating stream_out

2019-02-03 Thread David Miller
From: Xin Long Date: Mon, 4 Feb 2019 03:27:58 +0800 > Now when using stream reconfig to add out streams, stream->out > will get re-allocated, and all old streams' information will > be copied to the new ones and the old ones will be freed. > > So without stream->out_curr updated, next time

Re: [PATCH] selftests: add TPM 2.0 tests

2019-02-03 Thread Petr Vorel
Hi Jarkko, > Added the tests that I've been using for testing TPM 2.0 functionality > for long time but have out-of-tree so far residing in > https://github.com/jsakkine-intel/tpm2-scripts > Cc: Tadeusz Struk > Signed-off-by: Jarkko Sakkinen > Acked-By: Joey Pabalinas Reviewed-by: Petr Vorel

RE: [PATCH V2 2/3] HYPERV/IOMMU: Add Hyper-V stub IOMMU driver

2019-02-03 Thread Michael Kelley
From: lantianyu1...@gmail.com Sent: Saturday, February 2, 2019 5:15 AM I have a couple more comments > > +config HYPERV_IOMMU > + bool "Hyper-V IRQ Remapping Support" > + depends on HYPERV > + select IOMMU_API > + help > + Hyper-V stub IOMMU driver provides IRQ

Re: [PATCHv3 net] sctp: check and update stream->out_curr when allocating stream_out

2019-02-03 Thread Neil Horman
On Mon, Feb 04, 2019 at 03:27:58AM +0800, Xin Long wrote: > Now when using stream reconfig to add out streams, stream->out > will get re-allocated, and all old streams' information will > be copied to the new ones and the old ones will be freed. > > So without stream->out_curr updated, next time

Re: [PATCH 3/3] selftests/ima: kexec_file_load syscall test

2019-02-03 Thread Petr Vorel
Hi Mimi, > The kernel can be configured to verify PE signed kernel images, IMA > kernel image signatures, both types of signatures, or none. This test > verifies only properly signed kernel images are loaded into memory, > based on the kernel configuration and runtime policies. > Signed-off-by:

Linux 5.0-rc5

2019-02-03 Thread Linus Torvalds
I'm happy to report that things seem to be calming down nicely, and rc5 is noticeably smaller than previous rc's. Let's hope the trend continues. About a third of the changes are to drivers (networking, rdma, scsi, block, misc), with the rest being spread out all over (tooling, networking,

Re: [PATCH] media: videobuf2: Return error after allocation failure

2019-02-03 Thread Nicolas Dufresne
Le dimanche 03 février 2019 à 19:06 +0530, Souptick Joarder a écrit : > There is no point to continuing assignemnt after memory allocation assignemnt -> assignment. > failed, rather throw error immediately. > > Signed-off-by: Souptick Joarder > --- >

RE: [PATCH V2 2/3] HYPERV/IOMMU: Add Hyper-V stub IOMMU driver

2019-02-03 Thread Michael Kelley
From: lantianyu1...@gmail.com Sent: Saturday, February 2, 2019 5:15 AM > > +/* > + * According 82093AA IO-APIC spec , IO APIC has a 24-entry Interrupt > + * Redirection Table. > + */ > +#define IOAPIC_REMAPPING_ENTRY 24 The other unstated assumption here is that Hyper-v guest VMs have only a

Re: [PATCH 3.16 045/305] x86/speculation: Apply IBPB more strictly to avoid cross-process data leak

2019-02-03 Thread Andi Kleen
On Sun, Feb 03, 2019 at 08:05:53PM +0100, Jiri Kosina wrote: > On Sun, 3 Feb 2019, Ben Hutchings wrote: > > > 3.16.63-rc1 review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jiri Kosina > > > > commit

RE: [PATCH V2 1/3] x86/Hyper-V: Set x2apic destination mode to physical when x2apic is available

2019-02-03 Thread Michael Kelley
From: lantianyu1...@gmail.com Sent: Saturday, February 2, 2019 5:15 AM > > Hyper-V doesn't provide irq remapping for IO-APIC. To enable x2apic, > set x2apic destination mode to physcial mode when x2apic is available > and Hyper-V IOMMU driver makes sure cpus assigned with IO-APIC irqs have >

Re: [PATCH 2/3] scripts/ima: define a set of common functions

2019-02-03 Thread Petr Vorel
Hi Mimi, > Define and move get_secureboot_mode() to a common file for use by other > tests. > Signed-off-by: Mimi Zohar Reviewed-by: Petr Vorel > --- > tools/testing/selftests/ima/common_lib.sh | 20 > tools/testing/selftests/ima/test_kexec_load.sh | 17

Re: [PATCH 1/2] drm/vkms: Bugfix extra vblank frame

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > kms_flip tests are breaking on vkms when simulate vblank because vblank > event sequence count returns one extra frame after arm vblank event to > make a page flip. > > When vblank interrupt happens, userspace processes the vblank event and > issues the next page

Re: [PATCH 2/2] drm: vkms: Bugfix racing hrtimer vblank handle

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > When the vblank irq happens, kernel time subsystem executes > `vkms_vblank_simulate`. In parallel or not, it prepares all stuff > necessary to the next vblank with arm, and it must flush these > stuff before the next vblank irq. However, vblank counter is ahead >

Re: [PATCH 0/2] drm/vkms: Bugfix for igt-tests

2019-02-03 Thread Rodrigo Siqueira
On 01/30, Shayenne Moura wrote: > This patchset contains patches to fix the extra frame bug on kms_flip > igt-test. First patch solves the extra vblank frame that breaks many > tests on kms_flip and second patch solves the race condition caused > by the solution added in the first one. > >

Re: [PATCH 1/3] selftest/ima: cleanup the kexec selftest

2019-02-03 Thread Petr Vorel
Hi Mimi, > Remove the few bashisms in the script and use the complete option name > for clarity. > Signed-off-by: Mimi Zohar Reviewed-by: Petr Vorel > --- > tools/testing/selftests/ima/test_kexec_load.sh | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > diff --git

Re: [PATCH v2 00/15] Habana Labs kernel driver

2019-02-03 Thread Oded Gabbay
On Sun, Feb 3, 2019 at 1:50 PM Mike Rapoport wrote: > > Hi Oded, > > On Thu, Jan 31, 2019 at 12:06:02AM +0200, Oded Gabbay wrote: > > Hello, > > This is v2 of the Habana Labs kernel driver patch-set. It contains fixes > > for almost everything that was brought up in the review of v1. > > > > In

[PATCH] ARM: dts: exynos: Fix spelling mistake of EXYNOS5420

2019-02-03 Thread Benjamin Drung
The SoC name EXYNOS5420 was misspelled. Signed-off-by: Benjamin Drung --- arch/arm/boot/dts/exynos5420.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index aaff15880761..5fb2326875dc 100644 ---

[PATCH 1/1] doc: kernel-parameters.txt: fix documentation of elevator parameter

2019-02-03 Thread Otto Sabart
Legacy IO schedulers (cfq, deadline and noop) were removed in f382fb0bcef4. The documentation for deadline was retained because it carries over to mq-deadline as well, but location of the doc file was changed over time. The old iosched algorithms were removed from elevator= kernel parameter and

[PATCH 1/3] gpu: ipu-v3: ipu-ic: Rename yuv2rgb encoding matrices

2019-02-03 Thread Steve Longerbeam
The ycbcr2rgb and inverse rgb2ycbcr matrices define the BT.601 encoding coefficients, so rename them to indicate that. And add some comments to make clear these are BT.601 coefficients encoding between YUV limited range and RGB full range. No functional changes. Signed-off-by: Steve Longerbeam

[PATCH 2/3] gpu: ipu-v3: ipu-ic: Add support for BT.709 encoding

2019-02-03 Thread Steve Longerbeam
Pass v4l2 encoding enum to the ipu_ic task init functions, and add support for the BT.709 encoding and inverse encoding matrices. Reported-by: Tim Harvey Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-ic.c | 67 ++---

[PATCH 3/3] media: imx: Allow BT.709 encoding for IC routes

2019-02-03 Thread Steve Longerbeam
The IC now supports BT.709 Y'CbCr encoding, in addition to existing BT.601 encoding, so allow both, for pipelines that route through the IC. Reported-by: Tim Harvey Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/imx-media-utils.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH] acpi/nfit: Require opt-in for read-only label configurations

2019-02-03 Thread Dan Williams
Recent fixes to command handling enabled Linux to read label configurations that it could not before. Unfortunately that means that configurations that were operating in label-less mode will be broken as the kernel ignores the existing namespace configuration and tries to honor the new found

  1   2   3   4   5   6   >