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 we have no other possibility to wake
.
Signed-off-by: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/serial_core.c | 56
include/linux/serial_core.h | 1 -
2 files changed, 57 deletions(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial
Upstream-status: Pending.
Set autosuspend time to allow port enter D3.
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/8250/8250_dw.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/8250/8250_dw.c
b/drivers/tty/serial/8250/8250_dw.c
index 6c0c49a
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 Shevchenko
---
drivers/tty/serial/8250/82
lock).
Signed-off-by: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/serial_core.c | 73 +++-
1 file changed, 72 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c
index
when using, for example, as a
serial console since there is no means to resume it back.
Signed-off-by: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/8250/8250_dw.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/drivers/tty/serial
From: Andy Shevchenko
Upstream-Status: Pending.
Prevent console to sleep during start-up stage.
Signed-off-by: Andy Shevchenko
---
drivers/tty/serial/8250/8250_port.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/tty/serial/8250/8250_port.c
b/drivers/tty/serial/8250/8250_
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 Shevchenko
---
drivers/tty/serial/
runtime PM calls.
Signed-off-by: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/8250/8250_port.c | 74 +
1 file changed, 25 insertions(+), 49 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_port.c
b/drivers/tty/serial/8250
: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/8250/8250_core.c | 1 -
drivers/tty/serial/8250/8250_port.c | 12
include/linux/serial_8250.h | 2 --
3 files changed, 15 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_core.c
b/drivers/tty
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 hardware. It is used in serial8250_
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 static analyzer unhappy.
drivers/tty/s
both calls.
Signed-off-by: Andy Shevchenko
Signed-off-by: Nilesh Bacchewar
---
drivers/tty/serial/8250/8250.h | 3 +++
drivers/tty/serial/8250/8250_port.c | 6 --
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h
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
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 be powered on. Otherwise check if the
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 powered on after transfer is done. W
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
Enable Intel Whiskey Cove PMIC TMU driver as module.
Signed-off-by: Nilesh Bacchewar
---
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 100644
--- a/features/power
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
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
/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
Reviewed-by: Mika Westerberg
---
drivers/pinctrl/intel/pi
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
arun.siluv...@linux.intel.com
Acked-by: Jani Nikula
Signed-off-by: Nilesh Bacchewar
---
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/drivers/gpu/drm/i915/i915_dma.c
index 84a61c
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 kernel driver.
Signed-off
f-by: Arun Siluvery
Signed-off-by: Tvrtko Ursulin
Signed-off-by: Nilesh Bacchewar
---
drivers/gpu/drm/i915/i915_reg.h | 1 +
drivers/gpu/drm/i915/intel_ringbuffer.c | 6 ++
2 files changed, 7 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_r
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
initialization.
The pooled mode is global,
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 2x6 parts) before C0 that requires
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):
drm/i915:b
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 interruptions of the
ap
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 p
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 wasteful if sync_sched_exp_handler(
works 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
Signed-off-by: Nilesh Bacchewar
---
arch/x86/kernel/tsc.c | 1 +
1 file changed, 1 insertion(+)
di
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
for powertop to provide wakeup/seconds events
Signed-off-by: Nilesh Bacchewar
---
features/powertop/powertop.cfg | 5 +
features/soc/broxton/broxton.scc | 2 ++
2 files changed, 7 insertions(+)
create mode 100644 features/powertop/powertop.cfg
diff --git a/features/powertop/powertop.cfg
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
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
Enable Intel Whiskey Cove PMIC gpio driveri as module.
---
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 479cbbc..4b2472b 100644
--- a/features/power/intel_pmic.cfg
+++ b/features/power/intel
From: Amy Wiles
commit 20bbfaf72cb419cf2a864978df3fc36f1986046a upstream.
Enable Broxton SoC thermal reporting device.
Signed-off-by: Amy Wiles
Signed-off-by: Zhang Rui
---
drivers/thermal/int340x_thermal/processor_thermal_device.c | 10 ++
1 file changed, 10 insertions(+)
diff --gi
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 ins
Disable Intel Whiskey Cove PMIC gpio driver.
Signed-off-by: Nilesh Bacchewar
---
features/power/intel_pmic.cfg | 3 ---
1 file changed, 3 deletions(-)
diff --git a/features/power/intel_pmic.cfg b/features/power/intel_pmic.cfg
index 4b2472b..479cbbc 100644
--- a/features/power/intel_pmic.cfg
Hello Bruce,
This change disables Intel PMIC gpio config on broxton platform. This change is
targeted for yocto-4.4 branch.
Nilesh Bacchewar (1):
gpio: disable Intel PMIC gpio
features/power/intel_pmic.cfg | 3 ---
1 file changed, 3 deletions(-)
--
1.9.1
Enable this for Intel PMIC with ADC channels monitoring system
temperature measurements and alerts.
Signed-off-by: Nilesh Bacchewar
---
features/power/intel_pmic.cfg | 6 ++
features/thermal/coretemp.cfg | 3 +++
2 files changed, 9 insertions(+)
diff --git a/features/power/intel_pmic.cfg b
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
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
---
drivers/gpio/Kconfig | 2 +-
drivers/gpio/gpio-wcove.c |
This is incremental patchset to backported Intel WhiskeyCove GPIO driver on
linux-yocto-4.4 from 4.7-rcX. This patch have been submitted upstream and
the approval is in progress, hence may not be final. Patch have been rebased
on bxt-rebase branch.
Nilesh Bacchewar (1):
gpio: update Intel
Almost every cpumask function is exported, just not the one I need to make the
Intel uncore driver modular.
commit 3712bba1a260ad851f3aa8ddea9cb7326f6aa0b3 upstream.
Signed-off-by: Thomas Gleixner
Signed-off-by: Peter Zijlstra (Intel)
Cc: Andi Kleen
Cc: Arnaldo Carvalho de Melo
Cc: Borislav P
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
From: Srinivas Pandruvada
commit 462d8083fb2da951ad6edb9e8000c1f2578d27a9 upstream.
Added missing model 0x46.
Tested-and-reported-by: Piotr Maksymiuk
Signed-off-by: Srinivas Pandruvada
Signed-off-by: Rafael J. Wysocki
---
drivers/powercap/intel_rapl.c | 1 +
1 file changed, 1 insertion(+)
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() methods
Changes in v2:
-
This patch is to fix backport compile issue. change member .parent to .dev
in drivers/gpio/gpio-wcove.c
Upstream-status: Inappropriate [Fix backport compile issue]
Signed-off-by: Nilesh Bacchewar
---
drivers/gpio/gpio-wcove.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
From: Jacob Pan
commit 323ee64aa175a67fbbe744e809777d17e6fb42d7 upstream.
RAPL driver operates on MSRs that are under package/socket
scope instead of core scope. However, the current code does not
keep track of which CPUs are available on each package for MSR
access. Therefore it has to search f
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 patch replaces the CPU whitelis
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 | 1 +
drivers/gpio/gpio-wcove.c | 402 +
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 provide the flexibility for
sup
Kabylake
thermal/powerclamp: remove cpu whitelist
Julia Lawall (1):
powercap: constify powercap_zone_ops and powercap_zone_constraint_ops
structures
Nilesh Bacchewar (7):
gpio: add Intel WhiskeyCove GPIO driver
gpio: change member .parent to .dev
include/linux/mfd/intel_soc_pmic.h
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
---
drivers/powercap/intel_rapl.c | 103
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
---
drivers/mfd/intel_soc_pmic_bxtwc
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 operations
which depend on package leve
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.
Done with the help of Cocc
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
---
drivers/powercap/intel_rapl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/powercap/intel_
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
Signed-off-by: Rafael J. Wysocki
---
drivers/powercap/intel_rapl.c | 119 +
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 +-
1 file changed, 66 insertions(+), 1 deletion(-)
diff
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
---
include/linux/mfd/intel_soc_pmic.h | 21 +
1 file changed,
This change add support for pmic thermal driver which is intended to
handle the alert interrupts triggered upon thermal trip point cross
and notify the thermal framework appropriately with the zone, temp,
crossed trip and event details.
Signed-off-by: Yegnesh S Iyer
Signed-off-by: Bin Gao
---
d
64 matches
Mail list logo