[linux-yocto] [PATCH 14/15] pinctrl: intel: broxton: Allow UART 2 pins to be GPIO

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/a64991ad3ad413bb265abf29c6cbce42479ccff6?at=master] The UART driver is going to support runtime PM. The problem is that that is used for console and

[linux-yocto] [PATCH 11/15] serial: core: remove legacy PM code

2016-11-17 Thread Nilesh Bacchewar
remove legacy PM code from serial_core.c. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/tty/serial/serial_core.c | 56 include/linux/serial_core.h

[linux-yocto] [PATCH 13/15] serial: 8250_dw: support serial console wakeup

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/31b40497a96e5f44fd0bea6cb3ae2fd1cc27?at=master] Set up RxD or CTS pin as wake source and switch the driver to use it. Signed-off-by: Andy

[linux-yocto] [PATCH 09/15] serial: 8250_dw: enable runtime PM

2016-11-17 Thread Nilesh Bacchewar
finity (-1) to avoid port being shutdown when using, for example, as a serial console since there is no means to resume it back. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/tty/serial/8

[linux-yocto] [PATCH 08/15] serial: 8250_port: remove legacy PM code

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/beaec3129e338fd4b4538b6a11afdec64e025185?at=master] Since the driver has been switched to use runtime PM, remove legacy PM code. Signed-off-by: Andy

[linux-yocto] [PATCH 07/15] serial: 8250_port: remove unnecessary calls to runtime PM

2016-11-17 Thread Nilesh Bacchewar
ers do not need them anymore. Remove unnecessary runtime PM calls. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/tty/serial/8250/8250_port.c | 74 + 1 file chan

[linux-yocto] [PATCH 02/15] serial: 8250_port: factor out serial8250_do_restore_context()

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/fe798435558f5214855a60ac15df4fe6d48e956c?at=master] The new function serial8250_do_restore_context() is used to write the saved register values to the

[linux-yocto] [PATCH 05/15] serial: core: enforce type for upf_t when copying

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/15c1b8590c648ee0b1b747b30d285725424044de?at=master] upf_t is a bitwise defined type and any assignment from different, but compatible, types makes

[linux-yocto] [PATCH 03/15] serial: 8250_port: export serial8250_rpm_{get|put}_tx()

2016-11-17 Thread Nilesh Bacchewar
least serial8250_rpm_put_tx() to be available. Export both calls. Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/tty/serial/8250/8250.h | 3 +++ drivers/tty/serial/8250/8250_port.c | 6 --

[linux-yocto] [PATCH 00/15] 8250/serial: Enable RuntimePM for HSUART

2016-11-17 Thread Nilesh Bacchewar
PM code serial: 8250_port: prevent console to sleep serial: 8250_dw: support serial console wakeup pinctrl: intel: broxton: Allow UART 2 pins to be GPIO Nilesh Bacchewar (1): serial: 8250_dw: Set autosuspend time drivers/pinctrl/intel/pinctrl-broxton.c | 32 -- drivers/tty/serial/8

[linux-yocto] [PATCH 01/15] serial: 8250_port: properly handle runtime PM in IRQ

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-status: Pending. [https://bitbucket.org/andy-shev/linux/commits/8d89f5c7fa087bb72104070667330288714000d0?at=master] We can't and basically don't need to call runtime PM in IRQ handler. If IRQ is ours, device must

[linux-yocto] [PATCH 04/15] serial: 8250_dma: power off device after TX is done

2016-11-17 Thread Nilesh Bacchewar
From: Andy Shevchenko Backport: - Upstream-Status: Pending. [https://bitbucket.org/andy-shev/linux/commits/5fe86674840c6773d09943a78a5f7f3bf2420ffd?at=master] When any 8250 based driver sets up DMA and has UART_CAP_RPM capability enabled the device is left

[linux-yocto] [yocto-kernel-cache] [PATCH] Enable Intel PMIC TMU config

2016-11-07 Thread Nilesh Bacchewar
Hello Bruce, This change enables Intel PMIC TMU config as module on broxton platform. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): Broxton: Enable PMIC TMU module features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1

[linux-yocto] [PATCH] Broxton: Enable PMIC TMU module

2016-11-07 Thread Nilesh Bacchewar
Enable Intel Whiskey Cove PMIC TMU driver as module. Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg index 4b2472b..ba47aa5

[linux-yocto] [PATCH] platform: x86: Add Whiskey Cove PMIC TMU support

2016-11-07 Thread Nilesh Bacchewar
Backport: - Submitted upstream [https://patchwork.kernel.org/patch/9415995/] - Backport fix. This adds TMU (Time Management Unit) support for Intel BXT platform. It enables the alarm wake-up functionality in the TMU unit of Whiskey Cove PMIC. Signed-off-by: Nilesh Bacchewar

[linux-yocto] [PATCH] x86/platform: Add Whiskey Cove PMIC TMU support

2016-11-07 Thread Nilesh Bacchewar
Backports this patch on linux-yocto-4.4. Patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): platform: x86: Add Whiskey Cove PMIC TMU support drivers/mfd/intel_soc_pmic_bxtwc.c | 38

[linux-yocto] [PATCH] pinctrl: intel: Configure GPIO chip IRQ as wakeup interrupts

2016-09-22 Thread Nilesh Bacchewar
/GPIO driver need to mark GPIO chip/controller IRQ (first level IRQ) as wake capable iff GPIO pin's IRQ (second level IRQ) is marked as wake cable. Changes in v2: - Add missing irq initialisation. Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> Reviewed-by: Mika West

[linux-yocto] [PATCH] x86/pinctrl: Configure GPIO chip IRQ as wakeup interrupts

2016-09-22 Thread Nilesh Bacchewar
Backports Intel pinctrl patch on linux-yocto-4.4. Patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): pinctrl: intel: Configure GPIO chip IRQ as wakeup interrupts drivers/pinctrl/intel

[linux-yocto] [PATCH 3/5] drm/i915/bxt: Export pooled eu info to userspace

2016-09-12 Thread Nilesh Bacchewar
.intel.com Acked-by: Jani Nikula <jani.nik...@intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/gpu/drm/i915/i915_dma.c | 6 ++ include/uapi/drm/i915_drm.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_dma.c b

[linux-yocto] [PATCH 4/5] drm/i915/bxt: update list of PCIIDs

2016-09-12 Thread Nilesh Bacchewar
From: Imre Deak Backport: commit 985dd4360fdf2533fe48a33a4a2094f2e4718dc0 upstream. Add PCIIDs for new versions of the SOC, based on BSpec. Also add the name of the versions as code comment where this is available. The new versions don't have any changes visible to the

[linux-yocto] [PATCH 1/5] drm/i915:bxt: Enable Pooled EU support

2016-09-12 Thread Nilesh Bacchewar
From: "arun.siluv...@linux.intel.com" Backport: commit 33e141ed1cf74cd8ef26e5f175e43e378157a649 upstream. This mode allows to assign EUs to pools which can process work collectively. The command to enable this mode should be issued as part of context

[linux-yocto] [PATCH 2/5] drm/i915/bxt: Add WaEnablePooledEuFor2x6

2016-09-12 Thread Nilesh Bacchewar
From: "arun.siluv...@linux.intel.com" Backport: commit e015dd69b2cf8d639308ad1cb4cd204a24e918fe upstream. Pooled EU is enabled by default for BXT but for fused down 2x6 parts it is advised to turn it off. But there is another HW issue in these parts (fused down

[linux-yocto] [PATCH 0/5] Backport on linux-yocto-4.4 bxt-rebase branch

2016-09-12 Thread Nilesh Bacchewar
Backport Enable Pooled EU support patches to linux-yocto-4.4. These patches are for BXT-M standard SKUs. Patches have been approved and available on upstream kernel. Rebased on bxt-rebase branch. Imre Deak (1): drm/i915/bxt: update list of PCIIDs arun.siluv...@linux.intel.com (4):

[linux-yocto] [PATCH 2/2] vmstat: make vmstat_updater deferrable again and shut down on idle

2016-08-26 Thread Nilesh Bacchewar
From: Christoph Lameter Backport: commit 0eb77e9880321915322d42913c3b53241739c8aa upstream. Currently the vmstat updater is not deferrable as a result of commit ba4877b9ca51 ("vmstat: do not use deferrable delayed work for vmstat_update"). This in turn can cause multiple

[linux-yocto] [PATCH 0/2] Backport on linux-yocto-4.4 bxt-rebase branch

2016-08-26 Thread Nilesh Bacchewar
Backport on linux-yocto-4.4. These patches are approved & available on upstream kernel. These patches have been rebased on bxt-rebase branch. Christoph Lameter (1): vmstat: make vmstat_updater deferrable again and shut down on idle Paul E. McKenney (1): rcu: Make expedited RCU-sched grace

[linux-yocto] [PATCH 1/2] rcu: Make expedited RCU-sched grace period immediately detect idle

2016-08-26 Thread Nilesh Bacchewar
From: "Paul E. McKenney" Backport: commit 28728dd310d48834cd486dac3cac9ae96b9deb96 upstream. Currently, sync_sched_exp_handler() will force a reschedule unless this CPU has already checked in or unless a reschedule has already been called for. This is clearly

[linux-yocto] [PATCH] x86/tsc: Set X86_FEATURE_TSC_RELIABLE to skip refined calibration

2016-08-17 Thread Nilesh Bacchewar
but may not be reliable. So kernel may report a physically reliable TSC is not reliable just because a physically not reliable HPET is acting as timekeeping watchdog. Signed-off-by: Bin Gao <bin@intel.com> Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- arch/x86/kern

[linux-yocto] [PATCH] x86/tsc patch backport on linux-yocto-4.4 bxt-rebase branch

2016-08-17 Thread Nilesh Bacchewar
This patchset backports x86/tsc patch on linux-yocto-4.4 from 4.8-rcX. This patch has been submitted upstream and the approval is in progress, hence may not be final. Patch has been rebased on bxt-rebase branch. Nilesh Bacchewar (1): x86/tsc: Set X86_FEATURE_TSC_RELIABLE to skip refined

[linux-yocto] [PATCH] features/powertop: To provide wakeup/seconds events

2016-07-20 Thread Nilesh Bacchewar
for powertop to provide wakeup/seconds events Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- features/powertop/powertop.cfg | 5 + features/soc/broxton/broxton.scc | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 features/powertop/powertop.cfg diff

[linux-yocto] [yocto-kernel-cache] [PATCH] Enable Powertop configs

2016-07-20 Thread Nilesh Bacchewar
Hello Bruce, This is to enable Powertop feature on broxton platform. This patch is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): features/powertop: To provide wakeup/seconds events features/powertop/powertop.cfg | 5 + features/soc/broxton/broxton.scc | 2 ++ 2 files changed, 7

[linux-yocto] [yocto-kernel-cache] [PATCH] GPIO: Enable Intel PMIC gpio config

2016-07-14 Thread Nilesh Bacchewar
Hello Bruce, This change enables Intel PMIC gpio config as module on broxton platform. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): gpio: Enable Intel PMIC gpio features/power/intel_pmic.cfg | 3 +++ 1 file changed, 3 insertions(+) -- 1.9.1

[linux-yocto] [PATCH] Thermal: Enable Broxton SoC thermal reporting device

2016-07-10 Thread Nilesh Bacchewar
From: Amy Wiles commit 20bbfaf72cb419cf2a864978df3fc36f1986046a upstream. Enable Broxton SoC thermal reporting device. Signed-off-by: Amy Wiles Signed-off-by: Zhang Rui ---

[linux-yocto] [PATCH] Thermal: Backport thermal patch to linux-yocto-4.4 bxt-rebase

2016-07-10 Thread Nilesh Bacchewar
Its backport thermal patch to enable Broxton thermal reporting device. It is targeted for linux-yocto-4.4 on bxt-rebase branch. Amy Wiles (1): Thermal: Enable Broxton SoC thermal reporting device drivers/thermal/int340x_thermal/processor_thermal_device.c | 10 ++ 1 file changed, 10

[linux-yocto] [PATCH] features/thermal: Enable Intel PMIC thermal feature

2016-07-06 Thread Nilesh Bacchewar
Enable this for Intel PMIC with ADC channels monitoring system temperature measurements and alerts. Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- features/power/intel_pmic.cfg | 6 ++ features/thermal/coretemp.cfg | 3 +++ 2 files changed, 9 insertions(+) diff

[linux-yocto] [yocto-kernel-cache] [PATCH] Thermal: Enable PMIC thermal configs

2016-07-06 Thread Nilesh Bacchewar
Hello Bruce, This change enables PMIC thermal feature on broxton platform. Changes are added in coretemp.cfg and intel pmic. This change is targeted for yocto-4.4 branch. Nilesh Bacchewar (1): features/thermal: Enable Intel PMIC thermal feature features/power/intel_pmic.cfg | 6

[linux-yocto] [PATCH] gpio: update Intel WhiskeyCove GPIO driver

2016-07-06 Thread Nilesh Bacchewar
Incremental patch for Intel WhiskeyCove GPIO driver based on updated patch version Changes: - Typo fix (Whsikey --> Whiskey). - Removed the device id table and added MODULE_ALIAS() Signed-off-by: Nilesh Bacchewar <nilesh.bacche...@intel.com> --- drivers/gpio/Kconfig | 2 +- dri

[linux-yocto] [PATCH] Backport cpumask fix on linux-yocto-4.4 bxt-rebase branch

2016-06-30 Thread Nilesh Bacchewar
This patchset backports exported cpumask_any_but function on linux-yocto-4.4 from 4.7-rcX. This patch have been submitted upstream and approved, patch have been rebased on bxt-rebase branch. Nilesh Bacchewar (1): cpumask: Export cpumask_any_but() lib/cpumask.c | 1 + 1 file changed, 1

[linux-yocto] [PATCH 04/16] acpi/pmic: Add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-29 Thread Nilesh Bacchewar
From: Bin Gao This patch adds operation region driver for Intel BXT WhiskeyCove PMIC. The register mapping is done as per the BXT WC data sheet. Changes in v4: - Reverted(removed) regs_read() and regs_write() methods Changes in v3: - Added regs_read() and regs_write()

[linux-yocto] [PATCH 01/16] gpio: add Intel WhiskeyCove GPIO driver

2016-06-29 Thread Nilesh Bacchewar
This patch introduces a separate GPIO driver for Intel WhiskeyCove PMIC. This driver is based on gpio-crystalcove.c. Signed-off-by: Ajay Thomas Signed-off-by: Bin Gao --- drivers/gpio/Kconfig | 13 ++ drivers/gpio/Makefile

[linux-yocto] [PATCH 03/16] acpi/pmic: modify the pen function signature to take bit field

2016-06-29 Thread Nilesh Bacchewar
From: Bin Gao Issue description: On some pmics, the policy enable for thermal alerts refers to different bit fields of the same registers, whereas on other pmics, the policy enable refers to the same bit field on different registers. Previous implementation did not

[linux-yocto] [PATCH 16/16] thermal/powerclamp: remove cpu whitelist

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit b721ca0d192754deccb89fb01c77e41e6fd91ad9 upstream. Powerclamp works by aligning idle time to achieve package level idle states, aka cstates. As long as one of the package cstates is available, synchronized idle injection is meaningful. This

[linux-yocto] [PATCH 15/16] powercap/rapl: handle missing msrs

2016-06-29 Thread Nilesh Bacchewar
Some RAPL MSRs may not exist on some CPUs, we need to continue the topology detection and enumerate what is available. This patch handles the missing MSRs then report to powercap layer only the features available. Signed-off-by: Jacob Pan ---

[linux-yocto] [PATCH 11/16] powercap/rapl: add package reference per domain

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit 309557f558a6f276e364b08d916c0f644b5bd2e1 upstream. This patch adds to each rapl domain a reference of the package it belongs to. At runtime, we can then avoid searching the package data for each access. It simplifies the domain level

[linux-yocto] [PATCH 07/16] mfd/intel_soc_pmic_bxtwc: add Intel BXT WhiskeyCove PMIC ADC thermal channel-zone

2016-06-29 Thread Nilesh Bacchewar
This changes adds the mapping of Intel BXT WhiskeyCove PMIC ADC channel to thermal zone. This mapping is used in the pmic thermal driver to notify the thermal zone with the pmic adc channel alert interrupts. Signed-off-by: Yegnesh Iyer Signed-off-by: Bin Gao

[linux-yocto] [PATCH 09/16] powercap: constify powercap_zone_ops and powercap_zone_constraint_ops structures

2016-06-29 Thread Nilesh Bacchewar
From: Julia Lawall commit 600c395bf6c4e44ec831e850d7f93ce53d7373be upstream. The powercap_zone_ops and powercap_zone_constraint_ops structures are never modified, so declare them as const. Most of the actual changes adjust indentation to accomodate the const keyword.

[linux-yocto] [PATCH 14/16] powercap/intel_rapl: Add support for Kabylake

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit 6c51cc0203de25aeaff9d0236d6c2b497be93e3b upstream. Kabylake is similar to Skylake in terms of RAPL. Signed-off-by: Jacob Pan Signed-off-by: Rafael J. Wysocki ---

[linux-yocto] [PATCH 10/16] powercap/rapl: reduce ipi calls

2016-06-29 Thread Nilesh Bacchewar
From: Jacob Pan commit f14a1396d8f19b6c53593045eba86d10360a0cee upstream. Reduce remote CPU calls for MSR access by combining read modify write into one function. Suggested-by: Peter Zijlstra Signed-off-by: Jacob Pan

[linux-yocto] [PATCH 08/16] acpi: pmic: intel: add REGS operation region support

2016-06-29 Thread Nilesh Bacchewar
At least some of the Broxtons have a third custom OpRegion named REGS. This adds handling for it. Signed-off-by: Felipe Balbi Signed-off-by: Heikki Krogerus --- drivers/acpi/pmic/intel_pmic.c | 67

[linux-yocto] [PATCH 05/16] include/linux/mfd/intel_soc_pmic.h: add new data structures

2016-06-29 Thread Nilesh Bacchewar
This patch adds three new data structures: struct trip_config_map {}, struct thermal_irq_map {} and struct pmic_thermal_data {} which are required by some new drivers. Signed-off-by: ysiyer Signed-off-by: Bin Gao ---