Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1282497
| From | Gregory CLEMENT <gregory.clement@free-electrons.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 00/13] mvneta Buffer Management and enhancements |
| Date | 2015-12-03 00:00 +0100 |
| Message-ID | <qBoxt-50H-51@gated-at.bofh.it> (permalink) |
| References | (4 earlier) <qB0Y9-6H7-1@gated-at.bofh.it> <qB2GC-7Ot-7@gated-at.bofh.it> <qBd90-60F-19@gated-at.bofh.it> <qBis3-19N-31@gated-at.bofh.it> <qBnUK-4LF-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi Marcin,
On mer., déc. 02 2015, Marcin Wojtas <mw@semihalf.com> wrote:
>>>
>>>> 2. Change condition in mvebu_mbus_get_dram_win_info to:
>>>> if (cs->base <= phyaddr && phyaddr <= (cs->base + cs->size -1))
>>>
>>> I think it would be the best solution.
>>
>> So I applied the following patch:
>> --- a/drivers/bus/mvebu-mbus.c
>> +++ b/drivers/bus/mvebu-mbus.c
>> @@ -964,7 +964,7 @@ int mvebu_mbus_get_dram_win_info(phys_addr_t phyaddr, u8 *target, u8 *attr)
>> for (i = 0; i < dram->num_cs; i++) {
>> const struct mbus_dram_window *cs = dram->cs + i;
>>
>> - if (cs->base <= phyaddr && phyaddr <= (cs->base + cs->size)) {
>> + if (cs->base <= phyaddr && phyaddr <= (cs->base + cs->size - 1)) {
>> *target = dram->mbus_dram_target_id;
>> *attr = cs->mbus_attr;
>> return 0;
>>
>> I didn't get any errors during boot related to the BM. However I did not
>> manage to use an ethernet interface. The udhcpc never managed to get an
>> IP and if I set the IP manually I could not ping.
>>
>> But on Armada 388 GP I didn't have any issue.
>>
>> Do you have some idea about waht I could check?
>>
>
> I replaced 2GB with 8GB DIMM and after that, on the same kernel/board,
> I can't ping either. Very strange, but as I can reproduce the issue,
> don't debug it, I will.
Thanks to care about it!
Gregory
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-11-30 18:20 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Marcin Wojtas <mw@semihalf.com> - 2015-11-30 21:00 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-12-01 14:20 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Marcin Wojtas <mw@semihalf.com> - 2015-12-01 22:50 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Marcin Wojtas <mw@semihalf.com> - 2015-12-02 00:40 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-12-02 11:50 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-12-02 17:30 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Marcin Wojtas <mw@semihalf.com> - 2015-12-02 23:20 +0100
Re: [PATCH 00/13] mvneta Buffer Management and enhancements Gregory CLEMENT <gregory.clement@free-electrons.com> - 2015-12-03 00:00 +0100
csiph-web