IRC logs for #openrisc Saturday, 2014-11-08

--- Log opened Sat Nov 08 00:00:19 2014
poke53281I think I have stabilized my smp emulation. At least a little bit.02:10
poke53281stekern: May I ask you if I can give you some suggestions for ompic improvements? :)02:10
stekern_poke53281: absolutely05:14
poke53281I don't like the inner retry loop. And I don't think that this loop is necessary. Especially the udelay is highly inconvenient inside a spinlock.05:40
poke53281Without changing the hardware I think we can change the IPI-flags to a IPI-bitfield.05:41
poke53281And instead of waiting for a acknowledge, we can just or the irq-data field.05:42
poke53281We would lose the knowledge about the source of the interrupt, but this information is not needed.05:43
stekern_yeah, that could work05:52
-!- stekern_ is now known as stekern05:52
stekernirq-data is 16 bits anyway, and we don't have that many IPI functions05:53
poke53281exactly05:54
stekernand no, I don't like that loop neither. but, my first impression was that you'd never hit that situation05:54
poke53281Maybe not with 4 cores.05:56
stekernoh, that happens with 4 cores too05:57
poke53281And I thought never does not count in smp systems ;)05:57
stekernI mean when I first wrote it05:57
stekernwith "never" I meant very rarely ;)05:58
poke53281Not sure, m system is still not stable. But removing this loop helps for some reason. But it- is very simple. A udelay inside a spinlock region is wrong.05:59
poke53281we can unlock it and lock it again before and after the udelay.06:00
poke53281But it would be better to get fully rid of this loop.06:00
poke53281I checked other irqchips, and they don't have such a loop.06:00
poke53281I think a bitfield and probably another spinlock is the easiest solution.06:01
stekernwhy do you need another spinlock?06:06
poke53281not another, the same. But we need it for the ipi_handler too.06:08
poke53281or-ing the irq-data is not atomic.06:09
stekernah, of course09:11
HeshamHi, we (RTEMS community) want to know whether the gcc or1k/rtems patches have been merged to or1k-gcc repo or not, can anyone confirm?12:48
stekernHesham: I don't think they have been, was there a final set of patches that everybody was happy with at some point?13:08
stekernif so, we can certainly just apply them13:08
stekernpoke53282: not sure if using a bit-field will entirely solve it, you still have to check that the bit isn't set for the dest-cpu before you can issue the soft-irq13:48
Heshamstekern: Sorry for being late. Yeah, there were final set of patches that Joel and I provided, I think blueCmd maybe aware of them.15:03
HeshamAnother question Joel asked is "Do you have C11 atomic operations already"?15:04
HeshamWe may think to add SMP support to OpenRISC port on RTEMS, but we need details about the current HW (NoC, SMP), simulators supports, and boards too. It maybe part of an MSc research project.15:07
stekernHesham: I have a couple of multicore orpsoc-cores systems here: https://github.com/skristiansson/orpsoc-cores/tree/multicore15:51
stekerniirc you had an atlys board, but that's unfortunately pretty much untested since my board broke down right after I was done with that port15:53
Heshamstekern: If you can give alternatives for Atlys board that would be good. In the research we are interested in many cores (i.e, 16 cores or more). So, do you think there is or will be good HW support for such a many-core architecture on OpenRISC?15:59
HeshamAnd of course a platform to test results and make some analysis...16:01
stekernyou just need to find a big enough FPGA ;)16:07
stekernI have a 4-core setup running on the sockit board, and the whole soc takes around 40%, so finding an FPGA that'd fit 16 cores doesn't sound impossible16:08
wallento1Hesham: We are researching NoC-based manycore. But more with a focus on distributed memory and less on SMP18:06
Heshamstekern: So it's all a matter of a big FPGA? do you use Wishbone as a NoC?18:40
Heshamwallento: I think we are targeting the same research field. Actually we have many candidates HW platforms like Parallella, OpenRISC, Bluestar18:42
stekernHesham: pretty much yes, but the soc's I've done isn't NoC, I think you want to look more at wallento's optimsoc for that19:51
HeshamThanks. I googled it and found some good results.19:52
--- Log closed Sun Nov 09 00:00:20 2014

Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!