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

Feature/revpi 1205/minimal rs485 support #24

Conversation

linosanfilippo-kunbus
Copy link

No description provided.

This reverts commit ab34413.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
This reverts commit a25a018.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
This reverts commit 0c5b74d.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
This reverts commit 60ace52.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
This reverts commit fb6dee0.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Commit 7d26df5 is a hack with the only purpose to use the unit usecs
for port timeouts in the serial core instead of the unit jiffies.

This reverts commit 7d26df5.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Add basic RS485 support. This is loosely based on an implementation by Lukas
Wunner.

Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
@iluminat23 iluminat23 merged commit 5b26737 into RevolutionPi:devel/revpi-5.10_core3+ May 31, 2021
iluminat23 pushed a commit that referenced this pull request Jan 20, 2022
[ Upstream commit d412137 ]

The perf_buffer fails on system with offline cpus:

  # test_progs -t perf_buffer
  test_perf_buffer:PASS:nr_cpus 0 nsec
  test_perf_buffer:PASS:nr_on_cpus 0 nsec
  test_perf_buffer:PASS:skel_load 0 nsec
  test_perf_buffer:PASS:attach_kprobe 0 nsec
  test_perf_buffer:PASS:perf_buf__new 0 nsec
  test_perf_buffer:PASS:epoll_fd 0 nsec
  skipping offline CPU #24
  skipping offline CPU #25
  skipping offline CPU #26
  skipping offline CPU #27
  skipping offline CPU #28
  skipping offline CPU #29
  skipping offline CPU #30
  skipping offline CPU #31
  test_perf_buffer:PASS:perf_buffer__poll 0 nsec
  test_perf_buffer:PASS:seen_cpu_cnt 0 nsec
  test_perf_buffer:FAIL:buf_cnt got 24, expected 32
  Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED

Changing the test to check online cpus instead of possible.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20211021114132.8196-2-jolsa@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants