Re: [PATCH v9 3/3] Bluetooth: hci_qca: Disable IBS state machine and flush Tx buffer

2019-01-24 Thread Matthias Kaehlcke
On Thu, Jan 24, 2019 at 05:38:08PM +0530, Balakrishna Godavarthi wrote: > During hci down we observed IBS sleep commands are queued in the Tx > buffer and hci_uart_write_work is sending data to the chip which is > not required as the chip is powered off. This patch will disable IBS > and flush the

[PATCH] drm/amd/display: add -msse2 to prevent Clang from emitting libcalls to undefined SW FP routines

2019-01-24 Thread ndesaulniers
arch/x86/Makefile disables SSE and SSE2 for the whole kernel. The AMDGPU drivers modified in this patch re-enable SSE but not SSE2. Turn on SSE2 to support emitting double precision floating point instructions rather than calls to non-existent (usually available from gcc_s or compiler_rt) floatin

Re: [f2fs-dev] [PATCH 2/2] f2fs: sync filesystem after roll-forward recovery

2019-01-24 Thread Jaegeuk Kim
On 01/24, Chao Yu wrote: > On 2019/1/23 8:02, Jaegeuk Kim wrote: > > Some works after roll-forward recovery can get an error which will release > > all the data structures. Let's flush them in order to make it clean. > > > > One possible corruption came from: > > > > [ 90.400500] list_del corru

[PATCH v2] clk: qcom: clk-rpmh: Add IPA clock support

2019-01-24 Thread David Dai
The clk-rpmh driver only supports on and off RPMh clock resources. Let's extend the driver by adding support for clocks that are managed by a different type of RPMh resource known as Bus Clock Manager(BCM). The BCM is a configurable shared resource aggregator that scales performance based on a set

Re: general protection fault in nf_ct_gre_keymap_flush

2019-01-24 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:755d01d17697 Add linux-next specific files for 20190124 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=128f88c4c0 kernel config: https://syzkaller.appspot.com/x/.config?x

Re: [RFC 5/6] powerpc/pci/hotplug: Use common drcinfo parsing

2019-01-24 Thread Tyrel Datwyler
On 01/14/2019 04:28 PM, Bjorn Helgaas wrote: > On Fri, Dec 14, 2018 at 02:51:31PM -0600, Michael Bringmann wrote: >> The implementation of the pseries-specific drc info properties >> is currently implemented in pseries-specific and non-pseries-specific >> files. This patch set uses a new implement

UBSAN: Undefined behaviour in drivers/scsi/sr_ioctl.c

2019-01-24 Thread Kyungtae Kim
I'm reporting a bug in linux-5.0-rc2: "UBSAN: Undefined behaviour in drivers/scsi/sr_ioctl.c" kernel config: https://kt0755.github.io/etc/config-5.0-rc2 repro: https://kt0755.github.io/etc/repro.01311.c (need to provide cdrom image) Integer overflow arose in sr_select_speed() when "speed *= 177"

Re: [PATCH v5 3/3] reset: imx7: Add support for i.MX8MQ IP block variant

2019-01-24 Thread Andrey Smirnov
On Wed, Jan 23, 2019 at 2:49 AM Philipp Zabel wrote: > > Hi Andrey, > > On Mon, 2019-01-21 at 18:10 -0800, Andrey Smirnov wrote: > > Add bits and pieces needed to support IP block variant found on > > i.MX8MQ SoCs. > > > > Cc: p.za...@pengutronix.de > > Cc: Fabio Estevam > > Cc: cphe...@gmail.com

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

2019-01-24 Thread Olof Johansson
On Thu, Jan 24, 2019 at 2:23 AM Dave Airlie wrote: > > > I know I won't be able to convince you but I want to say that I think > > your arguments for full userspace open source are not really > > technical. > > There is more to keeping a kernel going than technical argument unfortunately. > > I gu

Re: [PATCH v9 2/3] Bluetooth: hci_qca: Deassert RTS while baudrate change command

2019-01-24 Thread Matthias Kaehlcke
Hi Balakrishna, On Thu, Jan 24, 2019 at 05:38:07PM +0530, Balakrishna Godavarthi wrote: > This patch will help to stop frame reassembly errors while changing > the baudrate. This is because host send a change baudrate request > command to the chip with 115200 bps, Whereas chip will change their >

Re: [RFC 1/6] powerpc:/drc Define interface to acquire arch-specific drc info

2019-01-24 Thread Tyrel Datwyler
On 12/14/2018 12:50 PM, Michael Bringmann wrote: > Define interface to acquire arch-specific drc info to match against > hotpluggable devices. The current implementation exposes several > pseries-specific dynamic memory properties in generic kernel code. > This patch set provides an interface to p

Re: [RFC 3/6] pseries/drcinfo: Pseries impl of arch_find_drc_info

2019-01-24 Thread Tyrel Datwyler
On 12/14/2018 12:51 PM, Michael Bringmann wrote: > This patch provides a common interface to parse ibm,drc-indexes, > ibm,drc-names, ibm,drc-types, ibm,drc-power-domains, or ibm,drc-info. > The generic interface arch_find_drc_match is provided which accepts > callback functions that may be applied

Re: [RFC 1/6] powerpc:/drc Define interface to acquire arch-specific drc info

2019-01-24 Thread Tyrel Datwyler
On 12/14/2018 12:50 PM, Michael Bringmann wrote: > Define interface to acquire arch-specific drc info to match against > hotpluggable devices. The current implementation exposes several > pseries-specific dynamic memory properties in generic kernel code. > This patch set provides an interface to p

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

2019-01-24 Thread Olof Johansson
Hi, On Wed, Jan 23, 2019 at 11:36 PM Daniel Vetter wrote: > > Hi all, > > Top post, because new argument. I'm diving in and replying to this instead of other replies upthread, since I think it brings up the core of the disagreement. > There's lots of really good technical arguments for having t

Re: [PATCH] of: Make of_node_name_eq() case insensitive

2019-01-24 Thread Frank Rowand
On 1/24/19 12:08 PM, Florian Fainelli wrote: > Since c32569e358ad ("regulator: Use of_node_name_eq for node name > comparisons") Vivien reported the mc13892-regulator complaining about > not being able to find regulators. > > This is because prior to that commit we used of_node_cmp() to compare >

Re: [PATCH v3 1/1] arm64: dts: sdm845: wireup the thermal trip points to cpufreq

2019-01-24 Thread Matthias Kaehlcke
On Tue, Jan 22, 2019 at 06:12:51PM -0800, Matthias Kaehlcke wrote: > Hi Amit, > > On Mon, Jan 21, 2019 at 11:38:34PM +0530, Amit Kucheria wrote: > > Since all cpus in the big and little clusters, respectively, are in the > > same frequency domain, use all of them for mitigation in the > > cooling-

[PATCH v6 3/4] Bluetooth: Allow driver specific cmd timeout handling

2019-01-24 Thread Rajat Jain
Add a hook to allow the BT driver to do device or command specific handling in case of timeouts. This is to be used by Intel driver to reset the device after certain number of timeouts. Signed-off-by: Rajat Jain --- v6: Dropped the "sent command" parameter from cmd_timeout() v5: Drop the quirk, a

[PATCH v6 4/4] Bluetooth: btusb: Use the cmd_timeout method to reset the Intel BT chip

2019-01-24 Thread Rajat Jain
If the platform provides it, use the reset gpio to reset the Intel BT chip, as part of cmd_timeout handling. This has been found helpful on Intel bluetooth controllers where the firmware gets stuck and the only way out is a hard reset pin provided by the platform. Signed-off-by: Rajat Jain --- v6

[PATCH v6 1/4] usb: split code locating ACPI companion into port and device

2019-01-24 Thread Rajat Jain
From: Dmitry Torokhov In preparation for handling embedded USB devices let's split usb_acpi_find_companion() into usb_acpi_find_companion_for_device() and usb_acpi_find_companion_for_port(). Signed-off-by: Dmitry Torokhov Signed-off-by: Rajat Jain Acked-by: Greg Kroah-Hartman Tested-by: Sukum

[PATCH v6 2/4] usb: assign ACPI companions for embedded USB devices

2019-01-24 Thread Rajat Jain
From: Dmitry Torokhov USB devices permanently connected to USB ports may be described in ACPI tables and share ACPI devices with ports they are connected to. See [1] for details. This will allow us to describe sideband resources for devices, such as, for example, hard reset line for BT USB contr

[PATCH v6 1/2] Bluetooth: btusb: Add protocol support for MediaTek MT7668U USB devices

2019-01-24 Thread sean.wang
From: Sean Wang This adds the support of enabling MT7668U Bluetooth function running on the top of btusb driver. The information in /sys/kernel/debug/usb/devices about the Bluetooth device is listed as the below. T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=5000 MxCh= 0 D: Ver= 3.00 C

[PATCH v6 0/2] Bluetooth: btusb: Add protocol support for MediaTek USB devices

2019-01-24 Thread sean.wang
From: Sean Wang v6: * fix drivers/bluetooth/btusb.c:2683:2-3: Unneeded semicolon based reported by [1] * update power-on sequence with adding neccesary tci sleep comand to set up low-power environmnet and a delay to wait the device to be stable. * sort variables declarations in reverse xmas or

[PATCH v6 2/2] Bluetooth: btusb: Add protocol support for MediaTek MT7663U USB devices

2019-01-24 Thread sean.wang
From: Sean Wang This adds the support of enabling MT7663U Bluetooth function running on the top of btusb driver. The information in /sys/kernel/debug/usb/devices about the Bluetooth device is listed as the below. T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 5 Spd=5000 MxCh= 0 D: Ver= 3.00 C

[PATCH 1/2] of: unittest: remove report of expected error

2019-01-24 Thread frowand . list
From: Frank Rowand update_node_properties() reports an error when the test data contains a node (such as "/aliases") that already exists in the base devicetree. The error is caused by of_fdt_unflatten_tree() autogenerating the "name" property, thus both the existing node and the new node will hav

[PATCH 2/2] of: unittest: add caution to function header comment

2019-01-24 Thread frowand . list
From: Frank Rowand Name of function attach_node_and_children() is misleading because if the node already exists in the livetree then only the node's properties are attached. This works for the existing test data, but add comment warning of this misleading name. Signed-off-by: Frank Rowand ---

[PATCH 0/2] of: unittest: minor cleanups

2019-01-24 Thread frowand . list
From: Frank Rowand 1) Suppress expected error message when adding unittest data to livetree. 2) While writing patch 1, noted a misleading function name. Add comment to the function header warning about possible unexpected results. Frank Rowand (2): of: unittest: remove report of expected

[PATCH 2/5] mm/resource: move HMM pr_debug() deeper into resource code

2019-01-24 Thread Dave Hansen
From: Dave Hansen HMM consumes physical address space for its own use, even though nothing is mapped or accessible there. It uses a special resource description (IORES_DESC_DEVICE_PRIVATE_MEMORY) to uniquely identify these areas. When HMM consumes address space, it makes a best guess about wh

[PATCH 3/5] mm/memory-hotplug: allow memory resources to be children

2019-01-24 Thread Dave Hansen
From: Dave Hansen The mm/resource.c code is used to manage the physical address space. The current resource configuration can be viewed in /proc/iomem. An example of this is at the bottom of this description. The nvdimm subsystem "owns" the physical address resources which map to persistent

[PATCH 1/5] mm/resource: return real error codes from walk failures

2019-01-24 Thread Dave Hansen
From: Dave Hansen walk_system_ram_range() can return an error code either becuase *it* failed, or because the 'func' that it calls returned an error. The memory hotplug does the following: ret = walk_system_ram_range(..., func); if (ret) return ret; and 'ret'

[PATCH 5/5] dax: "Hotplug" persistent memory for use like normal RAM

2019-01-24 Thread Dave Hansen
From: Dave Hansen This is intended for use with NVDIMMs that are physically persistent (physically like flash) so that they can be used as a cost-effective RAM replacement. Intel Optane DC persistent memory is one implementation of this kind of NVDIMM. Currently, a persistent memory region is

[PATCH 4/5] dax/kmem: let walk_system_ram_range() search child resources

2019-01-24 Thread Dave Hansen
From: Dave Hansen In the process of onlining memory, we use walk_system_ram_range() to find the actual RAM areas inside of the area being onlined. However, it currently only finds memory resources which are "top-level" iomem_resources. Children are not currently searched which causes it to sk

[PATCH 0/5] [v4] Allow persistent memory to be used like normal RAM

2019-01-24 Thread Dave Hansen
v3 spurred a bunch of really good discussion. Thanks to everybody that made comments and suggestions! I would still love some Acks on this from the folks on cc, even if it is on just the patch touching your area. Note: these are based on commit d2f33c19644 in: git://git.kernel.org/pub/s

Re: 4.19.{12,[13],14}: RIP: 0010:nf_conncount_cache_free+0x26/0x2f [nf_conncount]

2019-01-24 Thread Steffen Nurpmeso
Hello and good evening, Steffen Nurpmeso wrote in <20190118131055.rtue5%stef...@sdaoden.eu>: ... |The problem still persists with v14.19.15, i have reverter to ... |Jan 18 12:40:00 kernel: [37953.963613] BUG: unable to handle kernel \ |NULL pointer dereference at ... | Ja

[PATCHv5 07/10] acpi/hmat: Register performance attributes

2019-01-24 Thread Keith Busch
Register the local attached performace access attributes with the memory's node if HMAT provides the locality table. While HMAT does make it possible to know performance for all possible initiator-target pairings, we export only the local and matching pairings at this time. Signed-off-by: Keith Bu

[PATCHv5 03/10] acpi/hmat: Parse and report heterogeneous memory

2019-01-24 Thread Keith Busch
Systems may provide different memory types and export this information in the ACPI Heterogeneous Memory Attribute Table (HMAT). Parse these tables provided by the platform and report the memory access and caching attributes to the kernel messages. Signed-off-by: Keith Busch --- drivers/acpi/Kcon

[PATCHv5 00/10] Heterogeneuos memory node attributes

2019-01-24 Thread Keith Busch
== Changes since v4 == All public interfaces have kernel docs. Renamed "class" to "access", docs and changed logs updated accordingly. (Rafael) The sysfs hierarchy is altered to put initiators and targets in their own attribute group directories (Rafael). The node lists are removed.

[PATCHv5 04/10] node: Link memory nodes to their compute nodes

2019-01-24 Thread Keith Busch
Systems may be constructed with various specialized nodes. Some nodes may provide memory, some provide compute devices that access and use that memory, and others may provide both. Nodes that provide memory are referred to as memory targets, and nodes that can initiate memory access are referred to

[PATCHv5 02/10] acpi: Add HMAT to generic parsing tables

2019-01-24 Thread Keith Busch
The Heterogeneous Memory Attribute Table (HMAT) header has different field lengths than the existing parsing uses. Add the HMAT type to the parsing rules so it may be generically parsed. Cc: Dan Williams Reviewed-by: Rafael J. Wysocki Signed-off-by: Keith Busch --- drivers/acpi/tables.c | 9 ++

[PATCHv5 10/10] doc/mm: New documentation for memory performance

2019-01-24 Thread Keith Busch
Platforms may provide system memory where some physical address ranges perform differently than others, or is side cached by the system. Add documentation describing a high level overview of such systems and the perforamnce and caching attributes the kernel provides for applications wishing to que

[PATCHv5 08/10] node: Add memory caching attributes

2019-01-24 Thread Keith Busch
System memory may have side caches to help improve access speed to frequently requested address ranges. While the system provided cache is transparent to the software accessing these memory ranges, applications can optimize their own access based on cache attributes. Provide a new API for the kern

[PATCHv5 06/10] node: Add heterogenous memory access attributes

2019-01-24 Thread Keith Busch
Heterogeneous memory systems provide memory nodes with different latency and bandwidth performance attributes. Provide a new kernel interface for subsystems to register the attributes under the memory target node's initiator access class. If the system provides this information, applications may qu

[PATCHv5 05/10] acpi/hmat: Register processor domain to its memory

2019-01-24 Thread Keith Busch
If the HMAT Subsystem Address Range provides a valid processor proximity domain for a memory domain, or a processor domain matches the performance access of the valid processor proximity domain, register the memory target with that initiator so this relationship will be visible under the node's sys

[PATCHv5 09/10] acpi/hmat: Register memory side cache attributes

2019-01-24 Thread Keith Busch
Register memory side cache attributes with the memory's node if HMAT provides the side cache iniformation table. Signed-off-by: Keith Busch --- drivers/acpi/hmat/hmat.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/acpi/hmat/hmat.c b/drivers/acpi/h

[PATCHv5 01/10] acpi: Create subtable parsing infrastructure

2019-01-24 Thread Keith Busch
Parsing entries in an ACPI table had assumed a generic header structure. There is no standard ACPI header, though, so less common layouts with different field sizes required custom parsers to go through their subtable entry list. Create the infrastructure for adding different table types so parsin

Re: [PATCH 0/6] driver core: Fix some issues related to device links

2019-01-24 Thread Rafael J. Wysocki
On Thu, Jan 24, 2019 at 3:58 PM Russell King - ARM Linux admin wrote: > > On Thu, Jan 24, 2019 at 12:13:06PM +0100, Rafael J. Wysocki wrote: > > Hi Greg at al, > > > > Recently I have been looking at the device links code because of the > > recent discussion on possibly using them in the DRM subsy

Re: [PATCH] dt-bindings: clock: Convert fixed-factor-clock to json-schema

2019-01-24 Thread Stephen Boyd
Quoting Rob Herring (2019-01-10 14:19:02) > Convert the fixed-factor-clock binding to DT schema format using > json-schema. > > Cc: Michael Turquette > Cc: Stephen Boyd > Cc: linux-...@vger.kernel.org > Signed-off-by: Rob Herring > --- Applied to clk-next

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-24 Thread Paul Cercueil
Le jeu. 24 janv. 2019 à 19:46, Stephen Boyd a écrit : Quoting Paul Cercueil (2019-01-24 12:46:28) Le jeu. 24 janv. 2019 à 16:28, Stephen Boyd a écrit : > Quoting Guenter Roeck (2019-01-23 10:01:55) >> On Wed, Jan 23, 2019 at 02:25:53PM -0300, Paul Cercueil wrote: >> > Hi, >> >

Re: [alsa-devel] [RFT][PATCH v2] gpiolib: acpi: Introduce ACPI_GPIO_QUIRK_ONLY_GPIOIO

2019-01-24 Thread Andy Shevchenko
On Thu, Jan 24, 2019 at 2:20 PM Hans de Goede wrote: > On 09-01-19 11:52, Andy Shevchenko wrote: > > New quirk enforces search for GPIO based on its type, > > i.e. iterate over GpioIo resources only. > > > > Signed-off-by: Andy Shevchenko > > Acked-by: Mika Westerberg > > --- > > > > - it was se

Re: [PATCH] dt-bindings: clock: Convert fixed-clock binding to json-schema

2019-01-24 Thread Stephen Boyd
Quoting Rob Herring (2019-01-11 15:09:58) > > make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/file/to/test > > It will check only the schema specified and check all the DT files > against only that schema (plus any referenced schema if you use a > top-level 'allOf'. See the GIC

Re: [PATCH] 8250_pci.c: Update NI specific devices class to multi serial

2019-01-24 Thread Andy Shevchenko
On Thu, Jan 24, 2019 at 1:15 PM KHUENY.Gerhard wrote: > > Hi, > > I would appreciate this change since this would solve my problem also ;-) > I have sent couple of hours ago the patch to upstream. If I'm not mistaken, you did test it and I put deliberatly your tag. Tell me if it's not the case or

Re: [PATCH v8 05/26] clocksource: Add driver for the Ingenic JZ47xx OST

2019-01-24 Thread Stephen Boyd
Quoting Paul Cercueil (2019-01-24 12:46:28) > > > Le jeu. 24 janv. 2019 à 16:28, Stephen Boyd a > écrit : > > Quoting Guenter Roeck (2019-01-23 10:01:55) > >> On Wed, Jan 23, 2019 at 02:25:53PM -0300, Paul Cercueil wrote: > >> > Hi, > >> > > >> > Le mer. 23 janv. 2019 Ã 11:31, Guenter Roec

Re: [PATCH 1/2] staging: iio: adc: ad7192: Add clock for external clock reference

2019-01-24 Thread Stephen Boyd
Quoting Jonathan Cameron (2018-12-16 02:07:41) > Rob, Clk experts, questions for you below. > > Jonathan > > > On Thu, 13 Dec 2018 17:39:22 -0800 > Stephen Boyd wrote: > > > Quoting Jonathan Cameron (2018-12-08 07:29:54) > > > On Thu, 6 Dec 2018 11:10:51 +0200 > > > Mircea Caprioru wrote: > >

Re: [PATCH] MAINTAINERS: Update filesystem-dax and NVDIMM entries

2019-01-24 Thread Ira Weiny
On Thu, Jan 24, 2019 at 11:17:59AM -0800, Dan Williams wrote: > Ross has moved on to other areas. > > Matthew and Jan are trusted reviewers for DAX. > > Dan is now coordinating filesystem-dax pull requests. > > Ira and Keith are now involved with the NVDIMM and Device-DAX > sub-systems. > > The

Re: [PATCH] MAINTAINERS: Update filesystem-dax and NVDIMM entries

2019-01-24 Thread Ross Zwisler
On Thu, Jan 24, 2019 at 3:13 PM Keith Busch wrote: > On Thu, Jan 24, 2019 at 11:17:59AM -0800, Dan Williams wrote: > > Ross has moved on to other areas. > > > > Matthew and Jan are trusted reviewers for DAX. > > > > Dan is now coordinating filesystem-dax pull requests. > > > > Ira and Keith are no

Re: [PATCH] MAINTAINERS: Update filesystem-dax and NVDIMM entries

2019-01-24 Thread Keith Busch
On Thu, Jan 24, 2019 at 11:17:59AM -0800, Dan Williams wrote: > Ross has moved on to other areas. > > Matthew and Jan are trusted reviewers for DAX. > > Dan is now coordinating filesystem-dax pull requests. > > Ira and Keith are now involved with the NVDIMM and Device-DAX > sub-systems. > > The

Re: [PATCH] drm/nouveau/bios/dp: make array vsoff static, shrinks object size

2019-01-24 Thread Ben Skeggs
On Fri, Jan 25, 2019 at 3:26 AM Colin Ian King wrote: > > ping? I've pushed this, and the others you pinged about, to my tree. Thank you, Ben. > > On 04/09/2018 16:23, Colin King wrote: > > From: Colin Ian King > > > > Don't populate the array vsoff on the stack but instead make it > > static.

Re: [PATCH v2] HID: intel-ish-hid: Switch to use new generic UUID API

2019-01-24 Thread Jiri Kosina
On Thu, 24 Jan 2019, Andy Shevchenko wrote: > There are new types and helpers that are supposed to be used in new code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Christoph Hellwig > Acked-by: Sr

Re: [PATCH] selinux: avc: mark avc node as not a leak

2019-01-24 Thread Prateek Patel
On 1/9/2019 5:01 PM, Catalin Marinas wrote: Hi Prateek, On Wed, Jan 09, 2019 at 02:09:22PM +0530, Prateek Patel wrote: From: Sri Krishna chowdary kmemleak detects allocated objects as leaks if not accessed for default scan time. The memory allocated using avc_alloc_node is freed using rcu m

[PATCH 2/2] locking/memory-barriers/kokr: Update Korean translation to replace smp_cond_acquire() with smp_cond_load_acquire()

2019-01-24 Thread SeongJae Park
Transalte this commit to Korean: 2f359c7ea554 ("locking/memory-barriers: Replace smp_cond_acquire() with smp_cond_load_acquire()") Signed-off-by: SeongJae Park Reviewed-by: Yunjae Lee --- Documentation/translations/ko_KR/memory-barriers.txt | 6 ++ 1 file changed, 2 insertions(+), 4 del

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-24 Thread Jacek Anaszewski
Dan On 1/24/19 10:00 PM, Dan Murphy wrote: Jacek On 1/23/19 3:52 PM, Jacek Anaszewski wrote: Dan, On 1/22/19 11:44 PM, Dan Murphy wrote: Jacek On 1/22/19 3:39 PM, Jacek Anaszewski wrote: Hi all, On 1/20/19 7:42 AM, Vesa Jääskeläinen wrote: Hi Dan, On 18/01/2019 15.58, Dan Murphy wrote:

[PATCH 0/2] Korean translation of memory-barriers.txt update

2019-01-24 Thread SeongJae Park
This patchset updates the Korean translation of memory-barriers.txt to follow latest changes. It has been reviewed by my one Korean colleague. SeongJae Park (2): sched/Documentation/kokr: Update Korean translation to update wake_up() & co. memory-barrier guarantees locking/memory-barriers

[PATCH 1/2] sched/Documentation/kokr: Update Korean translation to update wake_up() & co. memory-barrier guarantees

2019-01-24 Thread SeongJae Park
Translate this commit to Korean: 7696f9910a9a ("sched/Documentation: Update wake_up() & co. memory-barrier guarantees") Signed-off-by: SeongJae Park Reviewed-by: Yunjae Lee --- .../translations/ko_KR/memory-barriers.txt | 43 +- 1 file changed, 26 insertions(+),

[git pull] drm fixes for 5.0-rc4

2019-01-24 Thread Dave Airlie
Hi Linus, Live from LCA pull, some fixes all over the place, i915: - GVT workload destruction fix msm: - A6XX opp-level fix, build fixes, hard-coded irq removal amdgpu: - overclocking fix - hybrid gfx fix sun4i: - fix TMDS clock usage Dave. drm-fixes-2019-01-25-1: drm fixes. msm, sun4i, amdg

Re: [PATCH v5 6/6] drm: remove drmP.h from drm_modeset_helper.h

2019-01-24 Thread Sam Ravnborg
Hi Sean/Hans. > > Hans de Goede sent out patches in September to convert it to a proper > > atomic driver. > > I recall that the feedback was mostly positive and that there was only > > minor things to left to do. Hans? I browsed the archieves and I could not find anything that was not addressed,

[PATCH v9 2/2] drm/panel: Add Sitronix ST7701 panel driver

2019-01-24 Thread Jagan Teki
ST7701 designed for small and medium sizes of TFT LCD display, is capable of supporting up to 480RGBX864 in resolution. It provides several system interfaces like MIPI/RGB/SPI. Currently added support for Techstar TS8550B which is ST7701 based 480x854, 2-lane MIPI DSI LCD panel. Driver now regist

[PATCH v9 1/2] dt-bindings: panel: Add Sitronix ST7701 panel documentation

2019-01-24 Thread Jagan Teki
Techstar TS8550B MIPI DSI panel is 480x854, 2-lane MIPI DSI LCD panel with inbuilt ST7701 chip. The default regulator names in ST7701 chip is renamed in Techstar TS8550B so, add specific binding names for them. Signed-off-by: Jagan Teki Reviewed-by: Rob Herring --- Changes for v8, v9: - none Ch

[PATCH v2] kvm: x86/vmx: Use kzalloc for cached_vmcs12

2019-01-24 Thread Tom Roeder
This changes the allocation of cached_vmcs12 to use kzalloc instead of kmalloc. This removes the information leak found by Syzkaller (see Reported-by) in this case and prevents similar leaks from happening based on cached_vmcs12. It also changes vmx_get_nested_state to copy out the full 4k VMCS12_

[PATCH v2] usbip: Fix vhci_urb_enqueue() URB null transfer buffer error path

2019-01-24 Thread Shuah Khan
Fix vhci_urb_enqueue() to print debug msg and return error instead of failing with BUG_ON. Signed-off-by: Shuah Khan --- drivers/usb/usbip/vhci_hcd.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index 1e592e

Re: [RFC PATCH] kvm: x86/vmx: Use kzalloc for cached_vmcs12

2019-01-24 Thread Tom Roeder
On Thu, Jan 24, 2019 at 02:18:26AM +0100, Paolo Bonzini wrote: > On 23/01/19 19:33, Tom Roeder wrote: > > > > Even in vmx_set_nested_state, there are about 30 lines of code in > > between enter_vmx_operation and copy_from_user, and there are a couple > > of cases that cause vmx_set_nested_state to

[PATCH] device-dax: Auto-bind device after successful new_id

2019-01-24 Thread Dan Williams
The typical 'new_id' attribute behavior is to immediately attach a device to its driver after a new device-id is added. Implement this behavior for the dax bus. Reported-by: Alexander Duyck Cc: Dave Hansen Signed-off-by: Dan Williams --- drivers/dax/bus.c |5 - 1 file changed, 4 insert

Re: [PATCH v8 00/26] Ingenic TCU patchset v8

2019-01-24 Thread Paul Cercueil
Hi Mathieu, Le jeu. 24 janv. 2019 à 18:26, Mathieu Malaterre a écrit : Paul, On Wed, Dec 12, 2018 at 11:09 PM Paul Cercueil wrote: Hi, Here's the version 8 and hopefully final version of my patchset, which adds support for the Timer/Counter Unit found in JZ47xx SoCs from Ingenic.

[PATCH] iio: adc: ad7476: Add support for ADS786X ADCs

2019-01-24 Thread Ricardo Ribalda Delgado
Add support for ADS7866, ADS7867 and ADS7868 8/10/12 bit Single channel ADC. Datasheet: http://www.ti.com/product/ADS7866 Datasheet: http://www.ti.com/product/ADS7867 Datasheet: http://www.ti.com/product/ADS7868 Signed-off-by: Ricardo Ribalda Delgado --- drivers/iio/adc/Kconfig | 3 ++- drive

Re: [for next][PATCH v3 1/2] platform/x86: Fix unmet dependency warning for ACPI_CMPC

2019-01-24 Thread Andy Shevchenko
On Thu, Jan 24, 2019 at 9:31 PM Sinan Kaya wrote: > > Add BACKLIGHT_LCD_SUPPORT for ACPI_CMPC to fix the > warning: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE. > > ACPI_CMPC selects BACKLIGHT_CLASS_DEVICE but BACKLIGHT_CLASS_DEVICE > depends on BACKLIGHT_LCD_SUPPORT. > > Copy BA

[PATCH] iio:dac:ti-dac7612: Add driver for Texas Instruments DAC7612

2019-01-24 Thread Ricardo Ribalda Delgado
It is a driver for Texas Instruments Dual, 12-Bit Serial Input Digital-to-Analog Converter. Datasheet of this chip: http://www.ti.com/lit/ds/sbas106/sbas106.pdf Signed-off-by: Ricardo Ribalda Delgado --- MAINTAINERS | 6 ++ drivers/iio/dac/Kconfig | 10 +++ drivers/iio/

Re: [PATCH V2 1/4] i2c: tegra: Sort all the include headers alphabetically

2019-01-24 Thread Dmitry Osipenko
24.01.2019 23:51, Sowjanya Komatineni пишет: > This patch sorts all the include headers alphabetically for the > I2C tegra driver > > Signed-off-by: Sowjanya Komatineni > --- > [V2] : Added this in V2 to sort the headers in tegra I2C > > drivers/i2c/busses/i2c-tegra.c | 21 ++--

Re: [PATCH v1] ras: Use consistent types for UUIDs

2019-01-24 Thread Borislav Petkov
On Thu, Jan 24, 2019 at 10:57:52PM +0200, Andy Shevchenko wrote: > Rafael, since you handled ACPI/APEI stuff for this cycle, perhaps you can take > this one as well since for half a year there is no response from maintainers? Can you send me the patch again pls, ontop of tip:ras/core: https://git

Re: [PATCH v8 00/26] Ingenic TCU patchset v8

2019-01-24 Thread Mathieu Malaterre
Paul, On Wed, Dec 12, 2018 at 11:09 PM Paul Cercueil wrote: > > Hi, > > Here's the version 8 and hopefully final version of my patchset, which > adds support for the Timer/Counter Unit found in JZ47xx SoCs from > Ingenic. I can no longer boot my MIPS Creator CI20 with this series (merged opendin

Re: [f2fs-dev] [PATCH] fscrypt: remove filesystem specific build config option

2019-01-24 Thread Theodore Y. Ts'o
On Thu, Jan 24, 2019 at 10:29:50AM -0800, Eric Biggers wrote: > > Hi Ted, that sounds good to me. I assume you know how to get that set up? > Also, should I go ahead and send a patch that adds myself to the MAINTAINERS > file? I have the request to the git.kernel.org folks and the edits to the M

Re: [PATCH 2/2] mm: Extract memcg maxable seq_file logic to seq_show_memcg_tunable

2019-01-24 Thread Johannes Weiner
On Thu, Jan 24, 2019 at 02:41:00PM -0500, Chris Down wrote: > memcg has a significant number of files exposed to kernfs where their > value is either exposed directly or is "max" in the case of > PAGE_COUNTER_MAX. > > This patch makes this generic by providing a single function to do this > work.

Re: [PATCH v1] ras: Use consistent types for UUIDs

2019-01-24 Thread Thomas Tai
On 1/9/19 11:07 AM, Andy Shevchenko wrote: On Fri, Oct 05, 2018 at 09:33:05AM +0200, Christoph Hellwig wrote: On Fri, Jul 13, 2018 at 04:10:27PM +0300, Andy Shevchenko wrote: The commit 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized CPER section") brought incons

[PATCH v3 4/5] psi: rename psi fields in preparation for psi trigger addition

2019-01-24 Thread Suren Baghdasaryan
Renaming psi_group structure member fields used for calculating psi totals and averages for clear distinction between them and trigger-related fields that will be added next. Signed-off-by: Suren Baghdasaryan --- include/linux/psi_types.h | 15 --- kernel/sched/psi.c| 26

[PATCH v3 0/5] psi: pressure stall monitors v3

2019-01-24 Thread Suren Baghdasaryan
This is respin of: https://lwn.net/ml/linux-kernel/20190110220718.261134-1-sur...@google.com/ Android is adopting psi to detect and remedy memory pressure that results in stuttering and decreased responsiveness on mobile devices. Psi gives us the stall information, but because we're dealing wit

[PATCH v3 3/5] psi: introduce state_mask to represent stalled psi states

2019-01-24 Thread Suren Baghdasaryan
The psi monitoring patches will need to determine the same states as record_times(). To avoid calculating them twice, maintain a state mask that can be consulted cheaply. Do this in a separate patch to keep the churn in the main feature patch at a minimum. This adds 4-byte state_mask member into ps

[PATCH v3 2/5] kernel: cgroup: add poll file operation

2019-01-24 Thread Suren Baghdasaryan
From: Johannes Weiner Cgroup has a standardized poll/notification mechanism for waking all pollers on all fds when a filesystem node changes. To allow polling for custom events, add a .poll callback that can override the default. This is in preparation for pollable cgroup pressure files which ha

[PATCH v3 5/5] psi: introduce psi monitor

2019-01-24 Thread Suren Baghdasaryan
Psi monitor aims to provide a low-latency short-term pressure detection mechanism configurable by users. It allows users to monitor psi metrics growth and trigger events whenever a metric raises above user-defined threshold within user-defined time window. Time window and threshold are both expres

[PATCH v3 1/5] fs: kernfs: add poll file operation

2019-01-24 Thread Suren Baghdasaryan
From: Johannes Weiner Kernfs has a standardized poll/notification mechanism for waking all pollers on all fds when a filesystem node changes. To allow polling for custom events, add a .poll callback that can override the default. This is in preparation for pollable cgroup pressure files which ha

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-24 Thread Jacek Anaszewski
Dan, On 1/24/19 9:32 PM, Dan Murphy wrote: Jacek Replying to code comments. On 1/15/19 3:47 PM, Jacek Anaszewski wrote: Hi Da, Thank you for the v2. I will probably submit v3 outside the realm of the multi color framework. We can always convert as Pavel pointed out. I have some remarks

Re: [PATCH v9 1/2] clk: Add comment about __of_clk_get_by_name() error values

2019-01-24 Thread Andy Shevchenko
On Wed, Jan 16, 2019 at 03:18:42PM +, Phil Edworthy wrote: > Hi, > > Any other comments on this patch and patch 2/2 > (https://lkml.org/lkml/2018/12/3/326)? Was on vacations, sorry. > > > I would start new sentence from new line (this will emphasize the > > > possible > > > variants) > > >

Re: [PATCH 1/2] mm: Create mem_cgroup_from_seq

2019-01-24 Thread Johannes Weiner
On Thu, Jan 24, 2019 at 02:40:50PM -0500, Chris Down wrote: > This is the start of a series of patches similar to my earlier > DEFINE_MEMCG_MAX_OR_VAL work, but with less Macro Magic(tm). > > There are a bunch of places we go from seq_file to mem_cgroup, which > currently requires manually getting

Re: [PATCH v2 2/2] leds: lp50xx: Add the LP50XX family of the RGB LED driver

2019-01-24 Thread Dan Murphy
Jacek On 1/23/19 3:52 PM, Jacek Anaszewski wrote: > Dan, > > On 1/22/19 11:44 PM, Dan Murphy wrote: >> Jacek >> >> On 1/22/19 3:39 PM, Jacek Anaszewski wrote: >>> Hi all, >>> >>> On 1/20/19 7:42 AM, Vesa Jääskeläinen wrote: Hi Dan, On 18/01/2019 15.58, Dan Murphy wrote: > Jacek

Re: [RFC] Provide in-kernel headers for making it easy to extend the kernel

2019-01-24 Thread Joel Fernandes
On Thu, Jan 24, 2019 at 07:57:26PM +0100, Karim Yaghmour wrote: > > On 1/23/19 11:37 PM, Daniel Colascione wrote: [..] > > > Personally I advocated a more aggressive approach with Joel in private: > > > just put the darn headers straight into the kernel image, it's the > > > *only* artifact we're

Re: [PATCH v2 -next] rcu: rcu_qs -- Use raise_softirq_irqoff to not save irqs twice

2019-01-24 Thread Paul E. McKenney
On Thu, Jan 24, 2019 at 09:14:37PM +0300, Cyrill Gorcunov wrote: > The rcu_qs is disabling IRQs by self so no need to do the same in > raise_softirq > but instead we can save some cycles using raise_softirq_irqoff directly. > > CC: Paul E. McKenney > Signed-off-by: Cyrill Gorcunov Good eyes, g

Re: [PATCH v1] ras: Use consistent types for UUIDs

2019-01-24 Thread Andy Shevchenko
On Fri, Oct 05, 2018 at 09:33:05AM +0200, Christoph Hellwig wrote: > On Fri, Jul 13, 2018 at 04:10:27PM +0300, Andy Shevchenko wrote: > > The commit > > > > 297b64c74385 ("ras: acpi / apei: generate trace event for unrecognized > > CPER section") > > > > brought inconsistency in UUID types whi

[PATCH trivial] kernel.h: Make container_of_safe type safe

2019-01-24 Thread Jason Gunthorpe
The final ternary expression is given void * and type * as arguments, so the resulting type of the macro ends up being void *. container_of returns a type which maches the argument, this provides type safety and allows the expression to be immediately used as the target type. Explicitly cast ERR_

Re: rcutorture: meaning of "End of test: RCU_HOTPLUG"

2019-01-24 Thread Paul E. McKenney
On Thu, Jan 24, 2019 at 03:00:37PM +0800, Su Yue wrote: > On 1/23/19 11:22 AM, Paul E. McKenney wrote: > >On Tue, Jan 22, 2019 at 04:42:19PM +0800, Su Yue wrote: > >>Thanks for your quick reply! Paul > >> > >>On 1/22/19 12:01 PM, Paul E. McKenney wrote: > >>>On Tue, Jan 22, 2019 at 11:40:53AM +0800

Re: [PATCH 0/3] serdev support for n_gsm

2019-01-24 Thread Tony Lindgren
Hi, * Johan Hovold [190124 16:39]: > This series adds a new interface (gsm_serdev) but no users, which is not > something we normally accept. I think you need to post the lot, at least > as an RFC in order for the full picture to be visible. Sure I can post them all as RFC series maybe this comi

[PATCH V2 2/4] i2c: tegra: Update I2C transfer using buffer

2019-01-24 Thread Sowjanya Komatineni
This patch prepares the buffer with the message bytes to be transmitted along with the packet header information and then performs i2c transfer in PIO mode. Signed-off-by: Sowjanya Komatineni --- [V2] : DMA support changes include preparing buffer with message bytes and and header before

[PATCH V2 4/4] i2c: tegra: Update transfer timeout

2019-01-24 Thread Sowjanya Komatineni
Update I2C transfer timeout based on transfer bytes and I2C bus rate to allow enough time during max transfer size based on the speed. Signed-off-by: Sowjanya Komatineni --- [V2] : Added this patch in V2 series to allow enough time for data transfer to happen. This patch has depe

[PATCH V2 3/4] i2c: tegra: Add DMA Support

2019-01-24 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's an

[PATCH V2 1/4] i2c: tegra: Sort all the include headers alphabetically

2019-01-24 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C tegra driver Signed-off-by: Sowjanya Komatineni --- [V2] : Added this in V2 to sort the headers in tegra I2C drivers/i2c/busses/i2c-tegra.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --

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