)]}'
{
  "commit": "adccfb1a805ea84d2db38eb53032533279bdaa97",
  "tree": "006ca606bcf3ee5926d37ec074294be11ff9a56a",
  "parents": [
    "fb33c6510d5595144d585aa194d377cf74d31911"
  ],
  "author": {
    "name": "Greentime Hu",
    "email": "greentime.hu@sifive.com",
    "time": "Tue Mar 03 17:34:17 2020 +0800"
  },
  "committer": {
    "name": "Palmer Dabbelt",
    "email": "palmerdabbelt@google.com",
    "time": "Wed Mar 18 18:44:30 2020 -0700"
  },
  "message": "riscv: uaccess should be used in nommu mode\n\nIt might have the unaligned access exception when trying to exchange data\nwith user space program. In this case, it failed in tty_ioctl(). Therefore\nwe should enable uaccess.S for NOMMU mode since the generic code doesn\u0027t\nhandle the unaligned access cases.\n\n   0x8013a212 \u003ctty_ioctl+462\u003e:  ld      a5,460(s1)\n\n[    0.115279] Oops - load address misaligned [#1]\n[    0.115284] CPU: 0 PID: 29 Comm: sh Not tainted 5.4.0-rc5-00020-gb4c27160d562-dirty #36\n[    0.115294] epc: 000000008013a212 ra : 000000008013a212 sp : 000000008f48dd50\n[    0.115303]  gp : 00000000801cac28 tp : 000000008fb80000 t0 : 00000000000000e8\n[    0.115312]  t1 : 000000008f58f108 t2 : 0000000000000009 s0 : 000000008f48ddf0\n[    0.115321]  s1 : 000000008f8c6220 a0 : 0000000000000001 a1 : 000000008f48dd28\n[    0.115330]  a2 : 000000008fb80000 a3 : 00000000801a7398 a4 : 0000000000000000\n[    0.115339]  a5 : 0000000000000000 a6 : 000000008f58f0c6 a7 : 000000000000001d\n[    0.115348]  s2 : 000000008f8c6308 s3 : 000000008f78b7c8 s4 : 000000008fb834c0\n[    0.115357]  s5 : 0000000000005413 s6 : 0000000000000000 s7 : 000000008f58f2b0\n[    0.115366]  s8 : 000000008f858008 s9 : 000000008f776818 s10: 000000008f776830\n[    0.115375]  s11: 000000008fb840a8 t3 : 1999999999999999 t4 : 000000008f78704c\n[    0.115384]  t5 : 0000000000000005 t6 : 0000000000000002\n[    0.115391] status: 0000000200001880 badaddr: 000000008f8c63ec cause: 0000000000000004\n[    0.115401] ---[ end trace 00d490c6a8b6c9ac ]---\n\nThis failure could be fixed after this patch applied.\n\n[    0.002282] Run /init as init process\nInitializing random number generator... [    0.005573] random: dd: uninitialized urandom read (512 bytes read)\ndone.\n\nWelcome to Buildroot\nbuildroot login: root\nPassword:\nJan  1 00:00:00 login[62]: root login on \u0027ttySIF0\u0027\n~ #\n\nSigned-off-by: Greentime Hu \u003cgreentime.hu@sifive.com\u003e\nReviewed-by: Palmer Dabbelt \u003cpalmerdabbelt@google.com\u003e\nSigned-off-by: Palmer Dabbelt \u003cpalmerdabbelt@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1a3b5a5276be26cdc052eca8d997864735802316",
      "old_mode": 33188,
      "old_path": "arch/riscv/Kconfig",
      "new_id": "cd5db57bfd41de99b08d7eace62bce0086c42bb3",
      "new_mode": 33188,
      "new_path": "arch/riscv/Kconfig"
    },
    {
      "type": "modify",
      "old_id": "f462a183a9c2343415ce933ce34d996f0ae0b4d0",
      "old_mode": 33188,
      "old_path": "arch/riscv/include/asm/uaccess.h",
      "new_id": "8ce9d607b53dceb8f115d4ebf7a43657270ed56a",
      "new_mode": 33188,
      "new_path": "arch/riscv/include/asm/uaccess.h"
    },
    {
      "type": "modify",
      "old_id": "47e7a82044608d1b1b81a981b1511ee3406cf68a",
      "old_mode": 33188,
      "old_path": "arch/riscv/lib/Makefile",
      "new_id": "0d0db80800c4ed32f8b9a39a6a60a2aa9f9886aa",
      "new_mode": 33188,
      "new_path": "arch/riscv/lib/Makefile"
    }
  ]
}
