{"action":"created","issue":{"url":"https://api.github.com/repos/mripard/sunxi-mali/issues/54","repository_url":"https://api.github.com/repos/mripard/sunxi-mali","labels_url":"https://api.github.com/repos/mripard/sunxi-mali/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/mripard/sunxi-mali/issues/54/comments","events_url":"https://api.github.com/repos/mripard/sunxi-mali/issues/54/events","html_url":"https://github.com/mripard/sunxi-mali/issues/54","id":375974714,"node_id":"MDU6SXNzdWUzNzU5NzQ3MTQ=","number":54,"title":"Mainline kernel 4.19.0 freeze with sunxi-mali","user":{"login":"avafinger","id":16623039,"node_id":"MDQ6VXNlcjE2NjIzMDM5","avatar_url":"https://avatars1.githubusercontent.com/u/16623039?v=4","gravatar_id":"","url":"https://api.github.com/users/avafinger","html_url":"https://github.com/avafinger","followers_url":"https://api.github.com/users/avafinger/followers","following_url":"https://api.github.com/users/avafinger/following{/other_user}","gists_url":"https://api.github.com/users/avafinger/gists{/gist_id}","starred_url":"https://api.github.com/users/avafinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avafinger/subscriptions","organizations_url":"https://api.github.com/users/avafinger/orgs","repos_url":"https://api.github.com/users/avafinger/repos","events_url":"https://api.github.com/users/avafinger/events{/privacy}","received_events_url":"https://api.github.com/users/avafinger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-10-31T13:56:16Z","updated_at":"2018-11-27T16:43:04Z","closed_at":"2018-11-27T16:32:28Z","author_association":"NONE","body":"Hi @mripard ,\r\nRecently i upgraded to mainline kernel 4.19.0 with your sunxi-mali but mali freezes the kernel without any message when in use.\r\nThis is working on mainline kernel 4.18.y and surprisingly without cma reserved-memory, i missed that on 4.17 and 4.18, anyways mali worked without:\r\n```\r\n           reserved-memory {\r\n\t\t#address-cells = <1>;\r\n\t\t#size-cells = <1>;\r\n\t\tranges;\r\n\r\n\t\tcma: cma {\r\n\t\t\tcompatible = \"shared-dma-pool\";\r\n\t\t\tsize = <0x4000000>;\r\n\t\t\treusable;\r\n\t\t};\r\n\t};\r\n```\r\n\r\nSo i added the cma reserved-memory on 4.19 to fix the issue, still freezes.\r\nCan you give some suggestion to fix that or see what is wrong with my setup?\r\n\r\nI can get information about the driver but freeze when rendering on fbdev.\r\n\r\nHere is some log:\r\n```\r\n[    0.000000] Reserved memory: created CMA memory pool at 0x59c00000, size 64 MiB\r\n[    0.000000] OF: reserved mem: initialized node cma, compatible id shared-dma-pool\r\n[    0.000000] cma: Reserved 128 MiB at 0x51c00000\r\n[    0.000000] Memory: 308548K/524288K available (8192K kernel code, 340K rwdata, 1948K rodata, 1024K init, 266K bss, 19132K reserved, 196608K cma-reserved, 0K highmem)\r\n[   10.360460] platform mali-utgard: assigned reserved memory node cma\r\n[   10.352566] mali: loading out-of-tree module taints kernel.\r\n[   10.360460] platform mali-utgard: assigned reserved memory node cma\r\n[   10.362521] Allwinner sunXi mali glue initialized\r\n\r\n```\r\ncomplete log: https://gist.github.com/avafinger/5beea7b1b7d58847b299329f957d2333\r\n"},"comment":{"url":"https://api.github.com/repos/mripard/sunxi-mali/issues/comments/442129096","html_url":"https://github.com/mripard/sunxi-mali/issues/54#issuecomment-442129096","issue_url":"https://api.github.com/repos/mripard/sunxi-mali/issues/54","id":442129096,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjEyOTA5Ng==","user":{"login":"mansr","id":322231,"node_id":"MDQ6VXNlcjMyMjIzMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/322231?v=4","gravatar_id":"","url":"https://api.github.com/users/mansr","html_url":"https://github.com/mansr","followers_url":"https://api.github.com/users/mansr/followers","following_url":"https://api.github.com/users/mansr/following{/other_user}","gists_url":"https://api.github.com/users/mansr/gists{/gist_id}","starred_url":"https://api.github.com/users/mansr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mansr/subscriptions","organizations_url":"https://api.github.com/users/mansr/orgs","repos_url":"https://api.github.com/users/mansr/repos","events_url":"https://api.github.com/users/mansr/events{/privacy}","received_events_url":"https://api.github.com/users/mansr/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:43:04Z","updated_at":"2018-11-27T16:43:04Z","author_association":"NONE","body":"It's still broken on 4.19. I'd like to see that fixed, since 4.19 is an LTS release."}}
{"actor":{"display_login":"mansr"}}