Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756003AbdDMTtq (ORCPT ); Thu, 13 Apr 2017 15:49:46 -0400 Received: from mail-sn1nam01on0089.outbound.protection.outlook.com ([104.47.32.89]:40289 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755951AbdDMTtm (ORCPT ); Thu, 13 Apr 2017 15:49:42 -0400 Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=cavium.com; To: Ulf Hansson , linux-mmc , linux-kernel@vger.kernel.org, David Daney , Jan Glauber From: "Steven J. Hill" Subject: MMC block addressing mode. Message-ID: Date: Thu, 13 Apr 2017 14:49:37 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [50.82.184.123] X-ClientProxiedBy: DM5PR20CA0010.namprd20.prod.outlook.com (10.173.136.148) To CY4PR07MB3206.namprd07.prod.outlook.com (10.172.115.148) X-MS-Office365-Filtering-Correlation-Id: a45f9e72-fb4e-47c4-4150-08d482a63983 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY4PR07MB3206; X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB3206;3:ItEVVAxK3PdNy7+wuEVRXvCHmzJ+7aPq84EbRQLKRCsIfYBtXN7ovJjcQaroZRSvIACDrom5GdaM/t6Ei20vIzinoGviRM3rN2BLp49QrghP0KTdm4bXIINYyBQpEd0WaCsusD4uWfRwyEx+jTyqp297QoAO1IBQv17K89cj3L7p9VrYwaJWdeb1oXdaCyrtRxyJ/jeK6cByPVtUhJQUxDEgoSjTyDUqkmAs0kbRmd2V+6hzzLAT+eJMpxFDHxqvSO0tZgzErz7Q8/gX56UL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4xtm5NBimhXaav52kCoAdOAMHBkR3OzzLemwuzuJH9ygfm0cFP4aeQCSYwIV7rGwaT/n10FoRuoC5kkYGOidBAchmmfXDeTFBV/n5zh4HKPkEQ/Bcv82RVqjsATXh9CbpUc377d0Odt4AKwkTjWosWD4teGZNcF5jPVbJlo6SqAJiPZHbpaU2Pl9nhYbBbd5+nPXr0VZFtyVhw5781cHss+gcE0nvS1pICTzdq0PLTBe2IeMBquithQShKXgF5JQIUVm5rTO4ygE0ZbOBH+ZEyfGKJE X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148);SRVR:CY4PR07MB3206;BCL:0;PCL:0;RULEID:;SRVR:CY4PR07MB3206; X-Microsoft-Exchange-Diagnostics: 1;CY4PR07MB3206;4:uzfUA1dFzpw04FmfJcfPbEiINqpnYmh1fTJ5woy2pIrRFZzy/X/+kD1syBVVE21B4WNZL+2UaQss0eW68r2dLDTxOvAfLwqM6nBEKdOUnxABCPGl+xztkT7HLRmk9GAzf14KIYskH5KSKdpi8z/3u9zNtz+UAiFDJZns1ritUMM+AwJ8rk+RuhhaiYus/SWZhDLvmrB+UZmvReZg9nkGZyZhh6K2EQ76s0hraUkwVwmGh+mLgMB+1IKNrOKlOJFEyl0JZMuztnXM90KZV+wOHnHaJD5WVhyWi+4Qv6lxVYDTesO3Cbb6mr5cOzna0b9mgK1G8kMlIIggUBmnJ9ab6waLjWqg3tbIcxrXSg3guKyoW5YydSCLkJB7+qXEkvgnXSOWckqeyo1f5DBu/eepvTjYRyc+Ouqwi3ccEf827DbxyAZc3hB6OBRyP/02OoCEKmRZB138GjB40+FzvapbhSR2At0r/vI2CiAnPyuo/wSjnmnsd8bT6NFPIB8xDniKnZLBSYcPBgTWHpeoF+ZDjWVXR/7f4jxSX39rfPqfEKHRkLPixEnUcL1xoldnsqLHuBfKBwTVoulJP+jJNfVWGKzKBR0BsODmoZwnNGL2Im2HPPv5KnSyORlRCLiB530qFLfjIRnSYUeRFPoRa6390oYQtjjnqsmxy1tdOElBA6vDD0Ut+ylYgCscpcOvB/Dlj8zU95HDj3yyrOySihK6PQ== X-Forefront-PRVS: 02760F0D1C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6049001)(6009001)(39410400002)(39400400002)(39850400002)(39450400003)(39840400002)(42186005)(189998001)(31686004)(81166006)(3480700004)(33646002)(6666003)(53936002)(65826007)(8676002)(5660300001)(6116002)(36756003)(7736002)(23676002)(66066001)(65956001)(65806001)(305945005)(64126003)(38730400002)(3846002)(230700001)(25786009)(2906002)(86362001)(90366009)(31696002)(50986999)(47776003)(6486002)(54356999)(77096006);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR07MB3206;H:[10.0.0.4];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjA3TUIzMjA2OzIzOjNBRnh4ZHl5Y1NxbHVaRFdWSG96dXhaaExu?= =?utf-8?B?eGU4Y3U1N3FOelp2d1BPTzNCSHFQamRFODdsN2hSNWx5TkRwa0J3UWVCS1Jq?= =?utf-8?B?QVhWVzNRTWwzQTE0VS9hVzlMV1FjUnc4dGJ5RVVQc2N4c1hmVHpwNkUvN3l2?= =?utf-8?B?VnhvSENubmVld2l2SEtIM0FybWpoT3gvYW1pZGlRUm5TSmRhWjNiV2dMdzkv?= =?utf-8?B?bzEzWGNFTThrdlNNdElJVWZMTjk2VUpLTTA3SGFmL0N2TWFMQkh2R1JYWjY1?= =?utf-8?B?NlUyb2s2VXJQSFpWVmZ6Zmpld29SL2VKVXQ3clJUMUVadUMzMVZPNEdWVXpk?= =?utf-8?B?TkVwcTkvcUJ1TVBkanNVeldOMWwwSlNXWjF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IK5kwgFpjOICKbM02UguFNOmFWMKsBHawt5zqRPdDIvT+JDamgxsFnuxMTRb+VZbmdKNR2+L7rj5E/I+bCjK/c1Jv/HaMglllbJ88ShHV/JO3WgB7qwLlaympcW8cJ8+BMaNb6JspECTts6+/iC9Z0SiyvsdZFg5UBXoVb0t6VIYScLSFORNjE73+sGDyX5XKTEeZnV905/zxYv9YYpT6S6dSLoBCde3Zye8qCFfSfaYkH1wcYIGDlrkLJFyehKWd5AmYYzUDtSBGnlV23U5lQbF9qizoR7rhJ3r9+0bL6SPf6LzMmO/FfddYEw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2017 19:49:40.2103 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3206 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 333 Lines: 9 Uffe, The Cavium hardware requires knowledge of the card addressing mode. We need to either restore mmc_card_blockaddr(), or create another way to generate the same information. You previously suggested use of the 'blksz' value, however, it has the same value regardless of the card capacity. What would you suggest? Cheers. Steve