Katy Perry explains how she and Calvin Harris ended their feud

The MTV VMAs host said, "It was time to put all that behind us."

— -- When Calvin Harris' hit song "Feels," featuring Katy Perry, was released in June, some of their fans may have been scratching their heads.

The two performers have not always been on the best of terms. But Perry, 32, revealed in a recent interview how the two got passed their "Twitter spats." The singer said it happened after they bumped into each other at the Vanity Fair Oscar party last February.

"He said, 'I think I have a song that you should come check out,'" she told Ryan Seacrest on Wednesday.

"We had always meant to work together for years and years and years and we’d had little falling outs here and there," she continued, "and it was time to put that behind us."

Perry said when she later "came to the studio," Harris, 33, "played me a bunch of unfinished but really solid moments for his new record. Then he played me this one part for this new song called 'Feels' and I was like, 'Oh yeah.' This is like my favorite song off the record. I was just down to do it."

Perry is also ready to reconcile with her longtime nemesis Taylor Swift.

The host of this year's MTV Video Music Awards recently raved about the singer after all their "bad blood."

"I forgive her, and I’m sorry for anything I ever did, and I hope the same from her," Perry said. "I love her, and I want the best for her. And I think she’s a fantastic songwriter."