If you set the irq trigger as edge rising or falling the interrupts are
no longer delivered to the upper layers. The gpiokeys driver, for
example, no longer detects the change in the state of the pins mapped
to the buttons.
Fixes: c041e938312b ("arm: ipipe: Fix up the omap-gpio driver to deliver
If you set the irq trigger as edge rising or falling the interrupts are
no longer delivered to the upper layers. The gpiokeys driver, for
example, no longer detects the change in the state of the pins mapped
to the buttons.
Fixes: c041e938312b ("arm: ipipe: Fix up the omap-gpio driver to deliver
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B.
Starting from the RTDM porting [1] by Stephen Battazzo, Michael applied
some fixes for proper driver operation. Then I ported the commits from
Linux kernel version 5.12 and finally I
As in the Linux kernel, the counter is updated only after the message
has been really transmitted.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
kernel/drivers/can/mscan/rtcan_mscan.c | 1 +
kernel/drivers/can/rtcan_flexcan.c | 1 +
kernel/drivers/can/rtcan_raw.c
Like in the Linux kernel, the API allows to get/set device controller
parameters.
For now it only supports:
- ETHTOOL_GDRVINFO: get general driver and device information
- ETHTOOL_GRINGPARAM: get RX/TX ring parameters
It allows the userspace to know the number of messages managed by the
The `user_msghdr' structure is designed to send multiple messages as
well, so rtcan_raw_sendmsg() can also send multiple messages. This
avoids having to add the sendmmsg system call which requires more
extensive Xenomai changes.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
To be used in case of recovered to error active state.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/rtdm/uapi/can.h b/include/rtdm/uapi/can.h
index 8d0d837d5..1c35a9b9d 100644
---
The series was created to optimize the use of the C_CAN controller
(maximum number of message objects, use of FIFO, ...) to get the
best possible RX/TX throughput from hardware.
To emphasize the purpose of the series I also added the patch
which adds multi-message support to `sendmsg ', rather
As mentioned in Linux, can_dlc is a misleading name that suggests a code
instead of a length. Adding the len field can_dlc becomes deprecated too.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 5 -
kernel/drivers/can/rtcan_socket.h | 5 -
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B.
Starting from the RTDM porting [1] by Stephen Battazzo, Michael applied
some fixes for proper driver operation. Then I ported the commits from
Linux kernel version 5.12 and finally I
The `user_msghdr' structure is designed to send multiple messages as
well, so rtcan_raw_sendmsg() can also send multiple messages. This
avoids having to add the sendmmsg system call which requires more
extensive Xenomai changes.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
Add a minimal test for the virtual CAN driver, checking that sent
messages are received correctly.
The timeout on read operations has been wired to 1 s in order not to
fail the test in case the verbose option is enabled.
Signed-off-by: Dario Binacchi
---
Changes in v5:
- Check
Like in the Linux kernel, the API allows to get/set device controller
parameters.
For now it only supports:
- ETHTOOL_GDRVINFO: get general driver and device information
- ETHTOOL_GRINGPARAM: get RX/TX ring parameters
It allows the userspace to know the number of messages managed by the
Both functions, implemented and used for the net, are general purpose
and therefore can be useful in other parts of the application with the
application of minimal changes.
Signed-off-by: Dario Binacchi
---
Changes in v5:
- smokey_modprobe(): check the `name' parameter.
- smokey_modprobe():
To be used in case of recovered to error active state.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/rtdm/uapi/can.h b/include/rtdm/uapi/can.h
index 8d0d837d5..1c35a9b9d 100644
---
Signed-off-by: Dario Binacchi
---
Changes in v5:
- Add the patch to the series.
include/cobalt/uapi/corectl.h | 2 ++
kernel/drivers/can/Makefile | 4 +--
kernel/drivers/can/corectl.c | 41 +++
kernel/drivers/can/rtcan_module.c | 6 +
4 files
The series was created to optimize the use of the C_CAN controller
(maximum number of message objects, use of FIFO, ...) to get the
best possible RX/TX throughput from hardware.
To emphasize the purpose of the series I also added the patch
which adds multi-message support to `sendmsg ', rather
As mentioned in Linux, can_dlc is a misleading name that suggests a code
instead of a length. Adding the len field can_dlc becomes deprecated too.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 5 -
kernel/drivers/can/rtcan_socket.h | 5 -
Hi Jan,
> Il 25/11/2021 11:43 Jan Kiszka ha scritto:
>
>
> On 25.11.21 00:46, Dario Binacchi wrote:
> > Bosch C_CAN controller is a full-CAN implementation which is compliant
> > to CAN protocol version 2.0 part A and B.
> >
> > Starting from the RTDM porting [1] by Stephen Battazzo, Michael
Hi Jan,
> Il 25/11/2021 11:26 Jan Kiszka ha scritto:
>
>
> On 25.11.21 00:46, Dario Binacchi wrote:
> > Like in the Linux kernel, the API allows to get/set device controller
> > parameters.
> > For now it only supports:
> > - ETHTOOL_GDRVINFO: get general driver and device information
> > -
Hi Jan,
> Il 25/11/2021 11:28 Jan Kiszka ha scritto:
>
>
> On 25.11.21 00:46, Dario Binacchi wrote:
> > As in the Linux kernel, the counter is updated only after the message
> > has been really transmitted.
> >
> > Signed-off-by: Dario Binacchi
> > ---
> >
> >
Hi Jan,
> Il 29/11/2021 08:50 Jan Kiszka ha scritto:
>
>
> On 27.11.21 16:50, Dario Binacchi wrote:
> > Hi Jan,
> >
> >> Il 25/11/2021 11:28 Jan Kiszka ha scritto:
> >>
> >>
> >> On 25.11.21 00:46, Dario Binacchi wrote:
> >>> As in the Linux kernel, the counter is updated only after the
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B.
Starting from the RTDM porting [1] by Stephen Battazzo, Michael applied
some fixes for proper driver operation. Then I ported the commits from
Linux kernel version 5.12 and finally I
Like in the Linux kernel, the API allows to get/set device controller
parameters.
For now it only supports:
- ETHTOOL_GDRVINFO: get general driver and device information
- ETHTOOL_GRINGPARAM: get RX/TX ring parameters
Signed-off-by: Dario Binacchi
---
kernel/drivers/can/Makefile| 2
The series was created to optimize the use of the C_CAN controller
(maximum number of message objects, use of FIFO, ...) to get the
best possible RX/TX throughput from hardware.
To emphasize the purpose of the series I also added the patch
which adds multi-message support to `sendmsg ', rather
As in the Linux kernel, the counter is updated only after the message
has been really transmitted.
Signed-off-by: Dario Binacchi
---
kernel/drivers/can/mscan/rtcan_mscan.c | 1 +
kernel/drivers/can/rtcan_flexcan.c | 1 +
kernel/drivers/can/rtcan_raw.c | 1 -
To be used in case of recovered to error active state.
Signed-off-by: Dario Binacchi
---
include/rtdm/uapi/can.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/rtdm/uapi/can.h b/include/rtdm/uapi/can.h
index 8d0d837d5..1c35a9b9d 100644
--- a/include/rtdm/uapi/can.h
+++
As mentioned in Linux, can_dlc is a misleading name that suggests a code
instead of a length. Adding the len field can_dlc becomes deprecated too.
Signed-off-by: Dario Binacchi
---
include/rtdm/uapi/can.h | 5 -
kernel/drivers/can/rtcan_socket.h | 5 -
2 files changed, 8
The `user_msghdr' structure is designed to send multiple messages as
well, so rtcan_raw_sendmsg() can also send multiple messages. This
avoids having to add the sendmmsg system call which requires more
extensive Xenomai changes.
Signed-off-by: Dario Binacchi
---
kernel/drivers/can/rtcan_raw.c
Hi Jan,
> Il 01/12/2021 07:15 Jan Kiszka ha scritto:
>
>
> On 30.11.21 09:33, Jan Kiszka via Xenomai wrote:
> > On 29.11.21 23:07, Dario Binacchi wrote:
> >> The `user_msghdr' structure is designed to send multiple messages as
> >> well, so rtcan_raw_sendmsg() can also send multiple messages.
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B.
Starting from the RTDM porting [1] by Stephen Battazzo, Michael applied
some fixes for proper driver operation. Then I ported the commits from
Linux kernel version 5.12 and finally I
Add a minimal test for the virtual CAN driver, checking that sent
messages are received correctly.
The timeout on read operations has been wired to 1 s in order not to
fail the test in case the verbose option is enabled.
Signed-off-by: Dario Binacchi
---
Changes in v4:
- Load/unload the CAN
As mentioned in Linux, can_dlc is a misleading name that suggests a code
instead of a length. Adding the len field can_dlc becomes deprecated too.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 5 -
kernel/drivers/can/rtcan_socket.h | 5 -
As in the Linux kernel, the counter is updated only after the message
has been really transmitted.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
kernel/drivers/can/mscan/rtcan_mscan.c | 1 +
kernel/drivers/can/rtcan_flexcan.c | 1 +
kernel/drivers/can/rtcan_raw.c
Both functions, implemented and used for the net, are general purpose
and therefore can be useful in other parts of the application with the
application of minimal changes.
Signed-off-by: Dario Binacchi
---
Changes in v4:
- Add the patch to the series.
include/smokey/smokey.h |
The `user_msghdr' structure is designed to send multiple messages as
well, so rtcan_raw_sendmsg() can also send multiple messages. This
avoids having to add the sendmmsg system call which requires more
extensive Xenomai changes.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
Like in the Linux kernel, the API allows to get/set device controller
parameters.
For now it only supports:
- ETHTOOL_GDRVINFO: get general driver and device information
- ETHTOOL_GRINGPARAM: get RX/TX ring parameters
It allows the userspace to know the number of messages managed by the
The series was created to optimize the use of the C_CAN controller
(maximum number of message objects, use of FIFO, ...) to get the
best possible RX/TX throughput from hardware.
To emphasize the purpose of the series I also added the patch
which adds multi-message support to `sendmsg ', rather
To be used in case of recovered to error active state.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/rtdm/uapi/can.h b/include/rtdm/uapi/can.h
index 8d0d837d5..1c35a9b9d 100644
---
The series was created to optimize the use of the C_CAN controller
(maximum number of message objects, use of FIFO, ...) to get the
best possible RX/TX throughput from hardware.
To emphasize the purpose of the series I also added the patch
which adds multi-message support to `sendmsg ', rather
The `user_msghdr' structure is designed to send multiple messages as
well, so rtcan_raw_sendmsg() can also send multiple messages. This
avoids having to add the sendmmsg system call which requires more
extensive Xenomai changes.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
Like in the Linux kernel, the API allows to get/set device controller
parameters.
For now it only supports:
- ETHTOOL_GDRVINFO: get general driver and device information
- ETHTOOL_GRINGPARAM: get RX/TX ring parameters
It allows the userspace to know the number of messages managed by the
As in the Linux kernel, the counter is updated only after the message
has been really transmitted.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
kernel/drivers/can/mscan/rtcan_mscan.c | 1 +
kernel/drivers/can/rtcan_flexcan.c | 1 +
kernel/drivers/can/rtcan_raw.c
Bosch C_CAN controller is a full-CAN implementation which is compliant
to CAN protocol version 2.0 part A and B.
Starting from the RTDM porting [1] by Stephen Battazzo, Michael applied
some fixes for proper driver operation. Then I ported the commits from
Linux kernel version 5.12 and finally I
Add a minimal test for the virtual CAN driver, checking that sent
messages are received correctly.
The timeout on read operations has been wired to 1 s in order not to
fail the test in case the verbose option is enabled.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
configure.ac
As mentioned in Linux, can_dlc is a misleading name that suggests a code
instead of a length. Adding the len field can_dlc becomes deprecated too.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 5 -
kernel/drivers/can/rtcan_socket.h | 5 -
To be used in case of recovered to error active state.
Signed-off-by: Dario Binacchi
---
(no changes since v1)
include/rtdm/uapi/can.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/rtdm/uapi/can.h b/include/rtdm/uapi/can.h
index 8d0d837d5..1c35a9b9d 100644
---
Hi Jan,
> Il 13/12/2021 13:11 Jan Kiszka ha scritto:
>
>
> On 13.12.21 11:43, Jan Kiszka via Xenomai wrote:
> > On 12.12.21 12:56, Dario Binacchi wrote:
> >> Both functions, implemented and used for the net, are general purpose
> >> and therefore can be useful in other parts of the
48 matches
Mail list logo