[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <94d0ded0-0291-4a1b-ba8f-d0e5484447da@intel.com>
Date: Thu, 14 Nov 2024 10:25:52 +1300
From: "Huang, Kai" <kai.huang@...el.com>
To: "Hansen, Dave" <dave.hansen@...el.com>, "Edgecombe, Rick P"
<rick.p.edgecombe@...el.com>, "pbonzini@...hat.com" <pbonzini@...hat.com>,
"seanjc@...gle.com" <seanjc@...gle.com>
CC: "sean.j.christopherson@...el.com" <sean.j.christopherson@...el.com>, "Yao,
Yuan" <yuan.yao@...el.com>, "binbin.wu@...ux.intel.com"
<binbin.wu@...ux.intel.com>, "Li, Xiaoyao" <Xiaoyao.Li@...el.com>,
"isaku.yamahata@...il.com" <isaku.yamahata@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tony.lindgren@...ux.intel.com" <tony.lindgren@...ux.intel.com>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>, "Zhao, Yan Y"
<yan.y.zhao@...el.com>, "Chatre, Reinette" <reinette.chatre@...el.com>,
"Yamahata, Isaku" <isaku.yamahata@...el.com>
Subject: Re: [PATCH v2 08/25] x86/virt/tdx: Add SEAMCALL wrappers for TDX page
cache management
>
> So, yeah, I'd rather not export seamcall_ret(), but I'd rather do that
> than have a layer of abstraction that's adding little value while it
> also brings obfuscation.
Just want to provide one more information:
Peter posted a series to allow us to export one symbol _only_ for a
particular module:
https://lore.kernel.org/lkml/20241111105430.575636482@infradead.org/
IIUC we can use that to only export __seamcall*() for KVM.
I am not sure whether this addresses the concern of "the exported symbol
could be potentially abused by other modules like out-of-tree ones"?
Powered by blists - more mailing lists