[linux-yocto] [[PATCH 0/1] HPET patches for Baytrail in Yocto-kernel-cache
chong.yi.chai at intel.com
chong.yi.chai at intel.com
Wed Mar 30 20:16:29 PDT 2016
From: "Chai, Chong Yi" <chong.yi.chai at intel.com>
These patches are to enable HPET features in Baytrail.
The patches are targeted to merge into Yocto-kernel-cache on branch yocto-3.14.
1/3 [
Author: Wan Ahmad Zainie
Email: wan.ahmad.zainie.wan.mohamad at intel.com
Date: Sun, 26 Jul 2015 10:42:56 +0800
Subject: [PATCH 134/164] hpet: refactor driver
This commit performs the following,
- no longer depends on ACPI tables define IRQs for all comparators
- setup IRQs for comparators at register time
- use data from ACPI as a hint, but override it if it is not sane
- do not make timers without configured IRQ available for use
- device open cleanup:
- set interrupt handler at open time, not at IE_ON time (needed for future
addition of singleshot interface)
- no more need for separate hd_hdwirq and hr_irq fields in struct hpet_dev
- locking cleanup:
- remove hpet_mutex (that was introduced mechanically while removing BKL
dependency), keep only hpet_lock spinlock
- do not access to hardware while not locked
- handle race between interrupt handler and IE_OFF
- generic cleanup:
- always use readq/writeq with hpet_config register
- set device name once at init time
Fixing all the above in individual and smaller patches is technically hard.
To do so, one will have have to add many lines of code to keep things working,
and then remove these lines in the next patch in the patchset.
Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad at intel.com>
]
2/3 [
Author: Wan Ahmad Zainie
Email: wan.ahmad.zainie.wan.mohamad at intel.com
Date: Sun, 26 Jul 2015 11:42:50 +0800
Subject: [PATCH 135/164] hpet: implement start/stop/query API
This commit exposes the usage of standard Linux API Timer to access HPET via
/dev/hpet. This will ease userspace application to use HPET for general
purpose timer (GPT).
Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad at intel.com>
]
3/3 [
Author: Wan Ahmad Zainie
Email: wan.ahmad.zainie.wan.mohamad at intel.com
Date: Fri, 21 Aug 2015 12:31:26 +0800
Subject: [PATCH 156/164] hpet: Fix checkpatch.pl warnings
This commit is to fix the result of running scripts/checkpatch.pl against
0134-hpet-refactor-driver.patch
Signed-off-by: Wan Ahmad Zainie <wan.ahmad.zainie.wan.mohamad at intel.com>
]
Chai, Chong Yi (1):
hpet: refactor driver
features/soc/baytrail/baytrail.scc | 3 +
.../baytrail/hpet-Fix-checkpatch.pl-warnings.patch | 74 +++
.../hpet-implement-start-stop-query-API.patch | 316 +++++++++
features/soc/baytrail/hpet-refactor-driver.patch | 721 +++++++++++++++++++++
4 files changed, 1114 insertions(+)
create mode 100644 features/soc/baytrail/hpet-Fix-checkpatch.pl-warnings.patch
create mode 100644 features/soc/baytrail/hpet-implement-start-stop-query-API.patch
create mode 100644 features/soc/baytrail/hpet-refactor-driver.patch
--
1.9.1
More information about the linux-yocto
mailing list