Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X86 compatibles #78483

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

PiotrZierhoffer
Copy link
Collaborator

This merge request unifies x86 and x86-64 targets by adding an explicit compatible note to all platforms.

These entries are not added on the same level in every case due to the organization of existing x86[-64] platforms which I didn't want to change.

This change should effectively just add data to existing platforms but not change their behavior.

atom.dtsi enforces "intel,x86", but it doesn't help us discern if the
platform is 32 or 64-bit. We do that for example in RISC-V and it's
useful from the tooling perspective.

Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
Those dtsi are a base for a range of 32-bit platforms. Setting this
compatible makes it easier to distinguish all 32-bit x86 platforms.

Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>

y
This will help distinguish 64 and 32-bit platforms by tooling, following
the pattern visible in e.g. RISC-V.

Signed-off-by: Piotr Zierhoffer <pzierhoffer@antmicro.com>
Signed-off-by: Mateusz Hołenko <mholenko@antmicro.com>
@mateusz-holenko
Copy link
Collaborator

Rebased to include fixes from #78937 and the CI is green now.

@ceolin, @dcpleung, @edersondisouza or others - could you take a look?

@dkalowsk dkalowsk added this to the v4.1.0 milestone Oct 30, 2024
@nashif nashif assigned nashif and unassigned edersondisouza Oct 30, 2024
@nashif
Copy link
Member

nashif commented Oct 30, 2024

@edersondisouza is out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Devicetree area: X86 x86 Architecture (32-bit) area: X86_64 x86-64 Architecture (64-bit) platform: Intel ISH Intel Corporation, Integrated Sensor Hub platform: X86 x86 and x86-64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants