Received: by 10.192.165.148 with SMTP id m20csp1336201imm; Thu, 10 May 2018 09:07:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq6lMeT19tsfE/OQpFEWjGHRBy4En7T7Au+HkDkb/ISpJDgNOKxNV5JWQwrq5nOFqKfZTQt X-Received: by 2002:a65:65c4:: with SMTP id y4-v6mr1559780pgv.369.1525968460316; Thu, 10 May 2018 09:07:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525968460; cv=none; d=google.com; s=arc-20160816; b=Er8zvvkLPxIm+XZatlTVYg1qvEQJ1Qb2Tu39nAJU7A6qEuUra8nrG17qJLJgLf+2lk DGsezeg7/WgZUxSK9ojr5rrhB3RzQOmI++Fe08xwgjvTpqM9RNzvjwJ8nXtbxq0CCyHZ Stpj/96pIOlUsqlFk+Eukd5R5te+cwJJCRZD0aOtolkM8mUaXFSjM/aTP7QDOULZTPk/ xkWhQb0TbHOpDLeVu0TskZp3ZpL5dtRpQaFDLQS/zj/5g2b7zIMr8agCLssKbGHWgKcr eS99/5cHxgPV/Kx/lp1yZ6IBehUIbVQateJYTeS4pdkzc6LRsmz3iGFvfDtsH0+SDY5U TqaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=C15j1WOoKVR/Jj6lBGd31VRRP/ddth36GbxjoKEGSA0=; b=ZsitPV4cKabyPgPRBsb59yq0uhmyYK3loE8sI67Idi5+MR/4g3TvJnRlbtr8vmzmg+ CvzsCe7n8D6djE3x/96PyoEpd4aB6rzRUSWLieUJ0j+ig06oOil8h0pxS21gnaBoQRTq 8+ANke5uhahY7X2QEKkPNVe6un0WaluMy7+h1R4ExC6l5/fQc9yuGJUE7SFPS2y+xSLX HcgEwp39hSONfD+ZMsoo/ZOtf3YLK9Est2swlGOHpeeqvvfw3jBfwOKStrUYotqENxfr xIcyYiyquNJQUBu99PEddNl3NFb6+9lTvIXSRccL/9vWbrR+3rE8kjLiKvhVxRNTrmni BVYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=L12fI7By; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3-v6si854203pgv.504.2018.05.10.09.07.22; Thu, 10 May 2018 09:07:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=L12fI7By; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966439AbeEJQHN (ORCPT + 99 others); Thu, 10 May 2018 12:07:13 -0400 Received: from mail-ot0-f196.google.com ([74.125.82.196]:38804 "EHLO mail-ot0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965049AbeEJQHL (ORCPT ); Thu, 10 May 2018 12:07:11 -0400 Received: by mail-ot0-f196.google.com with SMTP id n3-v6so2901663ota.5; Thu, 10 May 2018 09:07:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=C15j1WOoKVR/Jj6lBGd31VRRP/ddth36GbxjoKEGSA0=; b=L12fI7ByNose3GG2n+91F/h1k2DA+rH8/QHneXddmGi/ury55W00pnStvjvpyxRr+r cRTip/u24zGkux1lTIdSmZP7HL/Nqrrpl11rZhTasONVSUOMChchQUAoZMwyR1Mn18LB XidvSiPYddVnCF5TYxY9AzwoLEVvHPPMaS3uelCV6JoUwfh7lf6dxJ6idjdiXDqcTPdn gXatvCBaTcclzKLBDAv1x2z5BigdX3N/imK7Lx7F0wEDv7lOyTWleqJfGDAdwfllzS+C GU0FykYtQY8q46yxbiWVLlrO/0H0OMzATdhYjjp6dhySDR5io6KOzyzJEHdxEJI0eZkl J70A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=C15j1WOoKVR/Jj6lBGd31VRRP/ddth36GbxjoKEGSA0=; b=VTwCqMW94SLCsD6ObePiFeQ5GxpT7Vd15VmSvMTK2HZLNXgAnlHUhCnShvrJ6Gi/wF rnSh76+msmJhw4dVpPbFEnV/OqcWq1hIAje0wZiWQ3L0dh86CguoCdrDm6g2YqleudxJ I8m2FieUHfAqth1nNzbPfkKE581wHzO8eocCzno+OJF+ihhaKAgEyxLYw3eeBV38z50u Sbna+4I14RWYQnESjf3AIx/1jWRi1i6lM1TUv8Rh/7LUz6rpEgXIXFJeY1Oz4Rs1298H p0LOz5osnAJPT9UGOsm0OIsVJ7rmXh/a9SINejOfL0qXL8QHD0FqFwbN7AyD7gfvlgeV yciw== X-Gm-Message-State: ALKqPwc9f8bf4jCq1s58HjrKoGC+U6h7nzhKoyyats/nT1wP7MENQMCk U1CyVuQ4PiSK6q03gieFbIk= X-Received: by 2002:a9d:3f87:: with SMTP id r7-v6mr1337416otc.48.1525968430961; Thu, 10 May 2018 09:07:10 -0700 (PDT) Received: from [192.168.1.110] (cpe-24-31-253-228.kc.res.rr.com. [24.31.253.228]) by smtp.gmail.com with ESMTPSA id q62-v6sm511963oig.8.2018.05.10.09.07.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 May 2018 09:07:10 -0700 (PDT) Subject: Re: [PATCH 4.17 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Kalle Valo , =?UTF-8?Q?Michael_B=c3=bcsch?= , Matt Redfearn Cc: linux-wireless@vger.kernel.org, Hauke Mehrtens , LKML , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= References: <20180510111401.1161-1-zajec5@gmail.com> <20180510111401.1161-2-zajec5@gmail.com> From: Larry Finger Message-ID: Date: Thu, 10 May 2018 11:07:09 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180510111401.1161-2-zajec5@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/10/2018 06:14 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not exported > symbols pcibios_enable_device and register_pci_controller. This code is > supposed to be compiled only with ssb builtin. > > This fixes: > ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko] undefined! > ERROR: "register_pci_controller" [drivers/ssb/ssb.ko] undefined! > make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 > > Signed-off-by: Rafał Miłecki This patch needs a "Reported-by: Matt Redfearn ". Applying both patches leads to a correct configuration for PCI. I cannot test on my present hardware, but the patches seem to be correct. Reviewed-by: Larry Finger @Kalle: Please drop my patch from yesterday. This solution is much better. Larry > --- > drivers/ssb/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig > index b3f5cae98ea6..c574dd210500 100644 > --- a/drivers/ssb/Kconfig > +++ b/drivers/ssb/Kconfig > @@ -131,7 +131,7 @@ config SSB_DRIVER_PCICORE > > config SSB_PCICORE_HOSTMODE > bool "Hostmode support for SSB PCI core" > - depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS > + depends on SSB_DRIVER_PCICORE && SSB_DRIVER_MIPS && SSB = y > help > PCIcore hostmode operation (external PCI bus). > >