Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up clock interfaces and remove tickless idle #33302

Merged
merged 14 commits into from
Mar 19, 2021

Conversation

nashif
Copy link
Member

@nashif nashif commented Mar 12, 2021

  • clock: remove z_ from semi-public APIs
  • doc: clocks: link clock APIs from doxygen
  • clock: rename z_timer_cycle_get_32 -> clock_cycle_get_32
  • kernel: remove tickless idle
  • drivers: arcv2_timer0: fix comment

Comment talking about z_timer_int_handler which does not exist, replace
with timer_int_handler.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Minor typo fix.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Do not use z_ for internal APIs, z_ is for private APIs within one
subsystem only.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
z_ms_to_ticks is not being used anywhere.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This feature predated the tickless kernel and has been in legacy mode
for a while. We now have no drivers or systems that do not support
tickless, so remove this option and cleanup the code to only use
tickless.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
z_ms_to_ticks is deprecated, so use k_ms_to_ticks_ceil32.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
@nashif nashif force-pushed the clock/fix_api_and_remove_z branch from 9ac619b to cd1b29f Compare March 19, 2021 12:39
@nashif nashif requested review from stephanosio and removed request for VenkatKotakonda March 19, 2021 12:39
@nashif nashif merged commit 9b84921 into zephyrproject-rtos:master Mar 19, 2021
trond-snekvik added a commit to trond-snekvik/zephyr that referenced this pull request Apr 23, 2021
The z_timeout_end_calc function was replaced by
sys_clock_timeout_end_calc in zephyrproject-rtos#33302. A reference to the old function
snuck into master through zephyrproject-rtos#30015.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
carlescufi pushed a commit that referenced this pull request Apr 26, 2021
The z_timeout_end_calc function was replaced by
sys_clock_timeout_end_calc in #33302. A reference to the old function
snuck into master through #30015.

Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
jori-nordic pushed a commit to jori-nordic/zephyr that referenced this pull request May 4, 2021
...sys_clock_timeout_end_calc

The z_timeout_end_calc function was replaced by
sys_clock_timeout_end_calc in zephyrproject-rtos#33302. A reference to the old function
snuck into master through zephyrproject-rtos#30015.

(cherry picked from commit 6976658 ("usb: dfu: convert
z_timeout_end_calc to sys_clock_timeout_end_calc"))
Signed-off-by: Trond Einar Snekvik <Trond.Einar.Snekvik@nordicsemi.no>
mbrunnen added a commit to ithinx-io/zephyr that referenced this pull request May 10, 2023
Tickless idle has been replaced by the tickless kernel and also power
management has become much more advanced.

See also: zephyrproject-rtos#33302

Signed-off-by: Manoel Brunnen <mb@lee-brunnen.de>
mbrunnen added a commit to ithinx-io/zephyr that referenced this pull request May 24, 2023
Tickless idle has been replaced by the tickless kernel and also power
management has become much more advanced.

See also: zephyrproject-rtos#33302

Signed-off-by: Manoel Brunnen <mb@lee-brunnen.de>
carlescufi pushed a commit that referenced this pull request May 24, 2023
Tickless idle has been replaced by the tickless kernel and also power
management has become much more advanced.

See also: #33302

Signed-off-by: Manoel Brunnen <mb@lee-brunnen.de>
coreboot-org-bot pushed a commit to coreboot/zephyr-cros that referenced this pull request May 26, 2023
Tickless idle has been replaced by the tickless kernel and also power
management has become much more advanced.

See also: zephyrproject-rtos/zephyr#33302

(cherry picked from commit c51da6f)

Original-Signed-off-by: Manoel Brunnen <mb@lee-brunnen.de>
GitOrigin-RevId: c51da6f
Change-Id: I4229f319e4930d7f138d6f028e82cc487cd8f5d6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4566137
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Keith Short <keithshort@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: CopyBot Service Account <copybot.service@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: API Changes to public APIs area: ARC ARC Architecture area: ARM ARM (32-bit) Architecture area: ARM64 ARM (64-bit) Architecture area: Base OS Base OS Library (lib/os) area: Bluetooth area: Boards area: Disk Access area: Documentation area: Ethernet area: Kernel area: native port Host native arch port (native_posix) area: Networking area: NIOS2 NIOS2 Architecture area: Portability Standard compliant code, toolchain abstraction area: Power Management area: RISCV RISCV Architecture (32-bit & 64-bit) area: Shell Shell subsystem area: Sockets Networking sockets area: SPARC SPARC Architecture area: Timer Timer area: X86 x86 Architecture (32-bit) area: Xtensa Xtensa Architecture manifest manifest-hal_ti platform: Microchip MEC Microchip MEC Platform platform: NXP NXP platform: STM32 ST Micro STM32
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet