{"action":"created","issue":{"url":"https://api.github.com/repos/qoriq-open-source/linux/issues/7","repository_url":"https://api.github.com/repos/qoriq-open-source/linux","labels_url":"https://api.github.com/repos/qoriq-open-source/linux/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/qoriq-open-source/linux/issues/7/comments","events_url":"https://api.github.com/repos/qoriq-open-source/linux/issues/7/events","html_url":"https://github.com/qoriq-open-source/linux/issues/7","id":330568714,"node_id":"MDU6SXNzdWUzMzA1Njg3MTQ=","number":7,"title":"fsl_qbman fails to build on powerpc","user":{"login":"TallGuy74","id":16775883,"node_id":"MDQ6VXNlcjE2Nzc1ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/16775883?v=4","gravatar_id":"","url":"https://api.github.com/users/TallGuy74","html_url":"https://github.com/TallGuy74","followers_url":"https://api.github.com/users/TallGuy74/followers","following_url":"https://api.github.com/users/TallGuy74/following{/other_user}","gists_url":"https://api.github.com/users/TallGuy74/gists{/gist_id}","starred_url":"https://api.github.com/users/TallGuy74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TallGuy74/subscriptions","organizations_url":"https://api.github.com/users/TallGuy74/orgs","repos_url":"https://api.github.com/users/TallGuy74/repos","events_url":"https://api.github.com/users/TallGuy74/events{/privacy}","received_events_url":"https://api.github.com/users/TallGuy74/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-08T08:37:53Z","updated_at":"2018-06-27T11:28:44Z","closed_at":null,"author_association":"NONE","body":"drivers/staging/fsl_qbman/qman_driver.c: In function ‘portal_set_cpu’:\r\ndrivers/staging/fsl_qbman/qman_driver.c:536:12: error: ‘struct pamu_stash_attribute’ has no member named ‘window’\r\n  stash_attr.window = 0;\r\n            ^\r\ndrivers/staging/fsl_qbman/qman_driver.c: In function ‘qman_portal_update_sdest’:\r\ndrivers/staging/fsl_qbman/qman_driver.c:681:13: error: ‘struct pamu_stash_attribute’ has no member named ‘window’\r\n   stash_attr.window = 0;\r\n             ^\r\ndrivers/staging/fsl_qbman/fsl_usdpaa.c: In function ‘ioctl_dma_unmap’:\r\ndrivers/staging/fsl_qbman/fsl_usdpaa.c:1229:3: error: implicit declaration of function ‘cleartlbcam’; did you mean ‘clear_bit’? [-Werror=implicit-function-declaration]\r\n   cleartlbcam(vaddr, mfspr(SPRN_PID));\r\n   ^~~~~~~~~~~\r\n   clear_bit\r\ndrivers/staging/fsl_qbman/fsl_usdpaa.c: In function ‘portal_config_pamu’:\r\ndrivers/staging/fsl_qbman/fsl_usdpaa.c:1520:12: error: ‘struct pamu_stash_attribute’ has no member named ‘window’\r\n  stash_attr.window = 0;\r\n            ^\r\n\r\nThis is caused by missing/incomplete patches, among others:\r\nAdd APIs to setup HugeTLB mappings for USDPAA\r\niommu/fsl: PAMU driver changes for DSP stasing support. (Change-Id: I1462806c85f0f398a332ac321bb7b67a8cabc1bb)\r\nEnhance get_stash_id API to get the stashid for DSP L2 cache. (Change-Id: I7a8203e2dd99e6ccfeacd25305378a4c33becac2)\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/qoriq-open-source/linux/issues/comments/400639497","html_url":"https://github.com/qoriq-open-source/linux/issues/7#issuecomment-400639497","issue_url":"https://api.github.com/repos/qoriq-open-source/linux/issues/7","id":400639497,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDYzOTQ5Nw==","user":{"login":"TallGuy74","id":16775883,"node_id":"MDQ6VXNlcjE2Nzc1ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/16775883?v=4","gravatar_id":"","url":"https://api.github.com/users/TallGuy74","html_url":"https://github.com/TallGuy74","followers_url":"https://api.github.com/users/TallGuy74/followers","following_url":"https://api.github.com/users/TallGuy74/following{/other_user}","gists_url":"https://api.github.com/users/TallGuy74/gists{/gist_id}","starred_url":"https://api.github.com/users/TallGuy74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TallGuy74/subscriptions","organizations_url":"https://api.github.com/users/TallGuy74/orgs","repos_url":"https://api.github.com/users/TallGuy74/repos","events_url":"https://api.github.com/users/TallGuy74/events{/privacy}","received_events_url":"https://api.github.com/users/TallGuy74/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T11:28:44Z","updated_at":"2018-06-27T11:28:44Z","author_association":"NONE","body":"I found corenet64_smp_sdk_defconfig (which disables CONFIG_FSL_PAMU and avoids this problem).\r\nWith that setting I am able to run the SDK FMAN/DPAA/QMAN/BMAN drivers correctly (but without IOMMU and PAMU).\r\nIf it's possible to use IOMMU/PAMU in combination with the SDK versions of FMAN/DPAA that would be great, but it currently works."}}
{"actor":{"display_login":"TallGuy74"}}