)]}'
{
  "commit": "9eeae3328682feadb663490eafaa26ee15cc0003",
  "tree": "01c6f2c16821ad69a320ccdba9bd3657fbf4a80a",
  "parents": [
    "460c1c0462af16d04002deb0833aee3f3e42ff81"
  ],
  "author": {
    "name": "Aaron Durbin",
    "email": "adurbin@chromium.org",
    "time": "Wed Sep 27 01:02:08 2017 -0600"
  },
  "committer": {
    "name": "Nico Huber",
    "email": "nico.h@gmx.de",
    "time": "Thu Jan 05 16:07:04 2023 +0000"
  },
  "message": "cbtable.c: don\u0027t assume high addresses can fully map 1 MiB\n\nForward port the downstream `commit b17e9e41838`.\n\nWhen using a forwarding table entry for finding the coreboot table\ndon\u0027t assume one has access to a full 1 MiB where the forwarding\ntable entry points to. The reason is that the 1 MiB may cover address\nregions that have differing cacheability type. As such the kernel will\ncomplain and the mapping will fail. Instead, check the header first then\nmap in the bytes that it indicates after sanity validation. That way\nthere is no attempt at requesting an invalid mapping that spans different\nmemory cacheability attributes.\n\nV.2: Incorperate Nico\u0027s and Angels comments from upstream.\n\nTested: Can successfully run \u0027flashrom -p host --wp-status\u0027 on kahlee\n     without generating PAT errors.\n\nflashrom-stable:\n* Squashed fixup\n* Don\u0027t continue if re-mapping failed\n* Restored still valid FIXME comment\n\nOriginal-Change-Id: Ic6c5832b069300cced66e11f4ca4a0bbc6e496de\nOriginal-Signed-off-by: Aaron Durbin \u003cadurbin@chromium.org\u003e\nOriginal-Reviewed-on: https://chromium-review.googlesource.com/685608\nOriginal-Reviewed-by: Martin Roth \u003cmartinroth@chromium.org\u003e\nOriginal-Reviewed-by: Justin TerAvest \u003cteravest@chromium.org\u003e\n\nChange-Id: I43705c19dd7c816098d03f528bde6f180c4c8f24\nSigned-off-by: Edward O\u0027Callaghan \u003cquasisec@chromium.org\u003e\nOriginal-Reviewed-on: https://review.coreboot.org/c/flashrom/+/37240\nOriginal-Reviewed-by: Sam McNally \u003csammc@google.com\u003e\nReviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71339\nTested-by: build bot (Jenkins) \u003cno-reply@coreboot.org\u003e\nReviewed-by: Nico Huber \u003cnico.h@gmx.de\u003e\nReviewed-by: Angel Pons \u003cth3fanbus@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6185f125a758c83442318c60cffdc3826b4fa3dc",
      "old_mode": 33188,
      "old_path": "cbtable.c",
      "new_id": "5fd1ffe36cba2aa15b08cd13f2946401f89196ee",
      "new_mode": 33188,
      "new_path": "cbtable.c"
    }
  ]
}
