[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/5] Fix truncation of various XENVER_* subops


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Fri, 13 Jan 2023 23:08:30 +0000
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, "Stefano Stabellini" <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>, Daniel Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Jason Andryuk <jandryuk@xxxxxxxxx>
  • Delivery-date: Fri, 13 Jan 2023 23:08:50 +0000
  • Ironport-data: A9a23:bxJUZ68BW7n1CB5pMYZADrUDan6TJUtcMsCJ2f8bNWPcYEJGY0x3y GRJCjqFaP/fYTH8eYx2Ptyxo0oHvJKDxoNjSgU4/C48E34SpcT7XtnIdU2Y0wF+jCHgZBk+s 5hBMImowOQcFCK0SsKFa+C5xZVE/fjUAOG6UKucYHsZqTZMEE8JkQhkl/MynrlmiN24BxLlk d7pqojUNUTNNwRcawr40Ire7kIw1BjOkGlA5AdmPKkQ5AO2e0Q9V/rzG4ngdxMUfaEMdgKKb 76r5K20+Grf4yAsBruN+losWhRXKlJ6FVHmZkt+A8BOsDAbzsAB+v9T2M4nQVVWk120c+VZk 72hg3ASpTABZcUgkMxFO/VR/roX0aduoNcrKlDn2SCfItGvn9IBDJyCAWlvVbD09NqbDklp6 OUjBxkjfyrTuKHx2pOWTOhWockKeZyD0IM34hmMzBncBPciB5vCX7/L9ZlT2zJYasJmRKiEI ZBDMHw2MUqGOkcUUrsUIMtWcOOAr3/zaTBH7nmSorI6+TP7xw1tyrn9dtHSf7RmQO0ExBvF9 jueoQwVBDkrJPvFjmKoo0mWl77BniXCRMUrSrKno6sCbFq7mTVIVUx+uUGAifukjk+zXfpPJ kpS/TAhxYAt8GS7Q9+7WAe3yFaIsRIRVMBZO/Er4wGKjKzP6kCWAXZsZjxIbtA8pdI1bTMv3 16N2djuAFRHvKWOTHOB9p+dtT6oJTUONmgGeDMFSg0epdLkpekbnh/JC9puDqOxptn0Ai3rh SCHqjAkgLcehtJN0L+0lXjcmC6lrJXNSg8z5y3UU3ij4wc/Y5SqD6SKw1XG6fdLLK6CU0KM+ nMDnqCjAPsmVM/X0nbXGaNUQe/vvqzeWNHBvbJxN7487g+C0lCyR9Bvo3ZkBWpvM/wjdBa8N Sc/pjhtCI9v0GqCNPEoON/uVZhxlMAMBvy+CKmKM4MmjoxZMVbeoXowPRP4M3XFyhBErE0pB XuMnS9A514+AL8v8je5Tvx1PVQDlnFnnjO7qXwWIn2aPVuiiJ29E+1t3KOmNLxR0U99iFy9H yxjH8WL0Q5Dd+b1fzPa94UeRXhTcydgW8uq+50PJrfYSuaDJI3GI6aBqY7NhqQ/x/gF/gs21 izVtrBkJKrX2iScdFTihoFLY7LzR5dvxU/XzgR1VWtEL0MLON71hI9GLstfQFXS3LA7pRKCZ 6VfKpro7zUmYmivxgnxmrGk8tIzLEX221rQV8dnCRBmF6Ndq8Xy0oeMVmPSGOMmV0JbaeNWT 2Wc6z7m
  • Ironport-hdrordr: A9a23:EoBFQazy2Z8j830rDHmIKrPwIr1zdoMgy1knxilNoH1uHvBw8v rEoB1173DJYVoqNk3I++rhBEDwexLhHPdOiOF6UItKNzOW21dAQrsSiLfK8nnNHDD/6/4Y9Y oISdkbNDQoNykZsfrH
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

See patch 3 for details of the problem.  Other patches fix other errors found
while investigating.

Some patches committed straight from v1.  Several new patches with additional
cleanup.

Andrew Cooper (5):
  xen/version: Drop bogus return values for XENVER_platform_parameters
  xen/version: Calculate xen_capabilities_info once at boot
  xen/version: Introduce non-truncating XENVER_* subops
  xen/version: Fold build_id handling into xenver_varbuf_op()
  xen/version: Misc style fixes

 xen/arch/arm/setup.c         |  19 ++----
 xen/arch/x86/setup.c         |  31 ++++------
 xen/common/kernel.c          | 139 ++++++++++++++++++++++++++++++-------------
 xen/common/version.c         |   4 +-
 xen/include/public/version.h |  95 ++++++++++++++++++++++++++++-
 xen/include/xen/hypercall.h  |   2 -
 xen/include/xen/version.h    |   2 +
 xen/include/xlat.lst         |   1 +
 xen/xsm/flask/hooks.c        |   4 ++
 9 files changed, 214 insertions(+), 83 deletions(-)

-- 
2.11.0




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.