If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:checkpoint proc.ko

From BoxMatrix
(Redirected from checkpoint proc.ko)


BoxMatrix >> Shell-Commands >> checkpoint_proc.ko @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Kernel-Module

Note that Kernel 2.4 and builtin *.o modules have been renamed to *.ko for an easier comparison.

Goto:   Examples  -  Events  -  GPL-Browser  -  Source  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

This module is part of the avm.ko module collection bundle.

checkpoint_proc.ko maintains a list of Inter-CPU checkpoints on Puma6 and Puma7 models.
Each checkpoint has a numerical ID and consists of a local and a remote node of type NODE_ATOM and NODE_ARM.
All nodes and checkpoints could be listed by a procfs interface at /proc/avm/checkpoints see the Examples below.

To synchronize the node list both instances of checkpoint_proc.ko register an avm_event_checkpoint_sink, and wait for
the remote avm_event_checkpoint_sink to appear. Once this happened an avm_event_checkpoint event source is created
to send a checkpoint event with the ID of the established checkpoint and the base address of the checkpoints array.

The question now is: Who uses this construct and for which purpose?

Examples

6490 fw 7.29 procfs on ATOM:

root@fritz2:/var/mod/root# ls -l /proc/avm/checkpoints

-r--r--r--    1 root     root             0 May 10 13:24 /proc/avm/checkpoints
 
root@fritz2:/var/mod/root# cat /proc/avm/checkpoints

NODE_ATOM CHECKPOINT_08
NODE_ARM CHECKPOINT_08

6490 fw 7.29 procfs on ARM:

root@fritz2:/var/mod/root# rpc ls -l /proc/avm/checkpoints

-r--r--r--    1 root     root             0 Feb  3 23:38 /proc/avm/checkpoints
 
root@fritz2:/var/mod/root# rpc cat /proc/avm/checkpoints

NODE_ARM CHECKPOINT_08
NODE_ATOM CHECKPOINT_08

Events

Daily updated index of AVM-Events and AVMIPC-Datastore nodes affecting this module. Last update: 2023-12-10 05:13 GMT.
The owners of Event-Sinks and Event-Sources are manual research, which may be incomplete or even wrong.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.
A ** in the Mod column marks info from Supportdata2 probes, which by their nature will stay way more incomplete.
A - in the Mod column marks manual research, the Firmware then shows where the item occurs, not the Relation.

Relation Typ Object Mod Firmware Info Origin
Sink evsink avm_event_checkpint_sink 8* 6.87 - 7.04 Event-Sink of checkpoint_proc.ko (typo) AVM
Receives event checkpoint 8* 6.87 - 7.04 Inter-CPU checkpoint synchronization AVM
Sink evsink avm_event_checkpoint_sink 12* 7.00 - 7.50 Event-Sink of checkpoint_proc.ko AVM
Receives event checkpoint 12* 7.00 - 7.50 Inter-CPU checkpoint synchronization AVM
Source evsrc avm_event_checkpoint 12* 6.87 - 7.50 Event-Source of checkpoint_proc.ko AVM
Sends event checkpoint 12* 6.87 - 7.50 Inter-CPU checkpoint synchronization AVM
Sends event remote_notifier 12* 6.87 - 7.50 Remote Event-Source notify AVM
7 event relations for this module

GPL-Browser

Daily updated index of all checkpoint_proc.ko code findings on the GPL-Browser. Last update: 2024-04-27 04:15 GMT.
The Files header attempts to list the files which belong to this module. Useful if a directory contains multiple modules.
The Browse column points to the Path of the Makefile referring this code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Note that this list matches module names with hyphen (-) and underscore (_) exchangeable, same as modprobe does.

Source

// From include/uapi/avm/event/gen-types.h

struct avm_event_checkpoint {
	uint32_t node_id;
	uint64_t checkpoints;
};

// Private structures from drivers/char/avm_new/checkpoint_proc.c

struct checkpoint_node {
	struct list_head list;
	uint32_t node_id;
	uint64_t checkpoints;
	char name[NODE_NAME_LEN];
};

struct node_name {
	uint32_t node_id;
	char *name;
};

static struct node_name node_names[] = {
	{ AVM_EVENT_CHKPNT_ID_ARM, "NODE_ARM" },
	{ AVM_EVENT_CHKPNT_ID_ATOM, "NODE_ATOM" },
	{ 0, NULL },
};

Dependencies

Daily updated index of all dependencies of this module. Last update: 2024-04-26 07:29 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Enabled by kcfg CONFIG_ARCH_AVALANCHE 5 5.25 - 7.57 Intel Avalanche (Puma5, Puma6, Puma7...) (ar7wdt_hw_puma.ko, avm.ko, avmwdt.ko, checkpoint_proc.ko, textofs.ko) Linux
Enabled by kcfg CONFIG_AVM_EVENTNODE_PUMA6 2 7.29 Remote AVM events on Puma6 (avm.ko, avm_event.ko, avm_event_node_pumaX.ko, avm_event_remote.ko, checkpoint_proc.ko, remotecpu_irq.ko) Linux
Enabled by kcfg CONFIG_AVM_EVENTNODE_PUMA7 41 7.04 - 7.90 Remote AVM events on Puma7 (avm.ko, avm_event.ko, avm_event_node_pumaX.ko, avm_event_remote.ko, checkpoint_proc.ko, remotecpu_irq.ko) Linux
Enabled by kcfg CONFIG_MACH_PUMA6 1 7.29 Puma6 SOC (ar7wdt_hw_puma.ko, arch_profile_pumaX.ko, avm.ko, checkpoint_proc.ko, profiling.ko) Linux
Enabled by kcfg CONFIG_X86 42 7.04 - 7.90 Support for the X86 platform (acpi.ko, ar7wdt_hw_wdtremote.ko, arch_x86_profile.ko, avm.ko, blacklist.ko, checkpoint_proc.ko, fallback.ko, profiling.ko, raid6_pq.ko, setup-bus.ko) Linux
5 dependencies for this module

Model-Matrix

Daily updated index of the presence, path and size of this module for each model. Last update: 2024-04-26 05:10 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
0 models use this module

Symbols

Daily updated index of all symbols of this module. Last update: 2024-04-26 07:29 GMT.

Firmware Symbol
0 symbols for this module

SMW-Browser

Information is currently being retrieved from the backend.
 

}}

Synonyms

Showing 1 related property.

c