Community
cancel
Showing results for 
Search instead for 
Did you mean: 
wyf
Beginner
1,064 Views

how to set userspace pages in uncacheable mode?

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
135 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.

wyf
Beginner
135 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

CarlosAM_INTEL
Moderator
135 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.

Reply