From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753544AbdKNHpZ (ORCPT ); Tue, 14 Nov 2017 02:45:25 -0500 Received: from mail-ve1eur01on0043.outbound.protection.outlook.com ([104.47.1.43]:24054 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753556AbdKNHpQ (ORCPT ); Tue, 14 Nov 2017 02:45:16 -0500 From: Ran Wang To: Michal Hocko CC: "linux-mm@kvack.org" , Michael Ellerman , Vlastimil Babka , Andrew Morton , KAMEZAWA Hiroyuki , Reza Arbab , Yasuaki Ishimatsu , "qiuxishi@huawei.com" , Igor Mammedov , Vitaly Kuznetsov , LKML , Leo Li , Xiaobo Xie Subject: RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages Thread-Topic: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages Thread-Index: AdNcTdwxuwkeiWHpRfKAuFheVJAmNgAADAHAAAg2wwAAJ/aMQAACFloAAAFO/TA= Date: Tue, 14 Nov 2017 07:45:11 +0000 Message-ID: References: <20171113110232.ivd6l52y7j2q2iaq@dhcp22.suse.cz> <20171114070634.zoh75rakg57uhd3j@dhcp22.suse.cz> In-Reply-To: <20171114070634.zoh75rakg57uhd3j@dhcp22.suse.cz> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=ran.wang_1@nxp.com; x-originating-ip: [199.59.231.64] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM3PR04MB513;6:Mp/qFBKepAjBO8PkRkK7A1BNLukpZWiv4jaCriNQUYirrcUcLHrfi2MVEZL2HXaj/pLQfMOO9JzvE/dC98TpcwZQUPOEkBZeCiq3lui5n2y7HAgR6dWXzSyzO2fWrPyu31JvZmG94H6Il+JFlXdKHsXfGETAldxJBTE4ZjFTrih+Q22POZkRI0wKgl0vYTFPQ00VVzATBh/a2DokW+tqf8XdIVcCIT5Hgn0H8E1u7abit+dhv6evPC9T6RY24gIiPPk9RFcSsWkhtlfptIZKu2tkYBCuD+ONvyN8VrFVr9HjnUySRS9LhAV115l2TrkqFSGHb+8OI+pJdgAlr+yHqgIEDTYxfUcHxde4l33eUBM=;5:gQVVLhPxVANXwesAlCv6ZQEZPCXrLRYZFtIcMxhOZ1LGsffoSZi0K+wrPppfvz0TX2yP0+DrLXkLXKDM/08s4rmlV1Pe39mihg3g3z8hYMRTtlJXvUoeoTi/uqCNSX5pqZqncVNSY71e2QVal7bh10U2Zy7C5a+ge7o4GA1FBpA=;24:GXGvpHg4dQMeJKRM2BR3i9XKK2LYox2L03EXPjd6ZZ4D2r2DzWZ+NkzplqDWwcEt8E50LfkY6SAfhqHuFW4RCyYb/ykxR3g0iltFZt34IYM=;7:sjiwrgW++KQJS/Z3cjGz+Bo6VwUCgiD5ygka/A7JlvWeeRgONB/BU0UFqOP+fcD5Jzu7rYkRnzsOlyPFmeTKvIBsA5wl4EkV74fmWI1EuKNzrqenLLqTI4c4q7rzhiaWCZ+aEbF7Z5+wMLbfPfOj9i84LG/KdtzvPbnHS5+7caIxtKIcD7Y1T4hdN0FjZEx3yWLL/BF4jx1IQwpzEMm7M33/i+oHiCwZ15gUnbhYVc3dpUcvDKy0i5DxEAfm5Bjj x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(6009001)(376002)(39860400002)(346002)(199003)(13464003)(24454002)(377424004)(189002)(76176999)(68736007)(5660300001)(7696004)(53546010)(2950100002)(54356999)(7416002)(101416001)(6916009)(316002)(2900100001)(966005)(54906003)(3660700001)(8676002)(7736002)(81166006)(305945005)(50986999)(74316002)(6116002)(45080400002)(102836003)(478600001)(25786009)(106356001)(3846002)(33656002)(105586002)(81156014)(86362001)(2906002)(3280700002)(14454004)(93886005)(8936002)(9686003)(55016002)(575784001)(5250100002)(189998001)(6246003)(66066001)(99286004)(53936002)(229853002)(6506006)(6436002)(97736004)(4326008)(6306002)(39060400002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM3PR04MB513;H:AM3PR04MB1489.eurprd04.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; x-ms-office365-filtering-correlation-id: c8fd50ab-ecd6-4c8a-2373-08d52b33a302 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603199);SRVR:AM3PR04MB513; x-ms-traffictypediagnostic: AM3PR04MB513: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(189930954265078)(50582790962513)(170618885588394)(45079756050767)(104084551191319)(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3231022)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM3PR04MB513;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM3PR04MB513; x-forefront-prvs: 04916EA04C spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c8fd50ab-ecd6-4c8a-2373-08d52b33a302 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Nov 2017 07:45:11.9695 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB513 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id vAE7jT1S031477 Hi Michal, > -----Original Message----- > From: Michal Hocko [mailto:mhocko@kernel.org] > Sent: Tuesday, November 14, 2017 3:07 PM > To: Ran Wang > Cc: linux-mm@kvack.org; Michael Ellerman ; Vlastimil > Babka ; Andrew Morton ; > KAMEZAWA Hiroyuki ; Reza Arbab > ; Yasuaki Ishimatsu ; > qiuxishi@huawei.com; Igor Mammedov ; Vitaly > Kuznetsov ; LKML ; > Leo Li ; Xiaobo Xie > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages > > On Tue 14-11-17 06:10:00, Ran Wang wrote: > [...] > > > > This drop cause DWC3 USB controller fail on initialization with > > > > Layerscaper processors (such as LS1043A) as below: > > > > > > > > [ 2.701437] xhci-hcd xhci-hcd.0.auto: new USB bus registered, > assigned > > > bus number 1 > > > > [ 2.710949] cma: cma_alloc: alloc failed, req-size: 1 pages, ret: -16 > > > > [ 2.717411] xhci-hcd xhci-hcd.0.auto: can't setup: -12 > > > > [ 2.727940] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered > > > > [ 2.733607] xhci-hcd: probe of xhci-hcd.0.auto failed with error -12 > > > > [ 2.739978] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller > > > > > > > > And I notice that someone also reported to you that DWC2 got > > > > affected recently, so do you have the solution now? > > > > > > Yes. It should be in linux-next. Have a look at the following email > > > thread: > > > > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flkml. > > > > kernel.org%2Fr%2F20171104082500.qvzbb2kw4suo6cgy%40dhcp22.suse.cz& > > > > data=02%7C01%7Cran.wang_1%40nxp.com%7C5e73c6a941fc4f1c10e708d52 > > > > a860c5b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636461677 > > > > 583607877&sdata=zlRxJ4LZwOBsit5qRx9yFT5qfP54wZ0z6G1z%2Bcywf5g%3D > > > &reserved=0 > > I really have no idea where the above link came from because my email had > a reference to > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flkml. > kernel.org%2Fr%2F20171104082500.qvzbb2kw4suo6cgy%40dhcp22.suse.cz& > data=02%7C01%7Cran.wang_1%40nxp.com%7C9b452e62f11e446d12b408d5 > 2b2e4014%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63646239 > 9997608449&sdata=S9MPhGyIUiYCJdVYMh3DAHAEytu%2Fu45BB%2BcMhO% > 2BP3Qo%3D&reserved=0 > Has your email client modified the original email? > > > Thanks for your info, although I fail to open the link you shared, but > > I got patch from my colleague and the issue got fix on my side, let you know, > thanks. > > Thanks for your testing anyway. Can I assume your Tested-by? Yes, please. BR Ran > -- > Michal Hocko > SUSE Labs From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f198.google.com (mail-io0-f198.google.com [209.85.223.198]) by kanga.kvack.org (Postfix) with ESMTP id B72BB6B0033 for ; Tue, 14 Nov 2017 02:45:20 -0500 (EST) Received: by mail-io0-f198.google.com with SMTP id k9so14163405iok.13 for ; Mon, 13 Nov 2017 23:45:20 -0800 (PST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0055.outbound.protection.outlook.com. [104.47.1.55]) by mx.google.com with ESMTPS id o67si14520453ioe.13.2017.11.13.23.45.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Nov 2017 23:45:15 -0800 (PST) From: Ran Wang Subject: RE: [PATCH 1/2] mm: drop migrate type checks from has_unmovable_pages Date: Tue, 14 Nov 2017 07:45:11 +0000 Message-ID: References: <20171113110232.ivd6l52y7j2q2iaq@dhcp22.suse.cz> <20171114070634.zoh75rakg57uhd3j@dhcp22.suse.cz> In-Reply-To: <20171114070634.zoh75rakg57uhd3j@dhcp22.suse.cz> Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: "linux-mm@kvack.org" , Michael Ellerman , Vlastimil Babka , Andrew Morton , KAMEZAWA Hiroyuki , Reza Arbab , Yasuaki Ishimatsu , "qiuxishi@huawei.com" , Igor Mammedov , Vitaly Kuznetsov , LKML , Leo Li , Xiaobo Xie Hi Michal, > -----Original Message----- > From: Michal Hocko [mailto:mhocko@kernel.org] > Sent: Tuesday, November 14, 2017 3:07 PM > To: Ran Wang > Cc: linux-mm@kvack.org; Michael Ellerman ; Vlastimil > Babka ; Andrew Morton ; > KAMEZAWA Hiroyuki ; Reza Arbab > ; Yasuaki Ishimatsu ; > qiuxishi@huawei.com; Igor Mammedov ; Vitaly > Kuznetsov ; LKML ; > Leo Li ; Xiaobo Xie > Subject: Re: [PATCH 1/2] mm: drop migrate type checks from > has_unmovable_pages >=20 > On Tue 14-11-17 06:10:00, Ran Wang wrote: > [...] > > > > This drop cause DWC3 USB controller fail on initialization with > > > > Layerscaper processors (such as LS1043A) as below: > > > > > > > > [ 2.701437] xhci-hcd xhci-hcd.0.auto: new USB bus registered, > assigned > > > bus number 1 > > > > [ 2.710949] cma: cma_alloc: alloc failed, req-size: 1 pages, ret= : -16 > > > > [ 2.717411] xhci-hcd xhci-hcd.0.auto: can't setup: -12 > > > > [ 2.727940] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered > > > > [ 2.733607] xhci-hcd: probe of xhci-hcd.0.auto failed with error= -12 > > > > [ 2.739978] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller > > > > > > > > And I notice that someone also reported to you that DWC2 got > > > > affected recently, so do you have the solution now? > > > > > > Yes. It should be in linux-next. Have a look at the following email > > > thread: > > > > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Flkml. > > > > kernel.org%2Fr%2F20171104082500.qvzbb2kw4suo6cgy%40dhcp22.suse.cz& > > > > data=3D02%7C01%7Cran.wang_1%40nxp.com%7C5e73c6a941fc4f1c10e708d52 > > > > a860c5b%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636461677 > > > > 583607877&sdata=3DzlRxJ4LZwOBsit5qRx9yFT5qfP54wZ0z6G1z%2Bcywf5g%3D > > > &reserved=3D0 >=20 > I really have no idea where the above link came from because my email had > a reference to > https://emea01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Flkml. > kernel.org%2Fr%2F20171104082500.qvzbb2kw4suo6cgy%40dhcp22.suse.cz& > data=3D02%7C01%7Cran.wang_1%40nxp.com%7C9b452e62f11e446d12b408d5 > 2b2e4014%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C63646239 > 9997608449&sdata=3DS9MPhGyIUiYCJdVYMh3DAHAEytu%2Fu45BB%2BcMhO% > 2BP3Qo%3D&reserved=3D0 > Has your email client modified the original email? >=20 > > Thanks for your info, although I fail to open the link you shared, but > > I got patch from my colleague and the issue got fix on my side, let you= know, > thanks. >=20 > Thanks for your testing anyway. Can I assume your Tested-by? Yes, please. BR Ran > -- > Michal Hocko > SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org