*** tpb has joined #litex | 00:00 | |
*** lkcl has joined #litex | 00:01 | |
somlo | daveshah: I like the idea of *not* having a pr_info -- it all depends on whether the log output generated by BUG_ON() is enough to make it clear to the driver developer that they called litex_[get|set]_reg with the wrong register size | 00:13 |
---|---|---|
somlo | I'll run some tests where I screw this up on purpose to see what the BUG_ON log output looks like | 00:14 |
*** lf_ has quit IRC | 00:27 | |
*** lf has joined #litex | 00:27 | |
*** McJ92 has joined #litex | 00:32 | |
*** McJ92 has quit IRC | 01:24 | |
*** martinraison has joined #litex | 01:37 | |
*** martinraison has quit IRC | 01:42 | |
*** Dolu has quit IRC | 01:55 | |
*** martinraison has joined #litex | 04:39 | |
*** martinraison has quit IRC | 04:44 | |
*** Degi_ has joined #litex | 04:46 | |
*** Degi has quit IRC | 04:48 | |
*** Degi_ is now known as Degi | 04:48 | |
*** shenki has quit IRC | 05:34 | |
*** shenki has joined #litex | 05:45 | |
*** martinraison has joined #litex | 05:56 | |
*** martinraison has quit IRC | 06:00 | |
*** Bertl is now known as Bertl_zZ | 06:09 | |
*** martinraison has joined #litex | 06:27 | |
*** martinraison has quit IRC | 06:32 | |
*** martinraison has joined #litex | 09:35 | |
*** martinraison has quit IRC | 09:36 | |
*** martinraison has joined #litex | 09:38 | |
*** martinraison has quit IRC | 09:47 | |
*** Dolu has joined #litex | 09:59 | |
*** martinraison has joined #litex | 10:08 | |
*** martinraison has quit IRC | 10:12 | |
*** martinraison has joined #litex | 10:13 | |
*** martinraison has quit IRC | 10:38 | |
*** martinraison has joined #litex | 10:41 | |
*** martinraison has quit IRC | 11:02 | |
*** Bertl_zZ is now known as Bertl | 14:12 | |
somlo | shorne: on second thought, I can always update the unreleased drivers in https://github.com/litex-hub/linux/tree/litex-rebase to *not* use [_]litex_[get|set]_reg() and replace all call sites with the appropriate litex_[read|write][X]() -- and not have to deal with BUG() at all. There's really no situation in which I can see an accessor determine the width of its access at *run time* | 14:20 |
somlo | * s/determine/need to determine/ | 14:20 |
*** ambro718 has joined #litex | 15:07 | |
*** somlo has quit IRC | 16:37 | |
*** somlo has joined #litex | 16:40 | |
*** peeps[zen] has joined #litex | 17:10 | |
*** peepsalot has quit IRC | 17:11 | |
*** futarisIRCcloud has quit IRC | 17:18 | |
*** peeps[zen] has quit IRC | 17:23 | |
*** peepsalot has joined #litex | 17:23 | |
*** peeps[zen] has joined #litex | 17:35 | |
*** peepsalot has quit IRC | 17:36 | |
*** SpaceCoaster has quit IRC | 17:43 | |
*** SpaceCoaster has joined #litex | 17:44 | |
*** peepsalot has joined #litex | 17:54 | |
*** peeps[zen] has quit IRC | 17:56 | |
*** ambro718 has quit IRC | 18:03 | |
*** SpaceCoaster has quit IRC | 18:09 | |
*** SpaceCoaster has joined #litex | 18:10 | |
*** martinraison has joined #litex | 20:35 | |
*** martinra_ has joined #litex | 20:35 | |
*** martinra_ has quit IRC | 20:38 | |
*** martinraison has quit IRC | 20:39 | |
*** martinraison has joined #litex | 20:44 | |
*** ambro718 has joined #litex | 20:45 | |
*** martinraison has quit IRC | 20:46 | |
*** Bertl is now known as Bertl_oO | 21:39 | |
*** lambda has quit IRC | 22:43 | |
*** lambda has joined #litex | 22:45 | |
*** ambro718 has quit IRC | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!