Re: [PATCH 2/5] mm/memory_hotplug: Create add/del_device_memory functions

2018-10-18 Thread Oscar Salvador
On Wed, Oct 17, 2018 at 11:45:50AM +0200, David Hildenbrand wrote: > Here you go ;) > > Reviewed-by: David Hildenbrand thanks! > I'm planning to look into the other patches as well, but I'll be busy > with traveling and KVM forum the next 1.5 weeks. No need to hurry, this can wait. -- Oscar

[PATCH v3 2/2] selftests/memfd: Add tests for F_SEAL_FS_WRITE seal

2018-10-18 Thread Joel Fernandes (Google)
Add tests to verify sealing memfds with the F_SEAL_FS_WRITE works as expected. Cc: dan...@google.com Cc: minc...@kernel.org Reviewed-by: John Stultz Signed-off-by: Joel Fernandes (Google) --- tools/testing/selftests/memfd/memfd_test.c | 74 ++ 1 file changed, 74

Attn: Sir

2018-10-18 Thread May T. Lee
Attn: Sir, We have gone through your country’s investment profile and history and we are interested to invest in it, we will be willing to partner with you and invest a substantial amount of money in your company if you have an existing company or we can also partner with you to set up a new

Re: [PATCH] Staging iio/adc: fixes parenthesis alignment

2018-10-18 Thread Dan Carpenter
I feel like these are overly nit-picky... I understand that everyone is picky about different things. For example, I have a prefered style for error handling. So two days ago there was a new staging driver and it used label name like "goto kmalloc_failed;" and I looked until I found an error

[tip:perf/urgent] perf vendor events intel: Fix wrong filter_band* values for uncore events

2018-10-18 Thread tip-bot for Jiri Olsa
Commit-ID: 94aafb74cee0002e2f2eb6dc5376f54d5951ab4d Gitweb: https://git.kernel.org/tip/94aafb74cee0002e2f2eb6dc5376f54d5951ab4d Author: Jiri Olsa AuthorDate: Wed, 10 Oct 2018 10:03:39 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 11 Oct 2018 11:13:23 -0300 perf vendor

[tip:perf/urgent] Revert "perf tools: Fix PMU term format max value calculation"

2018-10-18 Thread tip-bot for Jiri Olsa
Commit-ID: 1b9caa10b31dda0866f4028e4bfb923fb6e4072f Gitweb: https://git.kernel.org/tip/1b9caa10b31dda0866f4028e4bfb923fb6e4072f Author: Jiri Olsa AuthorDate: Wed, 3 Oct 2018 09:20:46 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 9 Oct 2018 10:48:55 -0300 Revert "perf

Re: possible deadlock in ovl_copy_up_start

2018-10-18 Thread Amir Goldstein
On Thu, Oct 18, 2018 at 7:48 AM syzbot wrote: > > Hello, > > syzbot found the following crash on: > > HEAD commit:c343db455eb3 Merge branch 'parisc-4.19-3' of git://git.ker.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=167d08ee40 > kernel config:

Re: [PATCH V2 5/5] Tools: hv: kvp: Fix a warning of buffer overflow with gcc 8.0.1

2018-10-18 Thread Dan Carpenter
On Thu, Oct 18, 2018 at 05:09:32AM +, k...@linuxonhyperv.com wrote: > From: Dexuan Cui > > The patch fixes: > > hv_kvp_daemon.c: In function 'kvp_set_ip_info': > hv_kvp_daemon.c:1305:2: note: 'snprintf' output between 41 and 4136 bytes > into a destination of size 4096 > > The "(unsigned

Re: [PATCH 4.14 000/109] 4.14.77-stable review

2018-10-18 Thread Jon Hunter
On 16/10/2018 18:04, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.77 release. > There are 109 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH] clocksource: imx-gpt: add support for ARM64

2018-10-18 Thread Anson Huang
This patch allows building and compile-testing the i.MX GPT driver also for ARM64. The delay_timer is only supported on ARMv7. Signed-off-by: Anson Huang --- drivers/clocksource/Kconfig | 2 +- drivers/clocksource/timer-imx-gpt.c | 4 2 files changed, 5 insertions(+), 1 deletion(-)

Re: [RFC PATCH] mm, proc: report PR_SET_THP_DISABLE in proc

2018-10-18 Thread Michal Hocko
On Wed 17-10-18 12:59:18, David Rientjes wrote: > On Wed, 17 Oct 2018, Michal Hocko wrote: > > > Do you know of any other userspace except your usecase? Is there > > anything fundamental that would prevent a proper API adoption for you? > > > > Yes, it would require us to go back in time and

linux-next: Tree for Oct 18

2018-10-18 Thread Stephen Rothwell
Hi all, News: I will not be doing linux-next releases next week. Unfortunately this will probably be the first week of the merge window. :-( Changes since 20181017: The kvm tree gained a conflict against Linus' tree. The kvm-arm tree gained a conflict against the kvm tree. The scsi-mkp tree

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-18 Thread Rafael J. Wysocki
On Thu, Oct 18, 2018 at 8:48 AM Ingo Molnar wrote: > > > * Thara Gopinath wrote: > > > On 10/16/2018 03:33 AM, Ingo Molnar wrote: > > > > > > * Thara Gopinath wrote: > > > > > Regarding testing, basic build, boot and sanity testing have been > > performed on hikey960 mainline kernel

Re: [PATCH] pstore/ram: Clarify resource reservation labels

2018-10-18 Thread Kees Cook
On Wed, Oct 17, 2018 at 5:49 PM, Dan Williams wrote: > On Wed, Oct 17, 2018 at 5:29 PM Kees Cook wrote: >> >> When ramoops reserved a memory region in the kernel, it had an unhelpful >> label of "persistent_memory". When reading /proc/iomem, it would be >> repeated many times, did not hint that

Re: [PATCH v2] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-10-18 Thread Phil Reid
On 17/10/2018 10:47 PM, Nishad Kamdar wrote: Use the gpiod interface for rdwr_pin, convert_pin and busy_pin instead of the deprecated old non-descriptor interface. Signed-off-by: Nishad Kamdar --- Changes in v2: - Correct the error messages as pin number being showed has now been

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Andy Shevchenko
On Thu, Oct 18, 2018 at 10:33 AM Rafael J. Wysocki wrote: > > On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: > > > > On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the > > kernel. The P-Unit has a semaphore for the PMIC bus which we can take to > > block it from accessing

Re: [PATCH 3/3] i2c: designware: Cleanup bus lock handling

2018-10-18 Thread Wolfram Sang
On Sun, Sep 23, 2018 at 04:45:10PM +0200, Hans de Goede wrote: > Now that most of the special Bay- / Cherry-Trail bus lock handling has > been moved to the iosf_mbi code we can simplify the remaining code a bit. > > Signed-off-by: Hans de Goede Acked-by: Wolfram Sang signature.asc

Re: statx(2) API and documentation

2018-10-18 Thread Miklos Szeredi
On Thu, Oct 18, 2018 at 12:22 AM, Florian Weimer wrote: > * Andreas Dilger: > >>> So what's the point exactly? >> >> Ah, I see your point... STATX_ALL seems to be mostly useful for the kernel >> to mask off flags that it doesn't currently understand. It doesn't make >> much sense for

Re: [driver-core PATCH v4 3/6] device core: Consolidate locking and unlocking of parent and device

2018-10-18 Thread Rafael J. Wysocki
On Mon, Oct 15, 2018 at 5:09 PM Alexander Duyck wrote: > > This patch is meant to try and consolidate all of the locking and unlocking > of both the parent and device when attaching or removing a driver from a > given device. > > To do that I first consolidated the lock pattern into two functions

Re: [PATCH v2] Bluetooth: hci_qca: Add support for controller debug logs.

2018-10-18 Thread Marcel Holtmann
Hi Balakrishna, > This patch will prevent error messages splashing on console. > [ 78.426697] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL > packet for unknown connection handle 3804 > [ 78.436682] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL

[PATCH 2/2] mfd: ab8500-core: Return zero in get_register_interruptible()

2018-10-18 Thread Dan Carpenter
I just noticed this in review. The get_register_interruptible() should return zero on success but it instead returns the value that it read. I looked at all the places that called this directly and they check for negatives and treat greater than or equal to zero as success. This function is

Re: [PATCH 3/5] dt-bindings: add more optional properties for elan_i2c touchpads

2018-10-18 Thread Benjamin Tissoires
On Wed, Oct 17, 2018 at 10:15 PM Rob Herring wrote: > > On Fri, Oct 12, 2018 at 04:24:11PM +0200, Benjamin Tissoires wrote: > > Some new touchpads IC are connected through PS/2 and I2C. On some of these > > new IC, the I2C part doesn't have all of the information available. > > We need to be able

Re: [RFC v4 PATCH 2/5] mm/__free_one_page: skip merge for order-0 page unless compaction failed

2018-10-18 Thread Vlastimil Babka
On 10/18/18 8:48 AM, Aaron Lu wrote: > On Wed, Oct 17, 2018 at 07:03:30PM +0200, Vlastimil Babka wrote: >> On 10/17/18 3:58 PM, Mel Gorman wrote: >>> Again, as compaction is not guaranteed to find the pageblocks, it would >>> be important to consider whether a) that matters or b) find an >>>

Re: [PATCH v4 3/3] iio: magnetometer: Add driver support for PNI RM3100

2018-10-18 Thread Song Qiang
On 2018/10/13 下午6:19, Jonathan Cameron wrote: On Fri, 12 Oct 2018 15:35:36 +0800 Song Qiang wrote: PNI RM3100 is a high resolution, large signal immunity magnetometer, composed of 3 single sensors and a processing chip with a MagI2C interface. Following functions are available: -

Re: INFO: rcu detected stall in do_idle

2018-10-18 Thread Juri Lelli
On 16/10/18 16:03, Peter Zijlstra wrote: > On Tue, Oct 16, 2018 at 03:24:06PM +0200, Thomas Gleixner wrote: > > It does reproduce here but with a kworker stall. Looking at the reproducer: > > > > *(uint32_t*)0x2000 = 0; > > *(uint32_t*)0x2004 = 6; > > *(uint64_t*)0x2008 = 0; > >

Re: [PATCH V9 12/21] csky: ELF and module probe

2018-10-18 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 4:49 AM Guo Ren wrote: > > On Wed, Oct 17, 2018 at 05:18:49PM +0200, Arnd Bergmann wrote: > > On Tue, Oct 16, 2018 at 5:02 AM Guo Ren wrote: > > > > > > This patch adds ELF definition and module relocate codes. > > > > > > Signed-off-by: Guo Ren > > > Cc: Arnd Bergmann

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Rafael J. Wysocki
On Thursday, October 18, 2018 10:34:57 AM CEST Hans de Goede wrote: > Hi, > > On 18-10-18 09:29, Rafael J. Wysocki wrote: > > On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: > >> > >> On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the > >> kernel. The P-Unit has a

[PATCH 4/5] rtc: sc27xx: Add check to see if need to enable the alarm interrupt

2018-10-18 Thread Baolin Wang
The RTC interrupt enable register is not put in always-power-on region supplied by VDDRTC, so we should check if we need enable the alarm interrupt when system booting. Signed-off-by: Baolin Wang --- drivers/rtc/rtc-sc27xx.c | 33 + 1 file changed, 33

Re: [PATCH 3/5] dt-bindings: add more optional properties for elan_i2c touchpads

2018-10-18 Thread Hans de Goede
Hi, On 18-10-18 10:44, Benjamin Tissoires wrote: On Thu, Oct 18, 2018 at 10:39 AM Hans de Goede wrote: Hi, On 18-10-18 10:10, Benjamin Tissoires wrote: On Wed, Oct 17, 2018 at 10:15 PM Rob Herring wrote: On Fri, Oct 12, 2018 at 04:24:11PM +0200, Benjamin Tissoires wrote: Some new

[PATCH 0/5] Fix some issues for RTC alarm function

2018-10-18 Thread Baolin Wang
This patch set fixes some issues when setting one RTC alarm. Baolin Wang (5): rtc: sc27xx: Set wakeup capability before registering rtc device rtc: sc27xx: Clear SPG value update interrupt status rtc: sc27xx: Remove interrupts disable and clear in probe() rtc: sc27xx: Add check to see if

Re: [PATCH 3/4] irqchip/mbigen: add support for a MBIGEN generating SPIs

2018-10-18 Thread Marc Zyngier
Hi Yang, On 18/10/18 04:41, Yang Yingliang wrote: > Hi, Marc > > On 2018/10/18 0:30, Marc Zyngier wrote: >> On 16/10/18 10:15, Yang Yingliang wrote: >>> Now with >>> 5052875 ("irqchip/gic-v3: Add support for Message Based Interrupts as an >>> MSI controller"), >>> we can support MBIGEN to

Re: [PATCH 9/9] [DO NOT MERGE] drm/sun4i: rgb: Add 5% tolerance to dot clock frequency check

2018-10-18 Thread Laurent Pinchart
Hi Icenowy, Thank you for the patch. On Thursday, 18 October 2018 10:33:27 EEST Icenowy Zheng wrote: > From: Chen-Yu Tsai > > The panels shipped with Allwinner devices are very "generic", i.e. > they do not have model numbers or reliable sources of information > for the timings (that we know

[PATCH 0/3] nds32: Unaligned access handler fix

2018-10-18 Thread Nickhu
The patches are about unaligned access handler. We fix some bugs in unaligned access handler and add some kernel configs for unaligned access handler. Then we add the kernel unaligned access handled by software in handler. Nickhu (3): nds32: Fix instruction simulator bug for unaligned access

[PATCH v4 4/8] regulator: stpmic1: add stpmic1 regulator driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds several regulators and switches with different capabilities. Signed-off-by: pascal paillet --- changes in v4: nothing drivers/regulator/Kconfig | 12 + drivers/regulator/Makefile| 1 +

[PATCH v4 1/8] dt-bindings: mfd: document stpmic1

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators , 3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v4: * remove interrupt-parent description * pmic1@33 renamed to pmic@33 * fix indentation

[PATCH v4 2/8] mfd: stpmic1: add stpmic1 driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet stpmic1 is a pmic from STMicroelectronics. The STPMIC1 integrates 10 regulators , 3 switches, a watchdog and an input for a power on key. Signed-off-by: pascal paillet --- changes in v4: * rename PONKEY_PU_ACTIVE to PONKEY_PU_INACTIVE drivers/mfd/Kconfig | 13 ++

[PATCH v4 8/8] watchdog: stpmic1: add stpmic1 watchdog driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. As soon as the watchdog is started, it must be refreshed periodically otherwise the PMIC goes off. Signed-off-by: pascal paillet --- changes in v4: * fix stop watchdog function * Kconfig: fix grammar issue

Re: [kbuild-all] [PATCH RT] rt: convert mm/kasan/quarantine_lock to raw_spinlock

2018-10-18 Thread Rong Chen
On 10/06/2018 12:37 AM, Sebastian Andrzej Siewior wrote: On 2018-09-19 04:34:50 [+0800], kbuild test robot wrote: Hi Clark, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linux-rt-devel/for-kbuild-bot/current-stable] url:

[PATCH v2] drm/sti: clean up after drm_atomic_helper_shutdown rework

2018-10-18 Thread Benjamin Gaignard
Since drm_atomic_helper_shutdown() rework it is possible to do additional clean up in sti driver: custom plane destroy functions become useless and clean up encoder is no more needed. Signed-off-by: Benjamin Gaignard --- version 2: - try to be more smart when unbinding tvout.

[PATCH v4 6/8] input: stpmic1: add stpmic1 onkey driver

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. This driver exposes the stpmic1 onkey as an input device. It can also be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet --- changes in v4: *

Linux 4.9.134

2018-10-18 Thread Greg KH
I'm announcing the release of the 4.9.134 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

[PATCH v4 3/8] dt-bindings: regulator: document stpmic1 pmic regulators

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The STPMIC1 regulators supply power to the application processor as well as to the external system peripherals such as DDR, Flash memories and system devices. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- changes in v4: nothing

[PATCH v4 7/8] dt-bindings: watchdog: document stpmic1 pmic watchdog

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 PMIC embeds a watchdog which is disabled by default. In case of watchdog, the PMIC goes off. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/watchdog/st,stpmic1-wdt.txt | 11 +++ 1 file changed, 11

[no subject]

2018-10-18 Thread stefan.popa
From: Stefan Popa To: ji...@kernel.org Cc: michael.henner...@analog.com, knaac...@gmx.de, l...@metafoo.de, pme...@pmeerw.net, gre...@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-...@vger.kernel.org, de...@driverdev.osuosl.org,

Re: [PATCH] cacheinfo: Keep the old value if of_property_read_u32 fails

2018-10-18 Thread Sudeep Holla
Hi Huacai, On Thu, Oct 18, 2018 at 09:28:11AM +0800, Huacai Chen wrote: > Hi, Sudeep, > > Please see this call-graph: > > static int detect_cache_attributes(unsigned int cpu) > > ret = populate_cache_leaves(cpu); > > ret =

Re: [PATCH 1/4] Adds -Wshadow=local on KBUILD_HOSTCFLAGS

2018-10-18 Thread Borislav Petkov
On Wed, Oct 17, 2018 at 09:40:53PM -0300, Leonardo Bras wrote: > The idea was to put it as default and fix all the shadowing warnings. > What do you think? I am open to suggestions. That's Masahiro's call. In the rest of the kernel, those warnings are behind the W=2 switch - i.e., not enabled by

Re: [PATCH 4.18 000/135] 4.18.15-stable review

2018-10-18 Thread Greg Kroah-Hartman
On Wed, Oct 17, 2018 at 12:30:28PM -0600, Shuah Khan wrote: > On 10/16/2018 11:03 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.18.15 release. > > There are 135 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: statx(2) API and documentation

2018-10-18 Thread Miklos Szeredi
On Wed, Oct 17, 2018 at 10:22 PM, Andreas Dilger wrote: > On Oct 17, 2018, at 1:04 PM, Miklos Szeredi wrote: >> So what's the point exactly? > > Ah, I see your point... STATX_ALL seems to be mostly useful for the kernel > to mask off flags that it doesn't currently understand. And even there

Re: [v5 2/4] mpt3sas: Fix Sync cache command failure during driver unload

2018-10-18 Thread Andy Shevchenko
On Thu, Oct 18, 2018 at 10:11 AM Suganath Prabu Subramani wrote: > > > > On Wed, Oct 17, 2018 at 2:02 PM Andy Shevchenko > wrote: >> >> On Wed, Oct 17, 2018 at 8:59 AM Suganath Prabu >> wrote: >> > >> > This is to fix Sync cache and start stop command >> > failures with DID_NO_CONNECT during

Re: [PATCH 0/2] [GIT PULL] tracing: Two fixes for 4.19

2018-10-18 Thread Greg Kroah-Hartman
On Wed, Oct 17, 2018 at 03:49:39PM -0400, Steven Rostedt wrote: > > Linus (aka Greg), > > This fixes two bugs: > > - Fix size mismatch of tracepoint array > > - Have preemptirq test module use same clock source of the selftest Now pulled, thanks. greg k-h

Re: statx(2) API and documentation

2018-10-18 Thread Florian Weimer
* Jan Kara: > On Thu 18-10-18 01:15:13, Amir Goldstein wrote: >> FYI, I identified a similar anti-pattern in fanotify UAPI when I wanted to >> add new flags and did not want to change the UAPI _ALL_ constants. >> This is how we plan to solve it: >>

[PATCH 2/2] dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC

2018-10-18 Thread shun-chih.yu
From: Shun-Chih Yu MediaTek Command-Queue DMA controller (CQDMA) on MT6765 SoC is dedicated to memory-to-memory transfer through queue based descriptor management. There are only 3 physical channels inside CQDMA, while the driver is extended to support 32 virtual channels for multiple dma users

[PATCH v3] add support for Mediatek Command-Queue DMA controller on MT6765 SoC

2018-10-18 Thread shun-chih.yu
Changes since v2: - fix build warning for kernel with DMA address in 32-bit Changes since v1: - remove unused macros, typos - leverage ASYNC_TX_ENABLE_CHANNEL_SWITCH to maintain DMA descriptor list Shun-Chih Yu (2): dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller

[PATCH 1/2] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2018-10-18 Thread shun-chih.yu
From: Shun-Chih Yu Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6765 SoC or other similar Mediatek SoCs. Signed-off-by: Shun-Chih Yu Reviewed-by: Rob Herring --- .../devicetree/bindings/dma/mtk-cqdma.txt | 31

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-18 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > > The only long term maintainable solution is to move all high level > > cpufreq logic and policy handling code into kernel/sched/cpufreq*.c, > > which has been done to a fair degree already in the past ~2 years - but > > it's unclear to me to what extent this is

[PATCH] ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers

2018-10-18 Thread Frieder Schrempf
Some SOCs in the i.MX6 family have a USB host controller that is only capable of the HSIC interface and has no on-board PHY. To be able to use these controllers, we need to add "usb-nop-xceiv" dummy PHYs. Signed-off-by: Frieder Schrempf --- arch/arm/boot/dts/imx6qdl.dtsi | 14 ++

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-18 Thread Lukasz Luba
On 10/17/2018 06:24 PM, Thara Gopinath wrote: > On 10/16/2018 01:11 PM, Vincent Guittot wrote: >> Hi Lukasz, >> >> On Thu, 11 Oct 2018 at 13:10, Lukasz Luba wrote: >>> >>> >>> >>> On 10/10/2018 07:30 PM, Thara Gopinath wrote: Hello Lukasz, On 10/10/2018 11:35 AM, Lukasz Luba

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-18 Thread Rafael J. Wysocki
On Thu, Oct 18, 2018 at 9:50 AM Ingo Molnar wrote: > > > * Rafael J. Wysocki wrote: > > > > The only long term maintainable solution is to move all high level > > > cpufreq logic and policy handling code into kernel/sched/cpufreq*.c, > > > which has been done to a fair degree already in the past

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Hans de Goede
Hi, On 18-10-18 09:29, Rafael J. Wysocki wrote: On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the kernel. The P-Unit has a semaphore for the PMIC bus which we can take to block it from accessing the shared bus while the

Re: [PATCH V9 00/21] C-SKY(csky) Linux Kernel Port

2018-10-18 Thread Arnd Bergmann
On Thu, Oct 18, 2018 at 6:11 AM Guo Ren wrote: > > On Wed, Oct 17, 2018 at 05:58:46PM +0200, Arnd Bergmann wrote: > > On Tue, Oct 16, 2018 at 4:58 AM Guo Ren wrote: > > > > > > This is the 9th version patchset to add the Linux kernel port for > > > C-SKY(csky) based on linux-4.19-rc3. > > > > >

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Hans de Goede
HI, On 18-10-18 10:38, Rafael J. Wysocki wrote: On Thursday, October 18, 2018 10:34:57 AM CEST Hans de Goede wrote: Hi, On 18-10-18 09:29, Rafael J. Wysocki wrote: On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the

[PATCH 1/3] nds32: Fix instruction simulator bug for unaligned access handler.

2018-10-18 Thread Nickhu
When emulating the 16 bits instructions, the mapping of general purpose registers is not the same as 32 bits instructions. Example: 'LWI450 r16, [r15]' 16-bit instruction will be decoded as '1011010110001110', the target register field is decode as index=12.

[PATCH 3/3] nds32: Add unaligned access in kernel space.

2018-10-18 Thread Nickhu
As my colleague has encountered kernel panic when unaligned access in kernel space. Here is the situation, the structure 'TP_STRUCT__entry': TP_STRUCT__entry( __field(u32,tb_id ) __field(int,err )

Re: [PATCH] kthread: finer-grained lockdep/cross-release completion

2018-10-18 Thread Daniel Vetter
On Fri, Mar 16, 2018 at 12:26 AM Byungchul Park wrote: > > On 3/15/2018 9:41 PM, Peter Zijlstra wrote: > > On Thu, Mar 15, 2018 at 11:31:57AM +0100, Daniel Vetter wrote: > >> Is there any progress on getting cross-release enabled again? > > > > Not yet, I'm still fighting the meltdown/spectre

[PATCH 1/1] nds32: Fix gcc 8.0 compiler option incompatible.

2018-10-18 Thread Nickhu
When the kernel configs of ftrace and frame pointer options are choosed, the compiler option of kernel will incompatible. Error message: nds32le-linux-gcc: error: -pg and -fomit-frame-pointer are incompatible Signed-off-by: Nickhu Signed-off-by: Zong Li ---

Re: [PATCH] arm: kernel: add support for detecting armv8 cpu cache information

2018-10-18 Thread Russell King - ARM Linux
On Thu, Oct 18, 2018 at 02:16:47PM +0800, Teng Fei Fan wrote: > This patch adds support for cacheinfo on 32bit ARMv8 platform. > Add support for detecting cpu cache information cpu cache information > via sysfs for 32bit armv8 platform. And export to sysfs then userspace > can get from

[PATCH 2/3] nds32: Add 'HAVE_EFFICIENT_UNALIGNED_ACCESS' config

2018-10-18 Thread Nickhu
According to my understanding, this config will optimize the code generate. When there is an unaligned access happened, the load word instruction still can be used if there is unaligned access support or the load byte instruction is used. So this config need unaligned access support.

[PATCH 1/1] Perf: Compile failed when compile with libelf.

2018-10-18 Thread Nickhu
The error message: = util/symbol-elf.c:46:12: error: static declaration of 'elf_getphdrnum' follows non-static declaration static int elf_getphdrnum(Elf *elf, size_t *dst) ^~ In file included from

[PATCH 0/1] nds32: Fix gcc 8.0 compiler option incompatible.

2018-10-18 Thread Nickhu
Fix gcc 8.0 compiler option incompatible When the kernel configs of ftrace and frame pointer options are choosed. Nickhu (1): nds32: Fix gcc 8.0 compiler option incompatible. arch/nds32/mm/Makefile | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) -- 2.17.0

[PATCH 0/1] Perf: Compile failed when compile with libelf.

2018-10-18 Thread Nickhu
Fix perf failed when compile with libelf. Nickhu (1): Perf: Compile failed when compile with libelf. tools/perf/util/symbol-elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.0

Re: Linux 4.9.134

2018-10-18 Thread Greg KH
diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt index 1506e948610c..d1f435c92912 100644 --- a/Documentation/devicetree/bindings/net/macb.txt +++ b/Documentation/devicetree/bindings/net/macb.txt @@ -10,6 +10,7 @@ Required properties:

Linux 4.14.77

2018-10-18 Thread Greg KH
I'm announcing the release of the 4.14.77 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: [PATCH V9 00/21] C-SKY(csky) Linux Kernel Port

2018-10-18 Thread Guo Ren
On Thu, Oct 18, 2018 at 10:36:45AM +0200, Arnd Bergmann wrote: > On Thu, Oct 18, 2018 at 6:11 AM Guo Ren wrote: > > > > On Wed, Oct 17, 2018 at 05:58:46PM +0200, Arnd Bergmann wrote: > > > On Tue, Oct 16, 2018 at 4:58 AM Guo Ren wrote: > > > > > > > > This is the 9th version patchset to add the

[PATCH v4 0/8] Introduce STPMIC1 PMIC Driver

2018-10-18 Thread Pascal PAILLET-LME
The goal of this patch-set is to propose a driver for the STPMIC1 PMIC from STMicroelectronics. The STPMIC1 regulators supply power to an application processor as well as to external system peripherals such as DDR, Flash memories and system devices. It also features onkey button input and an

Re: [PATCH 4.9 00/71] 4.9.134-stable review

2018-10-18 Thread Greg Kroah-Hartman
On Wed, Oct 17, 2018 at 12:19:39PM -0700, Guenter Roeck wrote: > On Tue, Oct 16, 2018 at 07:08:57PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.134 release. > > There are 71 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH 4.14 000/109] 4.14.77-stable review

2018-10-18 Thread Greg Kroah-Hartman
On Thu, Oct 18, 2018 at 07:43:02AM +0100, Jon Hunter wrote: > > On 16/10/2018 18:04, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.77 release. > > There are 109 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH v4] kernel/hung_task.c: disable on suspend

2018-10-18 Thread Rafael J. Wysocki
On Wed, Oct 17, 2018 at 1:24 PM Vitaly Kuznetsov wrote: > > It is possible to observe hung_task complaints when system goes to > suspend-to-idle state: > > # echo freeze > /sys/power/state > > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.001 seconds) done. >

Re: statx(2) API and documentation

2018-10-18 Thread Florian Weimer
* Miklos Szeredi: > On Thu, Oct 18, 2018 at 12:22 AM, Florian Weimer wrote: >> * Andreas Dilger: >> So what's the point exactly? >>> >>> Ah, I see your point... STATX_ALL seems to be mostly useful for the kernel >>> to mask off flags that it doesn't currently understand. It doesn't make

Re: [PATCH v2] staging: iio: ad7816: Switch to the gpio descriptor interface

2018-10-18 Thread Lars-Peter Clausen
On 10/18/2018 09:28 AM, Phil Reid wrote: [...] >> +    chip->rdwr_pin = devm_gpiod_get(_dev->dev, "rdwr", GPIOD_IN); >> +    if (IS_ERR(chip->rdwr_pin)) { >> +    ret = PTR_ERR(chip->rdwr_pin); >> +    dev_err(_dev->dev, "Failed to request rdwr GPIO: %d\n", >> +    ret); >>

Re: statx(2) API and documentation

2018-10-18 Thread Miklos Szeredi
On Thu, Oct 18, 2018 at 9:39 AM, Florian Weimer wrote: > * Miklos Szeredi: > >> On Thu, Oct 18, 2018 at 12:22 AM, Florian Weimer wrote: >>> * Andreas Dilger: >>> > So what's the point exactly? Ah, I see your point... STATX_ALL seems to be mostly useful for the kernel to mask

Re: statx(2) API and documentation

2018-10-18 Thread Jan Kara
On Thu 18-10-18 01:15:13, Amir Goldstein wrote: > On Wed, Oct 17, 2018 at 10:12 PM Miklos Szeredi wrote: > > > >> - STATX_ALL definition is unclear, can this change, or is it fixed? > > >> If it's the former, than that's a backward compatibility nightmare. > > >> If it's the latter, then what's

Re: [RFC PATCH 1/5] x86: introduce preemption disable prefix

2018-10-18 Thread Peter Zijlstra
On Wed, Oct 17, 2018 at 06:22:48PM -0700, Andy Lutomirski wrote: > > > On Oct 17, 2018, at 5:54 PM, Nadav Amit wrote: > > > > It is sometimes beneficial to prevent preemption for very few > > instructions, or prevent preemption for some instructions that precede > > a branch (this latter case

Re: [PATCH v3] mm: memcontrol: Don't flood OOM messages with no eligible task.

2018-10-18 Thread Michal Hocko
On Thu 18-10-18 15:10:18, Sergey Senozhatsky wrote: [...] > and let's hear from MM people what they can suggest. > > Michal, Andrew, Johannes, any thoughts? I have already stated my position. Let's not reinvent the wheel and use the standard printk throttling. If there are cases where oom

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Jarkko Nikula
On 10/18/2018 10:36 AM, Andy Shevchenko wrote: On Thu, Oct 18, 2018 at 10:33 AM Rafael J. Wysocki wrote: On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the kernel. The P-Unit has a semaphore for the PMIC bus which we

Re: possible deadlock in ovl_copy_up_start

2018-10-18 Thread Miklos Szeredi
On Thu, Oct 18, 2018 at 8:26 AM, Amir Goldstein wrote: > Can someone tell me what the expected behavior of a nested > mutex_lock_interruptible(); ? > > Why does the reproducer only warn and not really deadlock. > It is because that is considered the lesser evil? > and obviously, then inner

Re: [PATCH v11 1/5] venus: firmware: add routine to reset ARM9

2018-10-18 Thread Stanimir Varbanov
Hi Joe, On 10/18/2018 04:42 AM, Joe Perches wrote: > On Wed, 2018-10-17 at 11:49 +0300, Stanimir Varbanov wrote: >> On 10/08/2018 04:32 PM, Vikash Garodia wrote: >>> Add routine to reset the ARM9 and brings it out of reset. Also >>> abstract the Venus CPU state handling with a new function. This

Re: [PATCH 3/5] dt-bindings: add more optional properties for elan_i2c touchpads

2018-10-18 Thread Hans de Goede
Hi, On 18-10-18 10:10, Benjamin Tissoires wrote: On Wed, Oct 17, 2018 at 10:15 PM Rob Herring wrote: On Fri, Oct 12, 2018 at 04:24:11PM +0200, Benjamin Tissoires wrote: Some new touchpads IC are connected through PS/2 and I2C. On some of these new IC, the I2C part doesn't have all of the

[PATCH v4 5/8] dt-bindings: input: document stpmic1 pmic onkey

2018-10-18 Thread Pascal PAILLET-LME
From: pascal paillet The stpmic1 pmic is able to manage an onkey button. It can be configured to shut-down the power supplies on a long key-press with an adjustable duration. Signed-off-by: pascal paillet Reviewed-by: Rob Herring --- changes in v4: * remove interrupt-parent description *

[PATCH 1/2] staging: iio: ad7606: Move out of staging

2018-10-18 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- MAINTAINERS | 7 + drivers/iio/adc/Kconfig | 34 +++ drivers/iio/adc/Makefile | 3 + drivers/iio/adc/ad7606.c | 565

hi

2018-10-18 Thread Sgt Sherri Gallagher
Please reply me back I am Sgt.Sherri,

Re: [PATCH] regulator: stpmic1: Return REGULATOR_MODE_INVALID for invalid mode

2018-10-18 Thread Pascal PAILLET-LME
Hi Axel, Thank you for your comment. As the driver is merged, I will make the change in a future patch-set. Best regards, Pascal. Le 10/09/2018 10:52 AM, Axel Lin a écrit : > -EINVAL is not a valid return value for .of_map_mode, return > REGULATOR_MODE_INVALID instead. > > Signed-off-by: Axel

Re: [PATCH 0/7] staging: vc04_services: Some dead code removal

2018-10-18 Thread Dave Stevenson
On Wed, 17 Oct 2018 at 17:51, Peter Robinson wrote: > > > >> > Drop various pieces of dead code from here and there to get rid of > > >> > the remaining users of VCHI_CONNECTION_T. After that we get to drop > > >> > entire header files worth of unused code. > > >> > > > >> > I've tested on a

Re: [RFC][PATCH] perf: Rewrite core context handling

2018-10-18 Thread Alexey Budankov
Hi, On 17.10.2018 19:30, Peter Zijlstra wrote: > On Wed, Oct 17, 2018 at 11:57:49AM +0300, Alexey Budankov wrote: >> Hi, >> >> On 10.10.2018 13:45, Peter Zijlstra wrote: >> >>> -static bool perf_rotate_context(struct perf_cpu_context *cpuctx) >>> +/* >>> + * XXX somewhat completely buggered;

Re: [PATCH v3 2/2] selftests/memfd: Add tests for F_SEAL_FS_WRITE seal

2018-10-18 Thread Joel Fernandes
On Wed, Oct 17, 2018 at 11:59 PM, Joel Fernandes (Google) wrote: > Add tests to verify sealing memfds with the F_SEAL_FS_WRITE works as > expected. I messed the commit message it should be "F_SEAL_FUTURE_WRITE", but otherwise this patch itself is good and I'll resend it with the corrected commit

Re: l1tf: Kernel suggests I throw away third of my memory. I'd rather not

2018-10-18 Thread Vlastimil Babka
On 10/18/18 12:21 AM, Dave Hansen wrote: > On 10/17/2018 04:32 AM, Pavel Machek wrote: >>> Well, that depends. Do you care about PROT_NONE attacks as well? If not >>> then no-swap would help you. But even then no-swap is rather theoretical >>> attack on a physical host unless you allow an

Re: [PATCH 1/3] x86: baytrail/cherrytrail: Rework and move P-Unit PMIC bus semaphore code

2018-10-18 Thread Rafael J. Wysocki
On Sun, Sep 23, 2018 at 4:45 PM Hans de Goede wrote: > > On some BYT/CHT systems the SoC's P-Unit shares the I2C bus with the > kernel. The P-Unit has a semaphore for the PMIC bus which we can take to > block it from accessing the shared bus while the kernel wants to access it. > > Currently we

Re: [PATCH] dt-bindings: ufs: Fix the compatible string definition

2018-10-18 Thread Vivek Gautam
On 10/17/2018 9:41 PM, Doug Anderson wrote: Hi, On Tue, Oct 16, 2018 at 11:28 PM Vivek Gautam wrote: Hi Doug, On 10/16/2018 10:29 PM, Doug Anderson wrote: Hi, On Mon, Oct 15, 2018 at 10:51 PM Vivek Gautam wrote: P.S.: While you are at it, can you please move 'ufs-qcom.txt' to

Re: [PATCH v3] Bluetooth: hci_qca: Add support for controller debug logs.

2018-10-18 Thread Marcel Holtmann
Hi Balakrishna, > This patch will prevent error messages splashing on console. > > [ 78.426697] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet > for unknown connection handle 3804 > [ 78.436682] Bluetooth: hci_core.c:hci_acldata_packet() hci0: ACL packet > for unknown

Re: [PATCH v3 3/3] i2c: designware: Cleanup bus lock handling

2018-10-18 Thread Wolfram Sang
On Mon, Oct 15, 2018 at 05:15:47PM +0300, Jarkko Nikula wrote: > On 10/11/2018 05:29 PM, Hans de Goede wrote: > > Now that most of the special Bay- / Cherry-Trail bus lock handling has > > been moved to the iosf_mbi code we can simplify the remaining code a bit. > > > > Signed-off-by: Hans de

[PATCH] RDMA/hns: Use 64-bit arithmetic instead of 32-bit

2018-10-18 Thread Gustavo A. R. Silva
Cast *max_num_sg* to u64 in order to give the compiler complete information about the proper arithmetic to use. Notice that such variable is used in a context that expects an expression of type u64 (64 bits, unsigned) and the following expression is currently being evaluated using 32-bit

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