{"push_id":3013705600,"size":17,"distinct_size":17,"ref":"refs/heads/mem_manage_doc","head":"3eeab23721da0a8c8f186e92fb75d0ea8c4b8064","before":"346fc6f33f91a7436392b86d5406a2a2c7a4a872","commits":[{"sha":"b048835c451a7e7f042d66f93bdf28da646187e4","author":{"name":"Minggui Cao","email":"5a4dd6dc7af6e49742cb841b92a7eb59c5c67018@intel.com"},"message":"HV: fix bug \"vmexit\" cmd cause HV console hung\n\non KBL-NUC when input \"vmexit\" in hypervisor console,\nthe console or HV/SOS could be hung, the root cause is:\nthe log buffer is overflow for 8 CPU cores info.\n\nto resolve the issue:\n1. increase the shell log buffer size according to the\nphysical CPU max number\n2. check the snprintf return value, if no buffer left,\njust return.\n\nTracked-On: #1587\nSigned-off-by: Minggui Cao <minggui.cao@intel.com>\nReviewed-by: Yin Fengwei <fengwei.yin@intel.com>\nAcked-by: Eddie Dong <eddie.dong@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/b048835c451a7e7f042d66f93bdf28da646187e4"},{"sha":"b74720636b6bc1a475e46e55daf60ef5617914cf","author":{"name":"Minggui Cao","email":"5a4dd6dc7af6e49742cb841b92a7eb59c5c67018@intel.com"},"message":"HV: add size check for shell log buffer usage\n\nadd size check for other hypervisor console command;\nthey could be overflow for shell log buffer output.\n\nTracked-On: #1587\nSigned-off-by: Minggui Cao <minggui.cao@intel.com>\nReviewed-by: Yin Fengwei <fengwei.yin@intel.com>\nAcked-by: Eddie Dong <eddie.dong@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/b74720636b6bc1a475e46e55daf60ef5617914cf"},{"sha":"4c1cb60684b37a251cc111775423b12beaecb832","author":{"name":"Yin Fengwei","email":"a85b841abe032a0ae4abc495363cffc602e5cf0c@intel.com"},"message":"hv: Remove the up_count_spinlock and use atomic for up_count\n\nIt's possible that the up_count_spinlock is not release during\nsystem enter S3. The case is like following:\n\n   BSP                                  AP\n stop_cpus                            cpu_dead\n                                         cpu_set_current_state\n                                            spinlock_abtain\n                                                up_count--\n\n   wait_for up_count == 1\n enter S3\n\n                                            spinlock_release\n\nEspecially, considering the real spinlock release could be delayed\nby cache.\n\nActually, the most content protected by up_count_spinlock is per\ncpu data and could be changed without lock. Only left is up_count.\nThis patchset remove the up_count_spinlock and use atomic API\nfor up_count changing.\n\nTracked-On: #1691\nSigned-off-by: Yin Fengwei <fengwei.yin@intel.com>\nReviewed-by: Eddie Dong <eddie.dong@intel.com>\nAcked-by: Anthony Xu <anthony.xu@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/4c1cb60684b37a251cc111775423b12beaecb832"},{"sha":"111f9726d04b2a8afb15ca1ab60e028545d816df","author":{"name":"Shiqing Gao","email":"c6c8ea1acabb5169cea63382b4b2290a24cb6290@intel.com"},"message":"hv: fix integer violations\n\nThe operands to shift operations (<<, >>) shall be unsigned integers.\n\nTracked-On: #861\nSigned-off-by: Shiqing Gao <shiqing.gao@intel.com>\nAcked-by: Eddie Dong <eddie.dong@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/111f9726d04b2a8afb15ca1ab60e028545d816df"},{"sha":"3ffa9686cac3455199f4b360a1042357a5549722","author":{"name":"Liu, Xinwu","email":"25ccf6dc1de74233c04f700b38c4cabcffceb322@intel.com"},"message":"tools: acrn-crashlog: fix potential issues\n\nChanges include:\n1. check the parameter of snprintf\n2. remove atoi\n3. remove sscanf\n4. fix one memleak\n\nTracked-On: #1024\nSigned-off-by: Liu, Xinwu <xinwu.liu@intel.com>\nReviewed-by: Huang, Yonghua <yonghua.huang@intel.com>\nAcked-by: Chen, Gang <gang.c.chen@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/3ffa9686cac3455199f4b360a1042357a5549722"},{"sha":"a86248ecd26ab99c472b960a76af97357f2cb8f9","author":{"name":"David B. Kinder","email":"c56c8b29908a5b2af1b63001268d73a0b7f972ba@intel.com"},"message":"doc: hide doxygen duplicate definition warnings\n\nSphinx/Breathe have a known problem with processing unnamed nested\nstructs and unions that cause a \"Duplicate definition\" warning.\n\nUse our .known-issues filter to hide these in the HLD content.\n\nTracked-on: #1706\nSigned-off-by: David B. Kinder <david.b.kinder@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/a86248ecd26ab99c472b960a76af97357f2cb8f9"},{"sha":"9029ac4bd5609c2550e553797460bdec32f35d29","author":{"name":"David B. Kinder","email":"c56c8b29908a5b2af1b63001268d73a0b7f972ba@intel.com"},"message":"doc: update Tracked-on in contribute guide\n\nAll PRs must have a Tracked-on: tag\n\nTracked-on: #1420\n\nSigned-off-by: David B. Kinder <david.b.kinder@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/9029ac4bd5609c2550e553797460bdec32f35d29"},{"sha":"0307b218961c17627fa1614cdd3a454181f1ae06","author":{"name":"Minggui Cao","email":"5a4dd6dc7af6e49742cb841b92a7eb59c5c67018@intel.com"},"message":"HV: change vuart port (used by SOS) to ttyS2\n\nOn MRB, there are some differences for SOS uart setting between\ndebug version and release version:\n  for debug version, ttyS0 is vuart, ttyS1 is 00:18.0, ttyS2 is 00:18.1,\n    ttyS3 is 00:18.3.\n  for release version, ttyS0 is 00:18.0, ttyS1 is 00:18.1, ttyS2 is\n00:18.2, ttyS3 is 00:18.3. There is no vuart.\n\nport: 00:18.0 is for bluetooth usage, ttyS0 can't be used as SOS console\nfor release build.\n\nafter change, debug build: vuart -->ttyS2 (SOS console);\nrelease version: ttyS2; 00:18.2, it can be used as SOS console too.\n\nfor UEFI platform, also change acrn.conf console=ttyS0-->ttyS2\nto matched with vart change.\n\nTracked-On: #1690\nSigned-off-by: Minggui Cao <minggui.cao@intel.com>\nReviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/0307b218961c17627fa1614cdd3a454181f1ae06"},{"sha":"74a5eec3a74c4e36644d82e4f6742c0ddf9f3a24","author":{"name":"Minggui Cao","email":"5a4dd6dc7af6e49742cb841b92a7eb59c5c67018@intel.com"},"message":"DM: change SOS bootargs console ttyS0 to ttyS2\n\nchange it to match with release version.\n\nTracked-On: #1690\nSigned-off-by: Minggui Cao <minggui.cao@intel.com>\nReviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/74a5eec3a74c4e36644d82e4f6742c0ddf9f3a24"},{"sha":"dc9d18a86882d23917216ebf8d296c2d33df75ac","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: mmu: add static paging table allocation for hypervisor\n\nAdd static paging table allocation API for hypervisor.\nNote: must configure PLATFORM_RAM_SIZE and PLATFORM_MMIO_SIZE exactly as the platform.\n\nRename RAM_START/RAM_SIZE to HV_RAM_START/HV_RAM_SIZE for HV.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/dc9d18a86882d23917216ebf8d296c2d33df75ac"},{"sha":"9c7c0de08f5c3b7207c7c629de70f155a8e95d65","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: mmu: add static paging table allocation for EPT\n\nAdd static paging table allocation API for EPT.\nNote: must configure SOS/UOS_REAM_SIZE exactly as the platform.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/9c7c0de08f5c3b7207c7c629de70f155a8e95d65"},{"sha":"0391f84c8371e01ee6f44f08a13cb6f93558afaf","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: mmu: replace dynamic memory allocation in memory\n\nReplace dynamic memory allocation in memory management with static memory allocation.\nSince the static memory allocation can guarantee the allocation never failed, so\nsplit_large_page and construct_pgentry don't need to return a errno any more.\nBesides, the destroy_ept don't need to free page any more. Instead, it would memset\nthe eptp to 0 to make sure we can't walk this paging table again.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/0391f84c8371e01ee6f44f08a13cb6f93558afaf"},{"sha":"f1ed6c503cf79d12f820bc7769656285262dcb1b","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: mmu: remove alloc_page() API\n\nNo one would call this API for now. So remove it.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/f1ed6c503cf79d12f820bc7769656285262dcb1b"},{"sha":"541f3713d2a975a178ca4c1e7eb8ec39117ce0d2","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: bug fix: normal world may get trusty world's pdpt page\n\nNormal world would also setup 511 GB gpa EPT mapping when initialize.\nSo we couldn't know which the world is from the gpa. But trusty is so\nspecial for that we know where it would get a pml4_page or pdpt_page.\nAs a result, we could simpler this by just return the pml4_page or\npdpt_page to it when it needs.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/541f3713d2a975a178ca4c1e7eb8ec39117ce0d2"},{"sha":"ed113f570ff4347604d4238d9a177228a86a255e","author":{"name":"Li, Fei1","email":"e618fc15a8e1faf12378e7754d602fb0fa79d0e8@intel.com"},"message":"hv: mmu: remove \"##\" for MISRA C\n\nIn the C99 standard, the order of evaluation associated with multiple #,\nmultiple ## or a mix of # and ## preprocessor operator is unspecifie.\n So it is unsafe to use multiple # or ## in a macro.\n\nTracked-On: #861\nSigned-off-by: Li, Fei1 <fei1.li@intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/ed113f570ff4347604d4238d9a177228a86a255e"},{"sha":"918c2d7495f71433832152c5974b6f465fe8c704","author":{"name":"Xiangyang Wu","email":"a4c21c930df718ab331a44a39263d9417e8c3738@linux.intel.com"},"message":"HV:MM:add API docs\n\nThis patch adds more comment to describe functions that are\ninterfaces to the other modules in the hypervisor. The comments\nare in doxygen-style for document generation.\n\nV1-->V2:\n       Rebase\n\nTracked-On: #1595\nSigned-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/918c2d7495f71433832152c5974b6f465fe8c704"},{"sha":"3eeab23721da0a8c8f186e92fb75d0ea8c4b8064","author":{"name":"Xiangyang Wu","email":"a4c21c930df718ab331a44a39263d9417e8c3738@linux.intel.com"},"message":"HV:doc:use doxygen-generated API docs in HLD\n\nThe patch adds related head files to the input of doxygen and\nreplaces hard-code API docs with doxygen-generated ones.\n\nv1-->v2:\n       Put the 'kerneldoc' back.\nV2-->V3:\n       Rebase\n\nTracked-On: #1595\nSigned-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>","distinct":true,"url":"https://api.github.com/repos/wuxyintel/acrn-hypervisor/commits/3eeab23721da0a8c8f186e92fb75d0ea8c4b8064"}]}
{"actor":{"display_login":"wuxyintel"}}