Core-chat-meeting-2016-05-10 10:07 < geertu> Agenda: 10:07 < geertu> 1. Upcoming Gen3 development for the Core group, 10:07 < geertu> 2. Increasing the size of GIC-400 mapped registers 10:07 < geertu> 3. Face-2-face meeting during LinuxCon Japan 10:07 < geertu> 4. Status check for tasks from last meeting - what is remaining? 10:08 < geertu> Topic 1. Upcoming Gen3 development for the Core group 10:08 < geertu> I've posted patches for initial CPG/MSSR support and SYSC PM Domains for r8a7796 10:08 < geertu> Runs fine on M3-W. 10:09 < geertu> And on H3 ES1.1, FWIW 10:09 < horms> Thanks. I plan to use them as the base for my basic M3-W support. Unfortunately the patches I have put together don't seem to give me a console yet. 10:09 < horms> How did you test the cpg/mssr patch set? 10:09 < geertu> horms: Did you try my topic/gen3-latest branch? 10:09 < horms> No 10:10 < geertu> I have a single patch there that adds the glue to make it work. 10:10 < horms> supurb. thanks! 10:10 < horms> one last question. does earlycon work out of the box or does it need to be enabled somehow? 10:11 < geertu> I assume you can cook basic M3-W patches by extracting pieces from that. 10:11 < geertu> You have to add "earlycon" on the kernel command line 10:11 < horms> ok, thanks. got it 10:11 < geertu> And unfortunately it's not that early as DEBUG_LL on arm32. 10:12 < geertu> Unfortunately we don't have anything better on arm64. 10:12 < horms> i suspected as much (x2~ 10:12 < horms> i'll compare your glue patch to what I have and see what i did wrong 10:12 < geertu> From my first experience with M3-W, things are working smoothly. PSCI is even able to reboot ;-) 10:13 < horms> I guess the hw design is a bit more mature than when we first got H3 10:13 < geertu> That is without PFC, which may cause us (Uli?) some headaches due to the bus access issue. 10:13 < horms> I was hoping to include PFC support. But probably its best to do that as a second step. 10:14 < geertu> Yeah, I can't send out the HSCIF r8a7796 binding update without PFC and without local access. 10:16 < geertu> I was also happy to see H3ES1.1 works fine with my normal H3 kernel. 10:16 < horms> I got a message from dammsan. He had another appointment which is now finished. He should be here soon. 10:17 -!- dammsan [~dammsan@s214090.ppp.asahi-net.or.jp] has joined #periperi 10:17 < horms> voila! 10:17 < geertu> Welcome dammsan 10:17 < dammsan> thanks, sorry about the delay. 10:18 < geertu> We've just discussed the noise in your house ;-) 10:18 < dammsan> also, sorry for trouble with the remote access - the cat shut down my house 10:18 < dammsan> but it is up and running now again 10:18 < geertu> You use the cat for remote access (flipping switches and pressing buttons)? Cool! 10:19 < morimoto> Ohh loo-chan ! 10:19 < dammsan> it manages things by itself somehow =) 10:20 < dammsan> 20 vms got powered off =) 10:20 < geertu> Oops. that includes the locally installed tftp servers? 10:20 < dammsan> geertu: so your local tftp setup is probably gone 10:20 < dammsan> yeah - sorry!! 10:20 < dammsan> i restarted but lost state 10:20 < geertu> NP, time to automate the install from my side 10:21 < dammsan> thanks for covering 10:22 < geertu> Any other upcoming Gen3 development for the Core group? 10:23 < dammsan> i guess PFC paper work for ulrich needs to be finalised 10:24 < dammsan> apart from that nothing from my side 10:24 < neg> I would like to do something for the core group within the next month or so :-) 10:24 < uli___> dammsan: from my side, there is no rush, i'll soon be gone, back on the 23rd 10:25 < geertu> neg: DMA? 10:25 < dammsan> uli___: ok, thanks for letting me know. we should finalise all your tasks rather soon then to wrap up 6/E tasks 10:25 < horms> dammsan: uli___: what is the nature of the pfc work? 10:26 < neg> geertu: I sent out refreshed IPMMU+DMAC patches yesterday so I have no task in the pipeline to work on 10:26 < dammsan> uli___: can you talk to the group leaders and decide how to split your remaining time between the groups? 10:26 < uli___> horms: r8a7795 bias support and minimal r8a7796 support 10:26 < uli___> dammsan: i have two core and one multimedia task, so i'm left with one slot 10:27 < uli___> which is supposed to be i/o, i guess 10:27 < horms> uli___: thanks. i will skip doing pfc as part of my basic r8a7796 support 10:29 < dammsan> uli___: can you send an email to me and the group leaders with a list of the additional tasks you have signed for and what is planned as well as what is left? 10:29 < uli___> ok 10:30 < dammsan> thanks 10:30 < dammsan> geertu: do you feel satisfied with the amount of additional slots you got for the core group? 10:30 < geertu> ;-) 10:31 < dammsan> geertu: or would you like to try to steal some time if something is urgent? =) 10:31 < horms> fwiw, i think i have one free slot 10:31 < dammsan> in my mind core group assignment is more or less done (with the exception of uli) 10:31 < dammsan> so the remainer of the slots go to i/o and multimedia 10:32 < dammsan> but we can adjust depending on the need 10:32 < dammsan> horms: i think you have more than one slot left 10:33 < horms> ok, lets talk about that some time 10:33 < dammsan> sure 10:36 < khiemnguyen> up up 10:37 < geertu> Topic 2. Increasing the size of GIC-400 mapped registers 10:37 < geertu> I had a look at the actual register contents earlier this morning 10:37 < geertu> and increasing region 1 and 3 to 128 KiB doesn't make much sense to me (64 KiB is OK). 10:38 < geertu> Region 0 is 1 4 KiB page (16 times aliased in the full 64 KiB block) 10:38 < pinchartl> geertu: didn't Marc explain that the register block is aliased multiple times over a 128kB region ? 10:38 < horms> yes 10:38 < geertu> pinchartl: That's true for region 2 10:38 < dammsan> geertu: shouldn't xen do whatever magic is needed to make it fit? 10:38 < dammsan> and we are just describing the hardware in DT? 10:39 < horms> dammsan: that is my basic feeling too 10:39 < horms> but it seems that Mark Zyngnier has taken the kernel implementation in a different direction 10:39 < geertu> Region 1 is currently 2 identical 4 KiB pages 10:39 < geertu> Dirk wants to expand it to 128 KiB. 10:40 < geertu> However, the first 64 KiB is just 16 aliases of the first (and second) 4 KiB page 10:40 < geertu> While the second 64 KiB is all zeroes 10:40 < geertu> Region 2 is already 128 KiB, which makes sense, as it's 16 aliased pages + 16 different aliased pages 10:41 < geertu> For region 3, the other one Dirk wants to increase, the situatin is identical to region 1 10:42 < dammsan> geertu: i recall the gic behaving differently depending on if secure mode is used or not 10:42 < dammsan> there is some bit that can be used to determine which mode is used 10:42 < dammsan> (at least in some version of the gic) 10:42 < horms> It seems to me that at some level ARM decided that this aliasing approach is the solution to allowing hypervisors with 64Kb pages to trap the areas in question 10:42 < geertu> So region 1 and region 2 have 2 all-zero blocks due to non-secure mode? 10:43 < dammsan> geertu: not sure, but it could be so 10:43 < dammsan> feel free to try to convince me to install the old secure mode environment 10:44 < geertu> Then 128 KiB for region 1 and 3 make sense. 10:44 < geertu> And the question is more like why we had 8 KiB there before (copied from Gen2?) 10:45 < geertu> I'll respond to the email thread 10:45 < dammsan> i think it is possible to use the SCIF download mode and enter via JTAG to access secure mode 10:45 < horms> Presumably it was copied either from Gen2 or from the BSP (which may be the same thing) 10:45 < geertu> But if the patch was OK in the first place, why didn't Marc just provide his Acked-by? 10:45 < horms> I think Mark came into the thread pretty lated 10:45 < horms> and the patch itself had disappeared from view by then 10:46 < horms> s/lated/late/ 10:46 < geertu> I checked, and it was still quoted 10:46 < dammsan> so may i ask, the base addresses remain unchanged 10:46 < dammsan> this is just about the size? 10:46 < horms> yes 10:46 < dammsan> ok thanks 10:46 < geertu> dammsan: The driver will adjust the size 10:46 < geertu> dammsan: The driver will adjust the base address 10:47 < dammsan> that would make sense 10:47 < horms> I don't think it would be unreasonable to ask Mark for an Ack. It does seem to be an area he is knoledgable about 10:47 < geertu> The driver needs 2 contiguous 4 KiB blocks 10:47 < geertu> So if 2 64 KiB blocks are given, it uses register base = block base + 60 KiB 10:47 < dammsan> but it could be optimized with 64 KiB blocks 10:48 < geertu> optimized? 10:48 < dammsan> fewer entries in the TLB? 10:48 < geertu> The idea is that the 2 4 KiB register blocks are in different pages 10:48 < geertu> so they can have different protection 10:48 < dammsan> ok ok gotcha, cpu interface and distributor 10:48 < dammsan> never mind me 10:49 < dammsan> makes sense 10:49 < horms> geertu: can you talk to dirk/mark a bit about this? basically I feel it is ok to apply the patch. but I'd rather not live to regret it. 10:50 < geertu> horms: yes, that's what I said I will do 10:50 < horms> excellent, thanks! 10:50 < geertu> Topic 3. Face-2-face meeting during LinuxCon Japan 10:52 < morimoto> Now I'm collecting topics from Renesas member 10:52 < morimoto> Oops, sorry it is for RenesasCon 10:54 < morimoto> I think we can have Mini-PeriCon on 11th, and RenesasCon 12th 10:54 < geertu> I think the topic is about all meetings during that week 10:56 < morimoto> I wounder does Ulich come to Japan ? 10:57 < horms> uli___: ↑ 10:57 < uli___> no, i won't :( 10:58 < morimoto> OK 10:59 < morimoto> I will post collected Renesas side topic to PeriPeriML 10:59 < geertu> OK 11:00 < morimoto> Your side would like to know R-Car business, and each member/group 11:00 < morimoto> is this correct ? 11:01 < geertu> I think so 11:01 < neg> At least I would like that 11:01 < khiemnguyen> Where will we have the meeting ? 11:01 < morimoto> About RenesasCon, I'm planing on Renesas office 11:02 < morimoto> but the conference room is not yet decided 11:02 < pinchartl> on what day would that be ? 11:02 < morimoto> RenesasCon = 12th 11:02 < horms> morimoto: that would be the Musashi-works near Kokubunji? 11:02 < morimoto> Yes 11:03 < horms> Got it 11:03 < morimoto> Because Renesas member will join 11:03 < pinchartl> ok 11:03 < morimoto> We can have different place for MiniPeriCon (?) 11:04 < morimoto> Then, we (= Renesas) would like to know your side current tasks/issue/headache 11:04 < horms> I mainly ask because althouth I know where it is other may not. Its a bit of a distance from e.g. where LinuxCon is being held. They probably need to plan for that. 11:04 < morimoto> Please create something of presentation :) 11:05 < khiemnguyen> each group leader will make presentation ? 11:05 < morimoto> horms: Yes, it is my headache too 11:05 < geertu> It's about one hour from LinuxCon? 11:06 < horms> I am happy to help people find the venue :) 11:06 < horms> geertu: perhaps a little more. 11:07 < horms> google says about an hour, you were right 11:08 * geertu used Google 11:08 < horms> :) 11:08 < neg> have anyone booked hotell? My knowledge about Toky is nil and I don't want to live on the wrong side of the tracks :-) 11:09 < horms> google can help you :) 11:09 < morimoto> Or I can :) 11:09 < morimoto> dammsan: do you have any plan for MiniPeriCon room ? 11:10 < pinchartl> neg: I've booked at the conference hotel 11:10 < horms> morimoto: (off topic) do you know if the BSP meeting on friday is still on? 11:10 < neg> horms: I tried google for Brussels and ended up in a hotel where they probobly are used to charge you by the hour 11:11 < morimoto> horms: for this week 13th? then yes, still ON 11:11 < horms> haha. i can help too 11:11 < horms> morimoto: 了解です 11:11 < dammsan> morimoto: no plan, the library actually just called me and said I owed the the double about of money due to a no-show meeting room =) 11:12 < geertu> pinchartl: it seems to be fully booked by now 11:13 < geertu> neg: Good for you! Usually people don't stay an integer number of 24h-days 11:14 < neg> geertu: :-) 11:15 < horms> fwiw, i usually stay either at the monteray n 11:15 < horms> hanzomon or somewhere in kudanshita for linuxcon 11:15 < horms> partly because that is in between linuxcon and the old renesas office 11:15 < horms> and i'm not affraid of the subway system :) 11:16 < dammsan> i recommend the "la festa kichijouji" hotel for everyone =) 11:17 < morimoto> closed to your home 11:18 < dammsan> you can probably both rest and stay if you want 11:18 < geertu> Doesn't look like it's close to LinuxCon? 11:18 < horms> its close to renesas :) 11:18 < dammsan> its not, i'm not serious 11:19 < horms> Somewhere on the Tozai line might be a good choice. As that can be used to get both to LinuxCon and part way to Renesas 11:19 < geertu> Be careful with such jokes, or we'll all end up in little tubes near Fukushima ;-) 11:19 < dammsan> =) 11:19 < horms> Or Idabashi which is within walking distance of LinuxCon and should connect to the Sobu/Chuo line to head out to Renesas 11:20 < geertu> Idabashi is not a hotel? 11:20 < horms> its an area 11:21 < horms> presumably there are hotels there 11:21 < geertu> horms: OK, I'll ask neg to find a good one over there ;-) 11:21 < horms> i'm unsure if my family will join me or not 11:21 < horms> so i will be holding off on a booking for now 11:22 < neg> geertu: I will find a nice one, how many hours do you need :-) 11:23 < horms> Probably geertu only needs a rest every second day 11:24 < geertu> Topic 4. Status check for tasks from last meeting - what is remaining? 11:25 < geertu> r8a7796 CPG/MSSR and SYSC is public 11:25 < neg> I have pinged Arnd in the thread for the multiple DT DMACs but no reply so far, plan to wait a few more days and ping again 11:26 < geertu> r8a7795 drive-strength support is merged 11:26 < khiemnguyen> I sent out CPUfreq patches. Need feedback. :) 11:26 < geertu> PFC 1.8v switching (for r8a7790) is merged 11:26 < geertu> R-Car SYSC PM Domain support is merged 11:27 < geertu> khiemnguyen: I've sent some feedback 11:27 < horms> geertu: it looks like the above item made it into arm-soc smoothly :) 11:28 < horms> neg: how is the effort to use more than one dma controller going. I'm referring to the patches Olof took exception to 11:29 < neg> horms: as we talked about during last meeting I would try to get Arnds feedback on the same patches but I have failed to get his attention 11:30 < horms> ok 11:30 < pinchartl> I have to go I'm afraid 11:30 < horms> bye 11:30 < morimoto> pinchartl: quick request 11:31 < morimoto> pinchartl: Kurokawa-san is waiting your resonse 11:31 < morimoto> s/resonse/response/ 11:31 < dammsan> morimoto: lets discuss this f2f tomororw 11:31 < morimoto> OK 11:32 < pinchartl> morimoto: I'll reply this afternoon 11:32 < pinchartl> I was away last week 11:32 < morimoto> Thanks 11:32 < pinchartl> and catching up with my e-mails 11:33 < pinchartl> have a nice afternoon/evening 11:34 -!- khiemnguyen [d2a0fca8@gateway/web/cgi-irc/kiwiirc.com/ip.210.160.252.168] has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client] 11:34 -!- khiemnguyen [d2a0fca8@gateway/web/cgi-irc/kiwiirc.com/ip.210.160.252.168] has joined #periperi 11:35 < geertu> I think all topics have been covered. 11:35 < geertu> Or did I miss anything? 11:35 < geertu> pinchartl: Bye! 11:35 < dammsan> geertu: thanks for your help 11:36 < horms> nothing from my side 11:36 < geertu> pinchartl: What happened to git.linuxtv.org? (for todays renesas-drivers)? 11:37 < geertu> OK, thanks for joining, and have a nice day/evening/morning!