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

8324123: aarch64: fix prfm literal encoding in assembler #2256

Closed
wants to merge 2 commits into from

Conversation

mmyxym
Copy link

@mmyxym mmyxym commented Feb 29, 2024

Unclean backport of fixing aarch64 PRFM (literal) encoding.

Additional testing:

  • Linux aarch64 server fastdebug, tier1

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • JDK-8324123 needs maintainer approval
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8324123: aarch64: fix prfm literal encoding in assembler (Bug - P5)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk17u-dev.git pull/2256/head:pull/2256
$ git checkout pull/2256

Update a local copy of the PR:
$ git checkout pull/2256
$ git pull https://git.openjdk.org/jdk17u-dev.git pull/2256/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 2256

View PR using the GUI difftool:
$ git pr show -t 2256

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk17u-dev/pull/2256.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 29, 2024

👋 Welcome back lmao! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot changed the title Backport bde87895c8b1b9df198e3883d24cd9ea840efc98 8324123: aarch64: fix prfm literal encoding in assembler Feb 29, 2024
@openjdk
Copy link

openjdk bot commented Feb 29, 2024

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport rfr Pull request is ready for review labels Feb 29, 2024
@mlbridge
Copy link

mlbridge bot commented Feb 29, 2024

Webrevs

@mmyxym
Copy link
Author

mmyxym commented Mar 5, 2024

Could reviewers please help with the review? The risk is very low as the original wrong encoding is not used in code base. riscv64 build failed because of the risc GHA infra which is also seen in JDK21u.

@theRealAph
Copy link

Could reviewers please help with the review? The risk is very low as the original wrong encoding is not used in code base.

There is, therefore, no reason to backport this. It should not be approved.

@mmyxym
Copy link
Author

mmyxym commented Mar 5, 2024

Could reviewers please help with the review? The risk is very low as the original wrong encoding is not used in code base.

There is, therefore, no reason to backport this. It should not be approved.

Hi @theRealAph , I guess we might have enhancements in the future depending on this correct instruction encoding. 17u still accepts enhancements with substantial benefit.

@theRealAph
Copy link

Could reviewers please help with the review? The risk is very low as the original wrong encoding is not used in code base.

There is, therefore, no reason to backport this. It should not be approved.

Hi @theRealAph , I guess we might have enhancements in the future depending on this correct instruction encoding. 17u still accepts enhancements with substantial benefit.

... to the users. I guess what you say is possible, and applying this patch now might avoid some future risk. Having said that, if we can speculate about any and every possible future we'd backport an awful lot of stuff, with the risk that implies.

As it stands, this backport is outside the current rules. The maintainers are allowed to make an exception for a special case, though.

@mmyxym
Copy link
Author

mmyxym commented Mar 5, 2024

Could reviewers please help with the review? The risk is very low as the original wrong encoding is not used in code base.

There is, therefore, no reason to backport this. It should not be approved.

Hi @theRealAph , I guess we might have enhancements in the future depending on this correct instruction encoding. 17u still accepts enhancements with substantial benefit.

... to the users. I guess what you say is possible, and applying this patch now might avoid some future risk. Having said that, if we can speculate about any and every possible future we'd backport an awful lot of stuff, with the risk that implies.

As it stands, this backport is outside the current rules. The maintainers are allowed to make an exception for a special case, though.

Sure. We can still have a review before maintainer makes the decision. It's not just a normal pre-requisite enhancement which seems unnecessary as you described but an incorrect instruction encoding mistake which really makes compiler engineers nervous. The wrong encoding may not lead to crash but cannot perform the prefetch as expected and very difficult for engineers to find out the root cause.

@openjdk
Copy link

openjdk bot commented Mar 13, 2024

❗ This change is not yet ready to be integrated.
See the Progress checklist in the description for automated requirements.

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 10, 2024

@mmyxym This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@bridgekeeper
Copy link

bridgekeeper bot commented May 9, 2024

@mmyxym This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the /open pull request command.

@bridgekeeper bridgekeeper bot closed this May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport rfr Pull request is ready for review
Development

Successfully merging this pull request may close these issues.

2 participants