{"action":"created","comment":{"url":"https://api.github.com/repos/raspberrypi/linux/pulls/comments/75715684","id":75715684,"diff_hunk":"@@ -1,5 +1,27 @@\n menu \"Platform selection\"\n \n+config MACH_BCM2709\n+        bool\n+\n+config ARCH_BCM2709\n+\tbool \"Broadcom BCM2709 family\"\n+        select MACH_BCM2709","path":"arch/arm64/Kconfig.platforms","position":8,"original_position":8,"commit_id":"4d526e25dab0447875855349cb0a6701dd8c8aa8","original_commit_id":"4d526e25dab0447875855349cb0a6701dd8c8aa8","user":{"login":"popcornmix","id":1053730,"avatar_url":"https://avatars.githubusercontent.com/u/1053730?v=3","gravatar_id":"","url":"https://api.github.com/users/popcornmix","html_url":"https://github.com/popcornmix","followers_url":"https://api.github.com/users/popcornmix/followers","following_url":"https://api.github.com/users/popcornmix/following{/other_user}","gists_url":"https://api.github.com/users/popcornmix/gists{/gist_id}","starred_url":"https://api.github.com/users/popcornmix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/popcornmix/subscriptions","organizations_url":"https://api.github.com/users/popcornmix/orgs","repos_url":"https://api.github.com/users/popcornmix/repos","events_url":"https://api.github.com/users/popcornmix/events{/privacy}","received_events_url":"https://api.github.com/users/popcornmix/received_events","type":"User","site_admin":false},"body":"indentation","created_at":"2016-08-22T16:58:29Z","updated_at":"2016-08-22T16:58:29Z","html_url":"https://github.com/raspberrypi/linux/pull/1611#discussion_r75715684","pull_request_url":"https://api.github.com/repos/raspberrypi/linux/pulls/1611","_links":{"self":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/comments/75715684"},"html":{"href":"https://github.com/raspberrypi/linux/pull/1611#discussion_r75715684"},"pull_request":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/1611"}}},"pull_request":{"url":"https://api.github.com/repos/raspberrypi/linux/pulls/1611","id":82212905,"html_url":"https://github.com/raspberrypi/linux/pull/1611","diff_url":"https://github.com/raspberrypi/linux/pull/1611.diff","patch_url":"https://github.com/raspberrypi/linux/pull/1611.patch","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/1611","number":1611,"state":"open","locked":false,"title":"Changes to support arm64:","user":{"login":"Electron752","id":18296838,"avatar_url":"https://avatars.githubusercontent.com/u/18296838?v=3","gravatar_id":"","url":"https://api.github.com/users/Electron752","html_url":"https://github.com/Electron752","followers_url":"https://api.github.com/users/Electron752/followers","following_url":"https://api.github.com/users/Electron752/following{/other_user}","gists_url":"https://api.github.com/users/Electron752/gists{/gist_id}","starred_url":"https://api.github.com/users/Electron752/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Electron752/subscriptions","organizations_url":"https://api.github.com/users/Electron752/orgs","repos_url":"https://api.github.com/users/Electron752/repos","events_url":"https://api.github.com/users/Electron752/events{/privacy}","received_events_url":"https://api.github.com/users/Electron752/received_events","type":"User","site_admin":false},"body":"As I write the pull request, perhaps it would be best to do the dwc_otg changes as an independent request since it's a very large number of small changes.\r\n\r\nHere are the drivers that I've tested to be working.  \r\n\r\n1. BCM2709 DMA API - Needed to make the FB video driver work correctly without any changes.\r\n\r\n   This driver contains two dsb instructions which are not supported in the 64bit build environment.\r\n   Convert these to the more portable wmb and rmb macros.\r\n\r\n2. DWC_OTG USB\r\n\r\n   Driver uses FIQ which is not supported on arm64.  Since the CPUs are much faster now then then pi 1,\r\n   on arm64 only this was converted to a standard irq.  The irq drivers were modified to round robin dispatch irqs\r\n   between cores 0 and 1 for more concurrency on arm64 only.\r\n\r\n   Even though FIQ is not used on 64bit, the driver still outperforms the upstream driver.\r\n\r\n3. FT5406 touchscreen support\r\n\r\n   Driver was reading a writing a single byte register which was causing a exception on 64 bit.  Change these to essentially a\r\n   memcpy call with a small loss of performance.\r\n\r\n4. Limited VCHIQ support.\r\n\r\n   Driver was storing pointers in the shared memory between the gpu and arm cores. Change these to offsets.\r\n\r\n5. HDMI audio.\r\n\r\n   Driver was storing a callback in shared memory.  Luckily a spare field was not being used.  On 64bit only, split the callback\r\n   address across two uint32_t fields.\r\n\r\nThese drivers just work without any needed changes\r\n1. bcm2835-mmc\r\n2. bcm2835-sdhost\r\n3. Builtin bluetooth\r\n4. Builtin wifi\r\n5. VC4 DRM driver for advanced video and opengl support.","created_at":"2016-08-22T15:34:17Z","updated_at":"2016-08-22T16:58:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9aeb688d8102400380572b905a94aa1133120ff5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/raspberrypi/linux/pulls/1611/commits","review_comments_url":"https://api.github.com/repos/raspberrypi/linux/pulls/1611/comments","review_comment_url":"https://api.github.com/repos/raspberrypi/linux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/1611/comments","statuses_url":"https://api.github.com/repos/raspberrypi/linux/statuses/4d526e25dab0447875855349cb0a6701dd8c8aa8","head":{"label":"Electron752:rpi-4.6.y+rpi364-rebase6","ref":"rpi-4.6.y+rpi364-rebase6","sha":"4d526e25dab0447875855349cb0a6701dd8c8aa8","user":{"login":"Electron752","id":18296838,"avatar_url":"https://avatars.githubusercontent.com/u/18296838?v=3","gravatar_id":"","url":"https://api.github.com/users/Electron752","html_url":"https://github.com/Electron752","followers_url":"https://api.github.com/users/Electron752/followers","following_url":"https://api.github.com/users/Electron752/following{/other_user}","gists_url":"https://api.github.com/users/Electron752/gists{/gist_id}","starred_url":"https://api.github.com/users/Electron752/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Electron752/subscriptions","organizations_url":"https://api.github.com/users/Electron752/orgs","repos_url":"https://api.github.com/users/Electron752/repos","events_url":"https://api.github.com/users/Electron752/events{/privacy}","received_events_url":"https://api.github.com/users/Electron752/received_events","type":"User","site_admin":false},"repo":{"id":66283126,"name":"linux-1","full_name":"Electron752/linux-1","owner":{"login":"Electron752","id":18296838,"avatar_url":"https://avatars.githubusercontent.com/u/18296838?v=3","gravatar_id":"","url":"https://api.github.com/users/Electron752","html_url":"https://github.com/Electron752","followers_url":"https://api.github.com/users/Electron752/followers","following_url":"https://api.github.com/users/Electron752/following{/other_user}","gists_url":"https://api.github.com/users/Electron752/gists{/gist_id}","starred_url":"https://api.github.com/users/Electron752/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Electron752/subscriptions","organizations_url":"https://api.github.com/users/Electron752/orgs","repos_url":"https://api.github.com/users/Electron752/repos","events_url":"https://api.github.com/users/Electron752/events{/privacy}","received_events_url":"https://api.github.com/users/Electron752/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Electron752/linux-1","description":"Kernel source tree for Raspberry Pi Foundation-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://www.raspberrypi.org/forum","fork":true,"url":"https://api.github.com/repos/Electron752/linux-1","forks_url":"https://api.github.com/repos/Electron752/linux-1/forks","keys_url":"https://api.github.com/repos/Electron752/linux-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Electron752/linux-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Electron752/linux-1/teams","hooks_url":"https://api.github.com/repos/Electron752/linux-1/hooks","issue_events_url":"https://api.github.com/repos/Electron752/linux-1/issues/events{/number}","events_url":"https://api.github.com/repos/Electron752/linux-1/events","assignees_url":"https://api.github.com/repos/Electron752/linux-1/assignees{/user}","branches_url":"https://api.github.com/repos/Electron752/linux-1/branches{/branch}","tags_url":"https://api.github.com/repos/Electron752/linux-1/tags","blobs_url":"https://api.github.com/repos/Electron752/linux-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Electron752/linux-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Electron752/linux-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Electron752/linux-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Electron752/linux-1/statuses/{sha}","languages_url":"https://api.github.com/repos/Electron752/linux-1/languages","stargazers_url":"https://api.github.com/repos/Electron752/linux-1/stargazers","contributors_url":"https://api.github.com/repos/Electron752/linux-1/contributors","subscribers_url":"https://api.github.com/repos/Electron752/linux-1/subscribers","subscription_url":"https://api.github.com/repos/Electron752/linux-1/subscription","commits_url":"https://api.github.com/repos/Electron752/linux-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Electron752/linux-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Electron752/linux-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Electron752/linux-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Electron752/linux-1/contents/{+path}","compare_url":"https://api.github.com/repos/Electron752/linux-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Electron752/linux-1/merges","archive_url":"https://api.github.com/repos/Electron752/linux-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Electron752/linux-1/downloads","issues_url":"https://api.github.com/repos/Electron752/linux-1/issues{/number}","pulls_url":"https://api.github.com/repos/Electron752/linux-1/pulls{/number}","milestones_url":"https://api.github.com/repos/Electron752/linux-1/milestones{/number}","notifications_url":"https://api.github.com/repos/Electron752/linux-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Electron752/linux-1/labels{/name}","releases_url":"https://api.github.com/repos/Electron752/linux-1/releases{/id}","deployments_url":"https://api.github.com/repos/Electron752/linux-1/deployments","created_at":"2016-08-22T15:11:12Z","updated_at":"2016-08-22T15:15:58Z","pushed_at":"2016-08-22T15:28:46Z","git_url":"git://github.com/Electron752/linux-1.git","ssh_url":"git@github.com:Electron752/linux-1.git","clone_url":"https://github.com/Electron752/linux-1.git","svn_url":"https://github.com/Electron752/linux-1","homepage":"","size":1520137,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"rpi-4.4.y"}},"base":{"label":"raspberrypi:rpi-4.6.y","ref":"rpi-4.6.y","sha":"5386f1c15dd3224c36144293e9c5a75c77931114","user":{"login":"raspberrypi","id":1294177,"avatar_url":"https://avatars.githubusercontent.com/u/1294177?v=3","gravatar_id":"","url":"https://api.github.com/users/raspberrypi","html_url":"https://github.com/raspberrypi","followers_url":"https://api.github.com/users/raspberrypi/followers","following_url":"https://api.github.com/users/raspberrypi/following{/other_user}","gists_url":"https://api.github.com/users/raspberrypi/gists{/gist_id}","starred_url":"https://api.github.com/users/raspberrypi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raspberrypi/subscriptions","organizations_url":"https://api.github.com/users/raspberrypi/orgs","repos_url":"https://api.github.com/users/raspberrypi/repos","events_url":"https://api.github.com/users/raspberrypi/events{/privacy}","received_events_url":"https://api.github.com/users/raspberrypi/received_events","type":"Organization","site_admin":false},"repo":{"id":3199002,"name":"linux","full_name":"raspberrypi/linux","owner":{"login":"raspberrypi","id":1294177,"avatar_url":"https://avatars.githubusercontent.com/u/1294177?v=3","gravatar_id":"","url":"https://api.github.com/users/raspberrypi","html_url":"https://github.com/raspberrypi","followers_url":"https://api.github.com/users/raspberrypi/followers","following_url":"https://api.github.com/users/raspberrypi/following{/other_user}","gists_url":"https://api.github.com/users/raspberrypi/gists{/gist_id}","starred_url":"https://api.github.com/users/raspberrypi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raspberrypi/subscriptions","organizations_url":"https://api.github.com/users/raspberrypi/orgs","repos_url":"https://api.github.com/users/raspberrypi/repos","events_url":"https://api.github.com/users/raspberrypi/events{/privacy}","received_events_url":"https://api.github.com/users/raspberrypi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/raspberrypi/linux","description":"Kernel source tree for Raspberry Pi Foundation-provided kernel builds. Issues unrelated to the linux kernel should be posted on the community forum at https://www.raspberrypi.org/forum","fork":false,"url":"https://api.github.com/repos/raspberrypi/linux","forks_url":"https://api.github.com/repos/raspberrypi/linux/forks","keys_url":"https://api.github.com/repos/raspberrypi/linux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raspberrypi/linux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raspberrypi/linux/teams","hooks_url":"https://api.github.com/repos/raspberrypi/linux/hooks","issue_events_url":"https://api.github.com/repos/raspberrypi/linux/issues/events{/number}","events_url":"https://api.github.com/repos/raspberrypi/linux/events","assignees_url":"https://api.github.com/repos/raspberrypi/linux/assignees{/user}","branches_url":"https://api.github.com/repos/raspberrypi/linux/branches{/branch}","tags_url":"https://api.github.com/repos/raspberrypi/linux/tags","blobs_url":"https://api.github.com/repos/raspberrypi/linux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raspberrypi/linux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raspberrypi/linux/git/refs{/sha}","trees_url":"https://api.github.com/repos/raspberrypi/linux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raspberrypi/linux/statuses/{sha}","languages_url":"https://api.github.com/repos/raspberrypi/linux/languages","stargazers_url":"https://api.github.com/repos/raspberrypi/linux/stargazers","contributors_url":"https://api.github.com/repos/raspberrypi/linux/contributors","subscribers_url":"https://api.github.com/repos/raspberrypi/linux/subscribers","subscription_url":"https://api.github.com/repos/raspberrypi/linux/subscription","commits_url":"https://api.github.com/repos/raspberrypi/linux/commits{/sha}","git_commits_url":"https://api.github.com/repos/raspberrypi/linux/git/commits{/sha}","comments_url":"https://api.github.com/repos/raspberrypi/linux/comments{/number}","issue_comment_url":"https://api.github.com/repos/raspberrypi/linux/issues/comments{/number}","contents_url":"https://api.github.com/repos/raspberrypi/linux/contents/{+path}","compare_url":"https://api.github.com/repos/raspberrypi/linux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raspberrypi/linux/merges","archive_url":"https://api.github.com/repos/raspberrypi/linux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raspberrypi/linux/downloads","issues_url":"https://api.github.com/repos/raspberrypi/linux/issues{/number}","pulls_url":"https://api.github.com/repos/raspberrypi/linux/pulls{/number}","milestones_url":"https://api.github.com/repos/raspberrypi/linux/milestones{/number}","notifications_url":"https://api.github.com/repos/raspberrypi/linux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raspberrypi/linux/labels{/name}","releases_url":"https://api.github.com/repos/raspberrypi/linux/releases{/id}","deployments_url":"https://api.github.com/repos/raspberrypi/linux/deployments","created_at":"2012-01-17T12:10:20Z","updated_at":"2016-08-22T06:49:53Z","pushed_at":"2016-08-22T15:34:17Z","git_url":"git://github.com/raspberrypi/linux.git","ssh_url":"git@github.com:raspberrypi/linux.git","clone_url":"https://github.com/raspberrypi/linux.git","svn_url":"https://github.com/raspberrypi/linux","homepage":"","size":1604027,"stargazers_count":3094,"watchers_count":3094,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1718,"mirror_url":null,"open_issues_count":246,"forks":1718,"open_issues":246,"watchers":3094,"default_branch":"rpi-4.4.y"}},"_links":{"self":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/1611"},"html":{"href":"https://github.com/raspberrypi/linux/pull/1611"},"issue":{"href":"https://api.github.com/repos/raspberrypi/linux/issues/1611"},"comments":{"href":"https://api.github.com/repos/raspberrypi/linux/issues/1611/comments"},"review_comments":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/1611/comments"},"review_comment":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raspberrypi/linux/pulls/1611/commits"},"statuses":{"href":"https://api.github.com/repos/raspberrypi/linux/statuses/4d526e25dab0447875855349cb0a6701dd8c8aa8"}}}}
{"actor":{"display_login":"popcornmix"}}