Friday, 2022-10-14

openpowerbot[slack] <Matt Johnston> **frowns**08:52
openpowerbot[slack] <Matt Johnston> ```uint64_t gitinfo;08:52
openpowerbot[slack] <Matt Johnston> gitinfo = readq(SYSCON_BASE + SYS_REG_GIT_INFO);08:52
openpowerbot[slack] <Matt Johnston> printf("more gitinfo %016llx\n", (unsigned long long)gitinfo);08:52
openpowerbot[slack] <Matt Johnston>         *dirty = 0;08:52
openpowerbot[slack] <Matt Johnston>         *rev = gitinfo;08:52
openpowerbot[slack] <Matt Johnston> printf("rev %016llx\n", (unsigned long long)*rev);08:52
openpowerbot[slack] <Matt Johnston> 08:52
openpowerbot[slack] <Matt Johnston> more gitinfo 0000000077a485be08:52
openpowerbot[slack] <Matt Johnston> rev 00dc035877a485be08:52
openpowerbot[slack] <Matt Johnston> 08:52
openpowerbot[slack] <Matt Johnston>     1108:ea fe e0 7f ldcix   r31,0,r3108:52
openpowerbot[slack] <Matt Johnston> how'd the first one miss the high part...08:52
openpowerbot[slack] <Matt Johnston> **frowns**08:54
openpowerbot[slack] <Matt Johnston> ```static void git_version(uint64_t **rev, bool **dirty) {08:54
openpowerbot[slack] <Matt Johnston> uint64_t gitinfo;08:54
openpowerbot[slack] <Matt Johnston> gitinfo = readq(SYSCON_BASE + SYS_REG_GIT_INFO);08:54
openpowerbot[slack] <Matt Johnston> printf("more gitinfo %016llx\n", (unsigned long long)gitinfo);08:54
openpowerbot[slack] <Matt Johnston>         *dirty = 0;08:54
openpowerbot[slack] <Matt Johnston>         *rev = gitinfo;08:54
openpowerbot[slack] <Matt Johnston> printf("rev %016llx\n", (unsigned long long)*rev);08:54
openpowerbot[slack] <Matt Johnston> }08:54
openpowerbot[slack] <Matt Johnston> 08:54
openpowerbot[slack] <Matt Johnston> more gitinfo 0000000077a485be08:54
openpowerbot[slack] <Matt Johnston> rev 00dc035877a485be08:54
openpowerbot[slack] <Jeremy Kerr> cache inhibited load getting a bit too inhibitey09:11
openpowerbot[slack] <Benjamin Herrenschmidt> That's.... interesting22:24
openpowerbot[slack] <Benjamin Herrenschmidt> Needs some waves, can you repro in Sim ?22:26

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!