)]}' { "commit": "56db7b8b08d5bb350a02e1f794dc6eb02827917f", "tree": "7cc8078b6153fc05046f1def2b045aa9cbb297a4", "parents": [ "3d2da6f5d3a931d97e0294f0a565b1810a55ab98" ], "author": { "name": "Jorge Troncoso", "email": "jatron@google.com", "time": "Wed Feb 22 00:51:31 2023 -0800" }, "committer": { "name": "Jorge Troncoso", "email": "jatron@google.com", "time": "Sat Feb 25 06:32:43 2023 -0800" }, "message": "fix(ufs): only allow using one slot\n\nCurrently the UFS driver places the Command UPIU, Response UPIU, and\nPRDT immediately after the UTP Transfer Request Descriptor. This space\nwould normally be reserved for other slots in the UTP Transfer Request\nList, but because we always use slot zero, the other slots in the UTP\nTransfer Request List are never used and this is okay.\n\nBecause the Command UPIU, Response UPIU, and PRDT are placed inside the\nUTP Transfer Request List, the UFS driver would break if two or more\nslots were used at the same time. Therefore, in a sense the\nget_empty_slot() function is misleading. It gives developers the\nillusion that they can use two or more slots simultaneously but in\nreality they cannot.\n\nThis change deletes the get_empty_slot() function and replaces it with\nis_slot_available() so that only one slot can be used.\n\nSigned-off-by: Jorge Troncoso \u003cjatron@google.com\u003e\nChange-Id: I57f316640a1cdd56493505ede61f3012ceb2f305\n", "tree_diff": [ { "type": "modify", "old_id": "cf3f0e62ceaf08593521259347d3cf75c8863323", "old_mode": 33188, "old_path": "drivers/ufs/ufs.c", "new_id": "d6c893d3a997894e470d1ce18553339772286273", "new_mode": 33188, "new_path": "drivers/ufs/ufs.c" } ] }