hello dear

2019-02-20 Thread Aisha Gadafi
Assalamu Alaikum Wa Rahmatullahi Wa Barakatuh, hello dear I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, am a single Mother and a Widow with three Children.I have funds the sum of $27.5 million USD for investment, I

Re: [PATCH v2 2/4] perf record: implement -z= and --mmap-flush= options

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:08, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote: > > SNIP > >> -if (rec->opts.nr_cblocks > nr_cblocks_max) >> -rec->opts.nr_cblocks = nr_cblocks_max; >> -if (verbose > 0) >> -pr_info("nr_cblocks: %d\n", rec-

Re: [PATCH v2 2/4] perf record: implement -z= and --mmap-flush= options

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote: > > SNIP > >> @@ -1147,6 +1193,10 @@ static int __cmd_record(struct record *rec, int argc, >> const char **argv) >> fd = perf_data__fd(data); >> rec->session = session; >> >> +

[PATCH v4 2/2] media: cedrus: Add H264 decoding support

2019-02-20 Thread Maxime Ripard
Introduce some basic H264 decoding support in cedrus. So far, only the baseline profile videos have been tested, and some more advanced features used in higher profiles are not even implemented. Signed-off-by: Maxime Ripard --- drivers/staging/media/sunxi/cedrus/Makefile | 3 +- drivers/

[PATCH v4 0/2] media: cedrus: Add H264 decoding support

2019-02-20 Thread Maxime Ripard
Hi, Here is a new version of the H264 decoding support in the cedrus driver. As you might already know, the cedrus driver relies on the Request API, and is a reverse engineered driver for the video decoding engine found on the Allwinner SoCs. This work has been possible thanks to the work done b

[PATCH v4 1/2] media: uapi: Add H264 low-level decoder API compound controls.

2019-02-20 Thread Maxime Ripard
From: Pawel Osciak Stateless video codecs will require both the H264 metadata and slices in order to be able to decode frames. This introduces the definitions for a new pixel format for H264 slices that have been parsed, as well as the structures used to pass the metadata from the userspace to t

Re: [RFC PATCH 00/27] Containers and using authenticated filesystems

2019-02-20 Thread Christian Brauner
On Tue, Feb 19, 2019 at 10:35:20AM -0600, Eric W. Biederman wrote: > > So you missed the main mailing lists for discussion of this kind of > thing, and the maintainer. So I have reservations about the quality of > your due diligence already. > > Looking at your description you are introducing a

Re: [PATCH v2 2/4] perf record: implement -z= and --mmap-flush= options

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:08, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote: > > SNIP > >> static void record__init_features(struct record *rec) >> @@ -838,6 +881,9 @@ static void record__init_features(struct record *rec) >> if (!(rec->opts.use_clockid && rec->

Re: xen/evtchn and forced threaded irq

2019-02-20 Thread Julien Grall
Hi Boris, Thank you for your answer. On 20/02/2019 00:02, Boris Ostrovsky wrote: On Tue, Feb 19, 2019 at 05:31:10PM +, Julien Grall wrote: Hi all, I have been looking at using Linux RT in Dom0. Once the guest is started, the console is ending to have a lot of warning (see trace below). A

Re: [PATCH v2] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Maxime Ripard
On Wed, Feb 20, 2019 at 12:07:17PM +, Mans Rullgard wrote: > This adds pinctrl settings for various missing uart options. > > Signed-off-by: Mans Rullgard Applied, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com signature.asc Description

Re: [PATCH] vfs: Make __vfs_write() static

2019-02-20 Thread Christoph Hellwig
Looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH v2 2/3] arm64: dts: hisilicon: hi3670: Add UFS controller support

2019-02-20 Thread Martin K. Petersen
Hi Thierry, > it looks like you picked this up into the SCSI tree (perhaps > inadvertently). It's been causing linux-next to fail to build since > Monday (next-20190218) because it references a phandle (&crg_rst) > that's not available. I dropped the offending patch from the SCSI tree yesterday

Re: [PATCH 4/6] lib/test_bitmap: switch test_bitmap_parselist to ktime_get()

2019-02-20 Thread Yury Norov
On Wed, Feb 20, 2019 at 03:52:36PM +0200, Andy Shevchenko wrote: > On Wed, Feb 20, 2019 at 03:51:01PM +0200, Andy Shevchenko wrote: > > On Wed, Feb 20, 2019 at 11:37:03AM +0300, Yury Norov wrote: > > > test_bitmap_parselist currently uses get_cycles which is not > > > implemented on some platforms,

Re: [RFC PATCH 02/27] containers: Implement containers as kernel objects

2019-02-20 Thread Trond Myklebust
On Tue, 2019-02-19 at 23:03 +, David Howells wrote: > Trond Myklebust wrote: > > > Do we really need a new system call to set up containers? That > > would > > force changes to all existing orchestration software. > > No, it wouldn't. Nothing in my patches forces existing orchestration > so

Re: use generic DMA mapping code in powerpc V7

2019-02-20 Thread Christoph Hellwig
Hi powerpc maintainers, what is the plan for this serries? I've not received any comments, and although the series briefly appeared in the powerpc next-test branch it disappeared again..

[PATCH 1/3] ARM: dts: sun7i: add pinctrl for CAN in PA bank

2019-02-20 Thread Mans Rullgard
This adds pinctrl settings for the CAN controller using pins PA16 and PA17. Signed-off-by: Mans Rullgard --- arch/arm/boot/dts/sun7i-a20.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 76d0c961f01e..4528c91e

[PATCH 3/3] ARM: dts: sun7i: add /omit-if-no-ref/ tags to pin group nodes

2019-02-20 Thread Mans Rullgard
Since only one alternative at a time is used, and some functions may not be used at all, this cuts down the size of the board dtb files a bit. Signed-off-by: Mans Rullgard --- arch/arm/boot/dts/sun7i-a20.dtsi | 42 1 file changed, 42 insertions(+) diff --git a/a

Re: [PATCH v2 2/4] perf record: implement -z= and --mmap-flush= options

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote: > > SNIP > >> +static int process_compressed(struct feat_fd *ff, >> + void *data __maybe_unused) >> +{ >> +u64 compression_info; >> + >> +if (do_read_u64(ff,

[PATCH 2/3] ARM: dts: sun7i: add pinctrl for EMAC in PH bank

2019-02-20 Thread Mans Rullgard
This adds pinctrl settings the EMAC using pins in the PH block. Signed-off-by: Mans Rullgard --- arch/arm/boot/dts/sun7i-a20.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index 4528c91ef837..e4d927a8a984 1

Re: [PATCH 3/3] PM / devfreq: tegra: remove unneeded variable

2019-02-20 Thread MyungJoo Ham
On Mon, Feb 18, 2019 at 6:58 PM Jon Hunter wrote: > > > On 18/02/2019 00:38, Chanwoo Choi wrote: > > On 19. 2. 17. 오전 12:18, Yangtao Li wrote: > >> This variable is not used after initialization, so > >> remove it. And in order to unify the code style, > >> move the location where the dev_get_drvd

Re: [PATCH v5 1/3] dt-bindings: pwm-stm32-lp: document pinctrl sleep state

2019-02-20 Thread Uwe Kleine-König
On Wed, Feb 20, 2019 at 02:07:46PM +0100, Fabrice Gasnier wrote: > Add documentation for pinctrl sleep state on STM32 LPTimer PWM. > > Signed-off-by: Fabrice Gasnier > Reviewed-by: Rob Herring nitpick (i.e. no need to resend): Your Signed-off-by should be the last thing in your commit log. Assu

Re: [PATCH v5 3/3] pwm: core: add consumer device link

2019-02-20 Thread Uwe Kleine-König
On Wed, Feb 20, 2019 at 02:07:48PM +0100, Fabrice Gasnier wrote: > Add a device link between the PWM consumer and the PWM provider. This > enforces the PWM user to get suspended before the PWM provider. It > allows proper synchronization of suspend/resume sequences: the PWM user > is responsible fo

[PATCH 0/1] IOMMU SVA device driver interface

2019-02-20 Thread Jean-Philippe Brucker
This series focuses on the device driver API for SVA, as I'd like to get at least parts of it merged in v5.2 [1]. If we can get consensus on the interface, it will be easier for device drivers to start adding SVA support while we're improving the IOMMU side. Since v3 [2] I changed the interface as

Re: [PATCH v4 3/4] drm/vc4: Detect and ignore underruns caused by out-of-sync dlists

2019-02-20 Thread Paul Kocialkowski
Hi, On Wed, 2019-02-06 at 15:51 -0800, Eric Anholt wrote: > Paul Kocialkowski writes: > > > When the pipeline is reconfigured with a different mode, changes take > > effect immediately for the CRTC and encoder while the HVS takes some > > time to switch the active display list. This results in a

Re: [PATCH v4 1/3] i2c: mediatek: Add offsets array for new i2c registers

2019-02-20 Thread Matthias Brugger
On 20/02/2019 13:33, Qii Wang wrote: > New i2c registers would have different offsets, so we use different > offsets array to distinguish different i2c registers version. > > Signed-off-by: Qii Wang Looks good to me :) Reviewed-by: Matthias Brugger > --- > drivers/i2c/busses/i2c-mt65xx.c

[PATCH V3 1/2] dt-bindings: imx: remove unused resources from scu resource table

2019-02-20 Thread Anson Huang
Removes below resources which were defined during pre-silicon phase and the real silicons do NOT have them, they have never been used, latest system controller firmware also removed them: IMX_SC_R_DC_0_CAPTURE0 IMX_SC_R_DC_0_CAPTURE1 IMX_SC_R_DC_0_INTEGRAL0 IMX_SC_R

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Heikki Krogerus
On Wed, Feb 20, 2019 at 04:14:23PM +0200, Heikki Krogerus wrote: > On Wed, Feb 20, 2019 at 02:38:47PM +0100, Nikolaus Voss wrote: > > On Wed, 20 Feb 2019, Heikki Krogerus wrote: > > > On Wed, Feb 20, 2019 at 01:57:30PM +0100, Nikolaus Voss wrote: > > > > Commit 1a2f474d328f handles block _reads_ se

general protection fault in xfrmi_decode_session

2019-02-20 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:abf446c90405 Add linux-next specific files for 20190220 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=175c2248c0 kernel config: https://syzkaller.appspot.com/x/.config?x=463cb576ac40e350

[PATCH] drm/qxl: unbind vgacon

2019-02-20 Thread Gerd Hoffmann
Problem: qxl switches from native mode back into vga compatibility mode when it notices someone is accessing vga registers. And vgacon does exactly that before fbcon takes over. Before qxl switched to the generic fbdev emulation that didn't cause any problems. With the generic fbdev emulation t

[PATCH 1/1] iommu: Bind process address spaces to devices

2019-02-20 Thread Jean-Philippe Brucker
Add bind() and unbind() operations to the IOMMU API. Bind() returns a PASID to the device driver (by convention, a 20-bit system-wide ID representing the address space). When programming DMA addresses, device drivers include this PASID in a device-specific manner, to let the device access the given

Re: [PATCH v8 0/7] freezer for cgroup v2

2019-02-20 Thread Oleg Nesterov
On 02/19, Roman Gushchin wrote: > > It provides similar functionality as v1 freezer, but the interface > conforms to the cgroup v2 interface design principles, and it > provides a better user experience: tasks can be killed, ptrace works, I tried to not argue with intent, but to be honest I am mor

Re: [PATCH 01/10] perf/x86/intel: Introduce a concept "domain" as the scope of counters

2019-02-20 Thread Liang, Kan
On 2/20/2019 6:12 AM, Peter Zijlstra wrote: On Tue, Feb 19, 2019 at 12:00:02PM -0800, kan.li...@linux.intel.com wrote: It's very useful to abstract several common topology related codes for these modules to reduce the code redundancy. 3 files changed, 96 insertions(+), 1 deletion(-) So

Re: [PATCH v4 3/3] i2c: mediatek: Add i2c support for MediaTek MT8183

2019-02-20 Thread Matthias Brugger
On 20/02/2019 13:33, Qii Wang wrote: > Add i2c compatible for MT8183. Compare to MT2712 i2c controller, > MT8183 has different registers, offsets and clock. > > Signed-off-by: Qii Wang So you introduce arb clock, ltiming (what is this exactly) and the new SoC in one commit. I'd prefer to spli

Re: [PATCH v2 4/4] perf report: support record trace file decompression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:25:00PM +0300, Alexey Budankov wrote: > > SNIP > >> @@ -1932,6 +2059,38 @@ fetch_mmaped_event(struct perf_session *session, >> return event; >> } >> >> +static int __perf_session__process_decomp_events(struct perf_sessio

Re: [PATCH 0/2] perf evsel: add support for inlined function in callchains

2019-02-20 Thread Jiri Olsa
On Tue, Feb 19, 2019 at 07:38:08PM +0100, Jonas Rabenstein wrote: > Hi, > sample__fprintf_callchain currently did not use the already available > code to get the symbols of an inlined function if such information is > available in a dso. This patchset adds the required logic to add > appropriate li

[PATCH V3 2/2] dt-bindings: imx: add new resources to scu resource table

2019-02-20 Thread Anson Huang
Add new resources as below according to latest system controller firmware for new features: IMX_SC_R_PERF IMX_SC_R_OCRAM IMX_SC_R_DMA_5_CH0 IMX_SC_R_DMA_5_CH1 IMX_SC_R_DMA_5_CH2 IMX_SC_R_DMA_5_CH3 IMX_SC_R_ATTESTATION Signed-off-by: Anson Hu

RE: [PATCH v2 1/2] Drivers: hv: vmbus: Change server monitor_pages index to 0

2019-02-20 Thread Michael Kelley
From: Kimberly Brown Sent: Monday, February 18, 2019 9:38 PM > > Change the monitor_pages index in server_monitor_pending_show() to '0'. > '0' is the correct monitor_pages index for the server. A comment for the > monitor_pages field in the vmbus_connection struct definition indicates > that th

Re: [PATCH v8 4/7] cgroup: cgroup v2 freezer

2019-02-20 Thread Oleg Nesterov
On 02/19, Roman Gushchin wrote: > > @@ -2065,6 +2066,7 @@ static void ptrace_stop(int exit_code, int why, int > clear_code, kernel_siginfo_t > preempt_disable(); > read_unlock(&tasklist_lock); > preempt_enable_no_resched(); > + cgroup_enter_sto

Re: [PATCH v2 4/4] perf report: support record trace file decompression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:25:00PM +0300, Alexey Budankov wrote: > > SNIP > >> +static int perf_session__process_compressed_event(struct perf_session >> *session, >> +union perf_event *event, u64 >> file_offset) >> +{

Re: [PATCH 4.19 01/24] bridge: do not add port to router list when receives query with source 0.0.0.0

2019-02-20 Thread Hangbin Liu
On Wed, Feb 20, 2019 at 03:09:21PM +0200, Nikolay Aleksandrov wrote: > On 20/02/2019 14:48, Sebastian Gottschall wrote: > > *reminder* > > > [snip] > >    } > >    static void br_ip4_multicast_query(struct net_bridge *br, > >>> Is this also a problem in 4.20?  This patch went into 4.20-rc1

Re: [PATCH v6 06/18] asm-generic/tlb: Conditionally provide tlb_migrate_finish()

2019-02-20 Thread Will Deacon
On Tue, Feb 19, 2019 at 02:41:47PM +0100, Peter Zijlstra wrote: > On Tue, Feb 19, 2019 at 12:47:38PM +, Will Deacon wrote: > > Fine for now, but I agree that we should drop the hook altogether. AFAICT, > > this only exists to help an ia64 optimisation which looks suspicious to > > me since it u

Re: [PATCH v4 1/3] locking/rwsem: Remove arch specific rwsem files

2019-02-20 Thread Will Deacon
On Wed, Feb 13, 2019 at 05:00:15PM -0500, Waiman Long wrote: > As the generic rwsem-xadd code is using the appropriate acquire and > release versions of the atomic operations, the arch specific rwsem.h > files will not be that much faster than the generic code as long as the > atomic functions are

Re: [PATCH v4 2/3] locking/rwsem: Remove rwsem-spinlock.c & use rwsem-xadd.c for all archs

2019-02-20 Thread Will Deacon
On Wed, Feb 13, 2019 at 05:00:16PM -0500, Waiman Long wrote: > Currently, we have two different implementation of rwsem: > 1) CONFIG_RWSEM_GENERIC_SPINLOCK (rwsem-spinlock.c) > 2) CONFIG_RWSEM_XCHGADD_ALGORITHM (rwsem-xadd.c) > > As we are going to use a single generic implementation for rwsem-x

Re: [PATCH] net: dsa: add missing of_node_put

2019-02-20 Thread Andrew Lunn
On Wed, Feb 20, 2019 at 08:54:32AM +0530, Himadri Pandya wrote: > Decrement the reference count on port while returning out of the loop. > > Signed-off-by: Himadri Pandya Hi Himadri Thanks for the patch. The code changes themselves look good. Netdev has a few additional processes for submittin

bug report: iwlwifi: mvm: support mac80211 TXQs model

2019-02-20 Thread Colin Ian King
Hi, Static analysis by CoverityScan has detected an uninitialized variable error in drivers/net/wireless/intel/iwlwifi/mvm/mac-ctxt.c Variable used_hw_queues in iwl_mvm_mac_ctxt_init() is no longer being assigned an initial value, causing garbage to be found when calling find_first_zero_bit() on

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-20 Thread Steven Rostedt
On Wed, 20 Feb 2019 17:10:19 +0900 Masami Hiramatsu wrote: > Let me ensure what you want. So you want to access a "string" in user-space, > not a data structure? In that case, it is very easy to me. It is enough to > add a "ustring" type to kprobe events. For example, do_sys_opsn's path > variab

Re: [PATCH v2 4/4] perf report: support record trace file decompression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:25:00PM +0300, Alexey Budankov wrote: >> >> PERF_RECORD_COMPRESSED records are decompressed from trace file into >> a linked list of mmaped memory regions using streaming Zstandard API. >> After that the regions are loaded fetchin

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-20 Thread Steven Rostedt
On Wed, 20 Feb 2019 14:57:31 +0100 Jann Horn wrote: > > (*) BTW, there is another concern to use _from_user APIs in kprobe. Are > > those > > APIs might sleep?? > > If you want to access userspace without sleeping, and ignore data in > non-present pages, you can do `pagefault_disable(); err =

Re: [PATCH] kasan: turn off asan-stack for clang-8 and earlier

2019-02-20 Thread Andrey Konovalov
On Tue, Feb 19, 2019 at 10:49 PM Arnd Bergmann wrote: > > Building an arm64 allmodconfig kernel with clang results in over 140 warnings > about overly large stack frames, the worst ones being: > > drivers/gpu/drm/panel/panel-sitronix-st7789v.c:196:12: error: stack frame > size of 20224 bytes in f

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Guenter Roeck
On 2/20/19 4:57 AM, Nikolaus Voss wrote: Commit 1a2f474d328f handles block _reads_ separately with plain-I2C adapters, but the problem described with regmap-i2c not handling SMBus block transfers (i.e. read and writes) correctly also exists with writes. As workaround, this patch adds a block wri

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:08, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: > > SNIP > >> @@ -774,6 +775,8 @@ static int record__mmap_read_evlist(struct record *rec, >> struct perf_evlist *evli >> struct perf_mmap *maps; >> int trace_fd = rec->data.file.f

Re: [PATCH] kasan: turn off asan-stack for clang-8 and earlier

2019-02-20 Thread Arnd Bergmann
On Wed, Feb 20, 2019 at 3:45 PM Andrey Konovalov wrote: > > On Tue, Feb 19, 2019 at 10:49 PM Arnd Bergmann wrote: > > > > Building an arm64 allmodconfig kernel with clang results in over 140 > > warnings > > about overly large stack frames, the worst ones being: > > > > drivers/gpu/drm/panel/pan

Re: [PATCH] powerpc/64s: Fix possible corruption on big endian due to pgd/pud_present()

2019-02-20 Thread Segher Boessenkool
On Wed, Feb 20, 2019 at 10:18:38PM +1100, Michael Ellerman wrote: > Segher Boessenkool writes: > > On Mon, Feb 18, 2019 at 11:49:18AM +1100, Michael Ellerman wrote: > >> Balbir Singh writes: > >> > Fair enough, my point was that the compiler can help out. I'll see what > >> > -Wconversion finds o

Re: Allwinner SID THS calibration data cell representation?

2019-02-20 Thread Maxime Ripard
On Tue, Feb 19, 2019 at 03:54:00PM +0800, Chen-Yu Tsai wrote: > Sorry for resurrecting an old discussion, but since someone posted patches > for H5 and H6, I thought we should resolve this. I'm working on patches to > fix / replace the big-endian issue. > > On Thu, Sep 6, 2018 at 7:51 PM Maxime Ri

Re: [PATCH v2 09/10] genirq/irqdomain: fall back to default domain when creating hierarchy domain

2019-02-20 Thread Thomas Bogendoerfer
On Wed, 20 Feb 2019 09:15:37 + Marc Zyngier wrote: > Well, short of doing the above, I'd rather have something in the common > code that allows the default domain to be retrieved. How about the > patch below? Works for me:-) Thank you. Are you going to submit it for v5.1 ? Thomas. -- SUS

Re: [PATCH v6 06/18] asm-generic/tlb: Conditionally provide tlb_migrate_finish()

2019-02-20 Thread Matthew Wilcox
On Wed, Feb 20, 2019 at 02:47:05PM +, Will Deacon wrote: > On Tue, Feb 19, 2019 at 02:41:47PM +0100, Peter Zijlstra wrote: > > On Tue, Feb 19, 2019 at 12:47:38PM +, Will Deacon wrote: > > > Fine for now, but I agree that we should drop the hook altogether. AFAICT, > > > this only exists to

[PATCH] iio: cros_ec: Fix gyro scale calculation

2019-02-20 Thread Enric Balletbo i Serra
From: Gwendal Grignou Calculation was copied from IIO_DEGREE_TO_RAD, but offset added to avoid rounding error is wrong. It should be only half of the divider. Fixes: c14dca07a31d ("iio: cros_ec_sensors: add ChromeOS EC Contiguous Sensors driver") Signed-off-by: Gwendal Grignou Signed-off-by: E

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 20, 2019 at 01:57:30PM +0100, Nikolaus Voss wrote: > Commit 1a2f474d328f handles block _reads_ separately with plain-I2C > adapters, but the problem described with regmap-i2c not handling > SMBus block transfers (i.e. read and writes) correctly also exists > with writes. > > As workaro

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c >> index 239e9a13c2b7..980784b77fe2 100644 >> --- a/tools/perf/util/mmap.c >> +++ b/tools/perf/util/mmap.c >> @@ -1

Re: [PATCH] phonet: fix building with clang

2019-02-20 Thread Rémi Denis-Courmont
Le tiistaina 19. helmikuuta 2019, 23.53.50 EET Arnd Bergmann a écrit : > clang warns about overflowing the data[] member in the struct pnpipehdr: > > net/phonet/pep.c:295:8: warning: array index 4 is past the end of the array > (which contains 1 element) [-Warray-bounds] if (hdr->data[4] == > PEP_

Re: [PATCH] MAINTAINERS: add linux-security-module mailing list to TPM drivers

2019-02-20 Thread Jarkko Sakkinen
On Wed, Feb 20, 2019 at 07:03:57AM -0700, Jerry Snitselaar wrote: > On Wed Feb 20 19, Jarkko Sakkinen wrote: > > On Tue, Feb 19, 2019 at 08:58:46PM -0700, Jerry Snitselaar wrote: > > > I've seen requests to add linux-security-module to tpm patch > > > submissions a couple of times recently, so just

[PATCH 0/7] iommu/ipmmu-vmsa: Suspend/resume support and assorted cleanups

2019-02-20 Thread Geert Uytterhoeven
Hi Jörg, Magnus, On R-Car Gen3 systems with PSCI, PSCI may power down the SoC during system suspend, thus losing all IOMMU state. Hence after s2ram, devices behind an IPMMU (e.g. SATA), and configured to use it, will fail to complete their I/O operations. This patch series adds suspend/r

[PATCH 7/7] iommu/ipmmu-vmsa: Add suspend/resume support

2019-02-20 Thread Geert Uytterhoeven
During PSCI system suspend, R-Car Gen3 SoCs are powered down, and all IPMMU state is lost. Hence after s2ram, devices wired behind an IPMMU, and configured to use it, will see their DMA operations hang. To fix this, restore all IPMMU contexts, and re-enable all active micro-TLBs during system res

[PATCH 2/7] iommu/ipmmu-vmsa: Call ipmmu_ctx_write_root() instead of open coding

2019-02-20 Thread Geert Uytterhoeven
There is a helper to write to the root IPMMU instance's registers, so let's use it. Signed-off-by: Geert Uytterhoeven --- drivers/iommu/ipmmu-vmsa.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 9f2b781e20a0eba

[PATCH 4/7] iommu/ipmmu-vmsa: Make IPMMU_CTX_MAX unsigned

2019-02-20 Thread Geert Uytterhoeven
Make the IPMMU_CTX_MAX constant unsigned, to match the type of ipmmu_features.number_of_contexts. This allows to use plain min() instead of type-casting min_t(). Signed-off-by: Geert Uytterhoeven --- drivers/iommu/ipmmu-vmsa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --g

[PATCH 6/7] iommu/ipmmu-vmsa: Extract hardware context initialization

2019-02-20 Thread Geert Uytterhoeven
ipmmu_domain_init_context() takes care of (1) initializing the software domain, and (2) initializing the hardware context for the domain. Extract the code to initialize the hardware context into a new subroutine ipmmu_context_init(), to prepare for later reuse. Signed-off-by: Geert Uytterhoeven

Re: [PATCH v2 09/10] genirq/irqdomain: fall back to default domain when creating hierarchy domain

2019-02-20 Thread Marc Zyngier
On Wed, 20 Feb 2019 16:00:15 +0100 Thomas Bogendoerfer wrote: > On Wed, 20 Feb 2019 09:15:37 + > Marc Zyngier wrote: > > > Well, short of doing the above, I'd rather have something in the common > > code that allows the default domain to be retrieved. How about the > > patch below? > > W

[PATCH 5/7] iommu/ipmmu-vmsa: Move num_utlbs to SoC-specific features

2019-02-20 Thread Geert Uytterhoeven
The maximum number of micro-TLBs per IPMMU instance is not fixed, but depends on the SoC type. Hence move it from struct ipmmu_vmsa_device to struct ipmmu_features, and set up the correct value for both R-Car Gen2 and Gen3 SoCs. Note that currently no code uses this value. Signed-off-by: Geert U

Re: [PATCH] kobject: Don't trigger kobject_uevent(KOBJ_REMOVE) twice.

2019-02-20 Thread Greg Kroah-Hartman
On Wed, Feb 20, 2019 at 10:38:34PM +0900, Tetsuo Handa wrote: > syzbot is hitting use-after-free bug in uinput module [1]. This is because > kobject_uevent(KOBJ_REMOVE) is called again due to commit 0f4dafc0563c6c49 > ("Kobject: auto-cleanup on final unref") after memory allocation fault > injectio

[PATCH 1/7] iommu/ipmmu-vmsa: Link IOMMUs and devices in sysfs

2019-02-20 Thread Geert Uytterhoeven
As of commit 7af9a5fdb9e0ca33 ("iommu/ipmmu-vmsa: Use iommu_device_sysfs_add()/remove()"), IOMMU devices show up under /sys/class/iommus/, but their "devices" subdirectories are empty. Likewise, devices tied to an IOMMU do not have an "iommu" backlink. Make sure all links are created, on both arm3

[PATCH 3/7] iommu/ipmmu-vmsa: Prepare to handle 40-bit error addresses

2019-02-20 Thread Geert Uytterhoeven
On R-Car Gen3, the faulting virtual address is a 40-bit address, and comprised of two registers. Read the upper address part, and combine both parts, when running on a 64-bit system. Signed-off-by: Geert Uytterhoeven --- Apart from this, the driver doesn't support 40-bit IOVA addresses yet. ---

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: >> >> Compression is implemented using simple Zstd API and employs AIO data >> buffer as the memory to operate on. If the API call fails for some >> reason compression falls back to memcpy().

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Nikolaus Voss
On Wed, 20 Feb 2019, Heikki Krogerus wrote: On Wed, Feb 20, 2019 at 04:14:23PM +0200, Heikki Krogerus wrote: On Wed, Feb 20, 2019 at 02:38:47PM +0100, Nikolaus Voss wrote: On Wed, 20 Feb 2019, Heikki Krogerus wrote: On Wed, Feb 20, 2019 at 01:57:30PM +0100, Nikolaus Voss wrote: Commit 1a2f474

Re: [PATCH 03/11] x86 topology: Add CPUID.1F multi-die/package support

2019-02-20 Thread Len Brown
Thanks for the comments, Peter. I'll update the patch to address the syntax points. (Maybe checkpatch.pl should be updated to reflect your preferences?). About macros vs C. I agree with your preference. I used macros to be consistent with the existing code, and to be as backport friendly as poss

Re: [PATCH 1/3] iio: light: Add driver for ap3216c

2019-02-20 Thread Sven Van Asbroeck
Again thanks for the feedback, Jonathan ! On Wed, Feb 20, 2019 at 7:32 AM Jonathan Cameron wrote: > > Looks to me like that happens (I haven't checked that thoroughly) via > kernfs_fops_write which takes a mutex - so we have a barrier. > Yes, if there's a mutex in the path somewhere (which sysfs

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: > > SNIP > >> +compress_fn = (record__comp_enabled(rec) ? >> +perf_session__zstd_compress : perf_session__zstd_copy); >> + >> if (record__aio_enabled(rec)) >>

Re: [PATCH 1/2 v2] kprobe: Do not use uaccess functions to access kernel memory that can fault

2019-02-20 Thread Masami Hiramatsu
Hi Jann, On Wed, 20 Feb 2019 14:57:31 +0100 Jann Horn wrote: > On Wed, Feb 20, 2019 at 9:10 AM Masami Hiramatsu wrote: > > On Tue, 19 Feb 2019 14:03:30 -0500 > > Steven Rostedt wrote: > > > > > > > Basically, a kprobe is mostly used for debugging what's happening in a > > > > > live kernel, to

Re: [PATCH 6/7] MIPS: SGI-IP27: use generic PCI driver

2019-02-20 Thread Christoph Hellwig
On Mon, Feb 18, 2019 at 11:58:07AM +0100, Thomas Bogendoerfer wrote: > This of course will break SH7786. To fix both cases how about making > dma_pfn_offset > > a signed long ? Yes, making it signed sounds like a good idea.

Re: [GIT PULL] ARM: dts: exynos: Second pull for v5.1

2019-02-20 Thread Arnd Bergmann
On Tue, Feb 19, 2019 at 7:52 PM Krzysztof Kozlowski wrote: > > The following changes since commit ec33745bccc8f336957c751f4153421cc9ef5a54: > > ARM: dts: exynos: Fix pinctrl definition for eMMC RTSN line on Odroid X2/U3 > (2019-01-25 20:18:10 +0100) > > are available in the Git repository at: >

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/mmap.c b/tools/perf/util/mmap.c >> index 239e9a13c2b7..980784b77fe2 100644 >> --- a/tools/perf/util/mmap.c >> +++ b/tools/perf/util/mmap.c >> @@ -1

[PATCHv3] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Nikolaus Voss
From: Nikolaus Voss Commit 1a2f474d328f handles block _reads_ separately with plain-I2C adapters, but the problem described with regmap-i2c not handling SMBus block transfers (i.e. read and writes) correctly also exists with writes. As workaround, this patch adds a block write function the same

Re: WARNING: ODEBUG bug in f2fs_fill_super

2019-02-20 Thread Dmitry Vyukov
On Mon, Aug 27, 2018 at 11:04 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:e27bc174c9c6 Add linux-next specific files for 20180824 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=11c0034a40 > kernel config: h

[PATCH] arm64: dts: rockchip: enable hdmi audio out for rk3399-rockpro64

2019-02-20 Thread Katsuhiro Suzuki
The rockpro64 has hdmi support. So this patch enables hdmi audio feature that is defined in rk3399 devicetree. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro

Re: [PATCH v2 3/4] perf record: enable runtime trace compression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:08, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:23:40PM +0300, Alexey Budankov wrote: > > SNIP > >> diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c >> index 18fb9c8cbf9c..5d406eebd058 100644 >> --- a/tools/perf/util/session.c >> +++ b/tools/perf/util/sessio

[PATCH 1/3] ALSA: hda/tegra: property for card name

2019-02-20 Thread Sameer Pujar
An optional property "nvidia,model" is introduced for hda to pass custom name for the sound card. The suffix "-hda" in the name passed is useful to distinguish between multiple cards available for a platform. When the property is not specified, default name("tegra-hda") mentioned in hda driver is u

[PATCH 3/3] ALSA: hda/tegra: sound card name from device tree

2019-02-20 Thread Sameer Pujar
A platform can have multiple sound cards for different audio paths. Following is the print seen duirng device boot for jetson-xavier, ALSA device list: #0: nvidia,p2972- at 0x3518000 irq 17 By looking at above, it is not very clear if the sound card is for HDA. It becomes confusing when p

[PATCH 2/3] arm64: tegra: custom name for hda sound card

2019-02-20 Thread Sameer Pujar
"nvidia,model" property is added to pass custom name for hda sound card. This is parsed in hda driver and used for card name. This aligns with the way with which sound cards are named in general. This patch populates above for jetson-tx1, jetson-tx2 and jetson-xavier. Signed-off-by: Sameer Pujar

Re: [GIT PULL] updates to soc/fsl drivers for v5.1 take3

2019-02-20 Thread Arnd Bergmann
On Tue, Feb 19, 2019 at 10:09 PM Li Yang wrote: > The following changes since commit 3c0d64e867ed78a782a8a00d3b519396d9c5a2db: > > soc: fsl: guts: reuse machine name from device tree (2019-01-11 16:08:43 > -0600) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/lin

Re: [PATCH 3/3] ARM: dts: sun7i: add /omit-if-no-ref/ tags to pin group nodes

2019-02-20 Thread Maxime Ripard
On Wed, Feb 20, 2019 at 02:25:36PM +, Mans Rullgard wrote: > Since only one alternative at a time is used, and some functions may not > be used at all, this cuts down the size of the board dtb files a bit. > > Signed-off-by: Mans Rullgard Applied all three, thanks! Maxime -- Maxime Ripard,

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Nikolaus Voss
On Wed, 20 Feb 2019, Guenter Roeck wrote: On 2/20/19 4:57 AM, Nikolaus Voss wrote: Commit 1a2f474d328f handles block _reads_ separately with plain-I2C adapters, but the problem described with regmap-i2c not handling SMBus block transfers (i.e. read and writes) correctly also exists with writes.

Re: [RFC PATCH] scsi: fix oops in scsi_uninit_cmd()

2019-02-20 Thread Christoph Hellwig
[fullquote removed, please follow proper mail etiquette] On Tue, Feb 19, 2019 at 08:56:28AM -0800, Bart Van Assche wrote: > regression in the SCSI sd driver due to the switch from the legacy block > layer to scsi-mq. The above patch introduces two atomic operations in the > hot path and hence woul

Re: [PATCH] perf/core: use strndup_user() instead of buggy open-coded version

2019-02-20 Thread Jann Horn
On Tue, Feb 19, 2019 at 3:51 PM Masami Hiramatsu wrote: > On Tue, 19 Feb 2019 20:45:02 +0900 > Masami Hiramatsu wrote: > > > On Mon, 18 Feb 2019 23:07:23 +0100 > > Jann Horn wrote: > > > > > The first version of this method was missing the check for > > > `ret == PATH_MAX`; then such a check was

Re: [PATCH v2 2/4] perf record: implement -z= and --mmap-flush= options

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:09, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:22:38PM +0300, Alexey Budankov wrote: >> >> Implement -z,--compression_level= and --mmap-flush= >> options as well as a special PERF_RECORD_COMPRESSED record that contains >> compressed parts of kernel data buffer. >> >> Because c

Re: [PATCH v2 4/4] perf report: support record trace file decompression

2019-02-20 Thread Alexey Budankov
On 12.02.2019 16:08, Jiri Olsa wrote: > On Mon, Feb 11, 2019 at 11:25:00PM +0300, Alexey Budankov wrote: > > SNIP > >> size_t perf_session__zstd_copy(void *to __maybe_unused, >> @@ -533,6 +646,8 @@ void perf_tool__fill_defaults(struct perf_tool *tool) >> tool->time_conv = process_

Re: [PATCH] staging:iio:ad7152: Rename misspelled RESEVERD -> RESERVED

2019-02-20 Thread Jonathan Cameron
... > > Thanks for answering Jonathan and Stefan. > > I would like to contribute with the ad7150 driver. Could you please > give me some hints on what can I do to move this driver > out of staging? > > I note that device registration (devm_iio_device_register) is not > the last function called a

Re: [PATCH 6/7] MIPS: SGI-IP27: use generic PCI driver

2019-02-20 Thread Thomas Bogendoerfer
On Wed, 20 Feb 2019 07:10:56 -0800 Christoph Hellwig wrote: > On Mon, Feb 18, 2019 at 11:58:07AM +0100, Thomas Bogendoerfer wrote: > > This of course will break SH7786. To fix both cases how about making > > dma_pfn_offset > > > > a signed long ? > > Yes, making it signed sounds like a good ide

Re: KASAN: use-after-free Read in rdma_resolve_addr

2019-02-20 Thread Dmitry Vyukov
On Wed, Sep 26, 2018 at 4:27 PM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:846e8dd47c26 Merge tag 'scsi-fixes' of git://git.kernel.or.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=113cfbfa40 > kernel config:

Re: [RESEND PATCH 0/7] Add FOLL_LONGTERM to GUP fast and use it

2019-02-20 Thread Christoph Hellwig
On Tue, Feb 19, 2019 at 09:30:33PM -0800, ira.we...@intel.com wrote: > From: Ira Weiny > > Resending these as I had only 1 minor comment which I believe we have covered > in this series. I was anticipating these going through the mm tree as they > depend on a cleanup patch there and the IB chang

Re: [PATCHv2] usb: typec: tps6598x: handle block writes separately with plain-I2C adapters

2019-02-20 Thread Nikolaus Voss
On Wed, 20 Feb 2019, Greg Kroah-Hartman wrote: On Wed, Feb 20, 2019 at 01:57:30PM +0100, Nikolaus Voss wrote: Commit 1a2f474d328f handles block _reads_ separately with plain-I2C adapters, but the problem described with regmap-i2c not handling SMBus block transfers (i.e. read and writes) correctl

Re: [PATCH] ARM: dts: sun7i: add pinctrl for missing uart mux options

2019-02-20 Thread Chen-Yu Tsai
On Wed, Feb 20, 2019 at 7:00 PM Måns Rullgård wrote: > > Maxime Ripard writes: > > > On Wed, Feb 20, 2019 at 04:58:49PM +0800, Chen-Yu Tsai wrote: > >> On Sun, Feb 17, 2019 at 2:21 AM Mans Rullgard wrote: > >> > > >> > This adds pinctrl settings for various missing uart options. > >> > > >> > Si

<    1   2   3   4   5   6   7   8   9   10   >