Re: [PATCH] platform/x86: wmi: Fix printing info about WDG structure

2017-05-27 Thread Andy Shevchenko
On Sat, May 27, 2017 at 11:48 PM, Pali Rohár wrote: > On Saturday 27 May 2017 15:33:14 Andy Shevchenko wrote: >> On Sat, May 27, 2017 at 4:17 PM, Pali Rohár >> wrote: >> Okay, got it. But on your opinion does it make sense to do >> >> pr_info("\tobject_id: %2pE\n", g->object_id); >> >> instead?

[PATCH v5] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Badhri Jagan Sridharan
User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type is not supported. Signed-off-by: Badhri Jagan Sridhara

Re: [PATCH v5] usb: typec: Add a sysfs node to manage port type

2017-05-27 Thread Guenter Roeck
On 05/27/2017 01:52 PM, Badhri Jagan Sridharan wrote: User space applications in some cases have the need to enforce a specific port type(DFP/UFP/DRP). This change allows userspace to attempt setting the desired port type. Low level drivers can however reject the request if the specific port type

Re: [PATCH] Doc*/media/uapi: fix control name

2017-05-27 Thread Pavel Machek
On Sat 2017-05-27 22:30:35, Sakari Ailus wrote: > On Sat, May 27, 2017 at 10:12:40AM +0200, Pavel Machek wrote: > > V4L2_CID_EXPOSURE_BIAS does not exist, fix documentation. > > > > Signed-off-by: Pavel Machek > > > > diff --git a/Documentation/media/uapi/v4l/extended-controls.rst > > b/Documen

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-27 Thread Andy Lutomirski
On Sat, May 27, 2017 at 4:14 AM, Pali Rohár wrote: > Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled > MOF), not ordinary MOF data which are plain text. So maybe it could make > sense to include "B" into name of sysfs entry? Or not? (Just suggestion) > > On Saturday 27 May 201

GREETINGS FROM MR. MUSTAPHA ALI.

2017-05-27 Thread mustapha ali
Dear Friend. Greetings. My Name is Mustapha Ali, I am a banker by profession. I am from Ouagadougou, Burkina Faso, West Africa. My reason of contacting you is to transfer an abandoned fund $5M US Dollars to your account if you agree with me. The owner of this fund died since 2003 with his Next O

Re: [PATCH] ipc: Convert kern_ipc_perm.refcount to refcount_t

2017-05-27 Thread kbuild test robot
Hi Elena, [auto build test ERROR on next-20170526] [cannot apply to linus/master linux/master kees/for-next/pstore v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.12-rc2] [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/c

Re: [PATCH net-next] net: stmmac: use correct pointer when printing normal descriptor ring

2017-05-27 Thread Andy Shevchenko
On Tue, May 9, 2017 at 7:52 PM, Niklas Cassel wrote: > From: Niklas Cassel Commit message? > seq_printf(seq, "%d [0x%x]: 0x%x 0x%x 0x%x 0x%x\n", > - i, (unsigned int)virt_to_phys(ep), > + i, (unsigned int)

[PATCH v2] mac80211: Invoke TX LED in more code paths

2017-05-27 Thread Bjorn Andersson
ieee80211_tx_status() is only one of the possible ways a driver can report a handled packet, some drivers call this for every packet while others calls it rarely or never. In order to invoke the TX LED in the non-status reporting cases this patch pushes the call to ieee80211_led_tx() into ieee8021

Re: [PATCH v2 05/20] randstruct: Whitelist struct security_hook_heads cast

2017-05-27 Thread Tetsuo Handa
Kees Cook wrote: > On Sat, May 27, 2017 at 1:41 AM, Christoph Hellwig wrote: > > On Fri, May 26, 2017 at 01:17:09PM -0700, Kees Cook wrote: > >> The LSM initialization routines walk security_hook_heads as an array > >> of struct list_head instead of via names to avoid a ton of needless > >> source

Re: [PATCH 1/2] drivers: pwm: core: implement pwm mode

2017-05-27 Thread Andy Shevchenko
On Tue, May 9, 2017 at 3:15 PM, Claudiu Beznea wrote: > Extends PWM framework to support PWM modes. The currently > implemented PWM modes were called PWM complementary mode > and PWM push-pull mode. For devices that have more than one > output per PWM channel: > - PWM complementary mode is standar

Re: [PATCH v2 1/2] drivers: pwm: core: implement pwm dead-times

2017-05-27 Thread Andy Shevchenko
On Tue, May 9, 2017 at 11:19 AM, Claudiu Beznea wrote: > Extends PWM framework to support PWM dead-times. > The notions introduced are rising edge dead-time > and falling edge dead-time. These are useful for > PWM controllers with channels that have more than > one outputs. > The implementation ad

Re: [PATCH] LSM: Convert security_hook_heads into explicit array of struct list_head

2017-05-27 Thread Casey Schaufler
On 5/27/2017 4:17 AM, Tetsuo Handa wrote: > Commit 3dfc9b02864b19f4 ("LSM: Initialize security_hook_heads upon > registration.") treats "struct security_hook_heads" as an implicit array > of "struct list_head" so that we can eliminate code for static > initialization. Although we haven't encountere

Re: [PATCH] i2c: pca954x: Add option to skip disabling PCA954x Mux device

2017-05-27 Thread Andy Shevchenko
On Tue, May 9, 2017 at 11:20 AM, wrote: > On some Layerscape boards like LS2085ARDB/LS2080ARDB, > input pull-up resistors on PCA954x Mux device are > missing on board. So, if mux are disabled after powered-on, > input lines will float leading to incorrect functionality. > > Hence, PCA954x Mux de

Re: [PATCH v3] hdlcdrv: Fix divide by zero in hdlcdrv_ioctl

2017-05-27 Thread David Miller
From: Firo Yang Date: Fri, 26 May 2017 22:37:38 +0800 > syszkaller fuzzer triggered a divide by zero, when set calibration > through ioctl(). > > To fix it, test 'bitrate' if it is negative or 0, just return -EINVAL. > > Reported-by: Andrey Konovalov > Signed-off-by: Firo Yang Applied, thank

Re: [PATCHv1, RFC 5/8] x86/mm: Fold p4d page table layer at runtime

2017-05-27 Thread Kirill A. Shutemov
On Sat, May 27, 2017 at 11:09:54AM -0400, Brian Gerst wrote: > > static inline int pgd_none(pgd_t pgd) > > { > > + if (p4d_folded) > > + return 0; > > /* > > * There is no need to do a workaround for the KNL stray > > * A/D bit erratum here. PGDs onl

Re: [PATCHv1, RFC 5/8] x86/mm: Fold p4d page table layer at runtime

2017-05-27 Thread Brian Gerst
On Sat, May 27, 2017 at 6:46 PM, Kirill A. Shutemov wrote: > On Sat, May 27, 2017 at 11:09:54AM -0400, Brian Gerst wrote: >> > static inline int pgd_none(pgd_t pgd) >> > { >> > + if (p4d_folded) >> > + return 0; >> > /* >> > * There is no need to do a workaro

Re: [PATCH net-next] net: dsa: mv88e6xxx: handle SERDES error appropriately

2017-05-27 Thread David Miller
From: Vivien Didelot Date: Fri, 26 May 2017 18:02:42 -0400 > mv88e6xxx_serdes_power returns an error, so no need to print an error > message inside of it. Rather print it in its caller when the error is > ignored, which is in the mv88e6xxx_port_disable void function. > > Catch and return its err

[PATCH v7 2/3] dt-bindings: mailbox: Introduce Qualcomm APCS global binding

2017-05-27 Thread Bjorn Andersson
Introduce a binding for the Qualcomm APCS global block, exposing a mailbox for invoking interrupts on remote processors in the system. Acked-by: Rob Herring Signed-off-by: Bjorn Andersson --- Changes since v6: - None .../bindings/mailbox/qcom,apcs-kpss-global.txt | 46

[PATCH v7 3/3] mailbox: Introduce Qualcomm APCS IPC driver

2017-05-27 Thread Bjorn Andersson
This implements a driver that exposes the IPC bits found in the APCS Global block in various Qualcomm platforms. The bits are used to signal inter-processor communication signals from the application CPU to other masters. Signed-off-by: Bjorn Andersson --- Changes since v6: - Add COMPILE_TEST -

[PATCH v7 1/3] mailbox: Make startup and shutdown ops optional

2017-05-27 Thread Bjorn Andersson
Some mailbox hardware doesn't have to perform any additional operations on startup of shutdown, so make these optional. Signed-off-by: Bjorn Andersson --- Changes since v6: - None drivers/mailbox/mailbox.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/dr

Re: [PATCH v2 2/7] x86: use long long for 64-bit atomic ops

2017-05-27 Thread hpa
On May 26, 2017 12:09:04 PM PDT, Dmitry Vyukov wrote: >Some 64-bit atomic operations use 'long long' as operand/return type >(e.g. asm-generic/atomic64.h, arch/x86/include/asm/atomic64_32.h); >while others use 'long' (e.g. arch/x86/include/asm/atomic64_64.h). >This makes it impossible to write por

[PATCH v7 1/2] soc: qcom: Add device tree binding for GLINK RPM

2017-05-27 Thread Bjorn Andersson
Add device tree binding documentation for the Qualcomm GLINK RPM, used for communication with the Resource Power Management subsystem in various Qualcomm SoCs. Acked-by: Rob Herring Signed-off-by: Bjorn Andersson --- Changes since v6: - Change node in example to "mailbox" - Add Rob's ack. ...

[PATCH v7 2/2] rpmsg: Introduce Qualcomm RPM glink driver

2017-05-27 Thread Bjorn Andersson
This introduces a basic driver for communicating over "native glink" with the RPM found in Qualcomm platforms. Signed-off-by: Bjorn Andersson --- Changes since v6: - Call mbox_client_txdone() after mbox_send_message() - Depend on MAILBOX, rather than the APCS_IPC driver drivers/rpmsg/Kconfig

Re: [PATCH 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-05-27 Thread Andy Shevchenko
On Tue, May 9, 2017 at 10:50 AM, Dong Aisheng wrote: > On new LPUART versions, the oversampling ratio for the receiver can be > changed from 4x (00011) to 32x (1) which could help us get a more > accurate baud rate divider. > > The idea is to use the best OSR (over-sampling rate) possible. > N

Re: [PATCH V4 00/17] thermal: cpu_cooling: improve interaction with cpufreq core

2017-05-27 Thread Eduardo Valentin
On Fri, May 26, 2017 at 10:27:18AM +0530, Viresh Kumar wrote: > On 26-04-17, 11:41, Lukasz Luba wrote: > > Hi Viresh, > > > > I went through the v4 code and it looks good to me. > > Feel free to add for the v4 series > > Reviewed-by: Lukasz Luba > > @Eduardo: You missed adding this to the patche

Re: [PATCH] FS-Cache: print hexadecimal value for special cookies type

2017-05-27 Thread Jérémy Lefaure
On Thu, 27 Apr 2017 16:03:45 +0100 David Howells wrote: > Jérémy Lefaure wrote: > > > When building object-list.o, gcc 6 raises a warning on the sprintf call > > in fscache_objlist_show: > > > > CC fs/fscache/object-list.o > > fs/fscache/object-list.c: In function ‘fscache_objlist_show’

[PATCH v3] sgi-xp: Use designated initializers

2017-05-27 Thread Kees Cook
Prepare to mark sensitive kernel structures for randomization by making sure they're using designated initializers. In this case, no initializers are needed (they can be NULL initialized and callers adjusted to check for NULL, which is more efficient than an indirect call). Cc: Robin Holt Cc: Chr

[PATCH v4] sgi-xp: Use designated initializers

2017-05-27 Thread Kees Cook
Prepare to mark sensitive kernel structures for randomization by making sure they're using designated initializers. In this case, no initializers are needed (they can be NULL initialized and callers adjusted to check for NULL, which is more efficient than an indirect call). Cc: Robin Holt Cc: Chr

Re: [PATCH] LSM: Convert security_hook_heads into explicit array of struct list_head

2017-05-27 Thread Tetsuo Handa
Casey Schaufler wrote: > > But currently, LSM_HOOK_INIT() macro depends on the address of > > security_hook_heads being known at compile time. If we use an enum > > so that LSM_HOOK_INIT() macro does not need to know absolute address of > > security_hook_heads, it will help us to use that allocator

[GIT PULL] Thermal SoC management fixes for v4.12-rc3

2017-05-27 Thread Eduardo Valentin
Hello Rui, I know this is late, but please send these six fixes for next rc3. The following changes since commit 08332893e37af6ae779367e78e444f8f9571511d: Linux 4.12-rc2 (2017-05-21 19:30:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/evalen

[PATCH v2] ipc: Convert ipc_kern_perm.refcount to refcount_t

2017-05-27 Thread Kees Cook
From: Elena Reshetova refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Cc: Manfred Spraul Signed-off-by: Elena Reshetova

Re: [kernel-hardening] Re: [PATCH v2 05/20] randstruct: Whitelist struct security_hook_heads cast

2017-05-27 Thread Kees Cook
On Sat, May 27, 2017 at 3:04 PM, Tetsuo Handa wrote: > Kees Cook wrote: >> On Sat, May 27, 2017 at 1:41 AM, Christoph Hellwig >> wrote: >> > On Fri, May 26, 2017 at 01:17:09PM -0700, Kees Cook wrote: >> >> The LSM initialization routines walk security_hook_heads as an array >> >> of struct list_

Re: [PATCH] LSM: Convert security_hook_heads into explicit array of struct list_head

2017-05-27 Thread Kees Cook
On Sat, May 27, 2017 at 4:17 AM, Tetsuo Handa wrote: > Commit 3dfc9b02864b19f4 ("LSM: Initialize security_hook_heads upon > registration.") treats "struct security_hook_heads" as an implicit array > of "struct list_head" so that we can eliminate code for static > initialization. Although we haven'

Re: [PATCH] LSM: Convert security_hook_heads into explicit array of struct list_head

2017-05-27 Thread Tetsuo Handa
Kees Cook wrote: > On Sat, May 27, 2017 at 4:17 AM, Tetsuo Handa > wrote: > > Commit 3dfc9b02864b19f4 ("LSM: Initialize security_hook_heads upon > > registration.") treats "struct security_hook_heads" as an implicit array > > of "struct list_head" so that we can eliminate code for static > > initi

Re: [BUGFIX PATCH] kprobes/x86: Fix to set RWX bits correctly before releasing trampoline

2017-05-27 Thread Jessica Yu
+++ Masami Hiramatsu [26/05/17 09:24 +0900]: On Thu, 25 May 2017 19:24:26 +0200 "Luis R. Rodriguez" wrote: On Thu, May 25, 2017 at 07:38:17PM +0900, Masami Hiramatsu wrote: > Fix kprobes to set(recover) RWX bits correctly on trampoline > buffer before releasing it. Releasing readonly page to >

Re: [PATCH] fs: warn in case userspace lied about modprobe return

2017-05-27 Thread Jessica Yu
+++ Luis R. Rodriguez [25/05/17 17:44 -0700]: kmod <= v19 was broken -- it could return 0 to modprobe calls, incorrectly assuming that a kernel module was built-in, whereas in reality the module was just forming in the kernel. The reason for this is an incorrect userspace heuristics. A userspace

Re: [PATCH v5 3/3] drm: mali-dp: Add writeback connector

2017-05-27 Thread kbuild test robot
Hi Brian, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.12-rc2 next-20170526] [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/Liviu-Dudau/drm-mali-dp-Add-support-for-writeb

panel-samsung-s6e3ha2.c:undefined reference to `backlight_device_unregister'

2017-05-27 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 249f1efd8e3d58f86469fc305b0eda39db18d7ce commit: ed29f9426d9bf1b5ec7e79dfb28f39de7b3a0069 drm/panel: Add support for S6E3HA2 panel driver on TM2 board date: 7 weeks ago config: x86_64-randconfig-s3-0528094

Re: [PATCH 1/2] perf/x86/intel: enable CPU ref_cycles for GP counter

2017-05-27 Thread kbuild test robot
Hi Kan, [auto build test ERROR on linus/master] [also build test ERROR on v4.12-rc2 next-20170526] [cannot apply to tip/x86/core] [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/kan-liang-intel-c

Re: [PATCH 6/7] clocksource: Rename CLKSRC_OF to TIMER_OF

2017-05-27 Thread Shawn Guo
On Sat, May 27, 2017 at 11:58:47AM +0200, Daniel Lezcano wrote: > diff --git a/arch/arm/mach-imx/epit.c b/arch/arm/mach-imx/epit.c > index fb9a73a..4a4d2e2 100644 > --- a/arch/arm/mach-imx/epit.c > +++ b/arch/arm/mach-imx/epit.c > @@ -39,7 +39,7 @@ > #define EPITCR_OM_TOGGLE (1 << 22)

panel-sitronix-st7789v.c:undefined reference to `of_find_backlight_by_node'

2017-05-27 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 249f1efd8e3d58f86469fc305b0eda39db18d7ce commit: 7142afb3a186ed2cd028318205a4852f04283380 drm/panel: Add driver for sitronix ST7789V LCD controller date: 7 weeks ago config: x86_64-randconfig-s3-05280946 (

Re: [PATCH v2 11/20] randstruct: Disable randomization of ACPICA structs

2017-05-27 Thread Christoph Hellwig
On Sat, May 27, 2017 at 01:03:23PM -0700, Kees Cook wrote: > On Sat, May 27, 2017 at 1:42 AM, Christoph Hellwig wrote: > > On Fri, May 26, 2017 at 01:17:15PM -0700, Kees Cook wrote: > >> Since the ACPICA source is maintained externally to the kernel, we can > >> neither switch it to designated ini

Re: [PATCH v4] sgi-xp: Use designated initializers

2017-05-27 Thread Christoph Hellwig
On Sat, May 27, 2017 at 05:39:14PM -0700, Kees Cook wrote: > Prepare to mark sensitive kernel structures for randomization by making > sure they're using designated initializers. In this case, no initializers > are needed (they can be NULL initialized and callers adjusted to check > for NULL, which

drivers/gpu/drm/i915/selftests/i915_gem_request.c:280: error: 'request' may be used uninitialized in this function

2017-05-27 Thread kbuild test robot
Hi Chris, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 249f1efd8e3d58f86469fc305b0eda39db18d7ce commit: b348090d6758cc391dc91f8a8233b18f0acc8458 drm/i915: Simple selftest to exercise live requests date: 3 month

Re: [PATCH v5 1/2] mfd: intel_soc_pmic: Select designware i2c-bus driver

2017-05-27 Thread kbuild test robot
Hi Hans, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.12-rc2 next-20170526] [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/Hans-de-Goede/mfd-intel_soc_pmic-Sel

drivers/gpu//drm/i915/i915_gem_gtt.c:947: error: 'iter.sg' is used uninitialized in this function

2017-05-27 Thread kbuild test robot
Hi Chris, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 249f1efd8e3d58f86469fc305b0eda39db18d7ce commit: 894ccebee2b0e606ba9638d20dd87b33568482d7 drm/i915: Micro-optimise gen8_ppgtt_insert_entries() date: 3 mont

[PATCH] regulator: bd9571mwv: Statize local symbols

2017-05-27 Thread Axel Lin
These functions are only used by this driver, make them static. Signed-off-by: Axel Lin --- drivers/regulator/bd9571mwv-regulator.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/bd9571mwv-regulator.c b/drivers/regulator/bd9571mwv-regulator.c

Re: [PATCH v6 2/4] arm64: dts: hisi: add kirin pcie node

2017-05-27 Thread kbuild test robot
Hi Xiaowei, [auto build test ERROR on pci/next] [also build test ERROR on v4.12-rc2 next-20170526] [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/Xiaowei-Song/DT-and-Driver-review-comments-fix/2

[PATCH v2 02/11] ARC: send ipi to all cpus sharing task mm in case of page fault

2017-05-27 Thread Noam Camus
From: Noam Camus This patch is derived due to performance issue. The use case is a page fault that resides on more than the local cpu. Trying to broadcast all CPUs results on performance degradation. So we try to avoid this by sending only to the relevant CPUs. Signed-off-by: Noam Camus Reviewe

[PATCH v2 04/11] ARC: typos fix in kernel/entry-compact.S

2017-05-27 Thread Noam Camus
From: Liav Rehana Signed-off-by: Liav Rehana Signed-off-by: Noam Camus Reviewed-by: Alexey Brodkin --- arch/arc/kernel/entry-compact.S | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry-compac

[PATCH v2 03/11] ARC: typo fix in mm/fault.c

2017-05-27 Thread Noam Camus
From: Liav Rehana Signed-off-by: Liav Rehana Signed-off-by: Noam Camus Reviewed-by: Alexey Brodkin --- arch/arc/mm/fault.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c index 162c975..a0b7bd6 100644 --- a/arch/arc/mm/fault.

[PATCH v2 11/11] ARC: [plat-eznps] Handle memory error as an exception

2017-05-27 Thread Noam Camus
From: Noam Camus This commit adds the configuration CONFIG_EZNPS_MEM_ERROR. If set, it will cause the kernel to handle user memory error as a machine check exception. It is required in order to align the NPS simulator memory error handling to the one of the NPS400 real chip behavior. We override

[PATCH v2 08/11] ARC: [plat-eznps] spinlock aware for MTM

2017-05-27 Thread Noam Camus
From: Noam Camus This way when we execute "ex" during trying to hold lock we can switch to other HW thread and utilize the core intead of just spinning on a lock. We noticed about 10% improvement of execution time with hackbench test. Signed-off-by: Noam Camus --- arch/arc/include/asm/spinloc

[PATCH v2 06/11] ARC: [plat-eznps] Fix TLB Errata

2017-05-27 Thread Noam Camus
From: Noam Camus Due to a HW bug in NPS400 we get from time to time false TLB miss. Workaround this by validating each miss. Signed-off-by: Noam Camus --- arch/arc/mm/tlbex.S |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arc/mm/tlbex.S b/arch/arc/mm/tlbe

[PATCH v2 10/11] ARC: enable platform specific mem_service implementation

2017-05-27 Thread Noam Camus
From: Noam Camus For User Mode Memory Bus Error some platforms do not creat interrupt level 2 e.g. nps400 creates machine check exception. Turning mem_service into weak symbol allows each platform to override mem_service with its own implementation. Signed-off-by: Noam Camus --- arch/arc/kerne

[PATCH v2 05/11] ARC: [plat-eznps] typo fix at Kconfig

2017-05-27 Thread Noam Camus
From: Noam Camus Signed-off-by: Noam Camus Reviewed-by: Alexey Brodkin --- arch/arc/plat-eznps/Kconfig |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/plat-eznps/Kconfig b/arch/arc/plat-eznps/Kconfig index 1595a38..feaa471 100644 --- a/arch/arc/plat-eznps/K

[PATCH v2 09/11] ARC: [plat-eznps] use schd.wft instruction instead of sleep at idle task

2017-05-27 Thread Noam Camus
From: Noam Camus When HW threads are active we want CPU to enter idle state only for the calling HW thread and not to put on sleep all HW threads sharing this core. For this need the NPS400 got dedicated instruction so only calling thread is entring sleep and all other are still awake and can exe

[PATCH v2 07/11] ARC: [plat-eznps] disabled stall counter due to a HW bug

2017-05-27 Thread Noam Camus
From: Noam Camus This counter represents threshold for consecutive stall that which trigger HW threads scheduling. When this feature is enabled low values of this counter cause downgrade in performance and in the worst case even a livelock. Remove those couple of lines and resort to HW reset val

[PATCH v2 01/11] ARC: set level of log per CPU during boot to be debug level

2017-05-27 Thread Noam Camus
From: Noam Camus The reasons are: 1) speeding up boot time, becomes critical for many CPUs machine, e.g. NPS400 with 4K CPUs 2) shorten kernel log at boot time, again easy to scan for large scale machines such NPS400 Signed-off-by: Noam Camus --- arch/arc/kernel/setup.c |6 +++--- ar

[PATCH v2 00/11] ARC plat-eznps upstream cont.

2017-05-27 Thread Noam Camus
From: Noam Camus Change Log --- v1 --> v2: Outcome of Alexey Brodkin comments 1) Turned mem_service into weak symbol, so it can be override by any platform 2) remove ifedf wrapper on '88' lable at assembly of TLB exception. With this patch set I continue the effort of upstreaming the ez

<    1   2   3