Embedded Intel® Core™ Processors
Communicate Intel® Core™ Hardware, Software, Firmware, Graphics Concerns
1194 Discussions

how to set userspace pages in uncacheable mode?

wyf
Beginner
1,497 Views

Hi All,

In some case, i want to use userspace pages in uncacheable mode? I know it can use set_memory_uc() function in the kernel space, but how to make it in userspace?

If you have any suggestion, you can guide me, thanks very much.

Best Regards!

vic

0 Kudos
3 Replies
CarlosAM_INTEL
Moderator
568 Views

Hello, VicWang:

Thank you for contacting Intel Embedded Community.

In order to be on the same page, could you please let us know the devices related to your questions and all the information related to them?

Waiting for your reply to this question.

Best regards,

Carlos_A.

0 Kudos
wyf
Beginner
568 Views

Hi Carlos_A,

I want to use uncacheable userspace pages as the descriptors of NIC device. When the NIC device accesses the descriptors by DMA, if the descriptors is cacheable, in some way the descriports would be flushed to memory. I want to avoid these process, so can the user pages be set as uncacheable mode?

Best Regards!

vic

0 Kudos
CarlosAM_INTEL
Moderator
568 Views

Hello, VicWang:

Thanks for your reply.

Could you please give us the part numbers and information of the NICs related to your consultation?

Waiting for the information that should answer this question.

Best regards,

Carlos_A.

0 Kudos
Reply