Bjarne von Horn
81bbf7dbc4
[e1000] fix scheduling watchdog task.
2024-02-07 12:13:15 +01:00
Bjarne von Horn
0d1cd09043
[e1000] add missing forward declaration
2024-02-07 12:03:57 +01:00
Bjarne von Horn
105ee25afb
add igc 5.14.21 with suse ifdefs
2024-02-06 14:02:11 +01:00
Bjarne von Horn
6170ac2331
Add igc 6.1.38
2024-02-06 13:23:13 +01:00
Bjarne von Horn
49fae0c6dc
Fix igc link detection with xenomai
2024-02-06 12:50:21 +01:00
Bjarne von Horn
19b8f672c7
Disable memory allocation in {soe,sdo}_request_write
...
Because it's not compatible with Xenomai and other atomic contexts.
The memory is preallocated when creating the request in before.
2024-02-05 16:05:57 +01:00
Florian Pose
25cfa1ead1
Fix building with --disable-eoe.
2024-02-05 15:41:02 +01:00
Florian Pose
25bf7ef885
Set IP parameter methods on user and kernel side.
2024-02-05 15:24:24 +01:00
Bjarne von Horn
501903aec7
[igc] fix copy pasta typo
2024-02-05 15:17:41 +01:00
Bjarne von Horn
c76399b8db
more eth_hw_addr_set ifdefs for suse's kernel
2024-02-05 14:25:48 +01:00
Florian Pose
81e89154ae
Added const for array/string parameters.
2024-02-05 13:58:45 +01:00
Bjarne von Horn
1485d78d6a
Add bcmgenet 5.14.21
2024-02-05 12:09:35 +01:00
Florian Pose
82d1dfff3c
Merge branch 'devel-1.6' into 84-api-call-for-eoe-set-ip-command
2024-02-05 12:08:45 +01:00
Florian Pose
d89191cd9e
strcpy explanations.
2024-02-05 12:07:34 +01:00
Florian Pose
073c81386c
Changed names of EoE set IP methods to match subcommand names.
2024-02-05 11:59:22 +01:00
Bjarne von Horn
69a8ff515a
add genet update script
2024-02-05 11:52:43 +01:00
Bjarne von Horn
5ea3c93d06
Add genet 5.10.110
2024-02-05 11:52:43 +01:00
Florian Pose
740117c76f
Merge branch 'devel-1.6' into 84-api-call-for-eoe-set-ip-command
2024-02-05 11:16:27 +01:00
Florian Pose
ec54baeef6
Removed nunecessary srcdir again; added libethercat.map to EXTRA_DIST.
2024-02-05 11:06:01 +01:00
Florian Pose
7683717998
Added srcdir for mapfile dependencies.
2024-02-05 10:59:25 +01:00
Bjarne von Horn
a1a0edb9c4
Fix e1000 link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
34c56eae7d
Fix igc link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
35ff319856
Fix igb link detection with xenomai
2024-02-05 10:08:55 +01:00
Bjarne von Horn
bdd7d1f8f7
Fix r8169 link detection with Xenomai
...
```
[ 741.073012] IRQ pipeline: some code running in oob context 'Xenomai'
[ 741.073013] called an in-band only routine
[ 741.073013] CPU: 1 PID: 22419 Comm: my_task Tainted: G O 5.10.179-lp154.3-0510xenomai3 #1
[ 741.073014] Hardware name: ICP / iEi IMBA-9454ISA/IMBA-9454ISA(E168), BIOS 080014 02/20/2009
[ 741.073015] IRQ stage: Xenomai
[ 741.073015] Call Trace:
[ 741.073015] dump_stack+0x86/0xa6
[ 741.073016] check_inband_stage+0x8c/0xa0
[ 741.073017] inband_irq_save+0xe/0x30
[ 741.073017] try_to_grab_pending+0x1e/0x180
[ 741.073018] mod_delayed_work_on+0x42/0xa0
[ 741.073018] phy_trigger_machine+0x23/0x30
[ 741.073019] phy_mac_interrupt+0xe/0x20
[ 741.073019] ec_poll+0x105/0x110 [ec_r8169]
[ 741.073020] ec_device_poll+0x24/0x30 [ec_master]
[ 741.073020] ecrt_master_receive+0x21/0x160 [ec_master]
[ 741.073021] ec_ioctl_rtdm_rt+0x430/0x4c0 [ec_master]
[ 741.073021] ? rtdm_fd_get+0x11d/0x210
[ 741.073022] ec_rtdm_ioctl_rt_handler+0x26/0x40 [ec_master]
[ 741.073022] rtdm_fd_ioctl+0xdc/0x240
[ 741.073023] ? xnlock_dbg_release+0x21/0xf0
[ 741.073023] CoBaLt_ioctl+0xe/0x20
[ 741.073024] handle_head_syscall+0x10f/0x4d0
[ 741.073025] ? CoBaLt_fcntl+0x20/0x20
[ 741.073025] ? handle_pipelined_syscall+0x39/0x40
[ 741.073026] handle_oob_syscall+0x13/0x20
[ 741.073026] pipeline_syscall+0x8c/0x130
[ 741.073027] syscall_enter_from_user_mode+0x26/0x90
[ 741.073027] do_syscall_64+0x13/0x60
[ 741.073028] entry_SYSCALL_64_after_hwframe+0x61/0xc6
[ 741.073029] RIP: 0033:0x7fac8da13c8f
[ 741.073029] Code: Unable to access opcode bytes at RIP 0x7fac8da13c65.
[ 741.073030] RSP: 002b:00007fac8e864c90 EFLAGS: 00000206 ORIG_RAX: 0000000010000050
[ 741.073031] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fac8da13c8f
[ 741.073032] RDX: 0000000000000000 RSI: 000000000000a426 RDI: 0000000000000003
[ 741.073032] RBP: 000000000000a426 R08: 00007fac8e865700 R09: 0000000000000000
[ 741.073033] R10: 0000000000000113 R11: 0000000000000206 R12: 0000000000000000
[ 741.073033] R13: 0000000000000000 R14: 0000000000000000 R15: 00007fac8e864e80
```
2024-02-05 10:08:55 +01:00
Bjarne von Horn
0c1e2bc397
fix r8169 modname
2024-02-05 10:08:55 +01:00
Bjarne von Horn
aa89735e55
do ioctl multiplexing in ioctl.c
2024-02-05 10:08:55 +01:00
Bjarne von Horn
bf790debb6
Split ioctl switch statements into rt, nrt and common
2024-02-05 10:08:55 +01:00
Bjarne von Horn
1e7b4816c1
Add rtai modules to KBUILD_EXTRA_SYMBOLS
2024-02-05 10:04:35 +01:00
Bjarne von Horn
df7145a1c3
Add Xenomai{2,3} and RTAI to CI
2024-02-05 10:04:14 +01:00
Bjarne von Horn
385f2ba64e
Use rtdm_safe_copy_{from,to}_user
2024-02-05 10:04:14 +01:00
Bjarne von Horn
ca60769996
introduce ec_copy_{from,to}_user macros with ctx argument in ioctl
2024-02-05 10:02:28 +01:00
Bjarne von Horn
95209d2858
Move ec_rtdm_context into common header
2024-02-05 09:58:05 +01:00
Bjarne von Horn
0a41222ee6
prepare uniting ec_rtdm_context
2024-02-05 09:58:04 +01:00
Bjarne von Horn
656526f03c
remove EC_RTDM_OPS_HAS_MMAP again
2024-02-05 09:58:04 +01:00
Bjarne von Horn
1c9f9bfe7d
use RTDM CFLAGS for non-standard include dir
2024-02-05 09:58:04 +01:00
Bjarne von Horn
bc1f0e8f41
Add --with-xenomai-config option
2024-02-05 09:58:04 +01:00
Bjarne von Horn
db0d120e2e
Fix Xenomai Posix setschedparam
2024-02-05 09:58:04 +01:00
Bjarne von Horn
64adc0ce16
Port examples to Xenomai3
2024-02-05 09:58:04 +01:00
Bjarne von Horn
3ba71d5702
use sig_atomic_t for run flag in examples
...
Otherwise the loop may run forever.
2024-02-05 09:58:04 +01:00
Bjarne von Horn
1dae91d8c3
Use mmap handler in Xenomai3
2024-02-05 09:58:04 +01:00
Bjarne von Horn
e76109c854
Use xeno_config for xenomai version detection
2024-02-05 09:58:04 +01:00
Joonyoung Shim
023d989ee3
Support Xenomai version 3
...
From 9567f460411d9a832c24b3ef65252f6f4f902fef Mon Sep 17 00:00:00 2001
Xenomai version 3 has different RTDM interface with version 2 and has
Alchemy interface instead of native API. This supports RTDM of Xenomai
version 3 and to use Alchemy interface.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2024-02-05 09:58:04 +01:00
Bjarne von Horn
a297dd7fae
add symbol version check target
2024-02-02 11:53:31 +01:00
Bjarne von Horn
71f8041248
Add symbol map file.
...
Fixes #88
2024-02-02 11:53:31 +01:00
Bjarne von Horn
5fd05393bb
Add missing EC_PUBLIC_API declarations
2024-02-02 11:53:31 +01:00
Florian Pose
4ce4d08b7b
Made some more pointer arguments const in API.
2024-02-02 10:56:09 +01:00
Florian Pose
0829b3f802
Minor: Broke long lines.
2024-02-02 10:18:34 +01:00
Florian Pose
df354272a8
Minor: Fixed indentation.
2024-02-02 10:15:47 +01:00
Bjarne von Horn
984cb49633
Add missing EC_PUBLIC_API declarations
2024-02-02 10:04:44 +01:00
Bjarne von Horn
8bf902b02a
update conditions in CI
2024-02-02 09:53:47 +01:00