Re: [PATCH] platform: release resource itself instead of resource tree

2019-07-26 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Jul 26, 2019 at 10:

RE: [PATCH] platform: release resource itself instead of resource tree

2019-07-26 Thread Chang, Junxiao
Thursday, July 25, 2019 9:39 PM To: Chang, Junxiao Cc: linux-kernel@vger.kernel.org; raf...@kernel.org; Li, Lili Subject: Re: [PATCH] platform: release resource itself instead of resource tree On Thu, Apr 25, 2019 at 02:24:18PM +0800, junxiao.ch...@intel.com wrote: > From: Junxiao Chang > &

Re: [PATCH] platform: release resource itself instead of resource tree

2019-07-25 Thread Greg KH
On Thu, Apr 25, 2019 at 02:24:18PM +0800, junxiao.ch...@intel.com wrote: > From: Junxiao Chang > > When platform device is deleted or there is error in adding > device, platform device resources should be released. Currently > API release_resource is used to release platform device resources. > H

RE: [PATCH] platform: release resource itself instead of resource tree

2019-05-29 Thread Chang, Junxiao
Any update? This issue could be reproduced in one intel platform. To simulate the issue, adding following code could reproduce the issue. Without the fix, device 2's resource will be released but the device is still registered. With the fix, by cat /proc/iomem, device 2's resource is still there