{"push_id":1711767980,"size":6,"distinct_size":6,"ref":"refs/heads/master","head":"f0ebbc8318e64870a68d337e77b0257678c2b055","before":"0bca35a2570f1dc24c8eb6a36113e7bce28bdc99","commits":[{"sha":"6e6d5417ec67797b1dc52c8e30e9b1b4cf64e74f","author":{"name":"Nicholas Piggin","email":"f05c04607627fe5da053d74c5f6ef1dc9d849ab6@gmail.com"},"message":"external/mambo: add helper for machine checks\n\nAdd helpers to construct machine checks with registers set up properly.\nexc_mce raises a machine check exception that can be stepped into. This\nis useful for testing the machine check handler.\n\nAlso add a similar exc_sreset for system reset.\n\ninject_mce does the same but runs immediately and stops when the\ninstruction reaches the NIP (which can get tangled up if machine check\nre-enters this code). This is useful for testing robustness to\ninterleaving machine checks.\n\ninject_mce_step allows injecting MCEs between each instruction and stepping\nover them. inject_mce_step_ri does the same but only when MSR has RI set.\nThis can be useful to test correctness of low level code. For example,\ntesting system call vs machine check:\n\nsystemsim % b 0xC000000000004c00\nsystemsim % c\n0xC000000000004C00 (0x0000000000004C00) Enc:0xA64BB17D : mtspr   HSPRG1,r13\nsystemsim % inject_mce_step_ri 100\n0xC000000000004C04 (0x0000000000004C04) Enc:0xA64AB07D : mfspr   r13,HSPRG0\n0xC000000000004C08 (0x0000000000004C08) Enc:0x80002DF9 : std     r9,0x80(r13)\n0xC000000000004C0C (0x0000000000004C0C) Enc:0xA6E2207D : mfspr   r9,PPR\n0xC000000000004C10 (0x0000000000004C10) Enc:0x7813427C : mr      r2,r2\n0xC000000000004C14 (0x0000000000004C14) Enc:0x88004DF9 : std     r10,0x88(r13)\n0xC000000000004C18 (0x0000000000004C18) Enc:0xD8002DF9 : std     r9,0xD8(r13)\n0xC000000000004C1C (0x0000000000004C1C) Enc:0x2600207D : mfcr    r9\n0xC000000000004C20 (0x0000000000004C20) Enc:0xE8074D89 : lbz     r10,0x7E8(r13)\n0xC000000000004C24 (0x0000000000004C24) Enc:0x00000A2C : cmpwi   cr0,r10,0\n0xC000000000004C28 (0x0000000000004C28) Enc:0xA80F8240 : bne     cr0,$+0xFA8  (bc 0x4,0x2,0xFA8,0,0)\n0xC000000000004C2C (0x0000000000004C2C) Enc:0xA64AB17D : mfspr   r13,HSPRG1\n0xC000000000004C30 (0x0000000000004C30) Enc:0xBE1E202C : cmpdi   cr0,r0,7870\n0xC000000000004C34 (0x0000000000004C34) Enc:0x2000C241 : beq     cr0,$+0x20  (bc 0xE,0x2,0x20,0,0)\n0xC000000000004C38 (0x0000000000004C38) Enc:0x786BA97D : mr      r9,r13\n0xC000000000004C3C (0x0000000000004C3C) Enc:0xA64AB07D : mfspr   r13,HSPRG0\n0xC000000000004C40 (0x0000000000004C40) Enc:0xA6027A7D : mfspr   r11,SRR0\n0xC000000000004C44 (0x0000000000004C44) Enc:0xA6029B7D : mfspr   r12,SRR1\n0xC000000000004C48 (0x0000000000004C48) Enc:0x02004039 : li      r10,2\n0xC000000000004C4C (0x0000000000004C4C) Enc:0x6401417D : mtmsrd  r10,1\n0xC000000000004C50 (0x0000000000004C50) Enc:0xB0620048 : b       $+0x62B0\n236380163: (212143620): Disabling lock debugging due to kernel taint\n0xC000000000004C50 (0x0000000000004C50) Enc:0xB0620048 : b       $+0x62B0\n0xC00000000000AF00 (0x000000000000AF00) Enc:0xE1F78A79 : rldicl. r10,r12,30,63,63 (0x0000000000000001)\n0xC00000000000AF00 (0x000000000000AF00) Enc:0xE1F78A79 : rldicl. r10,r12,30,63,63 (0x0000000000000001)\n[...]\n\nEvery instruction after 0xC000000000004C4C is getting an interleaving\nMCE, and continuing after this injection the kernel prints a lot of MCE\nreports and continues working properly.\n\nSigned-off-by: Nicholas Piggin <npiggin@gmail.com>\nTested-by: Michael Ellerman <mpe@ellerman.id.au>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/6e6d5417ec67797b1dc52c8e30e9b1b4cf64e74f"},{"sha":"aaa8ccb9a08ddf65872f0d3aff92645bb4454fb3","author":{"name":"Alistair Popple","email":"282a5e7894e60a826b2ef1473b1a0536b4a642df@popple.id.au"},"message":"hdata/spira.c: Add device-tree bindings for nest mmu\n\nThe nest mmu will only get initialised by opal_nmmu_set_ptcr() if the\nappropriate device-tree entries exist. Add them during hdata parsing.\n\nSigned-off-by: Alistair Popple <alistair@popple.id.au>\nAcked-by: Oliver O'Halloran <oohall@gmail.com>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/aaa8ccb9a08ddf65872f0d3aff92645bb4454fb3"},{"sha":"c205afe6143c017cf88f60d5f5ea038fa928ff01","author":{"name":"Russell Currey","email":"2eacafec92f559d51886f12bbdf842327b6af83e@russell.cc"},"message":"pci: Describe PHB diag data size in device tree\n\nLinux hardcodes the PHB diag data buffer at (as of this commit) 8192 bytes.\nThis has been enough for P7IOC and PHB3, but the 512 PEs of PHB4 pushes\nthe diag data blob over this size.  Rather than just increasing the\nhardcoded size in Linux, provide the size of the diag data blob in the\ndevice tree so that the OS can dynamically allocate as much as it needs.\nThis both enables more space for PHB4 and less wasted memory for P7IOC\nand PHB3.\n\nP7IOC communicates both hub and PHB data using this buffer, so when\nsetting the size, use whichever struct is largest.\n\nSigned-off-by: Russell Currey <ruscur@russell.cc>\nReviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/c205afe6143c017cf88f60d5f5ea038fa928ff01"},{"sha":"f9b5a51f4ba81b74b111513a106df5cbd444e1b2","author":{"name":"Benjamin Herrenschmidt","email":"58942ee662d0fe5d44043b40ceefc845bad5a84d@kernel.crashing.org"},"message":"xive: Check queues for duplicates in DEBUG builds\n\nThere should never be duplicate interrupts in a queue.\n\nThis adds code to check that when looking at the queue\ncontent. Since it can be a performance loss, this is only\ndone for debug builds.\n\nSigned-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/f9b5a51f4ba81b74b111513a106df5cbd444e1b2"},{"sha":"773310df11fc95286047c7cd803ef8625547b208","author":{"name":"Benjamin Herrenschmidt","email":"58942ee662d0fe5d44043b40ceefc845bad5a84d@kernel.crashing.org"},"message":"xive: Add a per-cpu logging mechanism to XICS emulation\n\nThis is a small 32-entries rolling buffer that logs a few\noperations. It's useful to debug odd problems. The output\nis printed when opal_xive_dump() is called.\n\nSigned-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/773310df11fc95286047c7cd803ef8625547b208"},{"sha":"f0ebbc8318e64870a68d337e77b0257678c2b055","author":{"name":"Benjamin Herrenschmidt","email":"58942ee662d0fe5d44043b40ceefc845bad5a84d@kernel.crashing.org"},"message":"xive: Log more information in opal_xive_dump() for emulation state\n\nAdd a counter of total interrupts taken by a CPU, dump the\nqueue buffer both before and after the current pointer,\nand also display the HW state of the queue descriptor and\nthe PQ state of the IPI.\n\nSigned-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>\nSigned-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/stewart-ibm/skiboot/commits/f0ebbc8318e64870a68d337e77b0257678c2b055"}]}
{"actor":{"display_login":"stewart-ibm"}}