[Question] About Intel Processor Trace IP filtering range

I just posted this question on intel forum but no one seem to be able to help so I repost it here. Please help me if you can.

https://community.intel.com/t5/Processors/Question-about-Intel-Processor-Trace/m-p/1310632#M53318

I’m choosing my CPU based on a very low level feature Intel Processor Trace(intelpt). The Combined Volume Set of Intel® 64 and IA-32 Architectures Software Developer’s Manulal said that each processor can have up to 4 intelpt filtering range. The number of supported range can be checked via CPUID(eax=14h, ecx=1). I looked at the 11gen core i9 in my office but it seems only support 2 range (not sure if I check correctly). My questions are:

  • Is there any processor support the maximum 4 ip filtering range ?
  • How can I check the number without the having to buy the actual processor (the value is documented in some specs some where ?)
  • How many range do the X-series/Xeon-W/Xeon scalelable famliy processor support ? It’s best if you can give a detailed list of how many range each cpu supported.
    I attached the python3 script I use to check the value in the attachment. The script is fairly short and absolutely non-malicious. All it does is execute cpuid instruction and print out the result. The script should work on both Linux and windows. If you have any intel processor please help me run the script and feedback the value. Thanks alot

I’m curious to know what you’re doing that would seem to require 4 ranges.

The Linux kernel has supported the intelpt feature nearly since the beginning (2015). All the Linux kernel code I can find is limited to 2 ranges. From that, I suspect there are no architectures that include 4.

1 Like

I write fuzzer. If you check the The Combined Volume Set of Intel® 64 and IA-32 Architectures Software Developer’s Manulal. A processor can support up to 4 range. I also asked here https://github.com/trailofbits/Honeybee/issues/5. She mentioned that her laptop processor support 4 but I’m looking for a desktop CPU

Ran your script on Xeon E5-2630 based desktop. It returned 0.

@rusakov2 said:
Ran your script on Xeon E5-2630 based desktop. It returned 0.

It’s so old already. It might not support ip filtering at all