Re: [PATCH 3/3] drm/amdgpu: Switch to interrupted wait to recover from ring hang.

2018-04-26 Thread Andrey Grodzovsky
On 04/25/2018 04:55 PM, Eric W. Biederman wrote: Andrey Grodzovsky writes: On 04/24/2018 12:30 PM, Eric W. Biederman wrote: "Panariti, David" writes: Andrey Grodzovsky writes: Kind of dma_fence_wait_killable, except that we don't have such API (maybe worth adding ?) Depends on how man

Re: [RFC v2 1/2] virtio: add pmem driver

2018-04-26 Thread Jeff Moyer
Dan Williams writes: > [ adding Jeff directly since he has also been looking at > infrastructure to track when MAP_SYNC should be disabled ] > > On Wed, Apr 25, 2018 at 7:21 AM, Dan Williams > wrote: >> On Wed, Apr 25, 2018 at 4:24 AM, Pankaj Gupta wrote: >>> This patch adds virtio-pmem driver

Re: [PATCH v5 3/3] pinctrl: bcm2835: Add support for output-low output-high properties

2018-04-26 Thread Linus Walleij
On Wed, Apr 11, 2018 at 6:58 AM, Matheus Castello wrote: > Properties to set initial value of pin output buffer. > This can be useful for configure hardware in overlay files, and in early boot > for checking it states in QA sanity tests. > > Signed-off-by: Matheus Castello Will apply this when

Re: [PATCH v5 2/3] pinctrl: bcm2835: Add support for generic pinctrl binding

2018-04-26 Thread Linus Walleij
On Wed, Apr 11, 2018 at 6:58 AM, Matheus Castello wrote: > To keep driver up to date we add generic pinctrl binding support, which covers > the features used in this driver and has additional node properties that this > SoC has compatibility, so enabling future implementations of these properties

Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in gfp_kmemleak_mask

2018-04-26 Thread Chunyu Hu
- Original Message - > From: "Michal Hocko" > To: "Chunyu Hu" > Cc: "Chunyu Hu" , "Dmitry Vyukov" > , "Catalin Marinas" > , "LKML" , "Linux-MM" > > Sent: Wednesday, April 25, 2018 1:02:39 AM > Subject: Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in > gfp_kmemleak_mask

Re: [PATCH v5 1/3] dt-bindings: pinctrl: bcm2835-gpio: Add generic pinctrl support

2018-04-26 Thread Linus Walleij
On Wed, Apr 11, 2018 at 6:58 AM, Matheus Castello wrote: > Added generic pin configuration and multiplexing support, > and should be preferred than brcm legacy one. > > Signed-off-by: Matheus Castello Patch applied with Eric's and Rob's ACKs. Yours, Linus Walleij

Re: [PATCH v2 0/6] HID: input cleanups and mt additions

2018-04-26 Thread Jiri Kosina
On Tue, 24 Apr 2018, Benjamin Tissoires wrote: > following the thread about the 'not incrementing ABS_MISC', here is the > actual submission of the series. Thanks Benjamin, this looks nice. I've queued it for 4.18. -- Jiri Kosina SUSE Labs

Re: [PATCH] x86/mm: vmemmap and vmalloc base addressess are usngined longs

2018-04-26 Thread Jiri Kosina
On Mon, 16 Apr 2018, Kirill A. Shutemov wrote: > > > > Commits 9b46a051e4 ("x86/mm: Initialize vmemmap_base at boot-time") and > > > > a7412546d8 ("x86/mm: Adjust vmalloc base and size at boot-time") lost > > > > the > > > > type information for __VMALLOC_BASE_L4, __VMALLOC_BASE_L5, > > > > __

Re: [PATCH] drm/core: Remove drm_dev_unref() and it's uses

2018-04-26 Thread Boris Brezillon
On Thu, 26 Apr 2018 15:58:19 +0530 Vaishali Thakkar wrote: > It's been a while since we introduced drm_dev{get/put} functions > to replace reference/unreference in drm subsystem for the > consistency purpose. So, with this patch, let's just replace > all current use cases of drm_dev_unref() with

drivers/platform/x86/dell-smbios-smm.c:99: undefined reference to `dcdbas_smi_request'

2018-04-26 Thread kbuild test robot
Hi Mario, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 69bfd470f4623d2d57ad62cb33791cded0c662f4 commit: 25d47027e1003546bfd8964b4423cb39bc2d53e9 platform/x86: dell-smbios: Link all dell-smbios-* modules together

Re: [PATCH v2] gpiolib: add hogs support for machine code

2018-04-26 Thread Linus Walleij
On Thu, Apr 12, 2018 at 10:00 PM, Christian Lamparter wrote: > The problem is that unlike native gpio-controllers, pinctrls need > to have a "pin/gpio range" defined before any gpio-hogs can be added. Indeed. But the primary use case (correct me if I am wrong Bartosz) is to clean up old boardfil

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Takashi Iwai
ly to sound/for-next asoc/for-next arm-soc/for-next > > next-20180426] > > [if your patch is applied to the wrong git tree, please drop us a note to > > help improve the system] > > > > url: > > https://github.com/0day-ci/linux/commits/Baolin-Wang/Fix-year-2

[PATCH v4 2/5] efi: Add embedded peripheral firmware support

2018-04-26 Thread Hans de Goede
Just like with PCI options ROMs, which we save in the setup_efi_pci* functions from arch/x86/boot/compressed/eboot.c, the EFI code / ROM itself sometimes may contain data which is useful/necessary for peripheral drivers to have access to. Specifically the EFI code may contain an embedded copy of f

[PATCH v4 4/5] platform/x86: touchscreen_dmi: Add EFI embedded firmware info support

2018-04-26 Thread Hans de Goede
Sofar we have been unable to get permission from the vendors to put the firmware for touchscreens listed in touchscreen_dmi in linux-firmware. Some of the tablets with such a touchscreen have a touchscreen driver, and thus a copy of the firmware, as part of their EFI code. This commit adds the ne

[PATCH v4 5/5] platform/x86: touchscreen_dmi: Add info for the Chuwi Vi8 Plus tablet

2018-04-26 Thread Hans de Goede
Add touchscreen info for the Chuwi Vi8 Plus tablet. This tablet uses a Chipone ICN8505 touchscreen controller, with the firmware used by the touchscreen embedded in the EFI firmware. Acked-by: Andy Shevchenko Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 25 +

[PATCH v4 1/5] efi: Export boot-services code and data as debugfs-blobs

2018-04-26 Thread Hans de Goede
Sometimes it is useful to be able to dump the efi boot-services code and data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi, but only if efi=debug is passed on the kernel-commandline as this requires not freeing those memory-regions, which costs 20+ MB of RAM. Reviewed-by: Greg

Re: [PATCH v2] gpiolib: add hogs support for machine code

2018-04-26 Thread Linus Walleij
On Tue, Apr 10, 2018 at 10:30 PM, Bartosz Golaszewski wrote: > Board files constitute a significant part of the users of the legacy > GPIO framework. In many cases they only export a line and set its > desired value. We could use GPIO hogs for that like we do for DT and > ACPI but there's no supp

[PATCH v4 3/5] platform/x86: Rename silead_dmi to touchscreen_dmi

2018-04-26 Thread Hans de Goede
Not only silead touchscreens need some extra info not available in the ACPI tables to work properly. X86 devices with a Chipone ICN8505 chip also need some DMI based extra configuration. There is no reason to have separate dmi config code per touchscreen controller vendor. This commit renames sile

Re: [PATCH] drm/core: Remove drm_dev_unref() and it's uses

2018-04-26 Thread Thierry Reding
On Thu, Apr 26, 2018 at 03:58:19PM +0530, Vaishali Thakkar wrote: > It's been a while since we introduced drm_dev{get/put} functions > to replace reference/unreference in drm subsystem for the > consistency purpose. So, with this patch, let's just replace > all current use cases of drm_dev_unref()

[PATCH v4 0/5] efi/firmware/platform-x86: Add EFI embedded fw support

2018-04-26 Thread Hans de Goede
Hi All, Here is v4 of my patch-set to add support for EFI embedded fw to the kernel. Changes since v3: -Drop note in docs about EFI_FIRMWARE_VOLUME_PROTOCOL, it is not part of UEFI proper, so the EFI maintainers don't want us referring people to it -Use new EFI_BOOT_SERVICES flag -Put the new fw

Re: [PATCH v6 02/24] soc: qcom: Add APR bus driver

2018-04-26 Thread Srinivas Kandagatla
On 26/04/18 12:39, Mark Brown wrote: On Thu, Apr 26, 2018 at 10:45:44AM +0100, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed

net/core/dev.c:1588:2-3: Unneeded semicolon

2018-04-26 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 69bfd470f4623d2d57ad62cb33791cded0c662f4 commit: ede2762d93ff16e0974f7446516b46b1022db213 net: Make NETDEV_XXX commands enum { } date: 4 weeks ago coccinelle warnings: (new ones prefixed by >>) >> net/c

Re: [PATCH] connector: add parent pid and tgid to coredump and exit events

2018-04-26 Thread Stefan Strogin
Hi David, Evgeniy, Sorry to bother you, but could you please comment about the UAPI change and the patch? Thanks, Jesper. -- Stefan On 05/04/18 12:07, Jesper Derehag wrote: > Unless David comes back with something I have (also) missed regarding uapi > breakage, this looks good to me. > > /Je

Re: [PATCH v4 2/2] media: Add a driver for the ov7251 camera sensor

2018-04-26 Thread Sakari Ailus
On Thu, Apr 26, 2018 at 10:16:56AM +0300, Sakari Ailus wrote: > On Thu, Apr 26, 2018 at 10:04:25AM +0300, Todor Tomov wrote: > > Hi Sakari, > > > > On 26.04.2018 09:50, Sakari Ailus wrote: > > > Hi Todor, > > > > > > On Wed, Apr 25, 2018 at 07:20:46PM +0300, Todor Tomov wrote: > > > ... > > >> +s

[PATCH 02/18] thermal: exynos: always check for trips points existence

2018-04-26 Thread Bartlomiej Zolnierkiewicz
* Check for trip points existence in exynos_tmu_initialize() so it is checked on all SoCs. * Use dev_err() instead of pr_err(). * Fix dev_err() to reference "device tree" not "of-thermal.c". * Remove no longer needed checks from exynos4210_tmu_initialize() and get_th_reg(). Signed-off-by: B

Re: [PATCH v3 5/5] pinctrl: sunxi: Use of_clk_get_parent_count() instead of open coding

2018-04-26 Thread Linus Walleij
On Wed, Apr 18, 2018 at 4:50 PM, Geert Uytterhoeven wrote: > A new open coder has crept in since 470b73a38470e8ba ("pinctrl: sunxi: > Use of_clk_get_parent_count() instead of open coding"), replace it. > > of_clk_get_parent_count() was moved to , so include that > instead of . > > Signed-off-by:

[PATCH 05/18] thermal: exynos: use sanitize_temp_error() in exynos7_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Fix sanitize_temp_error() to handle Exynos7 SoCs and then use it in exynos7_tmu_initialize(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 13 ++--- 1 file changed, 6 insertions(+), 7 dele

[PATCH 01/18] thermal: exynos: fix setting rising_threshold for Exynos5433

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Add missing clearing of the previous value when setting rising temperature threshold. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/samsung/exynos_tmu.c

[PATCH 06/18] thermal: exynos: fix trips limit checking in get_th_reg()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
of_thermal_get_ntrips() may return value bigger than supported by a given SoC (i.e. on Exynos5422/5800) so fix the code to not iterate the loop for i values >= data->ntrip. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/s

[PATCH 07/18] thermal: exynos: remove threshold_code checking from exynos4210_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
On Exynos4210 one-point trimming is always used and data->temp_error1 is equal to 75. Therefore temp_to_code() will never return negative value for the reference temperature conversion. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- driv

Re: [PATCH v3] report correct CPU/cache topology

2018-04-26 Thread Thomas Gleixner
On Thu, 26 Apr 2018, David Wang wrote: > Centaur CPUs enumerate the cache topology in the same way as Intel CPUs, > but the function is unused so far. > The Centaur init code also misses to initialize x86_info::max_cores, so > the CPU topology can't be described correctly. > > Initialize x86_in

Re: [PATCH v2 2/5] ARM: timer-sp: Use of_clk_get_parent_count() instead of open coding

2018-04-26 Thread Linus Walleij
On Tue, Apr 10, 2018 at 2:51 PM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > This depends on "[PATCH v2 1/5] clk: Extract OF clock helpers in > ". > > v2: > - of_clk_get_parent_count() was moved to , > - Dropped RFC, as a dummy is now available in the !CONFIG_COMMON

[PATCH RESEND] firmware: qcom: scm: Fix crash in qcom_scm_call_atomic1()

2018-04-26 Thread Niklas Cassel
qcom_scm_call_atomic1() can crash with a NULL pointer dereference at qcom_scm_call_atomic1+0x30/0x48. disassembly of qcom_scm_call_atomic1(): ... <0xc08d73b0 <+12>: ldr r3, [r12] ... (no instruction explicitly modifies r12) 0xc08d73cc <+40>: smc 0 ... (no instruction explicitly modifies r12) 0xc08

[PATCH 08/18] thermal: exynos: make ->tmu_initialize method void

2018-04-26 Thread Bartlomiej Zolnierkiewicz
All implementations of ->tmu_initialize always return 0 so make the method void and convert all implementations accordingly. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 28 ++-

[PATCH 14/18] thermal: exynos: move trips setting to exynos_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
* Add dummy exynos4210_tmu_set_trip_hyst() helper. * Add ->tmu_set_trip_temp and ->tmu_set_trip_hyst methods to struct exynos_tmu_data and set them in exynos_map_dt_data(). * Move trips setting to exynos_tmu_initialize(). There should be no functional changes caused by this patch. Signed-off-

[PATCH 10/18] thermal: exynos: move IRQs clearing to exynos_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Move ->tmu_clear_irqs call from ->tmu_initialize method to exynos_tmu_initialize(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) d

[PATCH 11/18] thermal: exynos: add exynos*_tmu_set_[trip,hyst]() helpers

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Add exynos*_tmu_set_[trip,hyst]() helpers and convert all ->tmu_initialize implementations accordingly. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 282 +-- 1 file changed, 140 insertions(+), 142 deletions(-) diff --git a/d

[PATCH 16/18] thermal: exynos: cleanup code for enabling threshold interrupts

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Cleanup code for enabling threshold interrupts in ->tmu_control method implementations. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 101 --- 1 file changed, 34 ins

Applied "ASoC: mediatek: use snd_soc_dai_get_drvdata() to get the private data" to the asoc tree

2018-04-26 Thread Mark Brown
The patch ASoC: mediatek: use snd_soc_dai_get_drvdata() to get the private data has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "spi/bcm63xx-hspi: Enable the clock before calling clk_get_rate()." to the spi tree

2018-04-26 Thread Mark Brown
The patch spi/bcm63xx-hspi: Enable the clock before calling clk_get_rate(). has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Re: [PATCH] sched/fair: schedutil: update only with all info available

2018-04-26 Thread Peter Zijlstra
On Thu, Apr 26, 2018 at 12:15:33PM +0100, Patrick Bellasi wrote: > > Yes, these patches predate those, but indeed, now that we age the > > blocked load consistently it should no longer be required. > > After this discussion, I think there is a general consensus about > always add sg_cpu->util_cfs

[PATCH 12/18] thermal: exynos: do not use trips structure directly in ->tmu_initialize

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Use ->get_trip_[temp,hyst] methods instead of using trips structure directly in all ->tmu_initialize method implementations. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 18 -- 1 f

[PATCH 13/18] thermal: exynos: set trips in ascending order in exynos7_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Set trips in ascending order in exynos7_tmu_initialize() (it should make no difference in driver operation). This prepares the driver code to moving trips setting from ->tmu_initialize method to exynos_tmu_initialize(). Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_

[PATCH 15/18] thermal: exynos: check return values of ->get_trip_[temp,hyst] methods

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Check return values of ->get_trip_[temp,hyst] methods in exynos_tmu_initialize(). Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/therm

[PATCH 17/18] thermal: exynos: remove unused defines for Exynos5433

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Remove unused defines for Exynos5433. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/thermal/samsung/exynos_tmu.c b/drivers/thermal/sam

[PATCH 18/18] thermal: exynos: remove trip reporting to user-space

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Remove trip reporting to user-space - I'm not aware of any user-space program which relies on it and there is a thermal user-space governor which does it in proper way nowadays. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 30 ++

[PATCH 03/18] thermal: exynos: always check for critical trip points existence

2018-04-26 Thread Bartlomiej Zolnierkiewicz
* Check for critical trip point existence in exynos_tmu_initialize() so it is checked on all SoCs (except Exynos5433 for now). * Use dev_err() instead of pr_err(). * Fix dev_err() to reference "device tree" not "of-thermal.c". * Remove no longer needed check from exynos4412_tmu_initialize().

[PATCH 09/18] thermal: exynos: clear IRQs later in exynos4412_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Clear IRQs after enabling thermal tripping (it should make no difference in driver operation). This prepares the driver code to moving IRQs clearing call from ->tmu_initialize method to exynos_tmu_initialize(). Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 4

[PATCH 00/18] thermal: exynos: further fixes and cleanups

2018-04-26 Thread Bartlomiej Zolnierkiewicz
Hi, This patchset contains Exynos thermal driver fixes and cleanups. Highlights: * Move code valid for all SoCs from ->tmu_initialize method to exynos_tmu_initialize(). * Add ->set_trip_[temp,hyst] methods and convert ->tmu_initialize method implementations to use them. * Remove bogus trip re

[PATCH 04/18] thermal: exynos: check STATUS register in exynos_tmu_initialize()

2018-04-26 Thread Bartlomiej Zolnierkiewicz
STATUS register is present on all SoCs so move its checking into exynos_tmu_initialize(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/thermal/samsung/exynos_tmu.c | 45 +++- 1 file changed, 13 i

Re: linux-next: manual merge of the wireless-drivers-next tree with the wireless-drivers tree

2018-04-26 Thread Luciano Coelho
On Thu, 2018-04-26 at 13:33 +0300, Kalle Valo wrote: > Luciano Coelho writes: > > > On Thu, 2018-04-26 at 11:09 +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > Today's linux-next merge of the wireless-drivers-next tree got a > > > conflict in: > > > > > > drivers/net/wireless/intel/i

Re: WARNING: kobject bug in br_add_if

2018-04-26 Thread Nikolay Aleksandrov
On 26/04/18 14:49, Nikolay Aleksandrov wrote: On 26/04/18 13:37, Hangbin Liu wrote: On Thu, Apr 26, 2018 at 10:04:16AM +0200, Dmitry Vyukov wrote: On Thu, Apr 26, 2018 at 8:13 AM, Hangbin Liu wrote: On Wed, Apr 11, 2018 at 05:18:23PM +0200, Dmitry Vyukov wrote: On Wed, Apr 11, 2018 at 5:15 P

Applied "ASoC: msm8916-wcd-analog: use threaded context for mbhc events" to the asoc tree

2018-04-26 Thread Mark Brown
The patch ASoC: msm8916-wcd-analog: use threaded context for mbhc events has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "ASoC: mediatek: use snd_soc_dai_get_drvdata() to get the private data" to the asoc tree

2018-04-26 Thread Mark Brown
The patch ASoC: mediatek: use snd_soc_dai_get_drvdata() to get the private data has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Re: WARNING: kobject bug in br_add_if

2018-04-26 Thread Nikolay Aleksandrov
On 26/04/18 13:37, Hangbin Liu wrote: On Thu, Apr 26, 2018 at 10:04:16AM +0200, Dmitry Vyukov wrote: On Thu, Apr 26, 2018 at 8:13 AM, Hangbin Liu wrote: On Wed, Apr 11, 2018 at 05:18:23PM +0200, Dmitry Vyukov wrote: On Wed, Apr 11, 2018 at 5:15 PM, syzbot wrote: kobject_add_internal failed

Re: [PATCH] sched/fair: use RETRY_TASK in idle_balance

2018-04-26 Thread Peter Zijlstra
On Thu, Apr 26, 2018 at 12:37:02PM +0200, Vincent Guittot wrote: > Use RETRY_TASK in idle_balance when we want select_task_rq() function to > rerun the complete task selection path > > Signed-off-by: Vincent Guittot > --- > kernel/sched/fair.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletio

Re: Potential problem with 31e77c93e432dec7 ("sched/fair: Update blocked load when newly idle")

2018-04-26 Thread Peter Zijlstra
On Thu, Apr 26, 2018 at 12:31:33PM +0200, Vincent Guittot wrote: > From: Vincent Guittot > Date: Thu, 26 Apr 2018 12:19:32 +0200 > Subject: [PATCH] sched/fair: fix the update of blocked load when newly idle > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding:

Re: [PATCH] USB: serial: option: adding support for ublox R410M

2018-04-26 Thread Lars Melin
On 4/26/2018 18:39, Lars Melin wrote: On 4/26/2018 18:19, Bjørn Mork wrote: Anyway, Qualcomm based designs are definitely handled by both drivers. Using qcserial only makes sense if the interface layout matches one of the defined shared schemes, which currently are: QCSERIAL_G2K = 0,    /*

Re: [PATCH] USB: serial: option: adding support for ublox R410M

2018-04-26 Thread Lars Melin
On 4/26/2018 18:19, Bjørn Mork wrote: Anyway, Qualcomm based designs are definitely handled by both drivers. Using qcserial only makes sense if the interface layout matches one of the defined shared schemes, which currently are: QCSERIAL_G2K = 0, /* Gobi 2000 */ QCSERIAL_G1

Re: [PATCH] ARM: tegra: fix ulpi regression on tegra20

2018-04-26 Thread Peter De Schrijver
On Tue, Apr 24, 2018 at 05:38:41PM +0300, Dmitry Osipenko wrote: > Hi Marcel, > > On 24.04.2018 01:05, Marcel Ziswiler wrote: > > Hi Dmitry > > > > On Fri, 2018-04-20 at 13:50 +0300, Dmitry Osipenko wrote: > >> ... > >> I managed to find CDEV clocks in TRM this time. > > > > And where exactly in

Re: [PATCH v6 02/24] soc: qcom: Add APR bus driver

2018-04-26 Thread Mark Brown
On Thu, Apr 26, 2018 at 10:45:44AM +0100, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds support toi APR bus (Asynchronous Packet Router) driver. > ARP driver is made as a bus driver so that the apr devices can added removed What is the plan for getting thi

Re: [PATCH 11/11] spi: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Mark Brown
On Thu, Apr 26, 2018 at 10:53:10AM +0200, Ulf Hansson wrote: > The limitation of being able to check only for -EPROBE_DEFER from > dev_pm_domain_attach() has been removed. Hence let's respect all error > codes and bail out accordingly. Acked-by: Mark Brown signature.asc Description: PGP signatu

Re: [PATCH 2/3] dt-bindings: power: supply: qcom_bms: Add bindings

2018-04-26 Thread Linus Walleij
On Sat, Apr 7, 2018 at 3:46 PM, Craig Tatlor wrote: This is very interesting bindings! > Add bindings for the Qualcomm battery measurement system. > > Signed-off-by: Craig Tatlor Please expand on acronyms as requested by Rob. > +Required properties: > +- compatible: Should conta

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Arnd Bergmann
rong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci/linux/commits/Baolin-Wang/Fix-year-2038-issue-for-sound-subsystem/20180426-010145 > config: i386-randconfig-n0-201816 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-

Re: [PATCH v4 1/3] power: supply: Add support for the Qualcomm Battery Monitoring System

2018-04-26 Thread Linus Walleij
On Sat, Apr 7, 2018 at 7:57 PM, Craig Tatlor wrote: Hi Craig! Thanks for your patch! > This patch adds a driver for the BMS (Battery Monitoring System) > block of the PM8941 PMIC, it uses a lookup table defined in the > device tree to generate a capacity from the BMS supplied OCV, it > then amme

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread Arnd Bergmann
On Thu, Apr 26, 2018 at 1:25 PM, kbuild test robot wrote: > Hi Arnd, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on v4.17-rc2] > [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180426] > [if your patch is applied

Re: [PATCH 8/8] ALSA: add new 32-bit layout for snd_pcm_mmap_status/control

2018-04-26 Thread kbuild test robot
Hi Arnd, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

make TAGS broken with commit 99443f811c452c6 ("scripts/tags.sh: change find_other_sources()...")

2018-04-26 Thread Sebastian Ott
Hi, on my s390 test system make TAGS is broken since commit 99443f811c452c6 ("scripts/tags.sh: change find_other_sources() for include directories") # make TAGS GEN TAGS xargs: etags: terminated by signal 11 This is a rather old etags from fedora 24. On x86 using a more recent etags (fedor

[PATCH] thermal: samsung: Remove support for Exynos5440

2018-04-26 Thread Bartlomiej Zolnierkiewicz
From: Krzysztof Kozlowski Subject: [PATCH] thermal: samsung: Remove support for Exynos5440 The Exynos5440 is not actively developed, there are no development boards available and probably there are no real products with it. Remove wide-tree support for Exynos5440. Signed-off-by: Krzysztof Kozlow

Re: [RFC PATCH v3 3/3] acpi: apei: Warn when GHES marks correctable errors as "fatal"

2018-04-26 Thread Borislav Petkov
On Wed, Apr 25, 2018 at 03:39:51PM -0500, Alexandru Gagniuc wrote: > There seems to be a culture amongst BIOS teams to want to crash the > OS when an error can't be handled in firmware. Marking GHES errors as > "fatal" is a very common way to do this. > > However, a number of errors reported by GH

Re: [RFC PATCH v3 2/3] acpi: apei: Do not panic() on PCIe errors reported through GHES

2018-04-26 Thread Borislav Petkov
On Wed, Apr 25, 2018 at 03:39:50PM -0500, Alexandru Gagniuc wrote: > @@ -932,7 +971,7 @@ static void __process_error(struct ghes *ghes) > static int ghes_notify_nmi(unsigned int cmd, struct pt_regs *regs) > { > struct ghes *ghes; > - int sev, ret = NMI_DONE; > + int sev, asev, ret =

Re: [PATCH] USB: serial: option: adding support for ublox R410M

2018-04-26 Thread Bjørn Mork
Johan Hovold writes: > On Thu, Apr 26, 2018 at 02:48:54PM +0700, Lars Melin wrote: >> On 4/26/2018 14:09, Johan Hovold wrote: >> > On Thu, Apr 26, 2018 at 02:28:31PM +0800, SZ Lin (林上智) wrote: >> >> This patch adds support for ublox R410M PID 0x90b2 USB modem to option >> >> driver, this module su

[PATCH v2 11/11] ASoC: amd: dma driver changes for bt i2s instance

2018-04-26 Thread Vijendar Mukunda
With in ACP, There are three I2S controllers can be configured/enabled ( I2S SP, I2S MICSP, I2S BT). Default enabled I2S controller instance is I2S SP. This patch provides required changes to support I2S BT controller Instance. Signed-off-by: Vijendar Mukunda --- v1->v2: defined i2s instance macr

[PATCH 10/11] ASoC: AMD: Add const to snd_soc_ops instances

2018-04-26 Thread Vijendar Mukunda
From: Akshu Agrawal Marking snd_soc_ops instances const Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-da7219-max98357a.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/soc/amd/acp-da7219-max98357a.c b/sound/soc/amd/acp-da7

[PATCH 08/11] ASoC: AMD: Move clk enable from hw_params/free to startup/shutdown

2018-04-26 Thread Vijendar Mukunda
From: Akshu Agrawal hw_param can be called multiple times and thus we can have more clk enable. The clk may not get diabled due to refcounting. startup/shutdown ensures single clk enable/disable call. Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-da7219-ma

[PATCH 09/11] ASoC: AMD: Fix clocks in CZ DA7219 machine driver

2018-04-26 Thread Vijendar Mukunda
From: Akshu Agrawal System clock on the platform is 25Mhz and not 24Mhz. PLL_OUT for da7219 codec to use DA7219_PLL_FREQ_OUT_98304 as it is for 48KHz SR. Signed-off-by: Akshu Agrawal Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-da7219-max98357a.c | 5 ++--- 1 file changed, 2 inserti

[PATCH 06/11] ASoC: amd: sram bank update changes

2018-04-26 Thread Vijendar Mukunda
Added sram bank variable to audio_substream_data structure. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 20 +--- sound/soc/amd/acp.h | 20 ++-- 2 files changed, 19 insertions(+), 21 deletions(-) diff --git a/sound/soc/amd/acp-pcm-dma

[PATCH 07/11] ASoC: amd: memory freeing for rtd structure

2018-04-26 Thread Vijendar Mukunda
rtd structure freed early may result in kernel panic in dma close call back. moved releasing memory for rtd structure to the end of dma close callback. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc

[PATCH 04/11] ASoC: amd: removed separate byte count variables for playback and capture

2018-04-26 Thread Vijendar Mukunda
Removed separate byte count variables for playback and capture. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 19 +-- sound/soc/amd/acp.h | 3 +-- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/sound/soc/amd/acp-pcm-dma.c b/sound/soc/

[PATCH 05/11] ASoC: amd: pte offset related dma driver changes

2018-04-26 Thread Vijendar Mukunda
Added pte offset variable in audio_substream_data structure. Added Stoney related PTE offset macros in acp header file. Modified hw_params callback to assign the pte offset value based on asic_type. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 26 +++---

Re: [PATCH] sched/fair: schedutil: update only with all info available

2018-04-26 Thread Patrick Bellasi
On 11-Apr 17:37, Peter Zijlstra wrote: > On Wed, Apr 11, 2018 at 05:29:01PM +0200, Vincent Guittot wrote: > > On 11 April 2018 at 17:14, Peter Zijlstra wrote: > > > On Tue, Apr 10, 2018 at 12:04:12PM +0100, Patrick Bellasi wrote: > > >> On 09-Apr 10:51, Vincent Guittot wrote: > > > > > >> > Peter,

[PATCH 03/11] ASoC: amd: added byte count register offset variables to rtd

2018-04-26 Thread Vijendar Mukunda
Added byte count register offset variables to audio_substream_data structure. Modified dma pointer callback. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 36 +++- sound/soc/amd/acp.h | 2 ++ 2 files changed, 17 insertions(+), 21 delet

[PATCH 02/11] ASoC: amd: dma config parameters changes

2018-04-26 Thread Vijendar Mukunda
Added dma configuration parameters to rtd structure. Moved dma configuration parameters intialization to hw_params callback. Removed hard coding in prepare and trigger callbacks. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 97 + s

[PATCH 01/11] ASoC: amd: rename audio_substream_data variable

2018-04-26 Thread Vijendar Mukunda
In order to make audio_substream_data structure variable consistent throughout the code, changed the name from audio_config to rtd wherever applicable. Signed-off-by: Vijendar Mukunda --- sound/soc/amd/acp-pcm-dma.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff -

Re: noveau vs arm dma ops

2018-04-26 Thread Russell King - ARM Linux
(While there's a rain shower...) On Thu, Apr 26, 2018 at 02:09:42AM -0700, Christoph Hellwig wrote: > synopsis: > > drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c:pdevinfo.dma_mask > = DMA_BIT_MASK(32); > drivers/gpu/drm/bridge/synopsys/dw-hdmi.c: pdevinfo.dma_mask =

Re: [PATCH v3 2/3] resource: add walk_system_ram_res_rev()

2018-04-26 Thread Borislav Petkov
On Thu, Apr 26, 2018 at 04:56:49PM +0800, Baoquan He wrote: > Sorry for that, I just ran scripts/get_maintainer.pl to get expert's > name and added them into each patch. The reason this change is made is > in patch 3/3. Test robot reported a code bug on the latest kernel, will > repost and CC every

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-04-26 Thread Geert Uytterhoeven
Hi Martin, CC jdow On Thu, Apr 26, 2018 at 12:28 PM, Martin Steigerwald wrote: > You probably put your stick into a cave with ancient sleeping dragons :) > > Added in linux-m68k mailing list, as they likely have an opinion on how > to treat affs + RDB partition support. Also added in Jens Axboe

Re: moving affs + RDB partition support to staging?

2018-04-26 Thread John Paul Adrian Glaubitz
On 04/26/2018 12:59 PM, David Sterba wrote: The answer is that we are still very much actively using RDB and AFFS supoort in the Linux kernel and if you were to remove it, you would directly hit users. Based on that I think removing affs will not happen, but the upstream maintenance status shou

Re: [PATCH v8 07/13] drivers: base cacheinfo: Add support for ACPI based firmware tables

2018-04-26 Thread Sudeep Holla
On 26/04/18 00:31, Jeremy Linton wrote: > Call ACPI cache parsing routines from base cacheinfo code if ACPI > is enable. Also stub out cache_setup_acpi() so that individual > architectures can enable ACPI topology parsing. > [...] > +#ifndef CONFIG_ACPI > +static inline int acpi_find_last_cach

Re: moving affs + RDB partition support to staging?

2018-04-26 Thread David Sterba
On Thu, Apr 26, 2018 at 12:45:41PM +0200, John Paul Adrian Glaubitz wrote: > (adding debian-68k) > > Hi Matthew! > > On 04/26/2018 12:28 PM, Martin Steigerwald wrote: > > You probably put your stick into a cave with ancient sleeping dragons :) > > Indeed. > > > Added in linux-m68k mailing list,

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-26 Thread Jean Delvare
On jeu., 2018-04-26 at 15:03 +0530, Vinod Koul wrote: > On Wed, Apr 25, 2018 at 03:17:37PM -0600, Simon Glass wrote: > > > > Hi Vinod, > > > > On 24 April 2018 at 20:51, Vinod Koul wrote: > > > > > > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > > > > > > > > This is used in s

[PATCH 1/4] exit: Move read_unlock() up in mm_update_next_owner()

2018-04-26 Thread Kirill Tkhai
All the places, we update task's mm, are made this under task_lock(). These are exec_mmap(), exit_mm() and kernel thread's use_mm() and unuse_mm(). The only exception is copy_mm(), which initializes newborn task's mm, but we can't race with it, as mm_update_next_owner() iterates tasks already linke

[PATCH 4/4] exit: Lockless iteration over task list in mm_update_next_owner()

2018-04-26 Thread Kirill Tkhai
The patch finalizes the series and makes mm_update_next_owner() to iterate over task list using RCU instead of tasklist_lock. This is possible because of rules of inheritance of mm: it may be propagated to a child only, while only kernel thread can obtain someone else's mm via use_mm(). Also, all

[PATCH 3/4] exit: Rename assign_new_owner label in mm_update_next_owner()

2018-04-26 Thread Kirill Tkhai
Next patch introduces nolock variant of this label, so we will have new_owner and new_owner_nolock. assign_new_owner_nolock would be too long there. Signed-off-by: Kirill Tkhai --- kernel/exit.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/exit.c b/kernel

[PATCH v2] of: overlay: Stop leaking resources on overlay removal

2018-04-26 Thread Jan Kiszka
Only the overlay notifier callbacks have a chance to potentially get hold of references to those two resources, but they are not supposed to store them beyond OF_OVERLAY_POST_REMOVE. Document the overlay notifier API, its constraint regarding pointer lifetime, and then remove intentional leaks of

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-04-26 Thread Christoph Hellwig
On Thu, Apr 26, 2018 at 12:28:40PM +0200, Martin Steigerwald wrote: > Added in linux-m68k mailing list, as they likely have an opinion on how > to treat affs + RDB partition support. Also added in Jens Axboe about > patching that RDB support broken with 2 TB or larger harddisks issue > which had

[PATCH 2/4] exit: Use rcu instead of get_task_struct() in mm_update_next_owner()

2018-04-26 Thread Kirill Tkhai
Since release_task() puts final task_struct::usage counter at least one rcu grace period after removing from task list: __exit_signal() __unhash_process() call_rcu(&p->rcu, delayed_put_task_struct) rcu_read_lock() guarantees nobody release task_struct memory. So, it's po

[PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable

2018-04-26 Thread Kirill Tkhai
This function searches for a new mm owner in children and siblings, and then iterates over all processes in the system in unlikely case. Despite the case is unlikely, its probability growths with the number of processes in the system. The time, spent on iterations, also growths. I regulary observe

Re: [PATCH v4 2/2] ThunderX2: Add Cavium ThunderX2 SoC UNCORE PMU driver

2018-04-26 Thread Mark Rutland
Hi, On Wed, Apr 25, 2018 at 02:30:47PM +0530, Ganapatrao Kulkarni wrote: > + > +/* L3c and DMC has 16 and 8 channels per socket respectively. > + * Each Channel supports UNCORE PMU device and consists of > + * 4 independent programmable counters. Counters are 32 bit > + * and does not support over

Re: [PATCH v2 05/17] arm64: Helper for parange to PASize

2018-04-26 Thread Julien Grall
Hi Suzuki, On 27/03/18 14:15, Suzuki K Poulose wrote: Add a helper to convert ID_AA64MMFR0_EL1:PARange to they physical size shift. Limit the size to the maximum supported by the kernel. We are about to move the user of this code and this helps to keep the changes cleaner. It is probably worth

<    4   5   6   7   8   9   10   11   12   13   >