{"action":"closed","number":52,"pull_request":{"url":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52","id":205310913,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MzEwOTEz","html_url":"https://github.com/projectacrn/acrn-kernel/pull/52","diff_url":"https://github.com/projectacrn/acrn-kernel/pull/52.diff","patch_url":"https://github.com/projectacrn/acrn-kernel/pull/52.patch","issue_url":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/52","number":52,"state":"closed","locked":false,"title":"drm/i915/gvt: implement gfn_to_mfn with identical 1:1 mapping check","user":{"login":"feijiang1","id":36217265,"node_id":"MDQ6VXNlcjM2MjE3MjY1","avatar_url":"https://avatars0.githubusercontent.com/u/36217265?v=4","gravatar_id":"","url":"https://api.github.com/users/feijiang1","html_url":"https://github.com/feijiang1","followers_url":"https://api.github.com/users/feijiang1/followers","following_url":"https://api.github.com/users/feijiang1/following{/other_user}","gists_url":"https://api.github.com/users/feijiang1/gists{/gist_id}","starred_url":"https://api.github.com/users/feijiang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feijiang1/subscriptions","organizations_url":"https://api.github.com/users/feijiang1/orgs","repos_url":"https://api.github.com/users/feijiang1/repos","events_url":"https://api.github.com/users/feijiang1/events{/privacy}","received_events_url":"https://api.github.com/users/feijiang1/received_events","type":"User","site_admin":false},"body":"If hypervisor is implementing identical 1:1 memory mapping for sos kernel,\r\nsos gpa equals to hpa, so we don't need call hypercall for gfn_to_mfn.\r\nCurrently this is a hack solution in function is_identical_mmap, later\r\nhypervisor will provide one hypercall to let SOS query such kind of info.\r\n\r\nV2: add error handling, if map_guest_phys fail, still call vhm_gpa2hpa\r\n\r\nSigned-off-by: Fei Jiang <fei.jiang@intel.com>\r\nReviewed-by: Zhao Yakui <yakui.zhao@intel.com>\r\nReviewed-by: Gong Zhipeng <zhipeng.gong@intel.com>","created_at":"2018-08-01T05:15:05Z","updated_at":"2018-08-02T07:02:29Z","closed_at":"2018-08-02T07:02:28Z","merged_at":null,"merge_commit_sha":"041ef4fa5dd5d0908eddad150ae772f2c1f5fb0b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52/commits","review_comments_url":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52/comments","review_comment_url":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/52/comments","statuses_url":"https://api.github.com/repos/projectacrn/acrn-kernel/statuses/094ea613ff89e592af5cc249b7f39cebb1641c46","head":{"label":"feijiang1:gfn_to_mfn","ref":"gfn_to_mfn","sha":"094ea613ff89e592af5cc249b7f39cebb1641c46","user":{"login":"feijiang1","id":36217265,"node_id":"MDQ6VXNlcjM2MjE3MjY1","avatar_url":"https://avatars0.githubusercontent.com/u/36217265?v=4","gravatar_id":"","url":"https://api.github.com/users/feijiang1","html_url":"https://github.com/feijiang1","followers_url":"https://api.github.com/users/feijiang1/followers","following_url":"https://api.github.com/users/feijiang1/following{/other_user}","gists_url":"https://api.github.com/users/feijiang1/gists{/gist_id}","starred_url":"https://api.github.com/users/feijiang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feijiang1/subscriptions","organizations_url":"https://api.github.com/users/feijiang1/orgs","repos_url":"https://api.github.com/users/feijiang1/repos","events_url":"https://api.github.com/users/feijiang1/events{/privacy}","received_events_url":"https://api.github.com/users/feijiang1/received_events","type":"User","site_admin":false},"repo":{"id":135107945,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUxMDc5NDU=","name":"acrn-kernel","full_name":"feijiang1/acrn-kernel","owner":{"login":"feijiang1","id":36217265,"node_id":"MDQ6VXNlcjM2MjE3MjY1","avatar_url":"https://avatars0.githubusercontent.com/u/36217265?v=4","gravatar_id":"","url":"https://api.github.com/users/feijiang1","html_url":"https://github.com/feijiang1","followers_url":"https://api.github.com/users/feijiang1/followers","following_url":"https://api.github.com/users/feijiang1/following{/other_user}","gists_url":"https://api.github.com/users/feijiang1/gists{/gist_id}","starred_url":"https://api.github.com/users/feijiang1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feijiang1/subscriptions","organizations_url":"https://api.github.com/users/feijiang1/orgs","repos_url":"https://api.github.com/users/feijiang1/repos","events_url":"https://api.github.com/users/feijiang1/events{/privacy}","received_events_url":"https://api.github.com/users/feijiang1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feijiang1/acrn-kernel","description":"Kernel tree for ACRN","fork":true,"url":"https://api.github.com/repos/feijiang1/acrn-kernel","forks_url":"https://api.github.com/repos/feijiang1/acrn-kernel/forks","keys_url":"https://api.github.com/repos/feijiang1/acrn-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feijiang1/acrn-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feijiang1/acrn-kernel/teams","hooks_url":"https://api.github.com/repos/feijiang1/acrn-kernel/hooks","issue_events_url":"https://api.github.com/repos/feijiang1/acrn-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/feijiang1/acrn-kernel/events","assignees_url":"https://api.github.com/repos/feijiang1/acrn-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/feijiang1/acrn-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/feijiang1/acrn-kernel/tags","blobs_url":"https://api.github.com/repos/feijiang1/acrn-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feijiang1/acrn-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feijiang1/acrn-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/feijiang1/acrn-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feijiang1/acrn-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/feijiang1/acrn-kernel/languages","stargazers_url":"https://api.github.com/repos/feijiang1/acrn-kernel/stargazers","contributors_url":"https://api.github.com/repos/feijiang1/acrn-kernel/contributors","subscribers_url":"https://api.github.com/repos/feijiang1/acrn-kernel/subscribers","subscription_url":"https://api.github.com/repos/feijiang1/acrn-kernel/subscription","commits_url":"https://api.github.com/repos/feijiang1/acrn-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/feijiang1/acrn-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/feijiang1/acrn-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/feijiang1/acrn-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/feijiang1/acrn-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/feijiang1/acrn-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feijiang1/acrn-kernel/merges","archive_url":"https://api.github.com/repos/feijiang1/acrn-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feijiang1/acrn-kernel/downloads","issues_url":"https://api.github.com/repos/feijiang1/acrn-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/feijiang1/acrn-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/feijiang1/acrn-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/feijiang1/acrn-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feijiang1/acrn-kernel/labels{/name}","releases_url":"https://api.github.com/repos/feijiang1/acrn-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/feijiang1/acrn-kernel/deployments","created_at":"2018-05-28T04:04:07Z","updated_at":"2018-05-28T04:08:14Z","pushed_at":"2018-08-01T05:08:23Z","git_url":"git://github.com/feijiang1/acrn-kernel.git","ssh_url":"git@github.com:feijiang1/acrn-kernel.git","clone_url":"https://github.com/feijiang1/acrn-kernel.git","svn_url":"https://github.com/feijiang1/acrn-kernel","homepage":null,"size":1213305,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"projectacrn:master","ref":"master","sha":"ce59532f7a6958a01568587992acfc36ab290c6d","user":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"repo":{"id":133315106,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMTUxMDY=","name":"acrn-kernel","full_name":"projectacrn/acrn-kernel","owner":{"login":"projectacrn","id":36865262,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2ODY1MjYy","avatar_url":"https://avatars1.githubusercontent.com/u/36865262?v=4","gravatar_id":"","url":"https://api.github.com/users/projectacrn","html_url":"https://github.com/projectacrn","followers_url":"https://api.github.com/users/projectacrn/followers","following_url":"https://api.github.com/users/projectacrn/following{/other_user}","gists_url":"https://api.github.com/users/projectacrn/gists{/gist_id}","starred_url":"https://api.github.com/users/projectacrn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectacrn/subscriptions","organizations_url":"https://api.github.com/users/projectacrn/orgs","repos_url":"https://api.github.com/users/projectacrn/repos","events_url":"https://api.github.com/users/projectacrn/events{/privacy}","received_events_url":"https://api.github.com/users/projectacrn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectacrn/acrn-kernel","description":"Kernel tree for ACRN","fork":false,"url":"https://api.github.com/repos/projectacrn/acrn-kernel","forks_url":"https://api.github.com/repos/projectacrn/acrn-kernel/forks","keys_url":"https://api.github.com/repos/projectacrn/acrn-kernel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectacrn/acrn-kernel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectacrn/acrn-kernel/teams","hooks_url":"https://api.github.com/repos/projectacrn/acrn-kernel/hooks","issue_events_url":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/events{/number}","events_url":"https://api.github.com/repos/projectacrn/acrn-kernel/events","assignees_url":"https://api.github.com/repos/projectacrn/acrn-kernel/assignees{/user}","branches_url":"https://api.github.com/repos/projectacrn/acrn-kernel/branches{/branch}","tags_url":"https://api.github.com/repos/projectacrn/acrn-kernel/tags","blobs_url":"https://api.github.com/repos/projectacrn/acrn-kernel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectacrn/acrn-kernel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectacrn/acrn-kernel/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectacrn/acrn-kernel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectacrn/acrn-kernel/statuses/{sha}","languages_url":"https://api.github.com/repos/projectacrn/acrn-kernel/languages","stargazers_url":"https://api.github.com/repos/projectacrn/acrn-kernel/stargazers","contributors_url":"https://api.github.com/repos/projectacrn/acrn-kernel/contributors","subscribers_url":"https://api.github.com/repos/projectacrn/acrn-kernel/subscribers","subscription_url":"https://api.github.com/repos/projectacrn/acrn-kernel/subscription","commits_url":"https://api.github.com/repos/projectacrn/acrn-kernel/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectacrn/acrn-kernel/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectacrn/acrn-kernel/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectacrn/acrn-kernel/contents/{+path}","compare_url":"https://api.github.com/repos/projectacrn/acrn-kernel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectacrn/acrn-kernel/merges","archive_url":"https://api.github.com/repos/projectacrn/acrn-kernel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectacrn/acrn-kernel/downloads","issues_url":"https://api.github.com/repos/projectacrn/acrn-kernel/issues{/number}","pulls_url":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls{/number}","milestones_url":"https://api.github.com/repos/projectacrn/acrn-kernel/milestones{/number}","notifications_url":"https://api.github.com/repos/projectacrn/acrn-kernel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectacrn/acrn-kernel/labels{/name}","releases_url":"https://api.github.com/repos/projectacrn/acrn-kernel/releases{/id}","deployments_url":"https://api.github.com/repos/projectacrn/acrn-kernel/deployments","created_at":"2018-05-14T06:32:03Z","updated_at":"2018-08-02T05:23:49Z","pushed_at":"2018-08-02T05:59:04Z","git_url":"git://github.com/projectacrn/acrn-kernel.git","ssh_url":"git@github.com:projectacrn/acrn-kernel.git","clone_url":"https://github.com/projectacrn/acrn-kernel.git","svn_url":"https://github.com/projectacrn/acrn-kernel","homepage":null,"size":1215324,"stargazers_count":8,"watchers_count":8,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":37,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52"},"html":{"href":"https://github.com/projectacrn/acrn-kernel/pull/52"},"issue":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/52"},"comments":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/projectacrn/acrn-kernel/statuses/094ea613ff89e592af5cc249b7f39cebb1641c46"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":33,"additions":19038,"deletions":590,"changed_files":37}}
{"actor":{"display_login":"feijiang1"}}