On 02/02/18 17:32, James Pearson wrote:
Phil Perry wrote:
It looks like a regression. This was originally fixed upstream
(kernel.org) 3 years ago, so if the RHEL7.5 beta kernel has reverted to
'EXPORT_SYMBOL_GPL' then it is a regression that will break building any
out-of-tree non-gpl modules which need to set caching mode in pte's
You should file a bug report with Red Hat.
The correct fix in the kernel is in arch/x86/mm/init.c
Well, that's the rub - RHEL7 have never had that upstream fix - i.e. the
el7.4 kernel (3.10.0-693.el7) has
'EXPORT_SYMBOL_GPL(__cachemode2pte_tbl)' as does the el7.5b kernel
The Nvidia driver builds/installs OK on el7.4 - but not on el7.5b
I'll report this to Red Hat anyway ...
Ah, I'd not checked the sources, you are correct. I do not have an
explanation for the differing behaviour between 7.4 and 7.5beta.
It looks like both __cachemode2pte_tbl and __pte2cachemode_tbl need
updating in arch/x86/mm/init.c
If you file a bug, please could you mail the link so I can add myself to
the CC. Thanks.
CentOS mailing list