HELLO.

2018-11-24 Thread Aisha Gaddafi
Assalamu alaikum, I have a business Proposal for you and I need mutual respect, trust, honesty, transparency, adequate support and assistance, Hope to hear from you for more details. Warmest regards Mrs Aisha Gaddafi السلام عليكم، لدي اقتراح عمل لك وأنا بحاجة إلى الاحترام المتبادل والثقة والأما

Re: Re: [PATCH RESEND v3 1/3] ptrace: pass type of a syscall-stop in ptrace_message

2018-11-24 Thread Joey Pabalinas
On Sun, Nov 25, 2018 at 05:10:59AM +0300, Dmitry V. Levin wrote: > Given that without this patch the value returned by PTRACE_GETEVENTMSG > during syscall stop is undefined, we need two different ptrace_message > values that cannot be set by other ptrace events to enable reliable > identification o

NFSd: NULL-dereference when writing to v4_end_grace when server is not yet started

2018-11-24 Thread Anatoly Trosinenko
Hello, When manually exploring the kernel NFSd feature, I have stumbled upon a NULL-dereference when writing to v4_end_grace when server is not yet started. How to reproduce with kvm-xfstests: 1) Checkout fresh master Linux branch (tested with commit e195ca6cb) 2) Copy x84_64-config-4.14 to .con

[PATCH v2] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. integrator_ap_timer_init_of() doesn't do that.The pri_node and the sec_node are used as an identifier to compare against the current node, we can directly drop the refcount a

[PATCH v4 2/2] clk: qcom: Add graphics clock controller driver for SDM845

2018-11-24 Thread Taniya Das
From: Amit Nischal Add support for the graphics clock controller found on SDM845 based devices. This would allow graphics drivers to probe and control their clocks. Signed-off-by: Amit Nischal Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig| 9 ++ drivers/clk/qcom/Makefile

[PATCH v4 0/2] Add QCOM graphics clock controller driver for SDM845

2018-11-24 Thread Taniya Das
Changes in v4: * Cleanup the GPUCC code to keep only the clocks which would be requested from the GPU client SW. * Clean up of code as well as header file clock IDs. * Due to the above cleanup the patches to enable/disable clocks for GPU GDSC requirement is not supported : https://patchwork.ker

[PATCH v4 1/2] dt-bindings: clock: Introduce QCOM Graphics clock bindings

2018-11-24 Thread Taniya Das
From: Amit Nischal Add device tree bindings for graphics clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Amit Nischal --- .../devicetree/bindings/clock/qcom,gpucc.txt | 18 include/dt-bindings/clock/qcom,gpucc-sdm845.h | 24 +++

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Frank Lee
On Sun, Nov 25, 2018 at 3:49 AM Daniel Lezcano wrote: > > On 24/11/2018 15:58, Frank Lee wrote: > > On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: > >> > >> of_find_node_by_path() acquires a reference to the node > >> returned by it and that reference needs to be dropped by its caller. > >> i

Re: [RFC PATCH v2] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-24 Thread Dmitry V. Levin
On Fri, Nov 23, 2018 at 07:01:39AM +0300, Dmitry V. Levin wrote: > On Thu, Nov 22, 2018 at 04:19:10PM -0800, Andy Lutomirski wrote: > > On Thu, Nov 22, 2018 at 11:15 AM Dmitry V. Levin wrote: > > > On Thu, Nov 22, 2018 at 06:55:29AM -0800, Andy Lutomirski wrote: > > > > On Wed, Nov 21, 2018 at 3:56

Re: [PATCH] mm: put_and_wait_on_page_locked() while page is migrated

2018-11-24 Thread Andrea Arcangeli
On Sat, Nov 24, 2018 at 07:21:07PM -0800, Hugh Dickins wrote: > Waiting on a page migration entry has used wait_on_page_locked() all > along since 2006: but you cannot safely wait_on_page_locked() without > holding a reference to the page, and that extra reference is enough to > make migrate_page_m

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-24 Thread Finn Thain
On Sun, 25 Nov 2018, Michael Schmitz wrote: > > We can benchmark gettimeofday syscalls on elgar but is that hardware > > representative of other relevant models? > > I suppose the CIA is on the main board, so running with the slower clock > speed that you'd see with a vanilla Amiga without 060

[PATCH] mm: put_and_wait_on_page_locked() while page is migrated

2018-11-24 Thread Hugh Dickins
Waiting on a page migration entry has used wait_on_page_locked() all along since 2006: but you cannot safely wait_on_page_locked() without holding a reference to the page, and that extra reference is enough to make migrate_page_move_mapping() fail with -EAGAIN, when a racing task faults on the entr

Re: [GIT PULL] XArray updates

2018-11-24 Thread Linus Torvalds
On Sat, Nov 24, 2018 at 7:00 PM Matthew Wilcox wrote: > > I pushed it out to hkps://hkps.pool.sks-keyservers.net ... as I recall, > pgp.mit.edu is frequently not synchronised well with the other keyservers, > but I'm surprised that one of the sks-keyservers didn't have it. I got it now, so it was

[GIT PULL] Please pull NFS client changes

2018-11-24 Thread Trond Myklebust
Hi Linus, The following changes since commit 9ff01193a20d391e8dbce4403dd5ef87c7eaaca6: Linux 4.20-rc3 (2018-11-18 13:33:44 -0800) are available in the Git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-4.20-4 for you to fetch changes up to bb21ce0ad227b6

Re: [GIT PULL] XArray updates

2018-11-24 Thread Matthew Wilcox
On Sat, Nov 24, 2018 at 06:49:30PM -0800, Linus Torvalds wrote: > On Sat, Nov 24, 2018 at 6:38 PM Matthew Wilcox wrote: > > > > I generated a new key 5EC42E41545C1F5E and signed a new tag > > xarray-4.20-rc4 > > Hmm. Did you publicize it on any keyservers? I'm not finding the key > on pgp.mit.edu

Re: [GIT PULL] XArray updates

2018-11-24 Thread Linus Torvalds
On Sat, Nov 24, 2018 at 6:38 PM Matthew Wilcox wrote: > > I generated a new key 5EC42E41545C1F5E and signed a new tag > xarray-4.20-rc4 Hmm. Did you publicize it on any keyservers? I'm not finding the key on pgp.mit.edu or on the sks-keyservers.net pool.. > I've signed that key with my old DSA k

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-24 Thread Michael Schmitz
Hi Finn, Am 25.11.2018 um 14:15 schrieb Finn Thain: Maybe the timer interrupt has a sufficiently high priority and latency is low? Maybe cia_set_irq() is really expensive? I don't know the platform well enough so I'm inclined to revert. We can benchmark gettimeofday syscalls on elgar but is tha

GET BACK TO ME URGENTLY

2018-11-24 Thread Ali Sabyani
Dear Sir/Madam RE;$15,200,000.00 (FIFTEEN MILLION, TWO HUNDRED THOUSAND U.S DOLLARS) INVESTMENT PROJECT. I wish this proposal will not embarrass you as I had know previous correspondence with you. I am Mr. Ali Sabyani, a Syrian national. My objective is to establish a liable business relationsh

Re: [GIT PULL] XArray updates

2018-11-24 Thread Matthew Wilcox
On Sat, Nov 24, 2018 at 10:04:30AM -0800, Linus Torvalds wrote: > On Sat, Nov 24, 2018 at 9:32 AM Matthew Wilcox wrote: > > > > git://git.infradead.org/users/willy/linux-dax.git xarray > > Can you *please* make that a signed tag. Sure! I hadn't been paying attention to the signed tag side of

Re: [PATCH RESEND v3 1/3] ptrace: pass type of a syscall-stop in ptrace_message

2018-11-24 Thread Dmitry V. Levin
On Sat, Nov 24, 2018 at 03:54:02PM -1000, Joey Pabalinas wrote: > On Sun, Nov 25, 2018 at 02:22:27AM +0100, Elvira Khabirova wrote: > > Define two constants, PTRACE_EVENTMSG_SYSCALL_ENTRY and > > PTRACE_EVENTMSG_SYSCALL_EXIT, and place them in ptrace_message > > for the duration of syscall-stops. >

Re: [PATCH RESEND v3 1/3] ptrace: pass type of a syscall-stop in ptrace_message

2018-11-24 Thread Joey Pabalinas
On Sun, Nov 25, 2018 at 02:22:27AM +0100, Elvira Khabirova wrote: > Define two constants, PTRACE_EVENTMSG_SYSCALL_ENTRY and > PTRACE_EVENTMSG_SYSCALL_EXIT, and place them in ptrace_message > for the duration of syscall-stops. > This way ptracers can distinguish syscall-enter-stops > from syscall-ex

[PATCH] freevxfs: set bp to NULL after dropping its reference in loop

2018-11-24 Thread Pan Bian
The function vxfs_bmap_indir calls brelse(bh) in the loop and tries to start the next iteration. However, if it happens to break the loop, brelse(bp) will be called again. Resulting in a potential double free bug. This patch assigns NULL to bh after dropping its reference in the loop body. Signed-

Re: Mrs.Amelia George

2018-11-24 Thread Mrs.Amelia George
-- Dear Sir, My name is Mrs.Amelia George I am 72 years old, I am a dying woman who have decided to donate what I have to you/churches/ motherless babies/less privileged/widows. I have been touched by God to donate from what I have inherited from my late husband to you for good work of God.

[RFC PATCH RESEND v3 3/3] ptrace: add PTRACE_EVENT_SECCOMP support to PTRACE_GET_SYSCALL_INFO

2018-11-24 Thread Elvira Khabirova
Extend PTRACE_GET_SYSCALL_INFO to support PTRACE_EVENT_SECCOMP stops. The information returned is the same as for syscall-enter-stops. Signed-off-by: Elvira Khabirova Signed-off-by: Dmitry V. Levin --- include/linux/ptrace.h| 1 + include/linux/sched.h | 1 + include/linux/tracehook.h |

[PATCH RESEND v3 1/3] ptrace: pass type of a syscall-stop in ptrace_message

2018-11-24 Thread Elvira Khabirova
Define two constants, PTRACE_EVENTMSG_SYSCALL_ENTRY and PTRACE_EVENTMSG_SYSCALL_EXIT, and place them in ptrace_message for the duration of syscall-stops. This way ptracers can distinguish syscall-enter-stops from syscall-exit-stops using PTRACE_GETEVENTMSG request. Signed-off-by: Elvira Khabirova

[PATCH RESEND v3 2/3] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-24 Thread Elvira Khabirova
PTRACE_GET_SYSCALL_INFO lets ptracer obtain details of the syscall the tracee is blocked in. The request succeeds when the tracee is in a syscall-enter-stop or syscall-exit-stop, and fails with -EINVAL otherwise. A subsequent change may extend PTRACE_GET_SYSCALL_INFO for the case of PTRACE_EVENT_S

[PATCH RESEND v3 0/3] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-24 Thread Elvira Khabirova
Resent with linux-api@ Cc'ed. PTRACE_GET_SYSCALL_INFO lets ptracer obtain details of the syscall the tracee is blocked in. The request succeeds when the tracee is in a syscall-enter-stop, syscall-exit-stop or PTRACE_EVENT_SECCOMP stop, and fails with -EINVAL otherwise. There are two reasons for

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-24 Thread Finn Thain
On Wed, 21 Nov 2018, I wrote: > On Wed, 21 Nov 2018, Geert Uytterhoeven wrote: > > > > This suggests that either 0 or N (the latched value) would result > > > from a read from the counter immediately following an interrupt. Who > > > can say which? Just have to try it. The answer should allow u

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Tony Lindgren
* Tony Lindgren [181125 01:07]: > * Russell King - ARM Linux [181124 20:10]: > > On Fri, Nov 23, 2018 at 08:52:15PM +0200, Aaro Koskinen wrote: > > > Hi, > > > > > > On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > > > > On 22/11/2018 17.12, Russell King - ARM Linux wrote: > > >

[RFC PATCH v3 3/3] ptrace: add PTRACE_EVENT_SECCOMP support to PTRACE_GET_SYSCALL_INFO

2018-11-24 Thread Elvira Khabirova
Extend PTRACE_GET_SYSCALL_INFO to support PTRACE_EVENT_SECCOMP stops. The information returned is the same as for syscall-enter-stops. Signed-off-by: Elvira Khabirova Signed-off-by: Dmitry V. Levin --- include/linux/ptrace.h| 1 + include/linux/sched.h | 1 + include/linux/tracehook.h |

[PATCH v3 2/3] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-24 Thread Elvira Khabirova
PTRACE_GET_SYSCALL_INFO lets ptracer obtain details of the syscall the tracee is blocked in. The request succeeds when the tracee is in a syscall-enter-stop or syscall-exit-stop, and fails with -EINVAL otherwise. A subsequent change may extend PTRACE_GET_SYSCALL_INFO for the case of PTRACE_EVENT_S

[PATCH v3 1/3] ptrace: pass type of a syscall-stop in ptrace_message

2018-11-24 Thread Elvira Khabirova
Define two constants, PTRACE_EVENTMSG_SYSCALL_ENTRY and PTRACE_EVENTMSG_SYSCALL_EXIT, and place them in ptrace_message for the duration of syscall-stops. This way ptracers can distinguish syscall-enter-stops from syscall-exit-stops using PTRACE_GETEVENTMSG request. Signed-off-by: Elvira Khabirova

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Tony Lindgren
* Russell King - ARM Linux [181124 20:10]: > On Fri, Nov 23, 2018 at 08:52:15PM +0200, Aaro Koskinen wrote: > > Hi, > > > > On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > > > On 22/11/2018 17.12, Russell King - ARM Linux wrote: > > > > I'm also not sure about this: > > > > > >

[PATCH v3 0/3] ptrace: add PTRACE_GET_SYSCALL_INFO request

2018-11-24 Thread Elvira Khabirova
PTRACE_GET_SYSCALL_INFO lets ptracer obtain details of the syscall the tracee is blocked in. The request succeeds when the tracee is in a syscall-enter-stop, syscall-exit-stop or PTRACE_EVENT_SECCOMP stop, and fails with -EINVAL otherwise. There are two reasons for a special syscall-related ptrac

[PATCH] ext2: fix potential use after free

2018-11-24 Thread Pan Bian
The function ext2_xattr_set calls brelse(bh) to drop the reference count of bh. After that, bh may be freed. However, following brelse(bh), it reads bh->b_data via macro HDR(bh). This may result in a use-after-free bug. This patch moves brelse(bh) after reading field. Signed-off-by: Pan Bian ---

Re: [PATCH -next 1/2] mm/memfd: make F_SEAL_FUTURE_WRITE seal more robust

2018-11-24 Thread Matthew Wilcox
On Sat, Nov 24, 2018 at 04:42:29PM -0800, Andrew Morton wrote: > This changelog doesn't have the nifty test case code which was in > earlier versions? Why do we put regression tests in the changelogs anyway? We have tools/testing/selftests/vm/ already, perhaps they should go there?

Re: [PATCH -next 1/2] mm/memfd: make F_SEAL_FUTURE_WRITE seal more robust

2018-11-24 Thread Andrew Morton
On Thu, 22 Nov 2018 15:09:06 -0800 Joel Fernandes wrote: > Android uses ashmem for sharing memory regions. We are looking forward to > migrating all usecases of ashmem to memfd so that we can possibly remove > the ashmem driver in the future from staging while also benefiting from > using memfd

[PATCH V2] namei: free new_dentry late

2018-11-24 Thread Pan Bian
After calling dput(new_dentry), new_dentry is passed to fsnotify_move. This may result in a use-after-free bug. This patch moves the put operation late. Fixes: da1ce0670c14("vfs: add cross-rename") Signed-off-by: Pan Bian --- V2: correct the fixes commit information --- fs/namei.c | 2 +- 1 file

Re: [GIT PULL] HID fixes

2018-11-24 Thread pr-tracker-bot
The pull request you sent on Sat, 24 Nov 2018 21:19:35 +0100 (CET): > git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/e195ca6cb6f21633e56322d5aa11ed59cdb22fb2 Thank you! -- Deet-doot-dot, I am a bot.

[PATCH 1/3] iio: add IIO_MASSCONCENTRATION channel type

2018-11-24 Thread Tomasz Duszynski
Measuring particulate matter in ug / m3 (micro-grams per cubic meter) is de facto standard. Existing air quality sensors usually follow this convention and are capable of returning measurements using this unit. IIO currently does not offer suitable channel type for this type of measurements hence

[PATCH 2/3] iio: chemical: add support for Sensirion SPS30 sensor

2018-11-24 Thread Tomasz Duszynski
Add support for Sensirion SPS30 particulate matter sensor. Signed-off-by: Tomasz Duszynski --- drivers/iio/chemical/Kconfig | 11 ++ drivers/iio/chemical/Makefile | 1 + drivers/iio/chemical/sps30.c | 359 ++ 3 files changed, 371 insertions(+) create mode 10

[PATCH 3/3] iio: chemical: sps30: add device tree support

2018-11-24 Thread Tomasz Duszynski
Add device tree support for Sensirion SPS30 particulate matter sensor. Signed-off-by: Tomasz Duszynski --- .../bindings/iio/chemical/sensirion,sps30.txt| 12 1 file changed, 12 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/chemical/sensirion,sps30.

[PATCH 0/3] add support for Sensirion SPS30 PM sensor

2018-11-24 Thread Tomasz Duszynski
This patch series adds support for Sensirion SPS30 particulate matter sensor. Along with a driver itself, new channel type and two modifiers for distinguishing between coarse and fine particles measurements are introduced. Sensor datasheet can be downloaded from https://www.sensirion.com/fileadmi

[PATCH] fat: Replaced 11 magic to MSDOS_NAME for volume label

2018-11-24 Thread Carmeli Tamir
The FAT file system volume label file stored in the root directory should match the volume label field in the FAT boot sector. As consequence, the max length of these fields ought to be the same. This patch replaces the magic '11' usef in the struct fat_boot_sector with MSDOS_NAME, which is used in

Re: [RFC PATCH] of: make MAX_RESERVED_REGIONS configurable

2018-11-24 Thread Rob Herring
On Wed, Nov 21, 2018 at 8:51 PM Miles Chen wrote: > > On Wed, 2018-11-21 at 10:39 -0600, Rob Herring wrote: > > On Wed, Nov 21, 2018 at 2:11 AM wrote: > > > > > > From: Miles Chen > > > > > > When we use more than 32 entries in /resered-memory, > > > there will be an error message: "not enough s

Re: [PING 2] [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-11-24 Thread Richard Weinberger
On Sat, Nov 24, 2018 at 4:32 PM Daniel Santos wrote: > > Ping 2! > > On 11/05/2018 03:38 PM, Daniel Santos wrote: > > Ping. > > > > Daniel > > > > On 10/21/2018 07:32 PM, Hou Tao wrote: > >> On 2018/10/19 16:30, Daniel Santos wrote: > >>> jffs2_sync_fs makes the assumption that if CONFIG_JFFS2_FS_

[GIT PULL] HID fixes

2018-11-24 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-linus to receive HID subsystem fixes = - revert of the high-resolution scrolling feature, as it breaks certain hardware due to incompatibilities between Logitech and Microsoft worlds. Peter Hutterer

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-24 Thread Dr. Greg
On Sat, Nov 24, 2018 at 09:21:14AM -0800, Jarkko Sakkinen wrote: > On Thu, Nov 22, 2018 at 07:21:08AM -0800, Andy Lutomirski wrote: > > > At a high level, addressing these issues is straight forward. First, > > > the driver needs to support authorization equivalent to that which is > > > implement

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Russell King - ARM Linux
On Fri, Nov 23, 2018 at 08:52:15PM +0200, Aaro Koskinen wrote: > Hi, > > On Fri, Nov 23, 2018 at 02:35:04PM +0200, Peter Ujfalusi wrote: > > On 22/11/2018 17.12, Russell King - ARM Linux wrote: > > > I'm also not sure about this: > > > > > > if (cpu_is_omap15xx()) > > > en

Re: [PATCH V2] hfs: do not free node before using

2018-11-24 Thread Viacheslav Dubeyko
On Sat, 2018-11-24 at 10:10 +0800, Pan Bian wrote: > The function hfs_bmap_free frees node via hfs_bnode_put(node). > However, > it then reads node->this when dumping error message on an error path, > which may result in a use-after-free bug. This patch frees node only > when it is never used. > >

Re: [PATCH] namei: free new_dentry late

2018-11-24 Thread Al Viro
On Sat, Nov 24, 2018 at 05:23:24PM +0800, Pan Bian wrote: > After calling dput(new_dentry), new_dentry is passed to fsnotify_move. > This may result in a use-after-free bug. This patch moves the put > operation late. > > Fixes: 49d31c2f389a("dentry name snapshots") What does that commit have to do

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Daniel Lezcano
On 24/11/2018 15:58, Frank Lee wrote: > On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: >> >> of_find_node_by_path() acquires a reference to the node >> returned by it and that reference needs to be dropped by its caller. >> integrator_ap_timer_init_of() doesn't do that, so fix it. >> >> Signed

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Russell King - ARM Linux
On Sat, Nov 24, 2018 at 09:06:48PM +0200, Aaro Koskinen wrote: > Hello, > > On Sat, Nov 24, 2018 at 05:48:23PM +, Russell King - ARM Linux wrote: > > Hmm, there's more questionable stuff in this driver, and the gadget > > layer. > > [...] > > > So, whatever way I look at this, the code in th

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-24 Thread Dr. Greg
On Sat, Nov 24, 2018 at 08:15:21AM -0800, Jarkko Sakkinen wrote: > On Tue, Nov 20, 2018 at 05:15:08AM -0600, Dr. Greg wrote: > > Malware would not necessarily need the Intel attestation service. > > Once access to the PROVISION bit is available, malware teams could > > simply build their own attes

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Aaro Koskinen
Hello, On Sat, Nov 24, 2018 at 05:48:23PM +, Russell King - ARM Linux wrote: > Hmm, there's more questionable stuff in this driver, and the gadget > layer. [...] > So, whatever way I look at this, the code in the removal path both > in omap_udc and the gadget removal code higher up looks ver

Re: [for-next][PATCH 08/18] parisc: function_graph: Simplify with function_graph_entry()

2018-11-24 Thread Steven Rostedt
On Fri, 23 Nov 2018 15:00:11 -0500 Sasha Levin wrote: > On Fri, Nov 23, 2018 at 02:26:17PM -0500, Steven Rostedt wrote: > >On Fri, 23 Nov 2018 13:34:15 -0500 > >Sasha Levin wrote: > > > >> Does this mean that someone (Steve) will send a backport of this to all > >> relevant stable trees? Right

Re: [RFC][PATCH 02/14] fgraph: Have set_graph_notrace only affect function_graph tracer

2018-11-24 Thread Steven Rostedt
On Sat, 24 Nov 2018 14:49:34 +0900 Namhyung Kim wrote: > On Sat, Nov 24, 2018 at 2:37 AM Steven Rostedt wrote: > > > > On Fri, 23 Nov 2018 09:01:18 +0900 > > Namhyung Kim wrote: > > > > > Acked-by: Namhyung Kim > > > > Thanks Namhyung! > > It'd be nice if you cc me for the whole patchse

KASAN: slab-out-of-bounds Read in default_write_copy_kernel

2018-11-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c98a4261827 Merge tag 'ceph-for-4.20-rc4' of https://gith.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=142c889340 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 da

Re: [GIT PULL] XArray updates

2018-11-24 Thread Linus Torvalds
On Sat, Nov 24, 2018 at 9:32 AM Matthew Wilcox wrote: > > git://git.infradead.org/users/willy/linux-dax.git xarray Can you *please* make that a signed tag. I don't trust infradead.org implicitly, so I really want signed tag pull requests. I may not always notice, but when I do, I abort the pu

Re: [GIT PULL] xfs: fixes for v4.20-rc4

2018-11-24 Thread pr-tracker-bot
The pull request you sent on Sat, 24 Nov 2018 09:05:40 -0800: > git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-4.20-fixes-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/abe72ff4134028ff2189d29629c40a40bee0a989 Thank you! -- Deet-doot-dot, I am a bot. h

Re: [GIT] Networking

2018-11-24 Thread pr-tracker-bot
The pull request you sent on Fri, 23 Nov 2018 22:58:55 -0800 (PST): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/857fa628bbe93017c72ddd0d5304962a2608db07 Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] arm64 fixes for 4.20-rc4

2018-11-24 Thread pr-tracker-bot
The pull request you sent on Sat, 24 Nov 2018 12:36:40 +: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d146194f31c96f9b260c5a1cf1592d2e7f82a2e2 Thank you! -- Deet-doot-dot, I am a bot

Re: [PATCH] dmaengine: ti: omap-dma: Configure LCH_TYPE for OMAP1

2018-11-24 Thread Russell King - ARM Linux
On Sat, Nov 24, 2018 at 02:17:40AM +0200, Aaro Koskinen wrote: > Hi, > > On Fri, Nov 23, 2018 at 01:45:46PM +0200, Peter Ujfalusi wrote: > > On 23/11/2018 0.01, Aaro Koskinen wrote: > > > With that reverted, the DMA works OK (and I can also now confirm that > > > OMAP_DMA_LCH_2D works). I haven't

WARNING: syz-executor still has locks held!

2018-11-24 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c98a4261827 Merge tag 'ceph-for-4.20-rc4' of https://gith.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d8101540 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 da

[GIT PULL] XArray updates

2018-11-24 Thread Matthew Wilcox
Hi Linus, We found some bugs in the DAX conversion to XArray (and one bug which predated the XArray conversion). There were a couple of bugs in some of the higher-level functions, which aren't actually being called in today's kernel, but surfaced as a result of converting existing radix tree &

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-24 Thread Jarkko Sakkinen
On Thu, Nov 22, 2018 at 07:21:08AM -0800, Andy Lutomirski wrote: > > At a high level, addressing these issues is straight forward. First, > > the driver needs to support authorization equivalent to that which is > > implemented in the current Intel Launch Enclave, ie. control over the > > SGX_FLAG

Re: RFC: userspace exception fixups

2018-11-24 Thread Jarkko Sakkinen
On Wed, Nov 21, 2018 at 05:17:34PM +0200, Jarkko Sakkinen wrote: > On Wed, Nov 21, 2018 at 05:17:32AM +, Jethro Beekman wrote: > > Jarkko, can you please explain you solution in detail? The CPU receives an > > exception. This will be handled by the kernel exception handler. What > > information

[GIT PULL] xfs: fixes for v4.20-rc4

2018-11-24 Thread Darrick J. Wong
Hi Linus, Dave and I have continued our work fixing corruption problems that can be found when running long-term burn-in exercisers on xfs. Here are some patches fixing most of the problems, but there will likely be more. :/ Anyhow, this series merges cleanly with master as of last night, so ple

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-24 Thread Jarkko Sakkinen
On Fri, Nov 23, 2018 at 04:39:23AM -0600, Dr. Greg wrote: > Jarkko, when this driver lands it will set the SGX ABI in stone for > Linux. It would be very, very helpful to the development community if > there was some official guidance from Intel on whether or not FLC will > be a universal feature

[PATCH] pinctrl: rza1: report if devm_kasptrinf() fails

2018-11-24 Thread Nicholas Mc Guire
devm_kasprintf() may return NULL on failure of internal allocation thus the assignments are not safe if not checked. On error rza1_pinctrl_register() respectively rza1_parse_gpiochip() return negative values so -ENOMEM in the (unlikely) failure case of devm_kasprintf() should be fine here. Sign

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-24 Thread Jarkko Sakkinen
On Tue, Nov 20, 2018 at 05:15:08AM -0600, Dr. Greg wrote: > Malware would not necessarily need the Intel attestation service. > Once access to the PROVISION bit is available, malware teams could > simply build their own attestation service. AFAIK not possible as they wouldn't have access to the ro

Re: [PATCH v5 8/8] pinctrl: lochnagar: Add support for the Cirrus Logic Lochnagar

2018-11-24 Thread kbuild test robot
Hi Charles, I love your patch! Yet something to improve: [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.20-rc3] [cannot apply to next-20181123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://gi

[PING 2] [PATCH] jffs2: Fix use of uninitialized delayed_work, lockdep breakage

2018-11-24 Thread Daniel Santos
Ping 2! On 11/05/2018 03:38 PM, Daniel Santos wrote: > Ping. > > Daniel > > On 10/21/2018 07:32 PM, Hou Tao wrote: >> On 2018/10/19 16:30, Daniel Santos wrote: >>> jffs2_sync_fs makes the assumption that if CONFIG_JFFS2_FS_WRITEBUFFER >>> is defined then a write buffer is available and has been in

[PATCH] Little memset_explicit optimisation

2018-11-24 Thread David CARLIER
Subject: [PATCH] memzero_explicit, optimisation for size. Using the return value of memset for save/load sake. Signed-off-by: David Carlier --- lib/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/string.c b/lib/string.c index 38e4ca08e757..92da04a0213b 10

Re: [PATCH] clocksource/drivers/integrator-ap: add missing of_node_put()

2018-11-24 Thread Frank Lee
On Thu, Nov 22, 2018 at 11:23 PM Yangtao Li wrote: > > of_find_node_by_path() acquires a reference to the node > returned by it and that reference needs to be dropped by its caller. > integrator_ap_timer_init_of() doesn't do that, so fix it. > > Signed-off-by: Yangtao Li > --- > drivers/clocksou

Re: [PATCH] devres: no print device_node.name in devres_log()

2018-11-24 Thread Frank Lee
On Sat, Nov 24, 2018 at 10:25 PM Yangtao Li wrote: > > In preparation to remove the node name pointer from struct device_node, > avoid to printf node name. > > Signed-off-by: Yangtao Li > --- > drivers/base/devres.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/dri

[PATCH v2] soc: bcm: brcmstb: Don't leak device tree node reference

2018-11-24 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. soc_is_brcmstb() doesn't do that, so fix it. [treding: slightly rewrite to avoid inline comparison] Signed-off-by: Yangtao Li --- Changes in v2: -update changelog -slightl

Re: [PATCH] dmaengine: ep93xx_dma: fix misspell

2018-11-24 Thread Vinod Koul
On 19-11-18, 10:15, Yangtao Li wrote: > couln't -> couldn't Applied, thanks -- ~Vinod

Greetings,

2018-11-24 Thread Mr David Sankara
Greetings, I want to make an investment in your field of work. I've seen alot of profit and success story that came out from your kind of business thus my desire to make a huge investment on it. Please send to me a sample of your work/business and once I confide in you, I will make available the in

[PATCH] power/reset: axxia: Convert to using %pOFn instead of device_node.name

2018-11-24 Thread Yangtao Li
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Signed-off-by: Yangtao Li --- drivers/power/reset/axxia-reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/reset/axxia-reset.c b

Re: [PATCH] dma: coh901318: Fix a double-lock bug

2018-11-24 Thread Vinod Koul
On 06-11-18, 11:33, Jia-Ju Bai wrote: > The function coh901318_alloc_chan_resources() calls spin_lock_irqsave() > before calling coh901318_config(). > But coh901318_config() calls spin_lock_irqsave() again in its > definition, which may cause a double-lock bug. > > Because coh901318_config() is o

[PATCH] printk: deduplicate print_prefix() calls

2018-11-24 Thread Tetsuo Handa
Since /sys/module/printk/parameters/time can change from N to Y between "msg_print_text() called print_prefix() with buf == NULL" and "msg_print_text() again calls print_prefix() with buf != NULL", it is not safe for print_time() to unconditionally return 0 if printk_time == false. But print_prefi

Re: [PATCH v2] kmemleak: Turn kmemleak_lock to raw spinlock on RT

2018-11-24 Thread He Zhe
On 2018/11/23 17:53, Sebastian Andrzej Siewior wrote: > On 2018-11-22 17:04:19 [+0800], zhe...@windriver.com wrote: >> From: He Zhe >> >> kmemleak_lock, as a rwlock on RT, can possibly be held in atomic context and >> causes the follow BUG. >> >> BUG: scheduling while atomic: migration/15/132/0

[PATCH] devres: no print device_node.name in devres_log()

2018-11-24 Thread Yangtao Li
In preparation to remove the node name pointer from struct device_node, avoid to printf node name. Signed-off-by: Yangtao Li --- drivers/base/devres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/devres.c b/drivers/base/devres.c index 4aaf00d2098b..34c07e9

RE,

2018-11-24 Thread Miss Sharifah Ahmad Mustahfa
Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

RE,

2018-11-24 Thread Miss Sharifah Ahmad Mustahfa
Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

Re: [PATCH v4 0/2] dmaengine: add UniPhier MIO DMAC driver

2018-11-24 Thread Vinod Koul
On 12-10-18, 01:41, Masahiro Yamada wrote: > 1/2: DT-binding > 2/2: driver Applied this series, thanks While building I noticed that we get few warns when compiling with C=1, I would prefer you fix them. Please send fixes on top of the applied patches. Thanks -- ~Vinod

RE,

2018-11-24 Thread Miss Sharifah Ahmad Mustahfa
Hello, I need your help to invest in your region.

RE,

2018-11-24 Thread Miss Sharifah Ahmad Mustahfa
Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

[PATCH] memory: tegra: Convert to using %pOFn instead of device_node.name

2018-11-24 Thread Yangtao Li
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Signed-off-by: Yangtao Li --- drivers/memory/tegra/mc.c | 6 +++--- drivers/memory/tegra/tegra124-emc.c | 12 ++-- 2 files changed, 9 insertions(+),

RE,

2018-11-24 Thread Miss Sharifah Ahmad Mustahfa
Hello, First of all i will like to apologies for my manner of communication because you do not know me personally, its due to the fact that i have a very important proposal for you.

Re: [PATCH v17 06/23] x86/cpu/intel: Detect SGX support and update caps appropriately

2018-11-24 Thread Jarkko Sakkinen
On Wed, Nov 21, 2018 at 07:17:28PM +0100, Borislav Petkov wrote: > I see the build failure here has been pointed out already but lemme > repeat it out for another reason: > > It is very important that no patch we merge breaks bisectability - > please build every patch before sending: Yep, the pat

Re: [PATCH] dmaengine: xilinx_dma: Remove __aligned attribute on zynqmp_dma_desc_ll

2018-11-24 Thread Vinod Koul
On 25-10-18, 11:05, Nathan Chancellor wrote: > Clang warns: > > drivers/dma/xilinx/zynqmp_dma.c:166:4: warning: attribute 'aligned' is > ignored, place it after "struct" to apply attribute to type declaration > [-Wignored-attributes] > }; __aligned(64) >^ > ./include/linux/compiler_types.h:200

HELLO DEAR

2018-11-24 Thread michel
With Due Respect, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of $11.3million imm

[PATCH v2] staging: iio: ad5933: add device tree support

2018-11-24 Thread Marcelo Schmitt
Add a of_device_id struct variable and subsequent call to MODULE_DEVICE_TABLE macro to complete device tree support. Signed-off-by: Marcelo Schmitt --- drivers/staging/iio/impedance-analyzer/ad5933.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/staging/iio/impedance-analy

Re: [PATCH rdma-next 0/3] RDMA/hns: Updates for reset process of roce device in hip08

2018-11-24 Thread Wei Hu (Xavier)
On 2018/11/24 4:42, Jason Gunthorpe wrote: > On Fri, Nov 23, 2018 at 11:14:22PM +0800, Wei Hu (Xavier) wrote: >> Hi, Doug and Janson >> >> This series mainly include updates for reset process of roce device >> in hip08. >> One patch adds support for reset and loading or unloading driver occur >>

Re: [PATCH rdma-next 3/3] RDMA/hns: Modify hns RoCE device's name

2018-11-24 Thread Wei Hu (Xavier)
On 2018/11/24 4:39, Jason Gunthorpe wrote: > On Fri, Nov 23, 2018 at 11:14:25PM +0800, Wei Hu (Xavier) wrote: >> This patch modifies the name of hns RoCE device's name in order >> to ensure that the name is consistent before and after reset. >> >> Signed-off-by: Wei Hu (Xavier) >> drivers/infi

[GIT PULL] arm64 fixes for 4.20-rc4

2018-11-24 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit 9ff01193a20d391e8dbce4403dd5ef87c7eaaca6: Linux 4.20-rc3 (2018-11-18 13:33:44 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes f

[PATCH] Little memset_explicit optimisation

2018-11-24 Thread David CARLIER
0001-memzero_explicit-optimisation-for-size.patch Description: Binary data

[PATCH] altera-stapl: check for a null key before strcasecmp'ing it

2018-11-24 Thread Colin King
From: Colin Ian King Currently the null check on key is occurring after the strcasecmp on the key, hence there is a potential null pointer dereference on key. Fix this by checking if key is null first. Also replace the == 0 check on strcasecmp with just the ! operator. Detected by CoverityScan,

  1   2   >