On 12/07/2011 01:52 PM, Rafał Miłecki wrote: > W dniu 5 grudnia 2011 16:27 użytkownik Arend van Spriel > <arend@xxxxxxxxxxxx> napisał: >>> 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. > > Have you tested my patch? Does it solver your issue? I can't wait to > see bcma patches for brcmsmac :) > Not yet. I had a patch in which each read/write used a spin_lock_irqsave/spin_unlock_irqrestore. Did not cause to much latency. I intend to rebase my changes using your patch later today. Your patch only works if all cores fit in the window. This is the case for the current pci-based broadcom chipsets so the patch is fine. I will let you know the results. I also intend to do some suspend/resume testing. I believe there was some issue mentioned on wireless mailing list with bcma/b43. 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