Add the bacon and butter to a wide, large pot and bring it to a medium heat. Cook the bacon, stirring frequently until it gets crispy and has released a lot of fat. Reserve the bacon and set aside.
To the bacon fat, add the diced onions. Season the onions with salt and cook until they are soft and very aromatic, about 7-8 minutes.
Add the garlic and cook for 2-3 more minutes.
Add the mushrooms to the pan, season with salt and cook until they are soft and have released their juices, about 6-7 minutes.
Reserve 1/3 of the mushroom mixture into a separate bowl.
To the pot, add the diced potato and sprinkle with flour. Add the sherry and cook until it has reduced by 1/2.
Add the stock and bring to a boil and reduce to a simmer. Simmer the soup for 30 minutes.
Add the cream and simmer for 10 minutes more.
Using a blender or immersion blender, puree the soup until smooth. Return the soup to the pot and add the reserved bacon and mushrooms. Taste the soup and adjust the seasoning, if needed.