)]}'
{
  "commit": "76fee95890f7a80665a7cdb5eff73d064c141453",
  "tree": "8f13f44d059257470f6a7e783ea74b66c330e926",
  "parents": [
    "ab6984f5a6d054e1f634dda855b32e5357111974"
  ],
  "author": {
    "name": "Greg Kurz",
    "email": "groug@kaod.org",
    "time": "Thu Mar 26 11:32:43 2020 +0100"
  },
  "committer": {
    "name": "Alexey Kardashevskiy",
    "email": "aik@ozlabs.ru",
    "time": "Fri Mar 27 11:55:00 2020 +1100"
  },
  "message": "slof: Only close stdout for virtio-serial devices\n\nRecent commit cf28264196e5 fixed an issue where a virtio-serial device\nwouldn\u0027t shutdown properly during quiesce. The fix is to close stdout\njust before quiesce. As expected this causes some messages to not\nappear anymore, like the well known ones from prom_init():\n\nQuiescing Open Firmware ...\nBooting Linux via __start() @ 0x0000000002000000 ...\n\nActually all messages are discarded until the OS driver finally takes\ncontrol of the device, which may represent a fair amount of logging.\nThis is suboptimal but this still better than hanging in SLOF.\n\nThe hammer is a bit too big though because the change also affects\nspapr-vty based consoles, which have no reason to stop working\nafter quiesce.\n\nMove the hack from the common code to the virtio-serial code so that\nit doesn\u0027t affect other device types anymore. Register a quiesce hook\nthat closes stdout in virtio-serial.fs.\n\nWhile here, as suggested by Segher, bring back some robustness in the\nshutdown method.\n\nReported-by: Fabiano Rosas \u003cfarosas@linux.ibm.com\u003e\nFixes: cf28264196e5 \"virtio-serial: Rework shutdown sequence\"\nSigned-off-by: Greg Kurz \u003cgroug@kaod.org\u003e\nSigned-off-by: Alexey Kardashevskiy \u003caik@ozlabs.ru\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ac55ffcc8ebb28b34068994f0f11b23559dcbc18",
      "old_mode": 33188,
      "old_path": "board-qemu/slof/virtio-serial.fs",
      "new_id": "06bfe762b105bb24e823f8a8d5518808402c9e5f",
      "new_mode": 33188,
      "new_path": "board-qemu/slof/virtio-serial.fs"
    },
    {
      "type": "modify",
      "old_id": "76231f9aef753abc88497385250e74dde89fc2e0",
      "old_mode": 33188,
      "old_path": "slof/fs/client.fs",
      "new_id": "db7a1925792ced97d008fc414491019fb2d620b9",
      "new_mode": 33188,
      "new_path": "slof/fs/client.fs"
    }
  ]
}
