Re: [PATCH V4 5/7] mmc: sdhci: add Auto CMD Auto Select support

2018-07-30 Thread Adrian Hunter
On 23/07/18 13:08, Chunyan Zhang wrote: > As SD Host Controller Specification v4.10 documents: > Host Controller Version 4.10 defines this "Auto CMD Auto Select" mode. > Selection of Auto CMD depends on setting of CMD23 Enable in the Host > Control 2 register which indicates whether card supports C

Re: [PATCH v2 3/4] ALSA: usb-audio: Add UAC3 Power Domains to suspend/resume

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 11:23:35 +0200, Jorge Sanjuan wrote: > > Set the UAC3 Power Domain state for an Audio Streaming interface > to D2 state before suspending the device (usb_driver callback). > This lets the device know there is no intention to use any of the > Units in the Audio Function and that

Re: [PATCH V4 4/7] mmc: sdhci: add 32-bit block count support for v4 mode

2018-07-30 Thread Adrian Hunter
On 24/07/18 05:51, Chunyan Zhang wrote: > Host Controller Version 4.10 re-defines SDMA System Address register > as 32-bit Block Count for v4 mode, and SDMA uses ADMA System > Address register (05Fh-058h) instead if v4 mode is enabled. Also > when using 32-bit block count, 16-bit block count regist

Re: [PATCH v2 4/4] ALSA: usb-audio: Operate UAC3 Power Domains in PCM callbacks

2018-07-30 Thread Takashi Iwai
On Mon, 30 Jul 2018 11:23:36 +0200, Jorge Sanjuan wrote: > > Make use of UAC3 Power Domains associated to an Audio Streaming > path within the PCM's logic. This means, when there is no audio > being transferred (pcm is closed), the host will set the Power Domain > associated to that substream to s

Re: Linux 4.18-rc7

2018-07-30 Thread Guenter Roeck
On Sun, Jul 29, 2018 at 03:09:05PM -0700, Linus Torvalds wrote: > So unless something odd happens, this should be the last rc for 4.18. > > Nothing particularly odd happened this last week - we got the usual > random set of various minor fixes all over. About two thirds of it is > drivers - networ

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread Pavel Tatashin
On Mon, Jul 30, 2018 at 8:11 AM David Hildenbrand wrote: > > On 30.07.2018 14:05, Michal Hocko wrote: > > On Mon 30-07-18 13:53:06, David Hildenbrand wrote: > >> On 30.07.2018 13:30, Michal Hocko wrote: > >>> On Fri 27-07-18 18:54:54, David Hildenbrand wrote: > Right now, struct pages are ini

[PATCH v3 1/2] clk: Add of_clk_get_by_name_optional() function

2018-07-30 Thread Phil Edworthy
Quite a few drivers get an optional clock, e.g. a clock required to access peripheral's registers that is always enabled on some devices. This function behaves the same as of_clk_get_by_name() except that it will return NULL instead of -EINVAL. Signed-off-by: Phil Edworthy --- v3: - Fix check f

[PATCH v3 0/2] clk: Add functions to get optional clocks

2018-07-30 Thread Phil Edworthy
Quite a few drivers get an optional clock, e.g. a bus clock required to access peripheral's registers that is always enabled on some devices. Phil Edworthy (2): clk: Add of_clk_get_by_name_optional() function clk: Add functions to get optional clocks drivers/clk/clk-devres.c | 18 ++

[PATCH v3 2/2] clk: Add functions to get optional clocks

2018-07-30 Thread Phil Edworthy
Behaves the same as (devm_)clk_get except where there is no clock producer. In this case, instead of returning -ENOENT, the function returns NULL. This makes error checking simpler and allows clk_prepare_enable, etc to be called on the returned reference without additional checks. Signed-off-by: P

Re: [PATCH v2] cpu/hotplug: Fix cpuhp_step name for timers

2018-07-30 Thread Mukesh Ojha
On 7/30/2018 5:49 PM, Thomas Gleixner wrote: Mukesh, On Thu, 26 Jul 2018, Mukesh Ojha wrote: Hi All, Can i get input on this ? Sure. Thanks, Mukesh On 7/24/2018 8:17 PM, Mukesh Ojha wrote: The input you get is that it's unprofessional to poke people after TWO days about a patch which i

Re: [rt-patch 3/3] arm, KVM: convert vgic_irq.irq_lock to raw_spinlock_t

2018-07-30 Thread Mike Galbraith
On Mon, 2018-07-30 at 11:27 +0200, Peter Zijlstra wrote: > > The thing missing from the Changelog is the analysis that all the work > done under these locks is indeed properly bounded and cannot cause > excessive latencies. True, I have no idea what worst case hold times are. Nothing poked me de

[PATCH] fsi: master-ast-cf: fix spelling mistake: "firwmare" -> "firmware"

2018-07-30 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err error message Signed-off-by: Colin Ian King --- drivers/fsi/fsi-master-ast-cf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/fsi/fsi-master-ast-cf.c b/drivers/fsi/fsi-master-ast-cf.c index 04d10ea8d3

Re: [PATCH 07/10] dt-bindings: phy: add DT binding for Microsemi Ocelot SerDes muxing

2018-07-30 Thread Andrew Lunn
> +Required properties: > + > +- compatible: should be "mscc,vsc7514-serdes" > +- #phy-cells : from the generic phy bindings, must be 3. The first number > + defines the kind of Serdes (1 for SERDES1G_X, 6 for > +SERDES6G_X), the second defines the macros in the specified

Re: Linux 4.18-rc7

2018-07-30 Thread Amit Pundir
On Mon, 30 Jul 2018 at 18:31, Kirill A. Shutemov wrote: > > On Mon, Jul 30, 2018 at 12:17:46PM +0530, Amit Pundir wrote: > > On Mon, 30 Jul 2018 at 03:39, Linus Torvalds > > wrote: > > > > > > So unless something odd happens, this should be the last rc for 4.18. > > > > > > Nothing particularly o

Hello

2018-07-30 Thread Zelei Mariann
Can you get back to me for a viable business we can do together ?

[PATCH] mm: Remove zone_id() and make use of zone_idx() in is_dev_zone()

2018-07-30 Thread osalvador
From: Oscar Salvador is_dev_zone() is using zone_id() to check if the zone is ZONE_DEVICE. zone_id() looks pretty much the same as zone_idx(), and while the use of zone_idx() is quite spread in the kernel, zone_id() is only being used by is_dev_zone(). This patch removes zone_id() and makes is_d

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-30 Thread Srinivas Pandruvada
Hi Eero, On Mon, 2018-07-30 at 11:33 +0300, Eero Tamminen wrote: > Hi, > > On 28.07.2018 17:14, Srinivas Pandruvada wrote: > > On Fri, 2018-07-27 at 22:34 -0700, Francisco Jerez wrote: > > > Srinivas Pandruvada writes: > > > > > > > Enable HWP boost on Skylake server and workstations. > > > > >

Re: [PATCH v6 3/4] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-07-30 Thread Marcel Holtmann
Hi Sean, > This adds a driver to run on the top of btuart driver for the MediaTek > serial protocol based on running H:4, which can enable the built-in > Bluetooth device inside MT7622 SoC. > > Signed-off-by: Sean Wang > --- > drivers/bluetooth/Kconfig | 11 + > drivers/bluetooth/Makefile

Re: [Question] load balance move tasks not suitable ?

2018-07-30 Thread weiqi (C)
in latest linux kernel version, load-balance's detach_tasks() keeps "load/2" behavior: """ if (( load / 2 ) > env->imbalance) goto next; """ It means a task "p", which load is 1.5 times than "env->imbalance" can move from "src_rq" to "dst_rq". after this mov

[PATCH] pcmcia: pcmcia_resource: Replace mdelay() with msleep()

2018-07-30 Thread Jia-Ju Bai
pcmcia_fixup_iowidth() and pcmcia_enable_device() are never called in atomic context. They call mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/p

Re: [tip:x86/timers] sched/clock: Enable sched clock early

2018-07-30 Thread Pavel Tatashin
> > - if (cd.actual_read_sched_clock == jiffy_sched_clock_read) > > + if (cd.actual_read_sched_clock == jiffy_sched_clock_read) { > > + local_irq_disable(); > > sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, > > HZ); > > + local_

[PATCH] power: reset: gpio-poweroff: Replace mdelay() with msleep() in gpio_poweroff_do_poweroff()

2018-07-30 Thread Jia-Ju Bai
gpio_poweroff_do_poweroff() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/power/reset/gpio-poweroff.

[PATCH] power: reset: piix4-poweroff: Replace mdelay() with msleep() and usleep_range() in piix4_poweroff()

2018-07-30 Thread Jia-Ju Bai
piix4_poweroff() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep() and usleep_range(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/power/reset/piix4-

Re: [PATCH v6 3/3] ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S

2018-07-30 Thread Claudiu Beznea
Hi Codrin, On 30.07.2018 14:40, Codrin Ciubotariu wrote: > From: Cyrille Pitchen > > This patch sets the pin muxing for the I2S controllers > > Signed-off-by: Cyrille Pitchen > [codrin.ciubota...@microchip.com: added pin muxing for the second > controller] > Signed-off-by: Codrin Ciubotariu >

[PATCH] power: reset: syscon-poweroff: Replace mdelay() with msleep() in syscon_poweroff()

2018-07-30 Thread Jia-Ju Bai
syscon_poweroff() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/power/reset/syscon-poweroff.c | 2 +-

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread David Hildenbrand
On 30.07.2018 15:30, Pavel Tatashin wrote: > On Mon, Jul 30, 2018 at 8:11 AM David Hildenbrand wrote: >> >> On 30.07.2018 14:05, Michal Hocko wrote: >>> On Mon 30-07-18 13:53:06, David Hildenbrand wrote: On 30.07.2018 13:30, Michal Hocko wrote: > On Fri 27-07-18 18:54:54, David Hildenbran

[PATCH] rtc: rtc-omap: Replace mdelay() with msleep() in omap_rtc_power_off()

2018-07-30 Thread Jia-Ju Bai
omap_rtc_power_off() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/rtc/rtc-omap.c | 2 +- 1 file cha

[PATCH] sched/clock: disable irq for generic_sched_clock_init

2018-07-30 Thread Pavel Tatashin
sched_clock_init() used be called early in boot when IRQs are still disabled. Now, it is called when IRQs are already enabled, and this triggers some warning: WARNING: CPU: 0 PID: 0 at kernel/time/sched_clock.c:180 sched_clock_register+0x44/0x278 Modules linked in: CPU: 0 PID: 0 Comm: swapper Not

[PATCH] x86/boot/KASLR: Make local variable mem_limit static

2018-07-30 Thread zhong jiang
Fix the following sparse warning: arch/x86/boot/compressed/kaslr.c:102:20: warning: symbol 'mem_limit' was not declared. Should it be static? Signed-off-by: zhong jiang --- arch/x86/boot/compressed/kaslr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compre

[PATCH] rtc: rtc-mrst: Replace mdelay() with msleep() in mrst_read_time()

2018-07-30 Thread Jia-Ju Bai
mrst_read_time() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai --- drivers/rtc/rtc-mrst.c | 2 +- 1 file changed

[PATCH 1/2] dt-bindings: iio: dac: Add docs for AD5770R DAC

2018-07-30 Thread Mircea Caprioru
Adding dt-bindings documentation for AD5770R DAC. The bindings follow the standard SPI and fixed regulator bindings. Signed-off-by: Mircea Caprioru --- .../devicetree/bindings/iio/dac/ad5770r.txt | 86 +++ MAINTAINERS | 7 ++ 2 files changed,

Re: [PATCH] mm: Remove zone_id() and make use of zone_idx() in is_dev_zone()

2018-07-30 Thread Michal Hocko
On Mon 30-07-18 15:37:18, osalva...@techadventures.net wrote: > From: Oscar Salvador > > is_dev_zone() is using zone_id() to check if the zone is ZONE_DEVICE. > zone_id() looks pretty much the same as zone_idx(), and while the use of > zone_idx() is quite spread in the kernel, zone_id() is only b

[PATCH v6 0/7] Tegra PMC pinctrl pad configuration

2018-07-30 Thread Aapo Vienamo
Hi all, The Tegra Power Management Controller (PMC) can set pad power states and voltage configuration. This series implements pinctrl interfaces for configuring said pad properties. Changelog v6: - Fix typos and grammar in dt-bindings docs. v5: - Fix a typo in "soc/tegra: pmc: Re

[PATCH v6 1/7] soc/tegra: pmc: Fix pad voltage configuration for Tegra186

2018-07-30 Thread Aapo Vienamo
Implement support for the PMC_IMPL_E_33V_PWR register which replaces PMC_PWR_DET register interface of the SoC generations preceding Tegra186. Also add the voltage bit offsets to the tegra186_io_pads[] table and the AO_HV pad. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/teg

[PATCH v6 6/7] soc/tegra: pmc: Remove public pad voltage APIs

2018-07-30 Thread Aapo Vienamo
Make tegra_io_pad_set_voltage() and tegra_io_pad_get_voltage() static and remove the prototypes from pmc.h. Remove enum tegra_io_pad_voltage and use the defines from instead. These functions aren't used outside of the pmc driver and new use cases should use the pinctrl interface instead. Signed-

[PATCH v6 7/7] soc/tegra: pmc: Implement pad configuration via pinctrl

2018-07-30 Thread Aapo Vienamo
Register a pinctrl device and implement get and set functions for PIN_CONFIG_LOW_POWER_MODE and PIN_CONFIG_POWER_SOURCE parameters. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 187 +++- 1 file changed, 185 insertions

[PATCH v6 4/7] soc/tegra: pmc: Use X macro to generate IO pad tables

2018-07-30 Thread Aapo Vienamo
Refactor the IO pad tables into macro tables so that they can be reused to generate pinctrl pin descriptors. Also add a name field which is needed by pinctrl. Signed-off-by: Aapo Vienamo --- drivers/soc/tegra/pmc.c | 233 ++-- 1 file changed, 127 inser

[PATCH v6 3/7] soc/tegra: pmc: Implement tegra_io_pad_is_powered()

2018-07-30 Thread Aapo Vienamo
Implement a function to query whether a pad is in deep power down mode. This will is needed by the pinctrl callbacks. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/soc/tegra/pmc.c b/driv

[PATCH v6 2/7] soc/tegra: pmc: Factor out DPD register bit calculation

2018-07-30 Thread Aapo Vienamo
Factor out the the code to calculate the correct DPD register and bit number for a given pad. This logic will be needed to query the status register. Signed-off-by: Aapo Vienamo Acked-by: Jon Hunter --- drivers/soc/tegra/pmc.c | 20 +--- 1 file changed, 17 insertions(+), 3 delet

Re: [PATCH net-next] net: phy: mscc: the extended page access register is 16 bits

2018-07-30 Thread Andrew Lunn
On Mon, Jul 30, 2018 at 02:53:13PM +0200, Quentin Schulz wrote: > The Extended Page Access is a 16-bit register, so change the page > parameter of vsc85xx_phy_page_set to a u16. > > Signed-off-by: Quentin Schulz Reviewed-by: Andrew Lunn Andrew

[PATCH 2/2] iio: dac: ad5770r: Add AD5770R support

2018-07-30 Thread Mircea Caprioru
The AD5770R is a 6-channel, 14-bit resolution, low noise, programmable current output digital-to-analog converter (DAC) for photonics control applications. It contains five 14-bit resolution current sourcing DAC channels and one 14-bit resolution current sourcing/sinking DAC channel. Signed-off-b

[PATCH v6 5/7] dt-bindings: Add Tegra PMC pad configuration bindings

2018-07-30 Thread Aapo Vienamo
Document the PMC pinctrl bindings for pad power state and signaling voltage configuration. Both nvidia,tegra186-pmc.txt and nvidia,tegra20-pmc.txt are modified as they both cover SoC generations for which these bindings apply. Add a header defining Tegra PMC pad voltage configurations. Signed-off

Re: [PATCH v6 3/3] ARM: dts: at91: sama5d2 Xplained: add pin muxing for I2S

2018-07-30 Thread Codrin Ciubotariu
On 30.07.2018 16:49, Claudiu Beznea wrote: Hi Codrin, On 30.07.2018 14:40, Codrin Ciubotariu wrote: From: Cyrille Pitchen This patch sets the pin muxing for the I2S controllers Signed-off-by: Cyrille Pitchen [codrin.ciubota...@microchip.com: added pin muxing for the second controller] Signe

Re: [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback

2018-07-30 Thread Jon Hunter
On 30/07/18 11:18, Mark Brown wrote: > On Mon, Jul 30, 2018 at 10:31:16AM +0100, Jon Hunter wrote: > >> It can be quite common for the fsync-width for DSP modes to be a single >> clock and so >> I am not sure that is makes sense to set this here always to the slot width. >> It maybe >> worth

Re: [PATCH 4/4] cpufreq: intel_pstate: enable boost for Skylake Xeon

2018-07-30 Thread Srinivas Pandruvada
On Mon, 2018-07-30 at 14:16 +0300, Eero Tamminen wrote: > Hi Mel, > > On 28.07.2018 15:36, Mel Gorman wrote: > > On Fri, Jul 27, 2018 at 10:34:03PM -0700, Francisco Jerez wrote: > > > Srinivas Pandruvada writes: > > > > > > > Enable HWP boost on Skylake server and workstations. > > > > > > > >

Re: [PATCH] mm: Remove zone_id() and make use of zone_idx() in is_dev_zone()

2018-07-30 Thread Vlastimil Babka
On 07/30/2018 03:37 PM, osalva...@techadventures.net wrote: > From: Oscar Salvador > > is_dev_zone() is using zone_id() to check if the zone is ZONE_DEVICE. > zone_id() looks pretty much the same as zone_idx(), and while the use of > zone_idx() is quite spread in the kernel, zone_id() is only bei

Re: [PATCH 1/2] x86/tsc: Avoid a double call if TSC initializes earlier.

2018-07-30 Thread Pavel Tatashin
On Mon, Jul 30, 2018 at 3:55 AM Dou Liyang wrote: > > static_branch_enable(&__use_tsc) may be called twice in common case, that > is redundant. And there are also some common functions both in > tsc_early_init() and tsc_init(). > > Move them into a separate helper function, only call it once. > Al

Re: [PATCH v2 0/2] ata: ahci: Enable DEVSLP by default on SLP_S0 support

2018-07-30 Thread Tejun Heo
On Fri, Jul 27, 2018 at 01:47:01PM -0700, Srinivas Pandruvada wrote: > One of the requirement for modern x86 system to enter lowest power mode > (SLP_S0) is SATA IP block to be off. This is true even during when > platform is suspended to idle and not only in opportunistic (runtime) > suspend. > Th

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread Michal Hocko
On Mon 30-07-18 15:51:45, David Hildenbrand wrote: > On 30.07.2018 15:30, Pavel Tatashin wrote: [...] > > Hi David, > > > > Have you figured out why we access struct pages during hot-unplug for > > offlined memory? Also, a panic trace would be useful in the patch. > > __remove_pages() needs a zon

Re: [PATCH] mm: Remove zone_id() and make use of zone_idx() in is_dev_zone()

2018-07-30 Thread Pavel Tatashin
On Mon, Jul 30, 2018 at 9:37 AM wrote: > > From: Oscar Salvador > > is_dev_zone() is using zone_id() to check if the zone is ZONE_DEVICE. > zone_id() looks pretty much the same as zone_idx(), and while the use of > zone_idx() is quite spread in the kernel, zone_id() is only being > used by is_dev

Re: [PATCH 1/2] HID: redragon: Fix regression in non-Redragon keyboard due to this new driver

2018-07-30 Thread Robert Munteanu
Hi John, On Sat, 2018-07-28 at 15:53 -0400, John S Gruber wrote: > The Redragon keyboard uses the second device being presented, but > other > devices with the same vendor_id/device_id pair (0x0c45:760b) use the > first. > Don't cause its deletion. Problem introduced in commit 85455dd906d5 > ("HID

Re: [PATCH v2] pci/aspm: Remove CONFIG_PCIEASPM_DEBUG

2018-07-30 Thread Bjorn Helgaas
On Sat, Jul 28, 2018 at 05:16:13PM -0700, Sinan Kaya wrote: > On 7/27/2018 1:26 PM, Bjorn Helgaas wrote: > > - A link can lead to a multi-function device, and the spec allows > > those functions to have different ASPM settings (see PCIe r4.0, > > sec 5.4.1). With the sysfs files at the u

Re: [PATCH] leds: add APU3 dmi information to leds-apu

2018-07-30 Thread Pavel Machek
On Mon 2018-07-30 11:11:08, Florian Eckert wrote: > This driver should also get loaded if this is a APU3 from PC Engines. > It has the same pin layout for leds. > > Signed-off-by: Florian Eckert Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) ht

Re: [PATCH] thermal: armada: fix incorrect check for drvdata allocation failure

2018-07-30 Thread Daniel Lezcano
Hi Colin, On 30/07/2018 14:27, Colin King wrote: > From: Colin Ian King > > Currently the drvdata allocation failure is being incorrectly checked by > checking priv and not drvdata. Fix this and also free priv to fix a > memory leak. > > Detected by Coverity Scan, CID#1472102 ("Logically dea

Re: [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback

2018-07-30 Thread Jon Hunter
On 30/07/18 15:04, Jon Hunter wrote: > I still do not like configuring the fsync width in this function. The > fsync width needs to be configured for both DSP modes and normal I2S > modes and so it seems it would be more appropriate to do this in the > hw_params function for this driver. That sa

Re: [PATCH 2/2] x86/kvmclock: Mark kvm_get_preset_lpj() as __init

2018-07-30 Thread Pavel Tatashin
On Mon, Jul 30, 2018 at 3:55 AM Dou Liyang wrote: > > kvm_get_preset_lpj() just be called at kvmclock_init(), So mark it > __init as well. Reviewed-by: Pavel Tatashin Thank you, Pavel

KASAN: slab-out-of-bounds Write in end_requests

2018-07-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:dd63bf22fccd Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10b9c77040 kernel config: https://syzkaller.appspot.com/x/.config?x=ffb4428fdc82f93b da

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

2018-07-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a26fb01c2879 Merge tag 'random_for_linus_stable' of git://.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10200bb240 kernel config: https://syzkaller.appspot.com/x/.config?x=ffb4428fdc82f93b da

INFO: rcu detected stall in snd_seq_oss_write

2018-07-30 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:a26fb01c2879 Merge tag 'random_for_linus_stable' of git://.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=171a2f0c40 kernel config: https://syzkaller.appspot.com/x/.config?x=ffb4428fdc82f93b da

[PATCH v2] perf/x86/intel: Add support for MISPREDICT bit on Knights Landing cpus

2018-07-30 Thread Jacek Tomaka
From: Jacek Tomaka Problem: perf did not show branch predicted/mispredicted bit in brstack. Output of perf -F brstack for profile collected Before: 0x4fdbcd/0x4fdc03/-/-/-/0 0x45f4c1/0x4fdba0/-/-/-/0 0x45f544/0x45f4bb/-/-/-/0 0x45f555/0x45f53c/-/-/-/0 0x7f66901cc24b/0x45f555/-/-/-/0 0x7f66901c

Re: [PATCH] x86/speculation: Support Enhanced IBRS on future CPUs

2018-07-30 Thread Dave Hansen
On 07/30/2018 05:25 AM, Thomas Gleixner wrote: > On Tue, 24 Jul 2018, Sai Praneeth Prakhya wrote: >> From: Sai Praneeth >> Some future Intel processors may support "Enhanced IBRS" which is an >> "always on" mode i.e. IBRS bit in SPEC_CTRL MSR is enabled once and >> never disabled. According to spe

Re: [PATCH v2 11/11] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-30 Thread Rik van Riel
On Mon, 2018-07-30 at 11:55 +0200, Peter Zijlstra wrote: > On Sun, Jul 29, 2018 at 03:54:52PM -0400, Rik van Riel wrote: > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > index c45de46fdf10..11724c9e88b0 100644 > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -2691,7

Re: [PATCHv4 00/12] sched/fair: Migrate 'misfit' tasks on asymmetric capacity systems

2018-07-30 Thread Dietmar Eggemann
On 07/26/2018 07:14 PM, Valentin Schneider wrote: Hi, On 09/07/18 16:08, Morten Rasmussen wrote: On Fri, Jul 06, 2018 at 12:18:27PM +0200, Vincent Guittot wrote: Hi Morten, On Wed, 4 Jul 2018 at 12:18, Morten Rasmussen wrote: [...] With that out of the way, I did some lmbench runs: lat_

Re: [PATCH 36/38] vfs: Add a sample program for the new mount API [ver #10]

2018-07-30 Thread Pavel Machek
On Mon 2018-07-30 13:23:31, David Howells wrote: > Pavel Machek wrote: > > > Hmm, so kernel now returns messages in english? Not sure that is > > reasonable, as that is going to cause problems with translations... > > The problem is that if there's no explicit logging route attached, the > messa

Re: [PATCH v1 1/2] PCI: Document patch submission hints

2018-07-30 Thread Lukas Wunner
On Thu, Jul 12, 2018 at 10:59:46AM -0500, Bjorn Helgaas wrote: > But on reflection, I think the overall value of this writeup is > minimal. It's a lot of repetition of things already documented > elsewhere and most of it boils down to "pay attention to existing > practice and don't do things diffe

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Tetsuo Handa
On 2018/07/30 18:32, Michal Hocko wrote: Since the patch shown below was suggested by Michal Hocko at https://marc.info/?l=linux-mm&m=152723708623015 , it is from Michal Hocko. >From cd8095242de13ace61eefca0c3d6f2a5a7b40032 Mon Sep 17 00:00:00 2001 From: Michal Hocko

Re: [PATCH] tracing: do not leak kernel addresses

2018-07-30 Thread Sandeep Patil
On Fri, Jul 27, 2018 at 08:04:28PM -0400, Theodore Y. Ts'o wrote: > On Fri, Jul 27, 2018 at 03:05:43PM -0700, Sandeep Patil wrote: > > On Fri, Jul 27, 2018 at 04:21:14PM -0400, Theodore Y. Ts'o wrote: > > > On Fri, Jul 27, 2018 at 04:11:03PM -0400, Steven Rostedt wrote: > > > > That said, I would a

[PATCH 1/4] file: export __alloc_fd()

2018-07-30 Thread Christian Brauner
The Android binder driver will be turned into a module. Since it uses __alloc_fd() we need to export this function. Signed-off-by: Christian Brauner Cc: Todd Kjos Cc: Robert Love Cc: Ben Hutching Cc: Martijn Coenen Cc: Arve Hjønnevåg --- fs/file.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 4/4] file: export put_files_struct()

2018-07-30 Thread Christian Brauner
The Android binder driver will be turned into a module. Since it uses put_files_struct() we need to export this function. Signed-off-by: Christian Brauner Cc: Todd Kjos Cc: Robert Love Cc: Ben Hutching Cc: Martijn Coenen Cc: Arve Hjønnevåg --- fs/file.c | 1 + 1 file changed, 1 insertion(+)

[RFC PATCH 0/4] file: export functions for binder module

2018-07-30 Thread Christian Brauner
Hey, We currently plan on turning the Android binder and ashmem driver into a module. We have seen more and more requests by users to be able to use the binder and ashmem features without wanting to convince each distro to enable it by default in their kernel. Debian already started to carry patch

[PATCH 3/4] file: export get_files_struct()

2018-07-30 Thread Christian Brauner
The Android binder driver will be turned into a module. Since it uses get_files_struct() we need to export this function. Signed-off-by: Christian Brauner Cc: Todd Kjos Cc: Robert Love Cc: Ben Hutching Cc: Martijn Coenen Cc: Arve Hjønnevåg --- fs/file.c | 1 + 1 file changed, 1 insertion(+)

[PATCH 2/4] file: export __fd_install()

2018-07-30 Thread Christian Brauner
The Android binder driver will be turned into a module. Since it uses __fd_install() we need to export this function. Signed-off-by: Christian Brauner Cc: Todd Kjos Cc: Robert Love Cc: Ben Hutching Cc: Martijn Coenen Cc: Arve Hjønnevåg --- fs/file.c | 1 + 1 file changed, 1 insertion(+) di

Re: [BUG BISECT] Ethernet fail on VF50 (OF: Don't set default coherent DMA mask)

2018-07-30 Thread Robin Murphy
he code worked just fine up to now. To reiterate, that particular side-effect was an unintentional oversight, and I was simply (un)lucky enough that none of the drivers I did test depended on that default mask. Sorry for the blip; please check whether it's now fixed in next-20180730 as it shoul

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread David Hildenbrand
On 30.07.2018 16:10, Michal Hocko wrote: > On Mon 30-07-18 15:51:45, David Hildenbrand wrote: >> On 30.07.2018 15:30, Pavel Tatashin wrote: > [...] >>> Hi David, >>> >>> Have you figured out why we access struct pages during hot-unplug for >>> offlined memory? Also, a panic trace would be useful in

[PATCH] spi: omap2-mcspi: remove several redundant variables

2018-07-30 Thread Colin King
From: Colin Ian King Variable count, l, mcspi and spi_cntrl are being assigned but are never used hence they are redundant and can be removed. Cleans up clang warnings: warning: variable 'count' set but not used [-Wunused-but-set-variable] warning: variable 'l' set but not used [-Wunused-but-set

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Michal Hocko
On Mon 30-07-18 23:34:23, Tetsuo Handa wrote: > On 2018/07/30 18:32, Michal Hocko wrote: [...] > > This one is waiting for draining and we are in mm_percpu_wq WQ context > > which has its rescuer so no other activity can block us for ever. So > > this certainly shouldn't deadlock. It can be dead sl

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

2018-07-30 Thread Laura Abbott
On 07/30/2018 12:33 AM, Stephen Rothwell wrote: Hi all, On Fri, 27 Jul 2018 13:55:22 +0100 Will Deacon wrote: On Fri, Jul 27, 2018 at 08:55:11PM +1000, Stephen Rothwell wrote: On Fri, 27 Jul 2018 19:06:47 +1000 Stephen Rothwell wrote: On Fri, 27 Jul 2018 19:02:07 +1000 Stephen Rothwell

Re: [PATCH 34/38] vfs: syscall: Add fsinfo() to query filesystem information [ver #10]

2018-07-30 Thread David Howells
Andy Lutomirski wrote: > Constants are almost always all caps. Is there any reason these are > lowercase? It's also easier to create macros that pair structs or functions with the contants by name. David

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread Michal Hocko
On Mon 30-07-18 16:42:27, David Hildenbrand wrote: > On 30.07.2018 16:10, Michal Hocko wrote: > > On Mon 30-07-18 15:51:45, David Hildenbrand wrote: > >> On 30.07.2018 15:30, Pavel Tatashin wrote: > > [...] > >>> Hi David, > >>> > >>> Have you figured out why we access struct pages during hot-unplu

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Tejun Heo
Hello, On Mon, Jul 30, 2018 at 04:46:47PM +0200, Michal Hocko wrote: > On Mon 30-07-18 23:34:23, Tetsuo Handa wrote: > > On 2018/07/30 18:32, Michal Hocko wrote: > [...] > > > This one is waiting for draining and we are in mm_percpu_wq WQ context > > > which has its rescuer so no other activity ca

[PATCH v2] fs/buffer: Convert return type int to vm_fault_t

2018-07-30 Thread Souptick Joarder
Return type of block_page_mkwrite() is converted to vm_fault_t type. The caller of block_page_mkwrite inside fs/nilfs2 nilfs_page_mkwrite converted accordingly. Signed-off-by: Souptick Joarder --- v2: Address Jens's comment. Remove ret variable from block_page_mkwrite(). fs/buffer.c

Re: [PATCH RFC tip/core/rcu] Avoid resched_cpu() when rescheduling the current CPU

2018-07-30 Thread Paul E. McKenney
On Mon, Jul 30, 2018 at 11:25:13AM +0200, Peter Zijlstra wrote: > On Fri, Jul 27, 2018 at 08:49:31AM -0700, Paul E. McKenney wrote: > > Hello, Peter, > > > > It occurred to me that it is wasteful to let resched_cpu() acquire > > ->pi_lock when doing something like resched_cpu(smp_processor_id()),

Re: [PATCH v1] mm: inititalize struct pages when adding a section

2018-07-30 Thread David Hildenbrand
On 30.07.2018 16:50, Michal Hocko wrote: > On Mon 30-07-18 16:42:27, David Hildenbrand wrote: >> On 30.07.2018 16:10, Michal Hocko wrote: >>> On Mon 30-07-18 15:51:45, David Hildenbrand wrote: On 30.07.2018 15:30, Pavel Tatashin wrote: >>> [...] > Hi David, > > Have you figured out

Re: [PATCH V7 1/5] mmc: sdhci: Add support for O2 eMMC HS200 mode

2018-07-30 Thread Ulf Hansson
On 16 July 2018 at 08:26, ernest.zhang wrote: > When use eMMC as boot device, the eMMC signaling voltage is tied to 1.8v > fixed output voltage, bios can set o2 sd host controller PCI configuration > register 0x308 bit4 to 1 to let driver skip 3.3v signaling voltage and > direct use 1.8v singling

Re: [PATCH V4] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-30 Thread Ulf Hansson
On 17 July 2018 at 11:14, Hongjie Fang wrote: > mmc_select_hs400es() calls mmc_select_bus_width() which will continue > to set 4bit transfer mode if fail to set 8bit mode. The bus width > should not be set to 4bit in HS400es. > > When fail to set 8bit mode, need return error directly for HS400es.

Re: [PATCH] mmc: tegra: Force correct divider calculation on DDR50/52

2018-07-30 Thread Ulf Hansson
On 16 July 2018 at 16:34, Aapo Vienamo wrote: > Tegra SDHCI controllers require the SDHCI clock divider to be configured > to divide the clock by two in DDR50/52 modes. Incorrectly configured > clock divider results in corrupted data. > > Prevent the possibility of incorrectly calculating the divi

Re: [PATCH v2 2/6] dt-bindings: mmc: rockchip-dw-mshc: add description for px30

2018-07-30 Thread Ulf Hansson
On 23 July 2018 at 11:25, wrote: > From: Liang Chen > > Add "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc" for > dwmmc on px30 platform. > > Acked-by: Rob Herring > Signed-off-by: Liang Chen Thanks, applied for next! Kind regards Uffe > --- > Documentation/devicetree/bindings/mmc/rockc

Re: [PATCH] mmc: tmio: remove unneeded variable in tmio_mmc_start_command()

2018-07-30 Thread Ulf Hansson
On 25 July 2018 at 10:46, Masahiro Yamada wrote: > Pass TMIO_MASK_CMD to tmio_mmc_enable_mmc_irqs() directly, > and remove the variable, irq_mask. > > Signed-off-by: Masahiro Yamada Thanks, applied for next! Kind regards Uffe > --- > > drivers/mmc/host/tmio_mmc_core.c | 3 +-- > 1 file change

Re: [PATCH 2/4] ASoC: tegra: Add a TDM configuration callback

2018-07-30 Thread Mark Brown
On Mon, Jul 30, 2018 at 03:04:46PM +0100, Jon Hunter wrote: > On 30/07/18 11:18, Mark Brown wrote: > > DSP modes only care about the rising edge of the LRCLK, the pulse can be > > any width without causing interoperability problems. > OK, thanks I was not able to find a spec that defines this, bu

Re: [PATCH v2 00/10] Tegra SDHCI update the pad autocal procedure

2018-07-30 Thread Ulf Hansson
On 26 July 2018 at 14:26, Aapo Vienamo wrote: > Hi all, > > Update the tegra_sdhci_pad_autocalib() pad drive strength calibration > procedure to match the ones specified in the TRMs of the more recent > SoCs. This was tested on Tegra186, Tegra210, and Tegra124, although it > should not break thing

Re: INFO: task hung in generic_file_write_iter

2018-07-30 Thread Tetsuo Handa
On 2018/07/21 5:06, Andrew Morton wrote: > On Fri, 20 Jul 2018 19:36:23 +0900 Tetsuo Handa > wrote: > >>> >>> This report is stalling after mount() completed and process used >>> remap_file_pages(). >>> I think that we might need to use debug printk(). But I don't know what to >>> examine. >>>

Re: [PATCH 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-07-30 Thread Manivannan Sadhasivam
Hi Andreas, On Mon, Jul 30, 2018 at 12:26:07PM +0200, Andreas Färber wrote: > Hi Mani, > > Am 27.07.2018 um 20:45 schrieb Manivannan Sadhasivam: > > This patchset adds Reset Controller (RMU) support for Actions Semi > > Owl SoCs, S900 and S700. For the Owl SoCs, RMU has been integrated into > > t

Re: [PATCH 02/19] mmc: mmci: merge qcom dml feature into mmci dma

2018-07-30 Thread Ulf Hansson
On 13 July 2018 at 15:08, Ludovic BARRE wrote: > > > On 07/13/2018 01:17 PM, Ulf Hansson wrote: >> >> On 11 July 2018 at 17:19, Ludovic BARRE wrote: >>> >>> >>> >>> On 07/05/2018 05:26 PM, Ulf Hansson wrote: On 12 June 2018 at 15:14, Ludovic Barre wrote: > > > From: Lu

editing for that you need

2018-07-30 Thread Edward
We are an image editing service provider having more than 10 years of industry experience. We use latest techniques for photo editing to meet international quality standards. We are committed to deliver reliable photo processing services. Production of 1000+ images within single working day 24×7

Re: [PATCH 0/2] ata: libahci: devslp fixes

2018-07-30 Thread Srinivas Pandruvada
Hi Tejan, On Mon, 2018-07-02 at 12:01 -0700, Srinivas Pandruvada wrote: > Some minor fixes to be able to correctly set devslp register > to optimize power. > > Srinivas Pandruvada (2): > ata: libahci: Correct setting of DEVSLP register > ata: libahci: Allow reconfigure of DEVSLP register > A

Re: [alsa-devel] [PATCH] ASoC: soc-pcm: Use delay set in pointer function

2018-07-30 Thread Pierre-Louis Bossart
On 7/27/18 11:28 PM, Agrawal, Akshu wrote: On 7/27/2018 8:39 PM, Pierre-Louis Bossart wrote: On 7/27/18 5:13 AM, Akshu Agrawal wrote: There are cases where a pointer function populates runtime->delay, such as: ./sound/pci/hda/hda_controller.c ./sound/soc/intel/atom/sst-mfld-platform-pcm.c Al

Re: Ihre Antwort

2018-07-30 Thread Shi Ying
guter Freund, Können Sie mir helfen, $ 105,700,000.00 USD neu zu profilieren? und du wirst entschädigt werden. Für weitere Informationen antworten Sie bitte so schnell wie möglich, damit ich Ihnen die Details zusenden kann, damit dieser Prozess in Gang kommt. Grüße, Dr. Shi Ying

Re: [PATCH 0/2] ata: libahci: devslp fixes

2018-07-30 Thread Tejun Heo
On Mon, Jul 30, 2018 at 08:15:47AM -0700, Srinivas Pandruvada wrote: > Hi Tejan, > > On Mon, 2018-07-02 at 12:01 -0700, Srinivas Pandruvada wrote: > > Some minor fixes to be able to correctly set devslp register > > to optimize power. > > > > Srinivas Pandruvada (2): > > ata: libahci: Correct s

Re: [PATCH] x86/MCE: Fix CPU microcode version output

2018-07-30 Thread Prarit Bhargava
On 07/03/2018 05:43 PM, Borislav Petkov wrote: > On Tue, Jul 03, 2018 at 09:58:49AM -0700, Luck, Tony wrote: >> On Tue, Jul 03, 2018 at 12:48:44PM -0400, Prarit Bhargava wrote: >>> On systems where a runtime microcode update has occurred the >>> microcode version is wrong because boot_cpu_data.m

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-07-30 Thread Tetsuo Handa
On 2018/07/30 23:54, Tejun Heo wrote: > Hello, > > On Mon, Jul 30, 2018 at 04:46:47PM +0200, Michal Hocko wrote: >> On Mon 30-07-18 23:34:23, Tetsuo Handa wrote: >>> On 2018/07/30 18:32, Michal Hocko wrote: >> [...] This one is waiting for draining and we are in mm_percpu_wq WQ context w

<    1   2   3   4   5   6   7   8   >