On 12/05/2011 12:30 PM, Rafał Miłecki wrote: > Hi, > > Sorry for late reply, I was a little busy recently... > > W dniu 1 grudnia 2011 14:09 użytkownik Arend van Spriel > <arend@xxxxxxxxxxxx> napisał: >> I am doing some final testing on our brcmsmac driver, which I tinkered >> to become a bcma device driver. During testing an issue popped up in the >> ISR code. > > Do you mean interrupts code? Yep. ISR stands for 'interrupt service routine'. >> Looking into the bcma read/write functions in host_pci.c I conclude that >> bcma itself does not provide protection for concurrency. Am I correct in >> that? How is this solved in b43? > > I think I mean the fact that core driver can switch BCMA to > ChipCommon, while interrupt handler will try to access 80211 core? That is indeed what I mean. > You're right, we don't handle this properly. I'll try to send patch > today to make use of fixed windows. I've it here for some time > already, just didn't clean it enough. > Ok. For now I have a patch in the bcma read/write host_pci functions that solves it, but fixed bar windows are preferable. Gr. AvS -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html