# Re: \[PATCH v4 0/8\] Implement generic cc\_platform\_has() helper function

- From: Borislav Petkov \<bp@alien8.de\>
- Date: 2021-09-28 21:40:38 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/09/1525109
- Thread: https://ratatoskr.run/linuxppc-dev/2021/09/1524967/t.md

```text
On Tue, Sep 28, 2021 at 02:01:57PM -0700, Kuppuswamy, Sathyanarayanan wrote:
> Yes. But, since the check is related to TDX, I just want to confirm whether
> you are fine with naming the function as intel_*().

Why is this such a big of a deal?!

There's amd_cc_platform_has() and intel_cc_platform_has() will be the
corresponding Intel version.

> Since this patch is going to have dependency on TDX code, I will include
> this patch in TDX patch set.

Ok.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
```
