Giter VIP home page Giter VIP logo

Comments (6)

wzyy2 avatar wzyy2 commented on July 27, 2024

You should ask it in mpp repo.
Some changes in mpp make it broken when using 32bit userpsace in arm64 platform.

I have packed a new mpp to fix it, you could have a try.
https://github.com/rockchip-linux/rk-rootfs-build/commit/e206387bcd413e1c0c249bac95c624c0462b5554

from kernel.

hizukiayaka avatar hizukiayaka commented on July 27, 2024

Don't make the future pull request for this unless you guys know what it is used for.
You are trying to kill those full 32bits platform.

from kernel.

wzyy2 avatar wzyy2 commented on July 27, 2024

Could you explain to us that why it will kill 32bits arm platform(correct me if your platform include i386)?

From my understanding, mmap64 in glibc is just a wrap of mmap2, and mmap2 is just a wrap of mmap in arm platform, i can't find any reason that it will break things.

links:
https://github.com/lattera/glibc/blob/a2f34833b1042d5d8eeb263b4cf4caaea138c4ad/sysdeps/unix/sysv/linux/mmap64.c
https://github.com/wzyy2/linux/blob/master/arch/arm/kernel/entry-common.S#L373
https://github.com/wzyy2/linux/blob/master/mm/mmap.c#L1461

from kernel.

jakob-tsd avatar jakob-tsd commented on July 27, 2024

from kernel.

wzyy2 avatar wzyy2 commented on July 27, 2024

It seems kernel commit "drm/rockchip: limit gem buffer to 32bit mapping" would also slove this problem, it will be included in next release, but for mainline kernel, "mmap" will still cause problem.

from kernel.

jakob-tsd avatar jakob-tsd commented on July 27, 2024

Thanks @wzyy2 , that's good enough for me.

from kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.