Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Fix build failure with Linux version 5.9 and 5.10 #89

Merged
merged 2 commits into from Jan 31, 2021

Conversation

giuliobenetti
Copy link
Contributor

@giuliobenetti giuliobenetti commented Dec 17, 2020

Fixes #88

Add patches to fix build failure with Linux version 5.9 due to
asm/uaccess.h changes and HAVE_UNLOCKED_IOCTL macro missing in version
r6p0 and r6p2. While for r8p1 and r9p0 patch is the same and is located
in patches/ root and fix HAVE_UNLOCKED_IOCTL issue only.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Add patch to fix build failure with Linux version 5.10 due to missing
linux/dma-contiguous.h which content has been moved to
linux/dma-mapping.h

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
@giuliobenetti
Copy link
Contributor Author

Here is Travis succesfully built:
https://travis-ci.com/github/giuliobenetti/sunxi-mali/builds/209411980

giuliobenetti added a commit to Benetti-Engineering-sas/buildroot that referenced this pull request Jan 6, 2021
…and 5.10

Add 2 patches pending[1] upstream to fix build failure with both Linux 5.9
and Linux 5.10 due to uaccess.h file moved after version >= 5.9 and and
due to moved code from dma-contiguous.h to dma-mapping.

[1]: mripard/sunxi-mali#89

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
giuliobenetti added a commit to Benetti-Engineering-sas/buildroot that referenced this pull request Jan 13, 2021
…and 5.10

Add 2 patches pending[1] upstream to fix build failure with both Linux 5.9
and Linux 5.10 due to uaccess.h file moved after version >= 5.9 and and
due to moved code from dma-contiguous.h to dma-mapping.

[1]: mripard/sunxi-mali#89

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
giuliobenetti added a commit to Benetti-Engineering-sas/buildroot that referenced this pull request Jan 15, 2021
…and 5.10

Add 2 patches pending[1] upstream to fix build failure with both Linux 5.9
and Linux 5.10 due to uaccess.h file moved after version >= 5.9 and and
due to moved code from dma-contiguous.h to dma-mapping.

[1]: mripard/sunxi-mali#89

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this pull request Jan 16, 2021
…and 5.10

Add 2 patches pending[1] upstream to fix build failure with both Linux 5.9
and Linux 5.10 due to uaccess.h file moved after version >= 5.9 and and
due to moved code from dma-contiguous.h to dma-mapping.

[1]: mripard/sunxi-mali#89

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this pull request Jan 19, 2021
…and 5.10

Add 2 patches pending[1] upstream to fix build failure with both Linux 5.9
and Linux 5.10 due to uaccess.h file moved after version >= 5.9 and and
due to moved code from dma-contiguous.h to dma-mapping.

[1]: mripard/sunxi-mali#89

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6bb9cff)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
@giuliobenetti
Copy link
Contributor Author

@mripard can you please merge it?
That way I can bump Buildroot package and remove local patch.
Thanks in advance

@mripard mripard merged commit e4a91c9 into mripard:master Jan 31, 2021
@giuliobenetti giuliobenetti deleted the dev/fix-5.10-all-versions branch February 17, 2021 21:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure with Linux 5.9/5.10
2 participants