{"push_id":2911393481,"size":2,"distinct_size":2,"ref":"refs/heads/_2_2__powerpc_pseries_Fix_how_we_iterate_over_the_DTL_entries_mbox_next","head":"590c247e9b896c5d2a72009f453cacd0e4b10cad","before":"9fb98e8805de17896995d0899bf0c69069a6bd14","commits":[{"sha":"08cbe60a20a8ff0c9a614260dad5c23f1e9d7147","author":{"name":"Naveen N. Rao","email":"ab6d6a855b3296300e8aab8024dd0ef8fdc6eb45@linux.vnet.ibm.com"},"message":"powerpc/pseries: Fix DTL buffer registration\n\nWhen CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set, we register the DTL\nbuffer for a cpu when the associated file under powerpc/dtl in debugfs\nis opened. When doing so, we need to set the size of the buffer being\nregistered in the second u32 word of the buffer. This needs to be in big\nendian, but we are not doing the conversion resulting in the below error\nshowing up in dmesg:\n\n\tdtl_start: DTL registration for cpu 0 (hw 0) failed with -4\n\nFix this in the obvious manner.\n\nFixes: 7c105b63bd98 (\"powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.\")\nSigned-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/08cbe60a20a8ff0c9a614260dad5c23f1e9d7147"},{"sha":"590c247e9b896c5d2a72009f453cacd0e4b10cad","author":{"name":"Naveen N. Rao","email":"ab6d6a855b3296300e8aab8024dd0ef8fdc6eb45@linux.vnet.ibm.com"},"message":"powerpc/pseries: Fix how we iterate over the DTL entries\n\nWhen CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set, we look up dtl_idx in\nthe lppaca to determine the number of entries in the buffer. Since\nlppaca is in big endian, we need to do an endian conversion before using\nthis in our calculation to determine the number of entries in the\nbuffer. Without this, we do not iterate over the existing entries in the\nDTL buffer properly.\n\nFixes: 7c105b63bd98 (\"powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.\")\nSigned-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>","distinct":true,"url":"https://api.github.com/repos/ruscur/linux/commits/590c247e9b896c5d2a72009f453cacd0e4b10cad"}]}
{"actor":{"display_login":"ruscur"}}